/* Finish (old-plus, founder 2026-10-24): the earlier public site, same structure, sections, copy, hero and colours.
   Linked last in <head> on every public page so it wins. This file only sets the type scale, spacing, buttons,
   fewer boxes and calmer motion. Colours come only from the tokens in /site/lantern.css (no new colours).
   Motion: transform and opacity only, one easing; everything is visible at rest, without JS and under reduced
   motion (OS setting or html.rm). */

:root {
  --ease-f: cubic-bezier(.16, 1, .3, 1);
  /* one type scale: Instrument Sans for words, IBM Plex Mono for numbers and labels */
  --f-d1: clamp(36px, 4.1vw, 56px);    /* page headline */
  --f-d2: clamp(30px, 3.3vw, 46px);    /* section headline */
  --f-d3: clamp(24px, 2.3vw, 32px);    /* closing lines, step titles */
  --f-lede: clamp(16px, 1.25vw, 18px);
  --f-label: 11px;
  --band: clamp(88px, 10vw, 144px);    /* space between sections */
}

/* ---------- type ---------- */
.hero h1, .fp-hero h1, .fhero h1, .phero h1, .chero h1 {
  font-size: var(--f-d1); line-height: 1.04; letter-spacing: -0.038em; font-weight: 400; text-wrap: balance;
}
.sec-h h2, .how-copy h2, .sec-title, .big {
  font-size: var(--f-d2); line-height: 1.08; letter-spacing: -0.032em; font-weight: 400; text-wrap: balance;
}
.final h2.big { font-size: clamp(32px, 3.8vw, 52px); }
.hero h1 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.06; max-width: 12em; }   /* the landing column is narrower: three lines at 1440 */
.fp-end h2, .fp-end .sec-title, .ss-step h2 { font-size: var(--f-d3); line-height: 1.15; letter-spacing: -0.025em; }
.hero .sub, .lede, .sec-h p, .demo-h p { font-size: var(--f-lede); line-height: 1.55; text-wrap: pretty; }
.hero .sub { margin-top: 24px; }
.eyebrow, .ft-h, .mr-h, .tag-sample, .frame-bar { letter-spacing: .08em; }
.eyebrow { font-size: var(--f-label); }
p, li, dd { text-wrap: pretty; }
.sec-h h2 { margin-top: 16px; }
.sec-h .more { margin-top: 18px; }

/* ---------- rhythm ---------- */
.band, .final { padding-top: var(--band); padding-bottom: var(--band); }
.sec-h { margin-bottom: 56px; }
.fp-three { padding: var(--band) 0; }
.fp-end { padding: var(--band) 0; }
.ai-why, .ai-vs, .ai-faq { padding: clamp(64px, 8vw, 104px) 0; }
.ss-step { padding: 72px 0 88px; }
.morerow { margin-top: 120px; }
@media (max-width: 700px) {
  .sec-h { margin-bottom: 40px; }
  .morerow { margin-top: 72px; }
  .ss-step { padding: 48px 0 64px; }
}

/* ---------- buttons: crisp, square, one height per size ---------- */
.btn {
  height: 36px; padding: 0 16px; gap: 8px; font: 500 14px/1 var(--font-ui); letter-spacing: -0.005em;
  transition: transform 180ms var(--ease-f);
}
.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; }
.btn-primary:hover { box-shadow: none; transform: translateY(-1px); }
.btn-secondary { background: transparent; border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--fg-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn:focus-visible { outline: 2px solid var(--fg-0); outline-offset: 3px; }
.nav .btn { height: 34px; padding: 0 14px; font-size: 13px; }
.theme-toggle { width: 34px; height: 34px; border-color: transparent; }
.theme-toggle:hover { background: var(--bg-2); }

/* ---------- fewer boxes: one hairline per object, no nested frames ---------- */
.frame, .frame:hover { border-color: var(--line-1); background: transparent; transition: none; }
.frame-bar { background: transparent; }
.frame-bar .sq { display: none; }                          /* decorative window squares */
.hx-move::before { display: none; }                        /* the offset box behind the hero card */
.frame.hx, .frame.hx:hover { background: var(--bg-1); border-color: var(--line-2); }
.hx .frame-bar { background: transparent; }
.prx-proof, .ss-proof, .fgist { border: 0; border-left: 2px solid var(--line-2); background: transparent; }
.prx-d .tgt span { border: 0; padding: 0; color: var(--fg-2); }
.prx-d .tgt span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 8px; background: var(--fg-3); vertical-align: 2px; }
.soon-strip span { border: 0; height: auto; padding: 0; }
.soon-strip { gap: 10px 28px; }
.inst > div, .pstrip > div { border: 0; border-top: 1px solid var(--line-1); background: transparent; padding: 24px 0 0; }
.inst, .pstrip { gap: 0 40px; }
.promises li, .promises li:hover { border: 0; border-top: 1px solid var(--line-1); background: transparent; padding: 22px 0 0; transition: none; }
details.tech { border: 0; border-top: 1px solid var(--line-1); border-bottom: 1px solid var(--line-1); background: transparent; }
details.tech > summary { padding-left: 0; padding-right: 0; transition: none; }
details.tech > summary:hover { background: transparent; }
.canary, .codechip { border: 0; border-left: 2px solid var(--line-2); }
.ptab, .mx-wrap, .cmpc-wrap { background: transparent; }
.ss-card.frame, .ss-card.frame:hover { border-color: var(--line-1); }
.bt, .bt:hover { background: transparent; }
.bt { transition: transform 260ms var(--ease-f); }

/* ---------- calm interaction: no colour transitions, hovers move by transform only ---------- */
.nav, .nav-links a, .card, .install, .frame, .ptab tbody tr, .rail .rctl button { transition: none; }
.more .arr, .btn .arr { transition: transform 260ms var(--ease-f); }
.more:hover .arr { transform: translateX(3px); }

/* ---------- entrances: gentle, staggered, transform + opacity only (only when JS runs and motion is allowed) ---------- */
@keyframes fin-up { from { opacity: 0; transform: translate3d(0, 14px, 0); } }
.js .hero .sub, .js .hero .hero-ctas, .js .hero .hero-note, .js .hero .steps3, .js .hero .stage-col,
.js .fp-hero .lede, .js .fp-hero .eyebrow, .js .fhero .lede, .js .fhero .ctas, .js .phero .lede, .js .chero .lede {
  animation: fin-up 900ms var(--ease-f) both;
}
.js .hero .sub { animation-delay: 380ms; }
.js .hero .hero-ctas { animation-delay: 480ms; }
.js .hero .hero-note { animation-delay: 560ms; }
.js .hero .steps3 { animation-delay: 640ms; }
.js .hero .stage-col { animation-delay: 260ms; animation-duration: 1100ms; }
.js .fp-hero .lede, .js .fhero .lede, .js .phero .lede, .js .chero .lede { animation-delay: 300ms; }
.js .fhero .ctas { animation-delay: 420ms; }
/* product frames rise in as showcase.js marks them in view (.in); the hero card keeps its own clock */
.js .frame:not([data-own-motion]) { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 800ms var(--ease-f), transform 800ms var(--ease-f); }
.js .frame:not([data-own-motion]).in { opacity: 1; transform: none; }
/* the link under each section headline follows the headline */
.js .sec-h:has(h2.reveal:not(.in)) .more { opacity: 0; transform: translate3d(0, 8px, 0); }
.js .sec-h .more { transition: opacity 700ms var(--ease-f) 420ms, transform 700ms var(--ease-f) 420ms; }
/* the "And more" links arrive one after another, right after the registry card above them comes into view */
.js .morerow a { transition: opacity 700ms var(--ease-f), transform 700ms var(--ease-f); }
.js .frame:not(.in) ~ .morerow a { opacity: 0; transform: translate3d(0, 10px, 0); }
.morerow a:nth-of-type(2) { transition-delay: 70ms; } .morerow a:nth-of-type(3) { transition-delay: 140ms; }
.morerow a:nth-of-type(4) { transition-delay: 210ms; } .morerow a:nth-of-type(5) { transition-delay: 280ms; }

@media (prefers-reduced-motion: reduce) {
  .js .hero .sub, .js .hero .hero-ctas, .js .hero .hero-note, .js .hero .steps3, .js .hero .stage-col,
  .js .fp-hero .lede, .js .fp-hero .eyebrow, .js .fhero .lede, .js .fhero .ctas, .js .phero .lede, .js .chero .lede { animation: none; }
  .js .frame:not([data-own-motion]), .js .sec-h .more, .js .morerow a { opacity: 1 !important; transform: none !important; transition: none; }
  .btn, .bt, .more .arr, .btn .arr { transition: none; }
}
html.rm .hero .sub, html.rm .hero .hero-ctas, html.rm .hero .hero-note, html.rm .hero .steps3, html.rm .hero .stage-col,
html.rm .fp-hero .lede, html.rm .fp-hero .eyebrow, html.rm .fhero .lede, html.rm .fhero .ctas, html.rm .phero .lede, html.rm .chero .lede { animation: none; }
html.rm .frame:not([data-own-motion]), html.rm .sec-h .more, html.rm .morerow a { opacity: 1 !important; transform: none !important; transition: none; }
html.rm .btn, html.rm .bt, html.rm .more .arr, html.rm .btn .arr { transition: none; }

/* ---------- phones ---------- */
@media (max-width: 700px) {
  .em-bd-sun { display: none; }                  /* the sun sat on the hero's step labels at 400 px */
  .hero .sub { margin-top: 18px; }
  .btn-lg { height: 44px; padding: 0 18px; }
  .inst, .pstrip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* privacy: the promises and the technical details read as open columns, not boxes */
.promises { gap: 28px 32px; }
.tech-body { padding-left: 0; padding-right: 0; }
@media (max-width: 700px) { details.tech > summary { padding-left: 0; padding-right: 0; } }

/* How it works: the step numbers sit on top of the progress rail instead of under it */
.how-n { z-index: 1; }
