:root {
  color-scheme: dark;
  --bg: #050608;
  --ink: #f8fafc;
  --muted: #abb5c4;
  --line: rgba(255, 255, 255, 0.14);
  --panel: #11161d;
  --panel-2: #19212b;
  --paper: #f4f7fb;
  --paper-ink: #0f1722;
  --blue: #93dcff;
  --blue-2: #1a415f;
  --green: #c8f2d2;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, rgba(147, 220, 255, 0.08), transparent 420px),
    radial-gradient(circle at 76% 18%, rgba(200, 242, 210, 0.11), transparent 310px),
    var(--bg);
  margin: 0;
  min-height: 100vh;
}

body,
button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.gate {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.gate-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  max-width: 500px;
  padding: 30px;
  width: 100%;
}

.gate-logo {
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.46);
  height: 76px;
  width: 76px;
}

.gate-panel h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 0.98;
}

.gate-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

label {
  font-size: 0.92rem;
  font-weight: 850;
}

.password-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

input,
button {
  font: inherit;
  min-height: 48px;
}

input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: var(--ink);
  outline: none;
  padding: 0 12px;
}

input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(147, 220, 255, 0.18);
}

button {
  background: var(--paper);
  border: 0;
  border-radius: 8px;
  color: #050608;
  cursor: pointer;
  font-weight: 860;
  padding: 0 18px;
}

.error {
  color: #ff9b9b;
  font-size: 0.9rem;
  font-weight: 760;
  min-height: 1.2em;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(5, 6, 8, 0.72);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  font-weight: 920;
}

.brand img {
  border-radius: 10px;
  height: 38px;
  width: 38px;
}

nav {
  align-items: center;
  color: var(--muted);
  display: flex;
  gap: 8px;
  justify-content: center;
}

nav a {
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 760;
  padding: 10px 12px;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
}

.header-button,
.primary-link,
.secondary-link {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 860;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
}

.header-button,
.primary-link {
  background: var(--paper);
  color: #050608;
}

.secondary-link {
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(30px, 6vw, 76px);
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  min-height: calc(100vh - 68px);
  padding: clamp(56px, 7vw, 104px) clamp(18px, 4vw, 56px);
}

.hero-copy {
  display: grid;
  gap: 22px;
  max-width: 850px;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 880;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(3.6rem, 8vw, 8rem);
  line-height: 0.88;
  max-width: 940px;
}

.hero-copy > p:not(.eyebrow),
.why-copy > p,
.product-card > p {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
  line-height: 1.6;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-board {
  display: grid;
  gap: 0;
  position: relative;
}

.board-paper {
  background: var(--paper);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--paper-ink);
  min-height: 350px;
  padding: 34px;
  transform: rotate(-1.5deg);
}

.paper-label {
  color: #607086;
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.board-paper p {
  font-family: "Bradley Hand", "Comic Sans MS", cursive;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.7;
}

.board-paper .question {
  color: #105d7c;
}

.board-answer {
  background:
    linear-gradient(180deg, rgba(147, 220, 255, 0.18), rgba(255, 255, 255, 0.04)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  justify-self: end;
  margin-top: -68px;
  max-width: 440px;
  padding: 22px;
  position: relative;
  width: 88%;
}

.answer-brand {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.8rem;
  font-weight: 900;
  gap: 10px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.answer-brand img {
  border-radius: 10px;
  height: 38px;
  width: 38px;
}

.board-answer h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  margin-bottom: 12px;
}

.board-answer p {
  color: var(--muted);
  line-height: 1.55;
}

.board-answer strong {
  color: var(--ink);
}

.strip {
  background: var(--paper);
  color: var(--paper-ink);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.strip p {
  align-items: center;
  background: #ffffff;
  display: flex;
  font-weight: 900;
  justify-content: center;
  min-height: 84px;
  padding: 18px;
  text-align: center;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.section-title {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
  max-width: 760px;
}

.section h2 {
  font-size: clamp(2.2rem, 5.4vw, 5rem);
  line-height: 0.96;
}

.how-section {
  background: #080b10;
}

.steps {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps article,
.feature-list article,
.feedback-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps article {
  min-height: 245px;
  padding: 24px;
}

.steps span {
  align-items: center;
  background: var(--blue);
  border-radius: 8px;
  color: #05101a;
  display: inline-flex;
  font-weight: 950;
  height: 42px;
  justify-content: center;
  margin-bottom: 28px;
  width: 42px;
}

.steps h3,
.feature-list strong,
.feedback-card h3 {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
  margin-bottom: 10px;
}

.steps p,
.feature-list span,
.feedback-card li {
  color: var(--muted);
  line-height: 1.52;
}

.why-section {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 0.9fr) minmax(310px, 0.75fr);
}

.why-copy {
  display: grid;
  gap: 16px;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list article {
  padding: 20px;
}

.feature-list strong {
  color: var(--ink);
}

.product-section {
  background: var(--paper);
  color: var(--paper-ink);
}

.product-card {
  background: #ffffff;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  color: var(--paper-ink);
  display: grid;
  gap: 16px;
  margin: 0 auto;
  max-width: 980px;
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
}

.product-card .eyebrow {
  color: #105d7c;
}

.product-card h2 {
  margin: 0 auto;
  max-width: 760px;
}

.product-card > p {
  color: #3f4c5e;
  margin: 0 auto;
}

.feedback-section {
  align-items: center;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.75fr);
}

.feedback-card {
  padding: 24px;
}

.feedback-card ul {
  margin: 0 0 24px;
  padding-left: 20px;
}

.feedback-card li + li {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero,
  .why-section,
  .feedback-section {
    grid-template-columns: 1fr;
  }

  .steps,
  .strip {
    grid-template-columns: 1fr;
  }

  .board-answer {
    justify-self: stretch;
    width: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand span {
    display: none;
  }

  .header-button {
    font-size: 0.88rem;
    min-height: 42px;
    padding: 0 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 3.7rem);
  }

  .hero-actions a {
    width: 100%;
  }

  .board-paper {
    min-height: 285px;
    padding: 24px;
  }

  .board-answer {
    margin-top: -36px;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }
}
