/* ============================================================
   FDKEY landing — design tokens
   ============================================================ */
:root {
  /* surfaces */
  --bg:        #07090d;
  --bg-1:     #0b0e14;
  --bg-2:     #11151d;
  --bg-3:     #161c26;
  --bg-card:  #0e131b;
  --bg-elev:  #131923;

  /* borders */
  --line:      #1d2531;
  --line-2:    #283142;
  --line-glow: rgba(124, 255, 107, 0.18);

  /* text */
  --text:     #eef2f6;
  --text-2:   #a3adbd;
  --text-3:   #6b7385;
  --text-4:   #4a5161;

  /* brand */
  --green:        #7cff6b;        /* electric lime — "passes" */
  --green-soft:   #5fcc52;
  --green-glow:   rgba(124, 255, 107, 0.22);
  --green-glow-2: rgba(124, 255, 107, 0.08);

  --coral:        #ff7a6b;        /* "humans blocked" */
  --coral-soft:   #c5594d;
  --coral-glow:   rgba(255, 122, 107, 0.18);

  --amber:        #ffd166;
  --violet:       #a78bfa;

  /* type */
  --f-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* layout */
  --container: 1180px;
  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 22px;

  /* shadow */
  --shadow-glow: 0 0 0 1px rgba(124,255,107,.18), 0 8px 40px -8px rgba(124,255,107,.20);
}

/* ============================================================
   Reset + base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  /* dot-grid background, gently masked toward the edges */
  background-image:
    radial-gradient(rgba(124,255,107,.06) 1px, transparent 1px),
    radial-gradient(at 20% -10%, rgba(124,255,107,.10), transparent 50%),
    radial-gradient(at 90% 10%, rgba(167,139,250,.07), transparent 50%);
  background-size: 28px 28px, auto, auto;
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; transition: color .15s ease, opacity .15s ease; }
a:hover { color: var(--green); }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
code, pre { font-family: var(--f-mono); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   Typography helpers
   ============================================================ */
.display {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 0 1.4rem;
}
.display .grad {
  background: linear-gradient(110deg, var(--green) 10%, #b9ffaa 45%, var(--green) 80%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer {
  0%   { background-position:   0% 0%; }
  100% { background-position: 200% 0%; }
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 .8rem;
}
h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.25;
  margin: 0 0 .4rem;
}
h4 {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-3);
  margin: 0 0 1rem;
}

.kicker {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  padding: .35rem .7rem;
  border: 1px solid var(--line-glow);
  border-radius: 999px;
  background: var(--green-glow-2);
  margin-bottom: 1rem;
}
.kicker-light { color: var(--text); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.04); }

.hl-green { color: var(--green); font-weight: 700; }
.hl-coral { color: var(--coral); font-weight: 700; }

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: var(--text-2);
  line-height: 1.6;
  margin: 0 0 2rem;
  max-width: 56ch;
}
.section-lede {
  color: var(--text-2);
  max-width: 64ch;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

code {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: .08em .42em;
  border-radius: 5px;
  font-size: .92em;
  color: #e6e7ea;
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 9, 13, 0.7);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 1.5rem;
}

.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-mono); font-weight: 700; font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--text); }
.brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green-glow), 0 0 22px var(--green-glow);
}
.brand-text { color: var(--text); }
.brand-cursor {
  color: var(--green);
  animation: blink 1.1s steps(2,end) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.nav-links {
  display: flex; align-items: center; gap: 1.6rem;
  font-size: .92rem;
  color: var(--text-2);
}
.nav-links a:hover { color: var(--text); }

.nav-cta { display: inline-flex; gap: .55rem; align-items: center; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600;
  font-size: .92rem;
  padding: .58rem 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all .15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-lg { padding: .85rem 1.4rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }

.btn-primary {
  background: var(--green);
  color: #0a1407;
  box-shadow: 0 0 0 1px rgba(124,255,107,.2), 0 6px 24px -8px rgba(124,255,107,.6);
}
.btn-primary:hover {
  background: #97ff89; color: #0a1407;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(124,255,107,.3), 0 12px 30px -8px rgba(124,255,107,.7);
}

.btn-ghost {
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  background: var(--bg-3);
  color: var(--text);
  border-color: var(--green);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-mono); font-size: .82rem;
  color: var(--text-2);
  padding: .42rem .85rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.eyebrow code {
  background: transparent; border: 0; padding: 0; color: var(--green);
}

.hero-ctas {
  display: flex; gap: .8rem; margin: 0 0 2.2rem;
  flex-wrap: wrap;
}

.hero-bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 1.2rem 1.6rem;
  font-size: .94rem;
  color: var(--text-2);
}
.hero-bullets li { display: inline-flex; align-items: center; gap: .45rem; }
.check {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-glow);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.dot {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block;
}
.dot-green {
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
}
.dot.pulse {
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--green-glow); }
  50%      { box-shadow: 0 0 0 8px rgba(124,255,107,0); }
}

/* hero terminal + glow orbs */
.hero-visual { position: relative; }

.terminal {
  position: relative;
  background: linear-gradient(180deg, #0d1219 0%, #0a0e14 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 30px 60px -20px rgba(0,0,0,.7),
    0 0 0 1px rgba(124,255,107,.05);
  overflow: hidden;
  min-height: 380px;
}
.term-bar {
  display: flex; align-items: center; gap: .55rem;
  padding: .65rem .9rem;
  background: linear-gradient(180deg, #131923, #0d1219);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: .76rem;
  color: var(--text-3);
}
.term-dot { width: 11px; height: 11px; border-radius: 50%; }
.term-dot.red    { background: #ff6363; }
.term-dot.yellow { background: #ffd166; }
.term-dot.green  { background: #7cff6b; }
.term-title { margin-left: .6rem; opacity: .8; }

.term-body {
  font-family: var(--f-mono);
  font-size: .84rem;
  line-height: 1.6;
  padding: 1.1rem 1.2rem 1.4rem;
  margin: 0;
  color: #c8d3e2;
  min-height: 320px;
  white-space: pre-wrap;
}
.term-body .t-prompt { color: var(--green); font-weight: 600; }
.term-body .t-arrow  { color: var(--text-3); }
.term-body .t-info   { color: var(--text-2); }
.term-body .t-ok     { color: var(--green); font-weight: 600; }
.term-body .t-warn   { color: var(--amber); }
.term-body .t-err    { color: var(--coral); font-weight: 600; }
.term-body .t-key    { color: var(--violet); }
.term-body .t-mute   { color: var(--text-4); }
.term-body .t-cursor {
  display: inline-block; width: 8px; height: 14px;
  background: var(--green); margin-left: 2px;
  vertical-align: -2px;
  animation: blink 1.1s steps(2,end) infinite;
}

.orb { position: absolute; border-radius: 50%; filter: blur(64px); pointer-events: none; z-index: -1; }
.orb-1 { width: 320px; height: 320px; background: rgba(124,255,107,.18); top: -60px; right: -80px; }
.orb-2 { width: 260px; height: 260px; background: rgba(167,139,250,.14); bottom: -80px; left: -40px; }

/* Reusable ambient gradient orbs for any section that wants the hero's
   green+violet atmosphere without a hard-coded HTML element. Adds two
   soft glows in the bg via ::before / ::after. Apply via .section-orb. */
.section-orb { position: relative; overflow: hidden; }
.section-orb::before,
.section-orb::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: .55;
}
.section-orb::before {
  width: 460px; height: 460px;
  background: rgba(124, 255, 107, .12);
  top: -180px; right: -160px;
}
.section-orb::after {
  width: 380px; height: 380px;
  background: rgba(167, 139, 250, .10);
  bottom: -180px; left: -160px;
}
/* Variant — orbs on the opposite sides for visual rhythm down the page. */
.section-orb-flip::before { right: auto; left: -160px; }
.section-orb-flip::after  { left: auto; right: -160px; }
/* Make sure the section's container sits above the orbs. */
.section-orb > .container { position: relative; z-index: 1; }

/* ============================================================
   Trust strip
   ============================================================ */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  /* No background — inherits the body bg so the strip blends with the
     surrounding sections in the with/without-bg alternation. */
}
.strip-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* No gap + no bg — cells touch each other; dividers come from
     cell borders below (no gray gutters anywhere). */
}
.strip-inner.strip-six { grid-template-columns: repeat(6, 1fr); }
.strip-cell {
  padding: 1.5rem 1.1rem 1.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-right: 1px solid var(--line);
}
.strip-cell:last-child { border-right: 0; }
.strip-num {
  font-family: var(--f-mono);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.strip-num span {
  font-size: .58em;
  color: var(--text-3);
  font-weight: 500;
  margin-left: .12em;
}
.strip-lbl {
  margin-top: .35rem;
  font-size: .8rem;
  color: var(--text-3);
  letter-spacing: .04em;
  line-height: 1.35;
}
.strip-tag {
  font-family: var(--f-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .55rem;
}
.strip-name {
  font-family: var(--f-sans);
  font-size: clamp(.98rem, 1.4vw, 1.18rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.018em;
  line-height: 1.15;
  margin-bottom: .45rem;
  /* Reserve two lines worth of vertical space so cells stay aligned
     whether the name fits on one line ("Contradiction") or wraps to
     two ("Semantic Ranking"). text-wrap: balance keeps the wrap tidy. */
  min-height: calc(1.15em * 2);
  text-wrap: balance;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.strip-six .strip-lbl {
  font-size: .76rem;
  max-width: 22ch;
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}
.section-alt {
  background:
    linear-gradient(180deg, transparent, rgba(124,255,107,.025) 50%, transparent),
    var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* When two .section-alt blocks are adjacent (e.g. Install + How), drop the
   internal divider so they read as one continuous background block. The
   gradient overlay also goes — solid bg-1 keeps the seam invisible. */
.section-alt:has(+ .section-alt) {
  border-bottom: 0;
  background: var(--bg-1);
}
.section-alt + .section-alt {
  border-top: 0;
  background: var(--bg-1);
  /* Trim top padding a bit so the joined block doesn't feel like a single
     section with awkwardly large internal whitespace. */
  padding-top: clamp(2rem, 4vw, 3rem);
}

.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head .kicker { margin-bottom: 1.2rem; }
.section-head h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }

/* ============================================================
   How it works — steps
   ============================================================ */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  counter-reset: step;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem;
  transition: border-color .2s ease, transform .2s ease;
  position: relative;
}
.step:hover {
  border-color: var(--line-glow);
  transform: translateY(-2px);
}
.step-num {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: .82rem;
  color: var(--green);
  background: var(--green-glow-2);
  border: 1px solid var(--line-glow);
  padding: .25rem .55rem;
  border-radius: 6px;
  margin-bottom: 1.1rem;
  letter-spacing: .04em;
}
.step h3 { margin-bottom: .55rem; }
.step p { color: var(--text-2); margin: 0; font-size: .96rem; line-height: 1.6; }

/* ============================================================
   Install / two-col
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.two-col h2 { margin-top: .5rem; }

.install-tabs {
  display: inline-flex;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 10px;
  gap: 4px;
  margin: 1rem 0 1.4rem;
}
.tab {
  background: transparent;
  border: 0;
  padding: .5rem .9rem;
  border-radius: 7px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-2);
  display: inline-flex; align-items: center; gap: .4rem;
  transition: background .15s ease, color .15s ease;
}
.tab:hover { color: var(--text); }
.tab.active {
  background: var(--bg-3);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.soon {
  font-family: var(--f-mono); font-size: .65rem;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--amber);
  background: rgba(255,209,102,.10);
  padding: .12em .42em;
  border-radius: 4px;
}

.cmd {
  display: flex; align-items: center; gap: .8rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: .85rem 1rem;
  border-radius: 10px;
  font-family: var(--f-mono);
  font-size: .92rem;
  margin: 0 0 1.3rem;
  position: relative;
  transition: border-color .15s ease;
}
.cmd:hover { border-color: var(--line-2); }
.cmd-prompt { color: var(--green); user-select: none; }
.cmd-lg { padding: 1.1rem 1.2rem; font-size: 1rem; }
.cmd code {
  flex: 1; background: transparent; border: 0; padding: 0;
  color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.copy-btn {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-2);
  color: var(--text-2);
  padding: .35rem .65rem;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 600;
  font-family: var(--f-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: all .15s ease;
}
.copy-btn:hover { color: var(--green); border-color: var(--green); }
.copy-btn.copied { color: var(--green); border-color: var(--green); background: var(--green-glow-2); }
.copy-btn-mini { padding: .25rem .55rem; font-size: .68rem; }

.mini-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.mini-list li {
  display: flex; align-items: center; gap: .55rem;
  font-size: .92rem;
  color: var(--text-2);
  padding: .35rem 0;
}

.install-docs-link {
  margin-top: 1.25rem;
  font-size: .92rem;
  color: var(--text-2);
}
.install-docs-link a {
  color: var(--text-1);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
.install-docs-link a:hover { text-decoration-color: var(--green); }

/* code block on the right */
.code-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.code-card-bar {
  display: flex; align-items: center; gap: .9rem;
  padding: .65rem .9rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  font-family: var(--f-mono);
  font-size: .76rem;
  color: var(--text-3);
}
.dot-row { display: inline-flex; gap: .35rem; }
.code-card-title { flex: 1; }
.code-block {
  margin: 0;
  padding: 1.2rem 1.3rem 1.4rem;
  font-family: var(--f-mono);
  font-size: .82rem;
  line-height: 1.65;
  color: #d8e0ec;
  overflow-x: auto;
}
.c-key { color: #ff7ab2; }
.c-str { color: #b9ffaa; }
.c-com { color: var(--text-4); font-style: italic; }
.c-fn  { color: #7cd8ff; }
.c-var { color: var(--amber); }
.c-num { color: var(--violet); }

/* ============================================================
   Demo — interactive try-it-yourself challenge
   ============================================================ */
.hl-coral { color: var(--coral); font-weight: 700; }
.dot-coral {
  background: var(--coral);
  box-shadow: 0 0 8px rgba(255, 122, 107, 0.35);
}

/* Agent-prompt card (paste-into-your-AI-agent) */
.prompt-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px -25px rgba(0,0,0,.4);
  margin-bottom: 4rem;
}
.prompt-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .85rem 1.3rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-card));
}
.prompt-card-tag {
  font-family: var(--f-mono);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-2);
}
.prompt-card-body {
  padding: 1.6rem 1.5rem;
  font-family: var(--f-mono);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
  /* allow selection — user needs to copy this */
  user-select: text;
  -webkit-user-select: text;
}
.prompt-card-foot {
  padding: .85rem 1.3rem;
  border-top: 1px solid var(--line);
  font-family: var(--f-sans);
  font-size: .85rem;
  color: var(--text-3);
  background: var(--bg-elev);
}

/* Subsection header — smaller than .section-head, used as a separator
   between the prompt card and the human-challenge below it */
.section-subhead {
  text-align: center;
  margin: 0 0 2rem;
}
.section-subhead h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: .6rem 0 .6rem;
}
.section-subhead .section-lede {
  font-size: 1rem;
  margin: 0 auto;
}

/* Coral variant of the kicker — used to mark the "Try it yourself" section
   as the human-side of the demo (vs the green agent-side above) */
.kicker-coral {
  color: var(--coral);
  background: rgba(255, 122, 107, .08);
  border-color: rgba(255, 122, 107, .25);
}

.challenge-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(124,255,107,.05),
    0 30px 60px -30px rgba(0,0,0,.5);
}
.challenge-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .9rem 1.4rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-card));
}
.challenge-bar-label {
  font-family: var(--f-mono);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-3);
}
.timer {
  font-family: var(--f-mono);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px var(--green-glow);
}
.timer.warning {
  color: var(--coral);
  text-shadow: 0 0 18px rgba(255, 122, 107, 0.45);
  animation: blinkTimer 0.55s steps(2,end) infinite;
}
@keyframes blinkTimer { 50% { opacity: 0.35; } }

.challenge-body { padding: 2rem 1.8rem 2.2rem; }

.challenge-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1rem 1rem;
}
.challenge-intro-icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green-glow-2);
  border: 1px solid var(--line-glow);
  color: var(--green);
  margin-bottom: 1.2rem;
}
.challenge-intro h3 {
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.9rem;
  color: var(--text);
}
.challenge-intro p {
  max-width: 56ch;
  color: var(--text-2);
  margin-bottom: 1.6rem;
  font-size: 1rem;
  line-height: 1.6;
}
.rules-list {
  list-style: none; padding: 1.1rem 1.3rem; margin: 0 0 1.6rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid; gap: .55rem;
  text-align: left;
  max-width: 56ch;
  font-size: .9rem;
  color: var(--text-2);
}
.rules-list li {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--f-mono);
  font-size: .82rem;
  line-height: 1.5;
}
.rules-list code {
  font-size: .9em;
  border-color: var(--line-2);
}

/* puzzle (T1 + T3 share these classes; differ in body) */
.puzzle {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
}
.puzzle:first-of-type { border-top: 0; padding-top: 0; }
.puzzle-meta {
  font-family: var(--f-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: .9rem;
  display: flex;
  justify-content: space-between;
}
.puzzle-meta .tag-t1 { color: var(--green); }
.puzzle-meta .tag-t3 { color: var(--violet, #a78bfa); }

.puzzle-question, .puzzle-concept {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  margin-bottom: .9rem;
}
.puzzle-question {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}
.puzzle-concept {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--green);
  line-height: 1;
}
.puzzle-instr {
  font-size: .92rem;
  color: var(--text-2);
  margin-bottom: 1rem;
}

/* T1 word options (shown but not clickable — must be typed) */
.t1-options {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 1rem 1.1rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 1rem;
  user-select: none;
  -webkit-user-select: none;
}

/* T3 word chips */
.puzzle-words {
  display: flex; flex-wrap: wrap; gap: .45rem;
  padding: 1rem 1.1rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 1rem;
  user-select: none;
  -webkit-user-select: none;
}
.word-chip {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: .85rem;
  color: var(--text);
  padding: .3rem .65rem;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  user-select: none;
}
.word-chip.t1 { font-size: .9rem; padding: .35rem .8rem; }

.puzzle-input {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line-2);
  padding: .85rem 1rem;
  font-family: var(--f-mono);
  font-size: .94rem;
  border-radius: 8px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  resize: vertical;
  min-height: 2.8rem;
  line-height: 1.5;
}
.puzzle-input.tall { min-height: 3.6rem; }
.puzzle-input::placeholder { color: var(--text-4); }
.puzzle-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow-2);
}
.puzzle-input:disabled { opacity: .55; cursor: not-allowed; }
.puzzle-hint {
  margin-top: .4rem;
  font-family: var(--f-mono);
  font-size: .7rem;
  color: var(--text-3);
  display: flex;
  justify-content: space-between;
}
.puzzle-hint .ok { color: var(--green); }

.challenge-foot {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 0;
  margin-top: 1.4rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.challenge-foot p {
  font-family: var(--f-mono);
  font-size: .76rem;
  color: var(--text-3);
  margin: 0;
}

/* result panel */
.challenge-result {
  display: none;
  text-align: center;
  padding: 2.5rem 1.8rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, var(--bg-elev));
}
.challenge-result.show { display: block; }
.verdict-stamp {
  font-family: var(--f-sans);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  margin-bottom: .6rem;
  line-height: 1;
}
.verdict-stamp.fail { color: var(--coral); text-shadow: 0 0 28px rgba(255,122,107,.25); }
.verdict-stamp.borderline { color: var(--amber); text-shadow: 0 0 28px rgba(255,209,102,.2); }
.verdict-stamp.pass { color: var(--green); text-shadow: 0 0 28px var(--green-glow); }

.verdict-sub {
  font-family: var(--f-mono);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.8rem;
}

.scorecard {
  text-align: left;
  max-width: 60ch;
  margin: 0 auto 2rem;
  font-family: var(--f-mono);
  font-size: .87rem;
  display: grid;
  gap: 0;
}
.scorecard .row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px dashed var(--line);
}
.scorecard .row.total {
  border-top: 1px solid var(--line-glow);
  border-bottom: 0;
  padding-top: 1rem;
  margin-top: .4rem;
}
.scorecard .lbl { color: var(--text-2); }
.scorecard .lbl em {
  color: var(--green);
  font-style: normal;
  font-family: var(--f-sans);
  font-weight: 600;
}
.scorecard .lbl em.coral { color: var(--coral); }
.scorecard .score { text-align: right; }
.scorecard .score.high { color: var(--green); font-weight: 600; }
.scorecard .score.mid  { color: var(--amber); font-weight: 600; }
.scorecard .score.low  { color: var(--coral); font-weight: 600; }
.scorecard .meta { color: var(--text-3); text-align: right; }

.result-actions {
  display: flex;
  justify-content: center;
  gap: .8rem;
  flex-wrap: wrap;
}

.demo-foot {
  margin: 2rem auto 0;
  max-width: 64ch;
  text-align: center;
  font-size: .94rem;
  color: var(--text-3);
}
.demo-foot code {
  background: var(--bg-elev);
  border-color: var(--line-2);
  font-size: .92em;
}

/* ============================================================
   Features
   ============================================================ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.feat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.feat:hover {
  border-color: var(--line-glow);
  background: var(--bg-elev);
  transform: translateY(-2px);
}
.feat-icon {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--green-glow-2);
  border: 1px solid var(--line-glow);
  color: var(--green);
  margin-bottom: 1.1rem;
}
.feat h3 { margin-bottom: .35rem; }
.feat p { margin: 0; color: var(--text-2); font-size: .94rem; line-height: 1.6; }
.feat code { font-size: .85em; }

/* ============================================================
   Why use it — collapsible use-case cards
   ============================================================ */

/* Section head: let the headline run wide without wrapping */
.why-head h2,
.why-head .section-lede {
  max-width: none;
}
.why-head .section-lede {
  max-width: 60ch;          /* keep the lede readable, but the H2 is unconstrained */
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
  align-items: start;
}
/* When a card opens it claims the full row width — no neighbour to be
   jagged with, no fake outline expansion. The other card on its row
   reflows down to the next row, still compact. */
.why-grid > details.why-card[open] {
  grid-column: 1 / -1;
}

/* Card = <details>. Closed = compact summary row only. */
details.why-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease, background .2s ease;
}
details.why-card:hover { border-color: var(--line-2); }
details.why-card[open] {
  border-color: var(--line-glow);
  /* Card stays its base bg — the body inside has its own dark inset panel. */
  background: var(--bg-card);
}

details.why-card summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}
details.why-card summary::-webkit-details-marker { display: none; }
details.why-card summary::marker { display: none; }

.why-num {
  font-family: var(--f-mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--green);
  background: var(--green-glow-2);
  border: 1px solid var(--line-glow);
  padding: .3rem .5rem;
  border-radius: 6px;
  flex-shrink: 0;
  line-height: 1;
}

.why-card-title {
  min-width: 0;             /* allow the inner text to wrap correctly */
}
.why-card-title h3 {
  margin: 0 0 .25rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.014em;
  line-height: 1.3;
  color: var(--text);
}
.why-card-pitch {
  margin: 0;
  font-size: .88rem;
  color: var(--text-3);
  line-height: 1.45;
  /* Reserve two lines so closed cards stay the same height regardless of
     whether the pitch fits on one line or wraps. */
  min-height: calc(1.45em * 2);
  text-wrap: balance;
}

.why-card-toggle {
  font-family: var(--f-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  width: 22px;
  text-align: center;
  line-height: 1;
  transition: transform .2s ease;
  user-select: none;
}
details.why-card[open] .why-card-toggle { transform: rotate(45deg); }

/* Inset console body — dark panel inset from the card edges, with a
   straight green rail on the left. Mono text inside. */
.why-card-body {
  background: #060a10;
  border-top: 1px solid #000;
  padding: 1.1rem 1.2rem 1.3rem 1.5rem;
  margin: 0 .8rem .8rem .8rem;
  border-radius: 0 8px 8px 0;     /* flat left so the green rail runs straight */
  box-shadow:
    inset 0 2px 6px rgba(0,0,0,0.35),
    inset 3px 0 0 var(--green);
  position: relative;
}
.why-card-body p {
  font-size: .9rem;
  font-family: var(--f-mono);
  color: var(--text-2);
  line-height: 1.6;
  margin: 0 0 .8rem;
}
.why-card-body p:last-child { margin-bottom: 0; }
.why-card-body p strong { color: var(--text); font-weight: 600; }
.why-card-body em { color: var(--green); font-style: normal; font-weight: 600; }
.why-card-body code { font-size: .88em; }

@media (max-width: 880px) {
  .why-grid { grid-template-columns: 1fr; }
  details.why-card summary { padding: .9rem 1rem; }
  .why-card-title h3 { font-size: .96rem; }
  .why-card-pitch { font-size: .82rem; }
}

/* Pull-quote — at the bottom of the why section, narrower than the card
   grid, smaller font than the cards. Auto-centered with side margins. */
.why-quote {
  margin: 3rem auto 0;
  max-width: 820px;             /* narrower than the card grid above */
  padding: 1.3rem 1.7rem;
  border-left: 3px solid var(--green);
  background: var(--bg-elev);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.why-quote p {
  margin: 0;
  font-size: .85rem;            /* ~20% smaller than 1.05rem */
  line-height: 1.6;
  color: var(--text-2);
  font-weight: 400;
  letter-spacing: 0;
}
.why-quote p em {
  color: var(--green);
  font-style: normal;
  font-weight: 600;
}
.why-quote cite {
  display: block;
  margin-top: .8rem;
  font-family: var(--f-mono);
  font-size: .62rem;            /* visibly smaller than the quote body */
  letter-spacing: .08em;
  color: var(--text-3);
  font-style: normal;
  line-height: 1.5;
}

/* Forward-looking closer below the cards */
.why-foot {
  margin: 2.6rem 0 0;
  padding: 1.8rem 0 0;
  border-top: 1px solid var(--line);
  font-size: 1.04rem;
  color: var(--text-2);
  max-width: 70ch;
  line-height: 1.62;
}
.why-foot strong { color: var(--green); font-weight: 700; }
.why-foot em { color: var(--text); font-style: italic; }

/* The honest-objection block — quieter, near the bottom */
.why-objection {
  margin: 1.6rem 0 0;
  padding: 1.2rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--coral);
  border-radius: 0 8px 8px 0;
  color: var(--text-2);
  font-size: .96rem;
  line-height: 1.6;
}
.why-objection strong:first-child { color: var(--coral); font-weight: 700; }
.why-objection em { color: var(--text); font-style: italic; font-weight: 600; }
.why-objection strong:last-child { color: var(--text); }

.why-rejected {
  margin-top: 2.5rem;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  background: transparent;
}
.why-rejected summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-family: var(--f-mono);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  display: flex; justify-content: space-between; align-items: center;
}
.why-rejected summary::-webkit-details-marker { display: none; }
.why-rejected summary::after {
  content: '+ show';
  color: var(--text-2);
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  transition: color .15s ease;
}
.why-rejected[open] summary::after { content: '− hide'; color: var(--coral); }
.why-rejected summary:hover { color: var(--text); }
.why-rejected-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  padding: 0 1.4rem 1.5rem;
}
.why-rejected-grid h4 {
  font-family: var(--f-sans);
  text-transform: none;
  letter-spacing: -0.012em;
  font-size: 1rem;
  color: var(--text-2);
  margin: 0 0 .35rem;
}
.why-rejected-grid h4::before {
  content: '✗ ';
  color: var(--coral);
  font-weight: 700;
}
.why-rejected-grid p {
  font-size: .9rem;
  color: var(--text-3);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 880px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-rejected-grid { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* ============================================================
   Moat / network-effects grid
   ============================================================ */
.moat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.moat-aside {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.7rem 1.8rem;
  position: relative;
  transition: border-color .2s ease, transform .2s ease;
}
.moat-aside:hover {
  border-color: var(--line-glow);
  transform: translateY(-2px);
}
.moat-aside-head {
  display: flex; align-items: center; gap: .8rem;
  margin-bottom: .9rem;
}
.moat-num {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green-glow-2);
  border: 1px solid var(--line-glow);
  color: var(--green);
  font-family: var(--f-mono);
  font-size: .85rem;
  font-weight: 700;
}
.moat-aside h3 { margin: 0; font-size: 1.12rem; }
.moat-aside p { color: var(--text-2); font-size: .95rem; line-height: 1.6; margin: 0; }
.moat-aside p strong { color: var(--text); }

/* ============================================================
   Open source grid
   ============================================================ */
.open-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.open-card {
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.6rem;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.open-card:hover {
  border-color: var(--green);
  background: var(--bg-elev);
  transform: translateY(-2px);
  color: inherit;
}
.open-card-icon {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--green-glow-2);
  border: 1px solid var(--line-glow);
  color: var(--green);
  margin-bottom: 1rem;
}
.open-card h3 {
  font-size: 1.05rem;
  margin: 0 0 .4rem;
}
.open-card p {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0 0 1rem;
  flex: 1;
}
.open-card-cta {
  font-family: var(--f-mono);
  font-size: .76rem;
  letter-spacing: .04em;
  color: var(--green);
  font-weight: 600;
}
.open-card:hover .open-card-cta { color: var(--text); }

@media (max-width: 980px) {
  .moat-grid { grid-template-columns: 1fr; }
  .open-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .open-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   VS table
   ============================================================ */
.vs-table {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.vs-col { padding: 2rem 1.8rem; }
.vs-recap { background: rgba(255,122,107,.04); border-right: 1px solid var(--line); }
.vs-fdkey { background: rgba(124,255,107,.04); border-left: 1px solid var(--line); }
.vs-divider {
  display: grid; place-items: center;
  padding: 0 1rem; font-family: var(--f-mono);
  color: var(--text-3); font-size: .85rem;
  letter-spacing: .1em;
}
.vs-divider span {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .75rem;
}

.vs-head { margin-bottom: 1.5rem; }
.vs-name {
  font-size: 1.25rem; font-weight: 800; letter-spacing: -0.015em;
  color: var(--text);
}
.vs-recap .vs-name { color: var(--coral); }
.vs-fdkey .vs-name { color: var(--green); }
.vs-fdkey .vs-name .brand-text { color: var(--green); font-family: var(--f-mono); font-weight: 700; }
.vs-sub {
  font-family: var(--f-mono); font-size: .76rem; color: var(--text-3);
  margin-top: .15rem;
}

.vs-col dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: .8rem; }
.vs-col dt {
  font-family: var(--f-mono); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--text-3);
}
.vs-col dd {
  margin: .15rem 0 0; font-size: .98rem; color: var(--text);
}
.ok-coral, .bad-coral { color: var(--coral); font-weight: 600; }
.ok-green, .bad-green { color: var(--green); font-weight: 600; }

.vs-foot {
  margin: 2rem auto 0; max-width: 60ch; text-align: center;
  color: var(--text-3); font-size: .94rem;
}

/* ============================================================
   Pricing
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}
.price {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.7rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .2s ease, border-color .2s ease;
}
.price:hover { transform: translateY(-2px); }
.price-feat {
  border-color: var(--green);
  box-shadow:
    0 0 0 1px var(--green-glow),
    0 18px 50px -16px rgba(124,255,107,.35);
}
.price-tag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #0a1407;
  font-family: var(--f-mono); font-size: .68rem;
  text-transform: uppercase; letter-spacing: .12em;
  font-weight: 700;
  padding: .25rem .7rem; border-radius: 999px;
}
.price-head h3 {
  font-size: .82rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--text-3); font-weight: 600;
  margin-bottom: .4rem;
}
.price-num {
  font-family: var(--f-mono);
  font-size: 2.2rem; font-weight: 700; color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-num span {
  font-size: .85rem; color: var(--text-3); font-weight: 500; margin-left: .25em;
}
.price-list {
  list-style: none; padding: 0; margin: 1.5rem 0 1.8rem;
  flex: 1;
}
.price-list li {
  position: relative;
  padding: .45rem 0 .45rem 1.4rem;
  color: var(--text-2);
  font-size: .94rem;
  border-bottom: 1px dashed var(--line);
}
.price-list li:last-child { border-bottom: 0; }
.price-list li::before {
  content: "→"; position: absolute; left: 0;
  color: var(--green); font-family: var(--f-mono); font-weight: 700;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 880px; }
.faq {
  display: grid; gap: .65rem;
}
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  transition: border-color .15s ease;
}
.faq details:hover { border-color: var(--line-2); }
.faq details[open] { border-color: var(--line-glow); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.3rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--f-mono);
  font-size: 1.4rem;
  color: var(--green);
  transition: transform .2s ease;
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p {
  margin: 0; padding: 0 1.3rem 1.3rem;
  color: var(--text-2);
  font-size: .96rem;
  line-height: 1.65;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  padding: 4rem 0 2rem;
  margin-top: 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 3rem;
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-tag { color: var(--text-3); font-size: .92rem; margin: 0 0 1rem; max-width: 38ch; }
.footer-status {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-mono); font-size: .8rem; color: var(--text-2);
}

.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.footer-cols a {
  display: block; color: var(--text-2); font-size: .92rem;
  padding: .35rem 0;
}
.footer-cols a:hover { color: var(--green); }

.footer-bot {
  display: flex; justify-content: space-between;
  margin-top: 3rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--text-3); font-size: .85rem;
  font-family: var(--f-mono);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
  .two-col { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .vs-table { grid-template-columns: 1fr; }
  .vs-divider { padding: .8rem; }
  .vs-recap { border-right: 0; border-bottom: 1px solid var(--line); }
  .vs-fdkey { border-left: 0; border-top: 1px solid var(--line); }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .strip-inner,
  .strip-inner.strip-six { grid-template-columns: repeat(2, 1fr); }
  .strip-cell:last-child { grid-column: auto; }
  /* In 2-col mobile mode, every right-column cell loses its border-right */
  .strip-cell:nth-child(2n) { border-right: 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .hero-bullets { gap: .8rem 1rem; font-size: .88rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bot { flex-direction: column; gap: .5rem; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
