/* ============================================================
   Lastslate — marketing site
   Built on top of ../colors_and_type.css. Adds layout patterns
   that don't belong in the design-system tokens: hero, feature
   bands, testimonial grid, footer.

   The structural language is borrowed from cursor.com:
   - top nav with brand + center menu + sign-in / download CTA
   - giant hero statement with two CTAs and a centered "interactive
     demo" surface (a real iframe of our UI kit)
   - alternating feature bands, each = heading + 1-line body +
     surface card with an iframe of the relevant app surface
   - testimonial wall, big final CTA, multi-column footer

   The brand twist: section markers are sluglines in Courier Prime
   ("INT. THE INDUSTRY - PRESENT DAY"), tying the marketing page
   to the medium the app produces.
   ============================================================ */

@import url("./colors_and_type.css");

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 64px; /* 52px fixed bar + breath */
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Keyboard focus ring in the accent (graphite on light, cloud on dark),
   the app's --focus-ring colour. */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }
/* Light/dark theme toggle button (nav + mobile drawer). */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: transparent; border: none; color: var(--text-muted); cursor: pointer;
  transition: color 120ms ease, background 120ms ease;
}
.theme-toggle:hover { color: var(--text-primary); background: var(--bg-elevated); }
html, body {
  margin: 0; padding: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
* { box-sizing: border-box; }
/* The bar is fixed, not sticky (cursor.com): content starts below it. */
body { padding-top: 52px; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ============ Layout primitives ============ */
.wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 0 28px;
}
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 28px; }

/* ============ Top nav ============
   Measured off cursor.com (2026-09): fixed, 52px, opaque page colour,
   no border, no blur, no shadow, unchanged on scroll. */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 52px;
  background: var(--bg-base);
}
.nav-inner {
  height: 52px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 4px;
  font-weight: 600; letter-spacing: -0.015em; font-size: 21px;
}
/* logo-icon.png's mark fills 67% of the image: 36px draws a 24px mark,
   level with the 21px wordmark. The negative margin keeps the bar 52px. */
.nav-brand img { width: 36px; height: 36px; margin: -5px 0; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 2px;
  font-size: 14px; color: var(--text-primary);
}
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 15px; border-radius: 7px;
  font: 400 14px var(--font-ui); color: var(--text-primary);
  background: transparent; border: 0;
  transition: background .12s, color .12s;
}
.nav-link:hover,
.nav-link[aria-expanded="true"] { background: var(--bg-elevated); }
.nav-link .chev { font-size: 9px; opacity: .6; transform: translateY(1px); transition: transform .12s; }
.nav-link[aria-expanded="true"] .chev { transform: translateY(1px) rotate(180deg); }
/* Current page: a short accent underline, the way .ai-tab.active marks a tab. */
.nav-link[aria-current="page"],
.nav-link[data-current="true"] { position: relative; }
.nav-link[aria-current="page"]::after,
.nav-link[data-current="true"]::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2px; border-radius: 1px; background: var(--text-primary);
}
.nav-right {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
}
.btn.btn-nav { padding: 7px 14px; font-size: 13px; border-radius: 7px; }

/* Dropdown panels (Product, Resources) — disclosure navigation. */
.nav-menu { position: relative; }
.nav-panel {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 260px;
  padding: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  display: none;
  z-index: 60;
}
.nav-menu[data-open="true"] .nav-panel { display: grid; }
.nav-panel-wide { grid-template-columns: 1fr 1fr; min-width: 560px; }
/* Product: one column per homepage chapter, labelled like the chapters. */
.nav-panel-chapters { grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 720px; gap: 0 4px; }
.nav-panel-col { display: flex; flex-direction: column; min-width: 0; }
.nav-panel-group {
  padding: 8px 12px 4px;
  font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-muted);
}
.nav-panel-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border-radius: 8px;
  transition: background .12s;
}
.nav-panel-item:hover,
.nav-panel-item:focus-visible { background: var(--bg-elevated); outline: none; }
.nav-panel-item[aria-current="page"] .nav-panel-name { color: var(--text-primary); font-weight: 600; }
.nav-panel-name { font-size: 14px; font-weight: 500; color: var(--text-primary); }
.nav-panel-desc { font-size: 12px; color: var(--text-muted); line-height: 1.35; }
.nav-panel-foot {
  grid-column: 1 / -1;
  margin: 6px 4px 2px; padding: 10px 8px 4px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px; color: var(--text-secondary);
  display: flex; align-items: center; gap: 6px;
  transition: color .12s;
}
.nav-panel-foot:hover { color: var(--text-primary); }

/* ============ Mobile nav toggle + panel ============ */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 0;
  align-items: center; justify-content: center;
  border-radius: 8px;
  color: var(--text-primary);
  transition: background .12s;
}
.nav-toggle:hover { background: var(--bg-elevated); }
.nav-toggle svg { display: block; }

/* Closed = invisible AND out of the tab order / accessibility tree.
   visibility, not the hidden attribute: the display:flex below would
   beat [hidden], and opacity alone left 34px links focusable behind
   aria-hidden="true". */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 100;
  background: var(--bg-base);
  display: flex; flex-direction: column;
  padding: 0 28px 28px;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .16s ease, visibility 0s linear .16s;
}
.mobile-menu[data-open="true"] { opacity: 1; visibility: visible; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu { transition: none; }
}
.mobile-menu-top {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; flex-shrink: 0;
}
.mobile-menu-close {
  width: 40px; height: 40px;
  background: transparent; border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  color: var(--text-primary);
  transition: background .12s;
}
.mobile-menu-close:hover { background: var(--bg-elevated); }
.mobile-menu-links {
  display: flex; flex-direction: column;
  margin-top: 18px;
}
/* Rows sized like cursor.com's panel: 34px type in 51px rows. */
.mobile-menu-links > a,
.mobile-menu-group {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 51px; padding: 5px 0;
  font: 400 34px var(--font-ui);
  letter-spacing: -0.02em; line-height: 1.1;
  color: var(--text-primary);
  background: transparent; border: 0; text-align: left; width: 100%;
}
.mobile-menu-links > a[aria-current="page"] { color: var(--text-primary); font-weight: 600; }
.mobile-menu-arrow { font-size: 24px; color: var(--text-muted); transition: transform .15s; }
.mobile-menu-group[aria-expanded="true"] .mobile-menu-arrow { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .mobile-menu-arrow { transition: none; } }
.mobile-menu-sub {
  display: flex; flex-direction: column; gap: 4px;
  padding: 2px 0 14px 2px;
}
.mobile-menu-sub[hidden] { display: none; }
.mobile-menu-group-label {
  margin: 10px 0 2px;
  font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-muted);
}
.mobile-menu-group-label:first-child { margin-top: 2px; }
.mobile-menu-sub a {
  font-size: 18px; color: var(--text-secondary);
  padding: 7px 0; line-height: 1.3;
}
.mobile-menu-sub a[aria-current="page"] { color: var(--text-primary); font-weight: 600; }
.mobile-menu-foot {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 24px;
}
.mobile-menu-foot .btn { width: 100%; }
.mobile-menu-foot .mobile-menu-social {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted);
  align-self: flex-start;
  padding: 8px 4px;
}
.mobile-menu-foot .mobile-menu-social svg { color: var(--text-muted); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; font: 500 14px var(--font-ui);
  border: 1px solid transparent; border-radius: 8px; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .06s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--text-primary); color: var(--bg-base);
  border-color: var(--text-primary);
}
.btn-primary:hover { background: #ffffff; border-color: #ffffff; }
/* The #ffffff hover above is tuned for dark mode, where the button text is
   dark. In light mode the button text is light (var(--bg-base) is ivory), so
   a white hover washes the label out. Override with a readable lifted-dark
   background. Covers both the explicit data-theme=light and system-light
   (no explicit theme) paths. */
html[data-theme="light"] .btn-primary:hover {
  background: color-mix(in oklab, var(--text-primary) 86%, var(--bg-base));
  border-color: color-mix(in oklab, var(--text-primary) 86%, var(--bg-base));
}
@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) .btn-primary:hover {
    background: color-mix(in oklab, var(--text-primary) 86%, var(--bg-base));
    border-color: color-mix(in oklab, var(--text-primary) 86%, var(--bg-base));
  }
}
.btn-secondary {
  background: var(--bg-elevated); color: var(--text-primary);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--bg-hover); border-color: var(--accent-border); }
.btn-ghost {
  background: transparent; color: var(--text-secondary);
  border-color: transparent; padding: 10px 4px;
}
.btn-ghost:hover { color: var(--text-primary); }
.btn-lg { padding: 13px 22px; font-size: 15px; border-radius: 9px; }

/* ============ Sluglines (section markers) ============ */
.slug {
  font-family: var(--font-script);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  display: inline-block;
}

/* ============ Hero ============ */
.hero {
  padding: 84px 0 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero > * { position: relative; z-index: 1; }
/* Announcement pill above the headline — one standing link to the newest
   thing, in the shape Linear/Cursor use. Static: it never rotates. */
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 auto 22px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--border-soft); border-radius: 999px;
  background: var(--bg-surface);
  font-family: var(--font-ui); font-size: 13px; color: var(--text-secondary);
  line-height: 1.3; text-align: left;
  transition: border-color .15s, color .15s, background .15s;
}
.hero-pill:hover { border-color: var(--border); color: var(--text-primary); background: var(--bg-elevated); }
.hero-pill-tag {
  flex-shrink: 0;
  padding: 3px 9px; border-radius: 999px;
  background: var(--accent); color: var(--accent-text);
  font-size: 11px; font-weight: 600; letter-spacing: .02em;
}
.hero-pill-arrow { color: var(--text-muted); transition: transform .15s; }
.hero-pill:hover .hero-pill-arrow { transform: translateX(2px); }

/* The platform line under the CTAs: always present, never rewritten by the
   platform-detection script (which owns [data-download-meta] instead). */
.hero-platforms {
  font-size: 13px; color: var(--text-muted);
  margin: 14px 0 0;
}
.hero-platforms a { color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.hero-platforms a:hover { color: var(--text-primary); border-bottom-color: var(--text-muted); }

.hero-h1 {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 600;
  max-width: 980px;
  margin: 0 auto 24px;
  color: var(--text-primary);
  text-wrap: balance;
}
/* One face across the site, as in the app: the stress is Inter italic,
   a weight lighter, not a second typeface. */
.hero-h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--text-primary);
}
.hero-sub {
  font-size: 18px; color: var(--text-secondary);
  max-width: 620px; margin: 0 auto 36px;
  text-wrap: pretty;
}
.hero-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 14px;
}
/* The one trust line under the CTAs. */
.hero-trust {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; padding: 8px 16px;
  max-width: calc(100% - 24px);
  border: 1px solid var(--border-soft); border-radius: 18px;
  font-size: 13px; line-height: 1.4; color: var(--text-secondary); text-align: left;
}
.hero-trust svg { flex-shrink: 0; color: var(--text-primary); }
.hero-trust strong { color: var(--text-primary); font-weight: 600; }
.hero-meta {
  font-size: 12px; color: var(--text-muted);
  font-family: var(--font-script);
}

/* ============ Demo surface ============ */
.demo {
  margin-top: 56px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow:
    0 60px 120px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.02) inset;
}
.demo-video {
  width: 100%;
  height: auto;
  display: block;
  background: var(--bg-base);
}

/* "windowed" chrome around demo */
.demo-bar {
  height: 36px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 14px; gap: 8px;
}
.demo-bar .tl { width: 11px; height: 11px; border-radius: 50%; }
.demo-bar .tl-close { background: #ff5f57; }
.demo-bar .tl-min { background: #ffbd2e; }
.demo-bar .tl-max { background: #28c840; }
.demo-bar-title {
  flex: 1; text-align: center;
  font-size: 12px; color: var(--text-muted);
  font-family: var(--font-script);
}

/* ============ Feature bands ============ */
.band { padding: 96px 0; border-top: 1px solid var(--border-soft); }
.band-head {
  display: flex; flex-direction: column; align-items: flex-start;
  margin-bottom: 40px;
}
.band-h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 760px;
  margin: 0 0 14px;
  text-wrap: balance;
}
.band-lede {
  font-size: 17px; color: var(--text-secondary);
  max-width: 620px; margin: 0;
}
.band-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  font-size: 14px; color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.band-cta:hover { border-bottom-color: var(--accent); }

/* ============ Chapters ============
   The feature bands read as three chapters. A chapter opener is a short
   band of its own; the sticky bar under the nav says where you are. */
.chapter { padding: 88px 0 8px; border-top: 1px solid var(--border-soft); }
.chapter + .band { border-top: 0; padding-top: 48px; }
.chapter-num {
  display: block; margin-bottom: 10px;
  font-family: var(--font-script); font-size: 13px; color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.chapter-h {
  font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.025em;
  font-weight: 600; margin: 0 0 12px;
}
.chapter-lede { font-size: 18px; color: var(--text-secondary); max-width: 640px; margin: 0; text-wrap: pretty; }

.chapter-bar {
  position: sticky; top: 52px; z-index: 40;
  background: color-mix(in srgb, var(--bg-base) 88%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.chapter-bar-inner {
  display: flex; align-items: center; gap: 4px; height: 44px;
  overflow-x: auto; scrollbar-width: none;
}
.chapter-bar-inner::-webkit-scrollbar { display: none; }
.chapter-bar a {
  flex-shrink: 0;
  padding: 6px 12px; border-radius: 7px;
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  white-space: nowrap;
  transition: color .12s, background .12s;
}
.chapter-bar a:hover { color: var(--text-primary); background: var(--bg-elevated); }
.chapter-bar a[aria-current="true"] { color: var(--text-primary); background: var(--bg-elevated); box-shadow: 0 0 0 1px var(--border); }
.chapter-bar .chapter-bar-num { font-family: var(--font-script); font-size: 11px; color: var(--text-muted); margin-right: 6px; }
.chapter-bar-sep { width: 1px; height: 18px; background: var(--border); margin: 0 6px; flex-shrink: 0; }
html:has(.chapter-bar) { scroll-padding-top: 108px; }

/* ============ FAQ ============
   Questions collapse; answers stay in the HTML so search and answer
   engines read every one. #faq-… links open their question (site.js). */
.faq-list { max-width: 820px; border-top: 1px solid var(--border-soft); }
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 4px; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex-shrink: 0; width: 9px; height: 9px; margin-right: 4px;
  border-right: 1.5px solid var(--text-muted); border-bottom: 1.5px solid var(--text-muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .15s;
}
.faq-item[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq-item summary h3 { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -0.005em; color: var(--text-primary); }
.faq-item summary:hover h3 { color: var(--text-primary); }
.faq-a { padding: 0 4px 20px; max-width: 72ch; }
.faq-a p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.faq-a p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }

/* Side-by-side feature layout */
.band-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.band-split.reverse > :first-child { order: 2; }
.band-split .copy { padding: 12px 0; }

/* ============ Three-feature grid ============ */
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 24px;
}
.feat-card {
  padding: 28px 26px;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .15s, background .15s;
}
.feat-card:hover { border-color: var(--border); background: var(--bg-elevated); }
.feat-card .slug { margin-bottom: 4px; font-size: 10px; padding: 3px 8px; }
.feat-card h3, .feat-card h4 {
  font-size: 18px; font-weight: 600; margin: 0; letter-spacing: -0.01em;
}
.feat-card p {
  font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.55;
}

/* ============ Logos strip ============ */
.logos {
  padding: 56px 0;
  text-align: center;
}
.logos-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 28px;
}
.logos-row {
  display: flex; align-items: center; justify-content: center;
  gap: 56px; flex-wrap: wrap;
  font-family: var(--font-script); font-size: 16px;
  color: var(--text-muted); opacity: 0.78;
}
.logos-row span { white-space: nowrap; }

/* ============ Testimonials ============ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.quote {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 14px;
  break-inside: avoid;
}
.quote-text {
  font-size: 15px; line-height: 1.55; color: var(--text-primary);
  text-wrap: pretty;
}
.quote-text::before { content: "\201C"; color: var(--text-muted); margin-right: 2px; }
.quote-text::after  { content: "\201D"; color: var(--text-muted); margin-left:  2px; }
.quote-attr {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
}
.quote-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-elevated); border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; color: var(--text-primary); font-size: 12px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.quote-meta { display: flex; flex-direction: column; gap: 1px; }
.quote-name { color: var(--text-primary); font-weight: 500; }
.quote-role { color: var(--text-muted); font-family: var(--font-script); font-size: 11px; }

/* ============ Pricing ============ */
/* Generated by scripts/render-prices.mjs from prices.json — two tall
   cards in Cursor's grammar (name, price, lead, check bullets, pill
   button) plus a one-line student pointer. students.html reuses
   .price-card as a compact solo card. */
.price-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
  max-width: 880px; margin: 32px auto 0;
}
.price-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 32px 32px 28px;
  display: flex; flex-direction: column;
}
.price-grid .price-card { min-height: 520px; }
.price-card.feature { border-color: var(--accent-border); }
.price-card h3 { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -0.01em; }
.price-card .price {
  font-size: 24px; font-weight: 400; color: var(--text-secondary); letter-spacing: -0.01em;
  margin-top: 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px;
}
.price-card .price small { font-size: 15px; color: var(--text-muted); font-weight: 400; }
.price-card .price-alt { margin: 4px 0 0; font-size: 13px; color: var(--text-muted); }
.price-card .price-lead { margin: 40px 0 14px; font-size: 15px; color: var(--text-muted); }
.price-card .price-switch { margin-top: 28px; align-self: flex-start; }
.price-card ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 15px; color: var(--text-primary);
}
.price-card ul li { display: flex; gap: 10px; align-items: baseline; }
.price-card ul li::before { content: "✓"; font-size: 13px; color: var(--text-secondary); }
.price-grid .price-card ul { padding-bottom: 40px; }
.price-card .btn {
  margin-top: auto; align-self: flex-start;
  padding: 12px 20px;
}
.price-switch, .price-cadence {
  display: inline-flex; padding: 3px; border-radius: 9px;
  background: var(--bg-elevated); border: 1px solid var(--border-soft);
}
.price-switch button, .price-cadence button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  padding: 6px 16px; border-radius: 7px; font: 500 14px var(--font-ui);
  color: var(--text-muted);
}
.price-switch button[aria-selected="true"],
.price-cadence button[aria-checked="true"] { background: var(--bg-hover); color: var(--text-primary); }
.price-switch button:focus-visible, .price-cadence button:focus-visible {
  outline: 2px solid var(--accent-border); outline-offset: 2px;
}
/* Monthly / Yearly above the grid. Opens on Monthly; the pill is the yearly pitch. */
.price-cadence-row { text-align: center; margin: 28px 0 0; }
.price-cadence button { display: inline-flex; align-items: center; gap: 8px; }
.price-cadence .price-pill { margin-left: 0; line-height: 1.5; }
.price-students { max-width: 880px; margin: 22px auto 0; font-size: 14px; color: var(--text-secondary); }
.price-students a { color: var(--text-primary); }
/* students.html: a compact single card with Pro's price struck through. */
.price-card-solo { max-width: 360px; padding: 26px 24px; gap: 14px; }
.price-card-solo .price { font-size: 32px; font-weight: 600; color: var(--text-primary); margin: 0; gap: 6px; }
.price-card-solo .price small { font-size: 14px; }
.price-card .price .price-was {
  font-size: 20px; font-weight: 400; color: var(--text-muted); text-decoration: line-through;
}
.price-was { text-decoration: line-through; color: var(--text-muted); font-weight: 400; }
.price-pill {
  font-size: 10px; padding: 1px 7px; border-radius: 999px;
  background: var(--accent-bg); color: var(--text-primary);
  border: 1px solid var(--accent-border);
  letter-spacing: 0.04em; font-weight: 600; text-transform: uppercase;
  margin-left: 8px;
}

/* ============ Final CTA ============ */
.cta-final {
  padding: 120px 0;
  text-align: center;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-surface);
}
.cta-final h2 {
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.025em; font-weight: 600;
  margin: 0 0 28px; line-height: 1.05;
}
.cta-final .hero-actions { margin-bottom: 0; }

/* ============ Footer ============ */
.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-base);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}
.footer-brand {
  display: flex; flex-direction: column; gap: 14px;
}
.footer-brand .brand-row {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.01em; font-size: 17px;
}
.footer-brand .brand-row img {
  width: 26px; height: 26px; border-radius: 22%;
}
.footer-brand p {
  font-size: 13px; color: var(--text-muted); margin: 0;
  max-width: 280px; line-height: 1.55;
}
.footer-col h3 {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted);
  margin: 0 0 12px;
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px;
}
.footer-col ul a { color: var(--text-secondary); transition: color .12s; }
.footer-col ul a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--border-soft);
  font-size: 12px; color: var(--text-muted);
}
.footer-bottom .legal { display: flex; gap: 20px; }
.footer-bottom a {
  color: var(--text-secondary);
  transition: color .12s;
}
.footer-bottom a:hover { color: var(--text-primary); }
.footer-bottom { gap: 16px; flex-wrap: wrap; }
.footer-x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px; color: var(--text-muted);
  transition: color .12s, background .12s;
}
.footer-x:hover { color: var(--text-primary); background: var(--bg-elevated); }
/* Transactional pages: brand + legal line only. */
.footer-legal .footer-bottom { border-top: 0; padding-top: 0; }
.footer-legal .brand-row {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-primary); font-weight: 600; letter-spacing: -0.01em;
}
.footer-legal .brand-row img { border-radius: 5px; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .band-split { grid-template-columns: 1fr; gap: 32px; }
  .band-split.reverse > :first-child { order: 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-grid .price-card { min-height: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav, .nav-inner { height: 56px; }
  body { padding-top: 56px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-right { gap: 6px; }
  /* The bar keeps logo · Download · burger; the theme toggle moves into the panel. */
  .nav-right .theme-toggle { display: none; }
}
@media (min-width: 981px) {
  .mobile-menu { display: none; }
}
@media (max-width: 980px) {
  .chapter-bar { top: 56px; }
  html:has(.chapter-bar) { scroll-padding-top: 112px; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; }
  .chapter { padding-top: 64px; }
  /* Long copy reads left-aligned on a phone; only the headline stays centred. */
  .hero-sub, .chapter-lede, .band-lede { text-align: left; }
}

/* ============ Hero: the sign-in banner (Nov 2026) ============
   The same front door the editor shows: a sign-in column beside a title
   page that types itself. Every sign-in finishes on the editor's own
   address (assets/editor-signin.js). Below 1080px the page is hidden and
   the column stands alone. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
/* claude.com's signed-out scale (owner's call, Nov 2026): the sign-in
   column centred in the left half, a display headline, filled 52px
   buttons (Google, then Apple), and beside it a page as tall as the
   window under the nav, rounded, edge-aligned with the content column.
   The editor's signed-out window has the same split
   (src/renderer/css/app.css, .welcome.is-split). */
.hero-gate { padding: 20px 0 28px; text-align: center; }
.hero-gate-grid { display: grid; gap: 32px; align-items: center; }
.hero-gate-signin { width: 100%; max-width: 440px; margin: 0 auto; }
.hero-gate-title { margin: 0 auto 16px; max-width: 520px; font: 600 52px/1.06 var(--font-ui); letter-spacing: -0.03em; color: var(--text-primary); }
.hero-gate-sub { margin: 0 auto 36px; max-width: 520px; font-size: 22px; line-height: 1.35; color: var(--text-secondary); }
.hero-gate-stack { display: flex; flex-direction: column; gap: 8px; }
/* A button that started a sign-in: a ring after its label while the
   browser leaves (assets/editor-signin.js). Turns with rotate, still under
   reduced motion. */
.hero-gate-btn.is-busy, .hero-gate-fill.is-busy { cursor: progress; }
.hero-gate-btn.is-busy::after, .hero-gate-fill.is-busy::after {
  content: ''; width: 14px; height: 14px; flex-shrink: 0; border-radius: 50%;
  border: 2px solid color-mix(in srgb, currentColor 28%, transparent); border-top-color: currentColor;
  animation: hero-gate-spin 800ms linear infinite;
}
@keyframes hero-gate-spin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .hero-gate-btn.is-busy::after, .hero-gate-fill.is-busy::after { animation: none; } }
.hero-gate-btn { width: 100%; gap: 10px; }
.hero-gate-btn svg, .hero-gate-fill svg { width: 18px; height: 18px; flex-shrink: 0; }
.hero-gate-fill {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 16px; border-radius: 10px; border: 0;
  background: color-mix(in srgb, var(--text-primary) 8%, var(--bg-base));
  color: var(--text-primary); font: 500 15px var(--font-ui);
  transition: background var(--t-base) ease;
}
/* Google, then Apple: both icons and both labels start on one vertical
   line (owner, Nov 2026). The two buttons share columns: icons in one,
   labels left-aligned in the next, the pair centred by the flexible columns
   either side; a busy ring takes the column after the label. The app's own
   sign-in card does the same (.welcome-providers in its app.css). Without
   subgrid, each button centres its own content. */
.hero-gate-providers { display: flex; flex-direction: column; gap: 8px; }
@supports (grid-template-columns: subgrid) {
  .hero-gate-providers { display: grid; grid-template-columns: 1fr auto auto 1fr; column-gap: 10px; row-gap: 8px; }
  .hero-gate-providers > .hero-gate-fill { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; }
  .hero-gate-providers > .hero-gate-fill > svg { grid-column: 2; }
  .hero-gate-providers > .hero-gate-fill > span { grid-column: 3; text-align: start; }
  .hero-gate-providers > .hero-gate-fill.is-busy::after { grid-column: 4; justify-self: start; }
}
.hero-gate-fill:hover { background: color-mix(in srgb, var(--text-primary) 13%, var(--bg-base)); }
.hero-gate-or { display: flex; align-items: center; justify-content: center; margin: 6px 0 6px; font-size: 12px; letter-spacing: .06em; color: var(--text-muted); }
.hero-gate-email { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.hero-gate-email input[type="email"] {
  width: 100%; box-sizing: border-box; height: 44px; padding: 0 16px;
  font: 400 15px var(--font-ui); color: var(--text-primary);
  background: var(--gate-field); border: 0; border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--gate-line);
}
/* A refused address: a 1px ring inside the field, like claude.ai's, not a
   thicker border that moves the text. */
.hero-gate-email.has-error input[type="email"] { box-shadow: inset 0 0 0 1px var(--gate-error); }
.hero-gate-email input[type="email"]::placeholder { color: var(--text-muted); }
/* Focus is a 1px ring inside the field, stronger than at rest; with an
   error it stays the error's red, so the field never draws a thick edge. */
.hero-gate-email input[type="email"]:focus { outline: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text-primary) 55%, transparent); }
.hero-gate-email.has-error input[type="email"]:focus { box-shadow: inset 0 0 0 1px var(--gate-error); }
.hero-gate-email .hero-gate-btn { height: 44px; font-size: 15px; border-radius: 10px; }
.hero-auth-error { display: flex; align-items: center; gap: 6px; margin: -2px 0 2px 2px; font-size: 13px; line-height: 1.4; color: var(--gate-error-text); text-align: left; }
.hero-auth-error[hidden] { display: none; }
.hero-auth-error svg { width: 14px; height: 14px; flex-shrink: 0; }
.hero-gate-legal { margin: 18px 0 0; font-size: 12px; line-height: 1.55; color: var(--text-muted); }
/* The sign-in group sits on its own card, as on claude.ai/login: a hair
   line (0.5px) and a fill a step off the page, 32px corners, 28px in. */
.hero-gate-card {
  --gate-card-bg: color-mix(in srgb, var(--bg-base) 76%, #000);
  --gate-line: rgba(255, 255, 255, 0.07);
  --gate-hairline: rgba(255, 255, 255, 0.06);
  --gate-field: rgba(255, 255, 255, 0.05);
  --gate-error: #f17778;
  --gate-error-text: #f7a7a7;
  padding: 28px; border-radius: 32px;
  background: var(--gate-card-bg); border: 0.5px solid var(--gate-hairline);
}
@media (prefers-color-scheme: light) {
  .hero-gate-card {
    --gate-card-bg: color-mix(in srgb, var(--bg-base) 40%, #fff);
    --gate-line: rgba(20, 20, 19, 0.10);
    --gate-hairline: rgba(20, 20, 19, 0.08);
    --gate-field: rgba(20, 20, 19, 0.03);
    --gate-error: #c8463f;
    --gate-error-text: #b23a33;
  }
}
html[data-theme="dark"] .hero-gate-card {
  --gate-card-bg: color-mix(in srgb, var(--bg-base) 76%, #000);
  --gate-line: rgba(255, 255, 255, 0.07);
  --gate-hairline: rgba(255, 255, 255, 0.06);
  --gate-field: rgba(255, 255, 255, 0.05);
  --gate-error: #f17778;
  --gate-error-text: #f7a7a7;
}
html[data-theme="light"] .hero-gate-card {
  --gate-card-bg: color-mix(in srgb, var(--bg-base) 40%, #fff);
  --gate-line: rgba(20, 20, 19, 0.10);
  --gate-hairline: rgba(20, 20, 19, 0.08);
  --gate-field: rgba(20, 20, 19, 0.03);
  --gate-error: #c8463f;
  --gate-error-text: #b23a33;
}
.hero-gate-free { margin: 18px 0 14px; font-size: 13px; color: var(--text-muted); }
.hero-gate-legal a { color: var(--text-secondary); border-bottom: 1px solid var(--border); }
/* The download wears the mark of the system it is for (data-os, set by
   assets/site.js). The label stays the first text node, which is
   what download-cta.js and site.js rewrite, so the mark is moved ahead of
   it with order. */
.hero-gate-download { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; }
.hero-gate-os { display: none; order: -1; flex-shrink: 0; }
.hero-gate-download[data-os="mac"] .hero-gate-os-mac,
.hero-gate-download[data-os="windows"] .hero-gate-os-windows { display: block; }
/* The writer's page, and the conversation about it, beside the sign-in.
   On a phone it follows the sign-in. The page never moves and
   nothing on it is ever typed: a page that writes itself is the picture
   of an AI writing tool. assets/hero-ask.js plays the conversation. */
.hero-ask {
  /* As tall as the window under the nav, never more than about half its
     width, and never so wide that the sign-in column beside it has less
     than its 440px: the column is 1200px at most, so on a tall window the
     height alone asked for all of it and the headline wrapped a letter to
     a line (a 2560x1440 Windows desktop, Nov 2026). */
  --page-w: min(
    calc((100vh - 52px - 48px) * 8.5 / 11),
    48vw,
    calc(min(100vw, 1200px) - 56px - 32px - 440px)
  );
  /* The chat box is the sign-in card's tone. */
  --ask-box: color-mix(in srgb, var(--bg-base) 76%, #000);
  --ask-hairline: rgba(255, 255, 255, 0.06);
  position: relative; width: 100%; min-width: 0; max-width: 440px;
  margin: 24px auto 0; text-align: left;
}
@media (prefers-color-scheme: light) {
  .hero-ask { --ask-box: color-mix(in srgb, var(--bg-base) 40%, #fff); --ask-hairline: rgba(20, 20, 19, 0.08); }
}
html[data-theme="dark"] .hero-ask { --ask-box: color-mix(in srgb, var(--bg-base) 76%, #000); --ask-hairline: rgba(255, 255, 255, 0.06); }
html[data-theme="light"] .hero-ask { --ask-box: color-mix(in srgb, var(--bg-base) 40%, #fff); --ask-hairline: rgba(20, 20, 19, 0.08); }
.hero-ask-page {
  padding: 24px 20px 46px; box-sizing: border-box;
  font: 400 11.5px/1.3 var(--font-script);
  background: var(--bg-page); color: var(--text-primary); border-radius: 14px;
  box-shadow: 0 0 0 1px var(--page-edge, rgba(255,250,235,.08)), 0 12px 36px rgba(0,0,0,.32);
}
.hero-ask-page p { margin: 0; }
.hero-ask-slug { font-weight: 700; }
.hero-ask-slug, .hero-ask-action, .hero-ask-speech { margin-bottom: 1.3em !important; }
.hero-ask-cue { margin-left: 38% !important; }
.hero-ask-speech { margin-left: 17% !important; margin-right: 12% !important; }
.hero-ask-scene > :last-child, .hero-ask-scene > :last-child > :last-child { margin-bottom: 0 !important; }
/* A phone shows the one scene the first answer is about, and so does a
   wide window too short for two: there the page is small, and the chat
   box would come up over the second scene's last lines. */
.hero-ask-scene-morning { display: none; }
/* The one soft highlight: a wash behind lines that are already on the
   page, on a layer under them. It says which lines an answer is about. */
.hero-ask-lines { position: relative; isolation: isolate; }
.hero-ask-lines::before { content: ""; position: absolute; z-index: -1; inset: -0.5em -0.8em; border-radius: 5px; }
div.hero-ask-lines::before { left: calc(17% - 0.8em); right: auto; width: calc(52% + 1.6em); }
.hero-ask[data-turn="1"] .hero-ask-lines-later::before,
.hero-ask[data-turn="2"] .hero-ask-lines-later::before,
.hero-ask[data-turn="3"] .hero-ask-lines-morning::before,
.hero-ask[data-turn="4"] .hero-ask-lines-realtor::before { background: color-mix(in srgb, var(--text-primary) 8%, transparent); }
@media (max-width: 1079px), (max-height: 660px) {
  .hero-ask[data-turn="3"] .hero-ask-lines-later::before { background: color-mix(in srgb, var(--text-primary) 8%, transparent); }
}
/* The chat box rests over the page's foot. The four exchanges share one
   cell, so the box is as tall as the tallest from the start and nothing
   moves when one gives way to the next. The three not showing are
   unseen, not gone: they are read out like the first. */
.hero-ask-talk {
  position: relative; display: grid; margin: -18px 6px 0; padding: 16px 18px 18px; border-radius: 18px;
  background: var(--ask-box); border: 0.5px solid var(--ask-hairline);
  box-shadow: 0 10px 30px rgba(41, 37, 28, 0.07);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .hero-ask-talk {
    background: color-mix(in srgb, var(--ask-box) 64%, transparent);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  }
}
.hero-ask-turn { grid-area: 1 / 1; min-width: 0; opacity: 0; }
.hero-ask[data-turn="1"] .hero-ask-turn:nth-of-type(1),
.hero-ask[data-turn="2"] .hero-ask-turn:nth-of-type(2),
.hero-ask[data-turn="3"] .hero-ask-turn:nth-of-type(3),
.hero-ask[data-turn="4"] .hero-ask-turn:nth-of-type(4) { opacity: 1; }
.hero-ask-q {
  position: relative; width: fit-content; max-width: 90%; margin: 0 0 12px auto; padding: 8px 13px;
  border-radius: 12px; background: var(--bg-elevated); color: var(--text-primary);
  font-size: 16px; line-height: 1.35;
}
.hero-ask-a { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-secondary); text-wrap: pretty; }
@media (min-width: 1080px) {
  .hero-gate-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; }
  /* A US Letter page at this width. */
  .hero-ask { width: var(--page-w); max-width: none; aspect-ratio: 8.5 / 11; margin: 0 0 0 auto; }
  /* 12pt Courier on a US Letter page (51 characters across), at this
     page's width. */
  .hero-ask-page {
    position: absolute; inset: 0 0 48px 0; overflow: hidden; padding: 7em 6em 0 9em;
    font: 400 calc(var(--page-w) / 51)/1 var(--font-script);
  }
  .hero-ask-scene { margin: 0 0 2.2em; }
  .hero-ask-slug, .hero-ask-action, .hero-ask-speech { margin-bottom: 1em !important; }
  .hero-ask-cue { margin-left: 13.2em !important; }
  .hero-ask-speech { margin-left: 6em !important; margin-right: 0 !important; max-width: 21em; }
  div.hero-ask-lines::before { left: 5.2em; width: 17em; }
  .hero-ask-talk { position: absolute; left: 7%; right: 7%; bottom: 0; margin: 0; padding: 20px 24px 22px; border-radius: 20px; }
}
@media (min-width: 1080px) and (min-height: 661px) {
  .hero-ask-scene-morning { display: block; }
}
/* The conversation plays (assets/hero-ask.js sets html.hero-ask-js, and
   never with reduced motion). Without it the rules above are the whole
   piece: the first exchange, complete and still. Opacity and clip only,
   so no size ever changes. */
@media (prefers-reduced-motion: no-preference) {
  html.hero-ask-js .hero-ask-turn { transition: opacity 400ms ease; }
  html.hero-ask-js .hero-ask[data-phase="out"] .hero-ask-turn:nth-of-type(n) { opacity: 0; }
  html.hero-ask-js .hero-ask:not([data-phase]) .hero-ask-q { color: transparent; }
  html.hero-ask-js .hero-ask-a { transition: opacity 200ms ease; }
  html.hero-ask-js .hero-ask:not([data-phase="answer"]):not([data-phase="hold"]):not([data-phase="out"]):not([data-phase="done"]) .hero-ask-a { opacity: 0; }
  html.hero-ask-js .hero-ask-lines::before { transition: opacity 400ms ease; }
  html.hero-ask-js .hero-ask:not([data-phase="reading"]):not([data-phase="answer"]):not([data-phase="hold"]):not([data-phase="done"]) .hero-ask-lines::before { opacity: 0; }
  html.hero-ask-js .hero-ask[data-phase="reading"] .hero-ask-lines::before,
  html.hero-ask-js .hero-ask[data-phase="answer"] .hero-ask-lines::before,
  html.hero-ask-js .hero-ask[data-phase="hold"] .hero-ask-lines::before { animation: hero-ask-sweep 650ms var(--ease-out) both; }
  html.hero-ask-js .hero-ask[data-phase="answer"] .hero-ask-word { animation: hero-ask-in 380ms var(--ease-out) both; animation-delay: calc(var(--i) * 45ms); }
  .hero-ask-untyped { opacity: 0; }
  .hero-ask-caret { position: absolute; width: 1.5px; background: var(--text-primary); pointer-events: none; animation: hero-ask-blink 1.06s steps(1, end) infinite; }
}
@keyframes hero-ask-sweep { from { clip-path: inset(0 100% 0 0 round 5px); } to { clip-path: inset(0 0 0 0 round 5px); } }
@keyframes hero-ask-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-ask-blink { 50% { opacity: 0; } }
/* A short window: a size down, so the legal line stays on screen. */
@media (max-height: 780px) {
  .hero-gate-title { font-size: 38px; margin-bottom: 8px; }
  .hero-gate-sub { font-size: 18px; margin-bottom: 24px; }
  .hero-gate-fill, .hero-gate-email input[type="email"], .hero-gate-email .hero-gate-btn { height: 44px; }
}
@media (max-width: 640px) {
  .hero-gate-title { font-size: 34px; }
}
html[data-theme="light"] .hero-ask-page { box-shadow: 0 0 0 1px rgba(41,37,28,.08), 0 10px 30px rgba(41,37,28,.07); }

.what { padding: 120px 0 40px; text-align: center; }
.what-eyebrow { margin: 0 0 18px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.what-h1 {
  font-size: clamp(36px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600;
  max-width: 980px; margin: 0 auto 24px; color: var(--text-primary); text-wrap: balance;
}
.what-h1 em { font-style: italic; }
.what-sub { font-size: 18px; color: var(--text-secondary); max-width: 720px; margin: 0 auto 56px; text-wrap: pretty; }

/* Sign-in states the editor hands back (assets/editor-signin.js). */
.hero-gate-stack[hidden], .hero-gate-sent[hidden], .hero-gate-flash[hidden], .hero-gate-sent-note[hidden],
.hero-gate-waiting[hidden], .hero-gate-legal[hidden] { display: none; }
/* Google or Apple under way: a ring and one line in the buttons' place,
   exactly as tall as what it replaces (the app's own card does the same,
   .welcome-signing in its app.css). */
.hero-gate-waiting { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero-gate-waiting-ring {
  width: 22px; height: 22px; margin-bottom: 16px; border-radius: 50%;
  border: 2.5px solid color-mix(in srgb, var(--text-primary) 16%, transparent); border-top-color: var(--text-primary);
  animation: hero-gate-spin 800ms linear infinite;
}
@media (prefers-reduced-motion: reduce) { .hero-gate-waiting-ring { animation: none; } }
.hero-gate-waiting-title { margin: 0; font-size: 15px; color: var(--text-primary); }
.hero-gate-waiting-blurb { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-secondary); }
.hero-gate-waiting-back { margin-top: 18px; font-size: 14px; color: var(--text-secondary); text-decoration: none; }
.hero-gate-waiting-back:hover { color: var(--text-primary); }
/* The card's other faces, shown only on lastslate.com (the app's copy of
   this page, where signing in happens): a failed sign-in, and the email
   link sent, in place, as claude.ai/login words it. */
.hero-gate-flash { margin: 0 0 14px; font-size: 14px; color: var(--gate-error-text); text-align: center; }
.hero-gate-sent { margin: 4px 0 0; text-align: center; }
.hero-gate-sent-lead { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-primary); }
.hero-gate-sent-lead strong { display: block; font-weight: 500; word-break: break-all; }
.hero-gate-sent-help { margin: 18px 0 0; font-size: 14px; line-height: 1.7; color: var(--text-secondary); }
.hero-gate-sent-note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.hero-gate-link {
  padding: 0; border: 0; background: none; font: inherit; color: var(--text-primary); cursor: pointer;
  text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 3px;
}
.hero-gate-link:hover { text-decoration-color: currentColor; }
.hero-gate-link:disabled { opacity: .4; cursor: default; pointer-events: none; }

/* ============ Refresh, Nov 2026 ============
   Calmer: fewer lines between sections, quieter chapter heads, the real
   recording right under the hero. */
.band, .chapter { border-top: 0; }
.band { padding: 72px 0; }
.chapter { padding: 72px 0 0; }
.chapter + .band { padding-top: 40px; }
.chapter-h { font-size: clamp(30px, 3.4vw, 44px); margin: 0; }
.band-h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; }
.chapter ~ .band h3.band-h2, #features h3.band-h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.015em; }
.band-lede { line-height: 1.55; }
#why-lastslate, #pricing, #faq { padding: 88px 0; }
.what { padding: 96px 0 24px; }
.what-h1 { max-width: 820px; margin-bottom: 18px; font-size: clamp(32px, 3.8vw, 52px); }
.what-sub { max-width: 640px; margin-bottom: 48px; line-height: 1.55; }

/* The recording. The still holds the space (its width and height give the
   shape), so the video arriving moves nothing. */
.clip {
  position: relative; overflow: hidden; border-radius: 12px;
  background: #1c1c18; text-align: left;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 24px 60px rgba(0, 0, 0, 0.35);
}
.clip img { display: block; width: 100%; height: auto; }
.clip .clip-phone { display: none; }
.clip-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
}
.clip-video.is-on { opacity: 1; }
html[data-theme="light"] .clip { box-shadow: 0 0 0 1px rgba(31, 31, 30, 0.06), 0 24px 60px rgba(31, 31, 30, 0.16); }
@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) .clip { box-shadow: 0 0 0 1px rgba(31, 31, 30, 0.06), 0 24px 60px rgba(31, 31, 30, 0.16); }
}
.clip-ctl {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px;
  background: rgba(20, 20, 19, 0.72); color: #ecece7;
}
.clip-ctl[hidden] { display: none; }
.clip-ctl:hover { background: rgba(20, 20, 19, 0.9); }
.clip-ctl .i-play, .clip-ctl[aria-pressed="true"] .i-pause { display: none; }
.clip-ctl[aria-pressed="true"] .i-play { display: block; }
.clip-ctl:focus-visible { outline: 2px solid #ecece7; outline-offset: 2px; }
/* A phone on its side is still a phone: the close-up, cropped from the top
   to the height of the screen (assets/clip.js picks the same cut). The
   whole-window cut stood 424px tall in a 343px window. */
@media (max-height: 500px) and (max-width: 960px) {
  .clip { max-width: 560px; margin: 0 auto; height: 280px; height: calc(100svh - 32px); }
  .clip .clip-wide { display: none; }
  .clip .clip-phone { display: block; height: 100%; object-fit: cover; object-position: top; }
  .clip-video { object-position: top; }
}

/* Finish: three short notes, no pictures. */
.band-finish { padding-bottom: 88px; }
.finish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 32px; }
.finish-grid h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.finish-grid p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-secondary); }

.faq-more { max-width: 820px; }
.faq-more > summary {
  display: inline-block; margin-top: 18px; padding: 10px 4px; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 500; color: var(--text-secondary);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border);
}
.faq-more > summary::-webkit-details-marker { display: none; }
.faq-more > summary:hover { color: var(--text-primary); }
.faq-more[open] > summary { margin-bottom: 14px; }
.faq-a a, .cta-promise a, .price-students a, .footer-legal .footer-bottom a, .hero-platforms a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--border); }
.cta-final { padding: 112px 0; border-top: 0; }
.cta-promise { margin: 10px 0 0; font-size: 13px; color: var(--text-muted); }
.cta-promise a { color: var(--text-secondary); }

@media (max-width: 980px) {
  .finish-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  .band { padding: 48px 0; }
  .chapter { padding-top: 48px; }
  .chapter + .band { padding-top: 28px; }
  #why-lastslate, #pricing, #faq { padding: 56px 0; }
  .what { padding: 64px 0 8px; }
  .what-sub { margin-bottom: 32px; }
  .clip { max-width: 420px; margin: 0 auto; }
  .clip .clip-wide { display: none; }
  .clip .clip-phone { display: block; }
  .cta-final { padding: 80px 0; }
}
