/* ============================================================
   JEEVES — Final composed page
   System: Quiet Editorial (Direction 1) as the governing voice.
   Scale contrast is the tool: enormous Instrument Serif vs the
   small mono "system voice". One accent moment. Calm everywhere.
   ============================================================ */

:root {
  --bg: #060d0a;
  --bg-2: #081310;
  --card-top: #0f1c15;
  --card-bot: #0a140f;
  --hair: rgba(110, 231, 183, .10);
  --emerald-700: #047857;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-300: #6ee7b7;
  --text: #eaf1ec;
  --muted: #8aa596;

  /* derived */
  --hair-strong: rgba(110, 231, 183, .22);
  --hair-faint: rgba(110, 231, 183, .06);
  --ink-on-emerald: #04110b;
  --card: linear-gradient(180deg, var(--card-top), var(--card-bot));

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;

  --measure: 60ch;
  --gutter: clamp(1.5rem, 6vw, 5.5rem);
}

/* ---------- base ---------- */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  margin: 0;
  background:
    radial-gradient(120% 55% at 50% -12%, rgba(16, 185, 129, .06), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--emerald-700);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--emerald-400);
  outline-offset: 3px;
  border-radius: 2px;
}

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

p { margin: 0; }
figure { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
}

em { font-style: italic; }

code, kbd { font-family: var(--mono); }

.wrap {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* ---------- voices ---------- */

.kicker {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.note {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .02em;
  line-height: 1.7;
  color: var(--muted);
  border-left: 1px solid var(--hair-strong);
  padding-left: 1rem;
}

.note b {
  font-weight: 400;
  color: var(--text);
}

/* ---------- nav ---------- */

.nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 2.25rem;
}

.nav-brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
}

.nav-brand span {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: .9rem;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .25s ease;
}

.nav-links a:hover { color: var(--text); }

/* ---------- hero ---------- */

.hero {
  display: grid;
  gap: clamp(2.5rem, 5vh, 3.5rem);
  padding-block: clamp(3.5rem, 7vh, 5.5rem) clamp(4rem, 8vh, 6.5rem);
}

.hero-head {
  display: grid;
  gap: 2rem;
}

.display {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 10vw, 8.5rem);
  line-height: .96;
  letter-spacing: -.015em;
}

.display .dim {
  display: block;
  color: var(--muted);
}

.display .lit {
  display: block;
  font-style: italic;
  background: linear-gradient(100deg, var(--emerald-300), var(--emerald-400) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  gap: 2rem clamp(2.5rem, 5vw, 5rem);
  align-items: end;
  border-top: 1px solid var(--hair);
  padding-top: 2.75rem;
}

.hero-lead > * {
  min-width: 0;
  max-width: 100%;
}

.deck {
  max-width: 46ch;
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(234, 241, 236, .68);
}

.deck .hl {
  color: var(--text);
  font-weight: 500;
}

.deck em { font-family: var(--serif); font-size: 1.1em; color: var(--emerald-300); font-style: italic; }

.hero-actions {
  display: grid;
  gap: 1.1rem;
  justify-items: start;
}

.hero-actions > * { min-width: 0; max-width: 100%; }

/* install pill — the highlight treatment (from "Living Session") */

.pill {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  max-width: 100%;
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .01em;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  padding: .55rem .55rem .55rem 1.25rem;
  cursor: pointer;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.pill:hover {
  border-color: rgba(110, 231, 183, .45);
  box-shadow: 0 0 28px rgba(16, 185, 129, .14);
}

.pill .prompt {
  color: var(--emerald-400);
  user-select: none;
}

.pill code {
  white-space: nowrap;
  min-width: 0;
  overflow-x: auto;
  color: var(--emerald-300);
}

.pill .copy-hint {
  flex: none;
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: .35rem .7rem;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

.pill.copied .copy-hint {
  color: var(--ink-on-emerald);
  background: var(--emerald-400);
  border-color: var(--emerald-400);
}

/* compatibility row */

.compat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem .75rem;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .04em;
  color: var(--text);
}

.compat .compat-label {
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: .35rem;
}

.compat .sep { color: var(--emerald-700); }
.compat .more { color: var(--muted); }

/* ---------- hero visual: the living session (self-typing terminal) ---------- */

.term-stage {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  max-width: 60rem;
  margin-inline: auto;
}

.term-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.term-lead {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--muted);
  max-width: 44ch;
}

/* the technical / non-technical tabs */
.term-tabs {
  display: flex;
  flex: none;
  gap: .2rem;
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: .2rem;
}

.term-tab {
  font-family: var(--mono);
  white-space: nowrap;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: .42rem .95rem;
  cursor: pointer;
  transition: color .25s ease, background-color .25s ease;
}

.term-tab:hover { color: var(--text); }

.term-tab[aria-selected="true"] {
  color: var(--text);
  background: rgba(16, 185, 129, .14);
}

.term {
  width: 100%;
  background: linear-gradient(180deg, #0b1712, #081209);
  border: 1px solid var(--hair-strong);
  border-radius: 14px;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(0, 0, 0, .4),
    0 0 90px rgba(16, 185, 129, .1);
  overflow: hidden;
  text-align: left;
}

.term-bar {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--hair);
  background: rgba(15, 28, 21, .6);
}

.term-dots { display: flex; gap: .45rem; }

.term-dots span {
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  background: rgba(110, 231, 183, .14);
  border: 1px solid rgba(110, 231, 183, .18);
}

.term-title {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .05em;
  color: var(--muted);
}

.term-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .08em;
  color: var(--emerald-300);
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  padding: .25rem .75rem;
  background: rgba(16, 185, 129, .07);
  white-space: nowrap;
}

.term-status .st-dot {
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: var(--emerald-400);
  animation: pulse 2s ease-in-out infinite;
}

.term-status.recalling { color: var(--emerald-300); }
.term-status.recalling .st-dot { background: var(--emerald-300); animation: none; box-shadow: 0 0 8px var(--emerald-300); }

.term-body {
  height: 30rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.4rem 1.5rem;
  font-family: var(--mono);
  font-size: .82rem;
  line-height: 1.9;
  display: flex;
  flex-direction: column;
  gap: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(110, 231, 183, .22) transparent;
}

.term-body::-webkit-scrollbar { width: 8px; }
.term-body::-webkit-scrollbar-thumb { background: rgba(110, 231, 183, .2); border-radius: 4px; }
.term-body::-webkit-scrollbar-track { background: transparent; }

/* transcript line voices */
.tl {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .45s ease, transform .45s ease;
  white-space: pre-wrap;
  word-break: break-word;
}

.tl.in { opacity: 1; transform: none; }

.tl-sys { color: rgba(138, 165, 150, .62); font-size: .72rem; letter-spacing: .04em; }
.tl-user { color: var(--text); }
.tl-user .pfx { color: var(--emerald-400); }
.tl-agent { color: var(--muted); }
.tl-agent .pfx { color: rgba(234, 241, 236, .75); }
.tl-jeeves { color: rgba(110, 231, 183, .58); }
.tl-jeeves .pfx { color: rgba(110, 231, 183, .8); }
.tl-jeeves em { font-style: normal; color: rgba(138, 165, 150, .8); }
.tl-recall { color: var(--emerald-300); }
.tl-recall .pfx { color: var(--emerald-400); }
.tl-note { color: rgba(110, 231, 183, .72); padding-left: 2ch; }
.tl-gap { height: .85rem; }

.cursor {
  display: inline-block;
  width: .62em;
  height: 1.15em;
  background: var(--emerald-400);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1.1s steps(1, end) infinite;
}

.term-caption {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .05em;
  color: var(--muted);
}

.term-caption .lk { color: var(--emerald-400); }

@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* ---------- sections: marginalia grid ---------- */

.section {
  border-top: 1px solid var(--hair);
  padding-block: clamp(5rem, 12vh, 9rem);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.folio {
  display: flex;
  align-items: baseline;
  gap: .8rem;
}

.folio .kicker {
  color: var(--emerald-400);
  font-size: .74rem;
}

.folio .folio-sub {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.folio .folio-sub::before {
  content: "";
  display: inline-block;
  width: 1.4rem;
  height: 1px;
  vertical-align: middle;
  margin-right: .8rem;
  background: var(--hair-strong);
}

.section-body {
  display: grid;
  gap: 2.75rem;
}

.section h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  max-width: 20ch;
}

.section h2 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--emerald-300), var(--emerald-400) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.prose {
  display: grid;
  gap: 1.5rem;
  max-width: var(--measure);
  font-size: 1.125rem;
  color: var(--text);
}

.prose .dropcap::first-letter {
  font-family: var(--serif);
  font-size: 4.15em;
  line-height: .78;
  float: left;
  padding: .06em .14em 0 0;
}

.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
  max-width: 26ch;
  color: var(--text);
}

/* ---------- how it works: stanzas + the loop ---------- */

.loop-map {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem .9rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--muted);
}

.loop-map b {
  font-weight: 400;
  color: var(--text);
}

.loop-map .arrow { color: var(--emerald-400); }

.steps {
  display: grid;
  gap: clamp(3.25rem, 8vh, 5rem);
}

.step {
  display: grid;
  grid-template-columns: clamp(4.5rem, 9vw, 7.5rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.step p.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  line-height: 1;
  color: var(--muted);
}

.step-body {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.step p.step-kicker {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--emerald-400);
}

.step h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.1;
}

.step p {
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.step p strong {
  font-weight: 400;
  color: var(--text);
}

.step .note {
  margin-top: .35rem;
  max-width: none;
  font-size: .78rem;
  color: var(--muted);
}

/* the loop-back stanza: III hands back to I */

.step-loop p.step-num {
  font-style: normal;
  color: var(--emerald-400);
}

.step-loop .loop-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  line-height: 1.35;
  max-width: 34ch;
  color: var(--muted);
}

.step-loop .loop-text b {
  font-weight: 400;
  color: var(--emerald-300);
}

/* the files Jeeves keeps — a plain-files proof */

.filetree {
  margin: clamp(1rem, 3vh, 2rem) 0 0;
  display: grid;
  gap: 1.25rem;
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .4);
}

.filetree figcaption {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  line-height: 1.7;
  color: var(--muted);
  max-width: 60ch;
}

.filetree .tree {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .35rem;
}

.filetree .tree li {
  display: grid;
  grid-template-columns: minmax(0, 20ch) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
}

.filetree .path {
  font-family: var(--mono);
  font-size: .82rem;
  white-space: nowrap;
  color: var(--muted);
}

.filetree .path.dir { color: var(--emerald-300); }
.filetree .root .path { color: var(--text); }
.filetree .path.dim { color: rgba(138, 165, 150, .5); }

.filetree .cmt {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .02em;
  color: rgba(138, 165, 150, .72);
}

.filetree .cmt em {
  font-style: normal;
  color: var(--emerald-300);
}

/* ---------- why jeeves: four ruled rows, features folded in ---------- */

.why-rows {
  display: grid;
  border-top: 1px solid var(--hair);
}

.why-row {
  display: grid;
  grid-template-columns: minmax(11rem, 17rem) minmax(0, 1fr);
  gap: 1.5rem clamp(2rem, 5vw, 4.5rem);
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--hair);
}

.why-lead {
  display: grid;
  gap: .7rem;
  align-content: start;
}

.why-lead .kicker { letter-spacing: .14em; }

.why-lead h3 {
  font-size: 1.65rem;
  line-height: 1.15;
}

.why-copy {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.why-copy p {
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.why-copy p strong {
  font-weight: 400;
  color: var(--text);
}

.why-copy code {
  font-size: .85em;
  color: var(--emerald-300);
  background: rgba(110, 231, 183, .08);
  border: 1px solid var(--hair);
  border-radius: 5px;
  padding: .1rem .45rem;
  white-space: nowrap;
}

.why-copy .why-feats {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  max-width: none;
  color: rgba(138, 165, 150, .8);
}

.why-feats .sep { color: var(--emerald-700); margin-inline: .5rem; }

/* ---------- pricing: hairline columns ---------- */

.pricing-lede {
  max-width: 56ch;
  font-size: 1.125rem;
  color: var(--muted);
}

.pricing-lede strong {
  font-weight: 400;
  color: var(--text);
}

/* single free offer + teams teaser */

.offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}

.offer-main {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
  align-content: start;
}

.offer .plan-price small {
  display: block;
  margin-left: 0;
  margin-top: .55rem;
  color: var(--emerald-300);
}

.offer-feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}

.offer-feats li {
  display: flex;
  gap: .8rem;
  align-items: baseline;
  font-size: .96rem;
  color: var(--muted);
}

.offer-feats li::before {
  content: "—";
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--emerald-700);
  flex: none;
}

.offer-feats li strong { font-weight: 400; color: var(--text); }
.offer-feats code { font-size: .85em; color: var(--emerald-300); }

.team-teaser {
  margin-top: clamp(2rem, 5vh, 3rem);
  display: grid;
  gap: 1.5rem;
}

.teaser-line {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 58ch;
}

.teaser-line strong { font-weight: 400; color: var(--text); }

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--hair);
}

.plan {
  display: grid;
  gap: 1.75rem;
  align-content: start;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid var(--hair);
}

.plan:first-child { border-left: none; padding-left: 0; }
.plan:last-child { padding-right: 0; }

.plan-head {
  display: grid;
  gap: .8rem;
  justify-items: start;
}

.plan-tier {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.plan-tag {
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--emerald-400);
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  padding: .25rem .65rem;
}

.plan-price {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.5vw, 3.75rem);
  line-height: 1;
}

.plan-price small {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: .5rem;
}

.plan-blurb {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--text);
  max-width: 24ch;
}

.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}

.plan li {
  display: flex;
  gap: .8rem;
  align-items: baseline;
  font-size: .93rem;
  color: var(--muted);
}

.plan li::before {
  content: "—";
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--emerald-700);
  flex: none;
}

.plan li.carry { color: var(--text); }

.plan li strong {
  font-weight: 400;
  color: var(--text);
}

.plan li code {
  font-size: .85em;
  color: var(--emerald-300);
}

.plan-cta {
  display: grid;
  gap: .75rem;
  justify-items: start;
}

.pill-compact { padding: .65rem 1.2rem; }

.pill-compact .pill-label {
  white-space: nowrap;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .25s ease;
}

.pill-compact.copied .pill-label { color: var(--emerald-300); }

.ghost-link {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--hair-strong);
  padding-bottom: .35rem;
  transition: color .25s ease, border-color .25s ease;
}

.ghost-link:hover { color: var(--text); border-color: var(--emerald-400); }

/* waitlist band — one calm form for Pro & Team */

.waitlist {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
  border-top: 1px solid var(--hair);
  padding-top: 2.5rem;
}

.waitlist label {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.waitlist-row {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  width: 100%;
}

.waitlist input {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: .85rem;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hair-strong);
  border-radius: 0;
  padding: .6rem 0;
}

.waitlist input::placeholder { color: var(--muted); opacity: .7; }

.waitlist button {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  padding: .65rem 1.3rem;
  cursor: pointer;
  transition: border-color .25s ease, box-shadow .25s ease;
  flex: none;
}

.waitlist button:hover {
  border-color: rgba(110, 231, 183, .45);
  box-shadow: 0 0 22px rgba(16, 185, 129, .12);
}

.waitlist-msg {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .04em;
  color: var(--emerald-400);
  min-height: 1.2em;
}

.waitlist-hint {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .06em;
  color: var(--muted);
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--hair);
  padding-block: 3.5rem 4.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;
  align-items: baseline;
  justify-content: space-between;
}

.footer-brand {
  display: grid;
  gap: .6rem;
}

.footer-brand .name { font-family: var(--serif); font-size: 1.35rem; }

.footer-brand .tag {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .06em;
  line-height: 1.8;
  color: var(--muted);
  max-width: 44ch;
}

.footer-brand .tag a {
  color: var(--text);
  border-bottom: 1px solid var(--hair-strong);
  transition: border-color .25s ease;
}

.footer-brand .tag a:hover { border-color: var(--emerald-400); }

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .25s ease;
}

.footer-links a:hover { color: var(--text); }

.footer-legal {
  width: 100%;
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .08em;
  color: var(--muted);
}

/* ---------- motion: one orchestrated load ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero > * {
  animation: rise .9s cubic-bezier(.22, .8, .3, 1) both;
}

.hero > :nth-child(1) { animation-delay: .05s; }
.hero > :nth-child(2) { animation-delay: .25s; }
.hero > :nth-child(3) { animation-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .hero-lead {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 900px) {
  .section-grid { grid-template-columns: 1fr; }
  .folio { position: static; }
  .plans { grid-template-columns: 1fr; }
  .plan { border-left: none; border-top: 1px solid var(--hair); padding-inline: 0; }
  .plan:first-child { border-top: none; }
}

@media (max-width: 640px) {
  .nav-links { gap: 1.25rem; }
  .nav-links .hide-sm { display: none; }
  .step { grid-template-columns: 1fr; gap: 1rem; }
  .why-row { grid-template-columns: 1fr; gap: 1.25rem; padding-block: 2.25rem; }
  .waitlist-row { flex-direction: column; align-items: stretch; }
  .pill { width: 100%; justify-content: space-between; }
  .pill-compact { width: auto; }
  .term-topline { flex-direction: column; align-items: flex-start; }
  .term-body { height: 26rem; padding: 1.15rem 1.1rem; font-size: .76rem; }
  .footer-links { flex-wrap: wrap; gap: 1.25rem 2rem; }
  .filetree .tree li { grid-template-columns: 1fr; gap: .1rem; }
  .filetree .cmt { padding-left: 2.5ch; }
  .offer { grid-template-columns: 1fr; gap: 2rem; }
}
