/* Threenity marketing: shared brand tokens, navigation, and page layouts. */

:root {
  /* surfaces — deep OLED-friendly dark */
  --bg: #08080a;
  --bg-soft: #0e0e12;
  --surface: #131319;
  --surface-2: #181820;
  --border: #2b2b37;
  --border-soft: #212129;

  /* text */
  --fg: #f5f5f7;
  --fg-dim: #d0d1da;
  --fg-faint: #9698ad;

  /* brand accents */
  --accent-1: #8052ff;
  --accent-2: #3399ff;
  --accent-3: #00ccff;
  --accent: var(--accent-2);
  --grad: var(--accent-2);
  --grad-soft: var(--surface);

  /* Primary-CTA blue — the waitlist button is the site's single most important
     action, so it gets its own saturated, high-contrast blue (distinct from
     the violet/cyan brand gradient used for text + decorative accents).
     White text on --cta-blue keeps a >4.6:1 contrast ratio. */
  --cta-blue: #0d6efd;
  --cta-blue-deep: #0a4fc4;
  --cta-blue-light: #4da3ff;
  --grad-cta: var(--cta-blue-deep);
  --cta-shadow: rgba(0,0,0,0.35);
  --cta-shadow-strong: rgba(0,0,0,0.5);
  --cta-ring: rgba(77,163,255,0.35);

  /* shape + rhythm */
  --r-sm: 0;
  --r: 0;
  --r-lg: 0;
  --maxw: 1240px;
  --shadow-1: none;
  --shadow-glow: none;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; /* taste-skill-ignore: existing face used only by literal pre/code */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

}

::selection { background: var(--cta-blue-deep); color: var(--fg); }
html { color-scheme: dark; scrollbar-color: #555978 var(--bg); }
a { text-underline-offset: 0.2em; }
input { caret-color: var(--accent-3); }

a { color: var(--accent-3); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--surface);
  border: 0;
  color: var(--fg);
  padding: 8px 14px;
  border-radius: 8px;
}
.skip-link:focus { left: 12px; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);

  border-bottom: 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--fg); }
.brand img { width: 28px; height: 28px; }
.brand:hover { text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-menu { position: relative; }
.nav-menu summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 8px 12px; cursor: pointer; color: var(--fg-dim); list-style: none; font-size: 15px; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 180ms ease; }
.nav-menu[open] summary { color: var(--fg); }
.nav-menu[open] summary svg { transform: rotate(180deg); }
.nav-links { position: absolute; top: calc(100% + 12px); right: 0; display: grid; width: 260px; max-width: calc(100vw - 32px); padding: 8px; border: 0; border-radius: var(--r); background: var(--surface); }
.nav-links a { display: flex; align-items: center; min-height: 44px; padding: 10px 16px; color: var(--fg-dim); font-size: 15px; border-radius: 6px; }
.nav-links a:hover { color: var(--fg); text-decoration: none; background: var(--surface-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 0;
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: normal;
  max-width: 100%;
  min-height: 48px;
  justify-content: center;
  text-align: center;
  line-height: 1.45;
}
.btn:hover { text-decoration: none; background: var(--surface-2); }
.btn-primary {
  background: var(--cta-blue-deep);
  color: #fff;
  border-color: transparent;
}
.btn-primary:hover { background: var(--cta-blue); color: #fff; }
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline-color: var(--cta-blue-light); }
.btn-ghost { background: var(--surface-2); color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { border-color: #3a3a48; color: var(--fg); background: #1c1c25; }
.btn-ghost:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* small "soon" pill */
.soon {
  display: inline-block;
  margin-left: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent-3);
  border: 0;
  border-radius: 999px;
  padding: 1px 8px;
  vertical-align: middle;
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 80px 0 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.08;
  text-wrap: balance;
  margin: 0 0 20px;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.hero h1 .grad { color: #70c8ff; }
.hero p.sub { font-size: 1.18rem; color: var(--fg-dim); margin: 0 0 32px; max-width: 48ch; }
.hero-status { color: var(--fg-dim); font-size: 0.875rem; margin: 16px 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* trust row under CTAs */
.trust-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  margin-top: 24px; color: var(--fg-faint); font-size: 14px;
}
.trust-row .sep { width: 1px; height: 14px; background: var(--border); }
.trust-row strong { color: var(--fg-dim); font-weight: 600; }

/* ---------- generic section ---------- */
section { padding: 88px 0; position: relative; scroll-margin-top: 96px; }
.hero-grid > *, .what-grid > *, .start-grid > *, .cap-grid > *, .bento > *, .wl-row > * { min-width: 0; }
h2, h3 { text-wrap: balance; }
.section-head { max-width: 72ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(2rem, 3.2vw, 3rem); margin: 0 0 12px; letter-spacing: -0.015em; }
.section-head p { color: var(--fg-dim); margin: 0; font-size: 1.05rem; }
/* what-it-is: lead text + live code sample */
.what-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 40px; align-items: center; }
.lead { font-size: 1.12rem; line-height: 1.85; color: var(--fg-dim); max-width: 56ch; }
.lead strong { color: var(--fg); font-weight: 600; }

.code-sample {
  background: #07070b;
  border: 0;
  border-radius: var(--r);
  overflow: hidden;
}
.code-sample .bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-bottom: 0;
  background: rgba(255,255,255,0.02);
}
.code-sample .bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #2a2a36; }
.code-sample .bar .name { margin-left: 8px; font-family: var(--font); font-size: 14px; color: var(--fg-faint); }
.code-sample pre {
  margin: 0; padding: 20px 22px; overflow-x: auto;
  font-family: var(--mono); font-size: 0.82rem; line-height: 1.7; color: #d7d7e4;
  tab-size: 2;
}
.code-sample .k { color: var(--accent-3); }   /* keyword */
.code-sample .t { color: #5ad6ff; }   /* type */
.code-sample .f { color: #7fb0ff; }   /* function/member */
.code-sample .s { color: #8be59a; }   /* string */
.code-sample .n { color: #ffb37a; }   /* number */
.code-sample .c { color: var(--fg-faint); font-style: italic; } /* comment */
.lead code, .card code {
  font-family: var(--mono); font-size: 0.88em;
  background: rgba(255,255,255,0.05); border: 0;
  padding: 1px 6px; border-radius: 6px; color: #cbd5ff;
}

/* ---------- BENTO feature grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 16px;
}
.cell {
  position: relative;
  background: var(--surface);
  border: 0;
  border-radius: var(--r);
  padding: 26px;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease;
}


.cell .ico {
  width: 32px; height: 32px; border-radius: 0;
  display: grid; place-items: center; margin-bottom: 16px;
  color: var(--accent-3);
}
.cell .ico svg { width: 26px; height: 26px; stroke: #70c8ff; fill: none; stroke-width: 1.7; }
.cell h3 { margin: 0 0 8px; font-size: 1.12rem; letter-spacing: -0.01em; }
.cell p { margin: 0; color: var(--fg-dim); font-size: 1rem; }

/* span helpers */
.cell.col-2 { grid-column: span 2; }
.cell.row-2 { grid-row: span 2; }

/* component feature */
.cell.feature-hero {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 360px;
  background: var(--surface);
}

.feature-hero .copy { position: relative; z-index: 1; }

/* ---------- capabilities ---------- */
.beta-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #ffb37a;
  border: 0;
  background: rgba(255,179,122,0.1);
  border-radius: 999px;
  padding: 1px 8px;
  vertical-align: middle;
  margin-left: 4px;
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 48px;
}
.cap-card { border-top: 0; padding: 28px 0; }
.cap-card h3 {
  margin: 0 0 20px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.cap-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cap-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: var(--fg-dim);
  font-size: 1rem;
  line-height: 1.55;
}
.cap-card li:last-child { margin-bottom: 0; }
.cap-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}
.cap-card li strong { color: var(--fg); font-weight: 600; }
.cap-card-wide { grid-column: 1 / -1; }
.cap-list-2col {
  columns: 2;
  column-gap: 28px;
}
.cap-list-2col li { break-inside: avoid; }

/* ---------- roadmap ---------- */
.road-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.road-col {
  background: var(--surface);
  border: 0;
  border-radius: var(--r);
  padding: 24px 26px;
}
.road-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.road-head h3 { margin: 0; font-size: 1.05rem; letter-spacing: -0.01em; }
.road-dot {
  width: 10px; height: 10px; border-radius: 50%; flex: none;

}
.road-dot-now   { background: var(--accent-3); color: var(--accent-3); }
.road-dot-next  { background: var(--accent-2); color: var(--accent-2); opacity: 0.85; }
.road-dot-later { background: var(--accent-1); color: var(--accent-1); opacity: 0.6; }
.road-col ul { margin: 0; padding: 0; list-style: none; }
.road-col li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  color: var(--fg-dim);
  font-size: 1rem;
  line-height: 1.55;
}
.road-col li:last-child { margin-bottom: 0; }
.road-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

/* ---------- built for AI ---------- */
.ai-band {
  background: var(--bg-soft);
  border-top: 0;
  border-bottom: 0;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.ai-item {
  border-top: 0;
  padding: 24px 0;
}
.ai-item h3 { margin: 0 0 10px; font-size: 1.05rem; letter-spacing: -0.01em; }
.ai-item p { margin: 0; color: var(--fg-dim); font-size: 1rem; line-height: 1.6; }

/* ---------- inside the editor (gallery) ---------- */
.gallery {
  columns: 2;
  column-gap: 16px;
}
.home #inside { padding: 32px 0 72px; border-bottom: 0; }
.home #inside .section-head { margin-bottom: 28px; }
.gallery-proof { columns: 1; }
.gallery-proof .g-frame { max-width: 100%; }
.gallery-proof .g-item { max-width: 1040px; }
.g-item {
  break-inside: avoid;
  margin: 0 0 16px;
}
.g-frame {
  border: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface-2);
}
.g-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.g-item figcaption {
  margin: 11px 2px 0;
  color: var(--fg-dim);
  font-size: 0.9rem;
  line-height: 1.5;
}
.g-item figcaption strong { color: var(--fg); font-weight: 600; }

/* ---------- waitlist form ---------- */
.wl-form {
  max-width: 640px;
  background: var(--surface);
  border: 0;
  border-radius: var(--r-lg);
  padding: 28px 30px;
}
.wl-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}
.wl-field { display: flex; flex-direction: column; }
.wl-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-dim);
  margin-bottom: 7px;
}
.wl-field input {
  font: inherit;
  font-size: 1rem;
  color: var(--fg);
  background: rgba(255,255,255,0.045);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 13px 15px;
  min-height: 46px;
  outline: none;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.wl-field input::placeholder { color: var(--fg-faint); }
.wl-field input:hover { border-color: rgba(255,255,255,0.3); }
.wl-field input:focus {
  border-color: var(--cta-blue-light);
  background: rgba(255,255,255,0.06);
}
.wl-field input:invalid[aria-invalid="true"] {
  border-color: #ff6b6b;
}
.wl-error {
  display: block;
  min-height: 1.2em;
  margin-top: 6px;
  font-size: 14px;
  color: #ff8a8a;
}
.wl-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.wl-submit { min-width: 180px; justify-content: center; }
.wl-submit:disabled { opacity: 0.7; cursor: default; transform: none; }
.wl-status {
  margin: 0;
  font-size: 14px;
  color: var(--fg-faint);
}
.wl-success[hidden] { display: none; }
.wl-success {
  max-width: 640px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 0;
  border-radius: var(--r-lg);
  padding: 24px 26px;
}
.wl-success svg {
  flex: none;
  width: 28px;
  height: 28px;
  color: #38e08a;
  margin-top: 2px;
}
.wl-success h3 { margin: 0 0 6px; font-size: 1.1rem; }
.wl-success p { margin: 0; color: var(--fg-dim); }

/* ---------- get started ---------- */
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.code-block {
  background: #050507;
  border: 0;
  border-radius: var(--r);
  padding: 22px 24px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--fg-dim);
  overflow-x: auto;
  position: relative;
}
.code-block .c { color: var(--fg-faint); }
.code-block .ok { color: #38e08a; }
.start-note {
  color: var(--fg-dim); font-size: 1rem;
  background: var(--surface); border: 0;
  border-radius: var(--r); padding: 22px 24px;
}
.start-note strong { color: var(--fg); }
.start-note ul { padding-left: 18px; margin: 12px 0 0; }
.start-note li { margin-bottom: 10px; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 0;
  padding: 44px 0;
  color: var(--fg-faint);
  font-size: 0.9rem;
}
.footer-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--fg-dim); display: inline-flex; align-items: center; min-height: 44px; }
.footer-links .muted { color: var(--fg-faint); cursor: not-allowed; }
.footer-links .muted:hover { text-decoration: none; }
.footer-brand { display: flex; align-items: center; gap: 9px; color: var(--fg-dim); }
.footer-brand img { width: 22px; height: 22px; }
.version-pill {
  font-family: var(--font);
  font-size: 14px;
  color: var(--fg-dim);
  border: 0;
  border-radius: 999px;
  padding: 2px 10px;
}

/* Content stays visible even if the optional reveal helper cannot load. */
.js .reveal { opacity: 1; transform: none; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell.col-2 { grid-column: span 2; }
  .cell.feature-hero { grid-column: span 2; }
  .road-grid { grid-template-columns: 1fr 1fr; }
  .road-col:last-child { grid-column: span 2; }
}
@media (max-width: 760px) {
  .hero { padding: 44px 0 32px; }
  section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .nav { min-height: 72px; }
  .nav-actions { gap: 4px; }
  .nav-actions > .btn { padding: 10px 12px; font-size: 14px; }
  .nav-menu summary { padding: 8px; gap: 6px; font-size: 14px; }
  .nav-links { right: -130px; }
  .brand { font-size: 16px; gap: 7px; }
  .brand img { width: 24px; height: 24px; }
  .hero h1 { font-size: clamp(2.2rem, 7.8vw, 3.5rem); max-width: 20ch; }
  .hero p.sub { font-size: 1.05rem; }
  .hero-status { font-size: 14px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 auto; font-size: 14px; padding: 12px 14px; }
  .trust-row { font-size: 14px; gap: 8px 12px; }
  .trust-row .sep { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .bento { grid-template-columns: 1fr; }
  .cell.col-2, .cell.row-2, .cell.feature-hero { grid-column: auto; grid-row: auto; }
  .cell.feature-hero { min-height: 280px; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap-list-2col { columns: 1; }
  .gallery { columns: 1; }
  .ai-grid { grid-template-columns: 1fr; }
  .road-grid { grid-template-columns: 1fr; }
  .road-col:last-child { grid-column: auto; }
  .wl-row { grid-template-columns: 1fr; gap: 14px; }
  .what-grid { grid-template-columns: 1fr; gap: 28px; }
  .start-grid { grid-template-columns: 1fr; }

}

@media (max-width: 400px) {
  .wrap { padding: 0 16px; }
  .nav { gap: 8px; }
  .nav-actions > .btn { max-width: 112px; }
  .nav-links { right: -112px; }
  .cap-card { padding: 24px 0; }
  .road-col { padding: 20px; }
  .wl-form { padding: 20px; }
  .wl-success { flex-direction: column; padding: 20px; }
  .wl-actions { flex-direction: column; align-items: stretch; }
  .wl-submit { width: 100%; }
}

@media (max-width: 360px) {
  .brand span { display: none; }
  .nav-actions > .btn { max-width: none; }
  .nav-links { right: -136px; }
}

/* respect reduced motion everywhere */
@media (prefers-reduced-motion: reduce) {
  .road-dot { animation: none !important; }
  .btn, .cell, .nav-menu summary svg { transition: none; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .cell:hover:hover { transform: none; }
}

/* Taste 2.1.5: the construction workbench is shown as an exhibition of real panels.
   Equal 24px page insets; the homepage uses the full canvas, text stays measured. */
body { font-size: 16px; }
.site-header { position: relative; }
.wrap { max-width: 1600px; }
.nav-links { background: var(--surface-2); }
.hero h1 .grad { color: inherit; }
.home .hero { padding: 44px 0 72px; }
.home .hero h1 { font-size: clamp(42px, 7.3vw, 112px); line-height: 1; letter-spacing: -0.055em; font-weight: 600; max-width: none; margin: 0 0 44px; }
.home .hero-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.home .hero-copy { padding-top: 12px; }
.home .hero p.sub { color: var(--fg); font-size: clamp(18px, 1.7vw, 24px); line-height: 1.5; max-width: 30ch; margin: 0 0 28px; }
.home .hero-cta { align-items: start; gap: 16px; }
.hero-link { display: inline-flex; align-items: center; min-height: 48px; color: var(--fg); font-size: 16px; }
.home .hero-status { font-size: 14px; max-width: 32ch; margin-top: 24px; }
.home .trust-row { display: grid; gap: 8px; font-size: 14px; margin-top: 32px; }
.hero-product { margin: 0; overflow: clip; }
.hero-product img { display: block; width: 100%; height: auto; }
.hero-product figcaption { font-size: 14px; color: var(--fg-dim); margin-top: 12px; }
.home section { padding: 80px 0; }
.home #inside { padding: 72px 0 80px; background: var(--bg-soft); }
.home .section-head { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-bottom: 48px; }
.home .section-head h2 { font-size: clamp(30px, 3.3vw, 50px); line-height: 1.12; font-weight: 500; letter-spacing: -.035em; max-width: 20ch; margin: 0; }
.home .section-head p { font-size: 18px; line-height: 1.6; max-width: 52ch; margin: 0; color: var(--fg); }
.gallery-link { margin: 32px 0 0; font-size: 16px; }
.home .what-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; }
.home .lead { font-size: 18px; line-height: 1.7; color: var(--fg); margin-top: 0; }
.code-sample { background: var(--surface); }
.code-sample .bar { padding: 16px 24px; background: var(--surface-2); }
.code-sample .bar .name { margin: 0; }
.home .bento { display: block; }
.home .cell { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; padding: 26px 0; background: none; border-radius: 0; overflow: visible; }
.home .cell.feature-hero { min-height: 0; }
.home .cell .copy { display: contents; }
.home .cell h3 { font-size: 24px; line-height: 1.3; font-weight: 500; letter-spacing: -.02em; }
.home .cell p { font-size: 18px; line-height: 1.6; color: var(--fg); max-width: 54ch; }
.home #features { background: var(--surface); }
.home .ai-grid { gap: 48px 64px; }
.home .ai-item { padding: 0; }
.home .ai-item h3, .home .cap-card h3 { font-size: 24px; line-height: 1.25; font-weight: 500; margin-bottom: 16px; }
.home .ai-item p { font-size: 18px; color: var(--fg); }
.home .ai-band { background: var(--bg); }
.home #capabilities { background: var(--bg-soft); }
.home .cap-grid { gap: 48px 64px; }
.home .cap-card { padding: 0; }
.home .cap-card li { color: var(--fg); font-size: 16px; }
.cap-card li::before, .road-col li::before { background: var(--fg-faint); width: 4px; height: 4px; }
.home .cap-card:last-child { grid-column: 1 / -1; }
.home .road-grid { gap: 48px; }
.home .road-col { padding: 0; background: none; }
.home .road-dot { display: none; }
.home .road-head h3 { font-size: 24px; font-weight: 500; }
.home .road-col li { color: var(--fg); }
.home #start { background: var(--surface); }
.home .start-grid { gap: 48px; }
.home .code-block { padding: 0; background: none; }
.home .code-block strong { font-size: 24px; font-weight: 500; color: var(--fg); }
.home .code-block p { margin: 12px 0 0; font-size: 18px; }
.home .start-note { padding: 0; background: none; }
.home #waitlist > .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.home #waitlist .section-head { display: block; }
.home #waitlist h2 { margin-bottom: 24px; }
.home #waitlist .section-head p { max-width: 36ch; }
.home .wl-form { max-width: none; padding: 0; background: none; }
.home .wl-row { grid-template-columns: 1fr; gap: 12px; }
.home .wl-field label { font-size: 16px; color: var(--fg); }
.home .wl-field input { border-radius: 0; }
.home .wl-actions { display: block; }
.home .wl-actions .btn { width: 100%; }
.home .wl-status { margin-top: 12px; }
.home .wl-success { grid-column: 2; }
.home .site-footer { background: var(--surface); padding: 64px 0 36px; }
.home .footer-brand > span:first-of-type { font-size: clamp(42px, 10.8vw, 152px); line-height: 1; letter-spacing: -.055em; font-weight: 600; color: var(--fg); }
.home .footer-brand { flex-wrap: wrap; gap: 16px; }
.home .footer-brand img { width: 40px; height: 40px; }
.home .footer-row { gap: 40px; }
.home .footer-links { gap: 8px 24px; }
@media (max-width: 1000px) {
  .home .hero-grid { grid-template-columns: .8fr 1.2fr; gap: 28px; }
  .home .hero h1 { margin-bottom: 32px; }
  .home .hero-copy { padding: 0; }
  .home .trust-row { margin-top: 24px; }
}
@media (max-width: 760px) {
  .home .hero { padding: 32px 0 48px; }
  .home .hero h1 { max-width: 16ch; font-size: clamp(42px, 10.2vw, 68px); letter-spacing: -.045em; margin-bottom: 28px; }
  .home .hero-grid, .home .what-grid { grid-template-columns: 1fr; gap: 32px; }
  .home .hero p.sub { max-width: 38ch; font-size: 18px; margin-bottom: 20px; }
  .home .hero-status { margin-top: 16px; max-width: none; }
  .home .trust-row { display: flex; gap: 8px 16px; margin-top: 20px; }
  .home .hero-cta { align-items: center; }
  .home .hero-cta .btn { flex: none; font-size: 14px; }
  .hero-link { font-size: 14px; }
  .hero-product figcaption { font-size: 14px; }
  .home section, .home #inside { padding: 56px 0; }
  .home .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .home .section-head h2 { max-width: 20ch; font-size: 32px; }
  .home .section-head p { font-size: 16px; }
  .home .cell { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .home .cell h3, .home .cell p, .home .ai-item p, .home .lead { font-size: 18px; }
  .home .cell h3 { margin-bottom: 0; font-size: 24px; }
  .home .ai-grid, .home .cap-grid { gap: 36px; }
  .home .ai-item h3, .home .cap-card h3, .home .road-head h3 { font-size: 24px; }
  .home .road-grid { gap: 32px; }
  .home .start-grid { gap: 28px; }
  .home #waitlist > .wrap { grid-template-columns: 1fr; gap: 0; }
  .home #waitlist .section-head { margin-bottom: 32px; }
  .home .wl-success { grid-column: auto; }
  .home .site-footer { padding-top: 40px; }
  .home .footer-brand > span:first-of-type { font-size: 12.5vw; }
  .home .footer-brand img { width: 28px; height: 28px; }
  .home .footer-brand { gap: 8px; }
  .home .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .home .footer-row { gap: 24px; }
}

/* Motion is a progressive enhancement: no hidden source content, and a fully
   still page for reduced motion. The one large image opens like a shutter. */
:root { --ease-out: cubic-bezier(.22,1,.36,1); --ease-expo: cubic-bezier(.16,1,.3,1); }
@media (prefers-reduced-motion: no-preference) {
  .home .hero-product img { animation: product-settle 1100ms var(--ease-expo) both; }
  .home .hero-product { animation: product-open 1100ms var(--ease-out) both; }
  .home .hero h1 { animation: title-arrive 800ms var(--ease-expo) both; }
  .home .taste-enter { animation: section-arrive 700ms var(--ease-expo) both; animation-delay: var(--arrival, 0ms); }
  .home .btn:active { transform: scale(.98); }
  @supports (animation-timeline: view()) {
  }
}
@keyframes product-settle { from { transform: scale(1.08); } to { transform: none; } }
@keyframes product-open { from { clip-path: inset(0 0 16% 0); } to { clip-path: inset(0); } }
@keyframes title-arrive { from { transform: translateY(16px); } to { transform: none; } }
@keyframes section-arrive { from { transform: translateY(20px); } to { transform: none; } }
@keyframes panel-arrive { from { transform: translateY(28px); } to { transform: none; } }
@keyframes panel-drift { from { transform: translateY(8px); } to { transform: translateY(-8px); } }

/* The editor is the exhibit: a whole workspace, followed by useful details. */
.home .hero { padding-bottom: 56px; }
.editor-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 36px; }
.home .editor-intro h1 { font-size: clamp(48px, 6vw, 88px); max-width: 13ch; line-height: 1.02; letter-spacing: -.04em; margin: 0; }
.home .editor-intro .hero-copy { padding: 0; }
.home .editor-intro p.sub { max-width: 43ch; font-size: 20px; margin: 0 0 24px; }
.home .editor-intro .hero-status { max-width: none; margin-top: 16px; }
.home .code-sample pre { font-size: 14px; }
@media (min-width: 761px) {
  .home .nav-menu summary, .home .nav-links a, .home .btn { font-size: 16px; }
}
.editor-image { display: block; position: relative; color: var(--fg); overflow: clip; background: var(--surface); }
.editor-image img { display: block; width: 100%; height: auto; }
.editor-image:focus-visible { outline: 3px solid var(--accent-3); outline-offset: 5px; }
.image-action { padding: 10px 14px; background: var(--surface-2); color: var(--fg); font-size: 14px; line-height: 1.4; font-weight: 500; min-height: 44px; display: flex; align-items: center; }
.editor-image:hover .image-action { background: var(--accent-3); color: var(--bg); }
.tour-figure { margin: 0; min-width: 0; }
.tour-figure figcaption { font-size: 16px; color: var(--fg-dim); line-height: 1.5; margin-top: 16px; max-width: 66ch; }
.tour-figure figcaption strong { display: block; color: var(--fg); font-weight: 500; font-size: 20px; margin-bottom: 4px; }
.workflow-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px) minmax(0, 360px); gap: 64px 32px; align-items: start; }
.workflow-board h3, .settings-copy h3 { font-size: clamp(28px, 3.3vw, 48px); line-height: 1.15; font-weight: 500; letter-spacing: -.035em; margin: 0 0 24px; }
.workflow-board p, .settings-copy p, .play-copy p { font-size: 18px; line-height: 1.6; color: var(--fg); max-width: 47ch; margin: 0 0 20px; }
.workflow-board .tour-assets { grid-column: 1 / -1; grid-row: 3; }
.assets-copy { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.assets-copy h3 { grid-column: 1; grid-row: 1 / 4; }
.assets-copy p, .assets-copy > a { grid-column: 2; }
.tour-hierarchy img { max-height: 457px; object-fit: cover; object-position: top; }
.home .editor-settings { background: var(--surface); }
.settings-spread { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px) minmax(0, 360px); gap: 32px; align-items: start; }
.settings-copy { grid-column: 1; grid-row: 1; }
.feature-spread { margin-top: 64px; }
.feature-spread img { max-height: 650px; object-fit: contain; }
.play-spread { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
.play-copy h2 { font-size: clamp(32px, 3.3vw, 50px); line-height: 1.12; font-weight: 500; letter-spacing: -.035em; margin: 0 0 24px; max-width: 15ch; }
.editor-lightbox { width: calc(100vw - 48px); max-width: 2200px; max-height: calc(100dvh - 48px); padding: 24px; border: 0; color: var(--fg); background: var(--surface); }
.editor-lightbox::backdrop { background: rgb(0 0 0 / .88); }
.lightbox-toolbar { display: flex; align-items: start; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.lightbox-toolbar p { margin: 0; font-size: 16px; line-height: 1.5; max-width: 65ch; }
.lightbox-actions { display: flex; flex: none; gap: 8px; align-items: center; }
.lightbox-actions button, .lightbox-actions a { border: 0; border-radius: 0; background: var(--surface-2); color: var(--fg); padding: 10px 16px; font: inherit; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; white-space: nowrap; }
.lightbox-actions button:hover, .lightbox-actions a:hover { color: var(--bg); background: var(--fg); text-decoration: none; }
.lightbox-actions :focus-visible, .lightbox-scroll:focus-visible { outline: 3px solid var(--accent-3); outline-offset: 3px; }
.lightbox-scroll { overflow: auto; max-height: calc(100dvh - 170px); overscroll-behavior: contain; }
.lightbox-scroll img { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100dvh - 190px); margin-inline: auto; object-fit: contain; }
.actual-size .lightbox-scroll img { width: auto; max-width: none; max-height: none; margin-inline: 0; }
@media (max-width: 1000px) {
  .editor-intro { gap: 28px; }
  .home .editor-intro p.sub { font-size: 18px; }
  .home .editor-intro .hero-status { font-size: 14px; }
}
@media (max-width: 1100px) {
  .workflow-board, .settings-spread, .feature-spread, .play-spread { gap: 32px; }
  .workflow-board { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .workflow-copy { grid-column: 1 / -1; }
  .tour-hierarchy { grid-column: 1; grid-row: 2; }
  .tour-components { grid-column: 2; grid-row: 2; max-width: 360px; }
  .tour-components img { max-width: 360px; }
  .tour-hierarchy { max-width: 260px; }
  .tour-hierarchy img { max-height: 457px; max-width: 100%; }
  .assets-copy { grid-row: 3; }
  .workflow-board .tour-assets { grid-row: 4; }
  .settings-spread { grid-template-columns: 1fr 1fr; }
  .settings-copy { grid-column: 1 / -1; grid-row: 1; }
  .settings-spread .tour-figure { max-width: 360px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .home .section-head h2, .workflow-board h3, .settings-copy h3, .play-copy h2 { font-size: 32px; }
}
@media (max-width: 760px) {
  .home .hero { padding-bottom: 40px; }
  .editor-intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 24px; }
  .home .editor-intro h1 { font-size: clamp(38px, 10.2vw, 64px); max-width: 15ch; }
  .home .editor-intro p.sub { font-size: 18px; margin-bottom: 18px; }
  .home .editor-intro .hero-status { margin-top: 12px; }
  .image-action { position: static; width: 100%; justify-content: space-between; padding: 10px 12px; min-height: 44px; background: var(--surface-2); color: var(--fg); }
  .hero-product figcaption { margin-top: 12px; }
  .workflow-board, .settings-spread, .feature-spread, .play-spread { grid-template-columns: 1fr; gap: 32px; }
  .workflow-board .tour-assets, .assets-copy { grid-column: auto; grid-row: auto; }
  .workflow-board .tour-assets { order: 4; }
  .assets-copy { order: 3; display: block; }
  .workflow-copy { order: 0; }
  .tour-hierarchy { order: 1; grid-column: auto; grid-row: auto; }
  .tour-components { order: 2; grid-column: auto; grid-row: auto; }
  .tour-hierarchy img { max-height: none; max-width: 100%; }
  .tour-components img { max-width: 100%; }
  .tour-hierarchy { max-width: 320px; }
  .settings-copy { grid-column: auto; grid-row: auto; order: -1; }
  .settings-spread .tour-figure img { max-width: 100%; }
  .workflow-board h3, .settings-copy h3 { font-size: 30px; margin-bottom: 20px; }
  .workflow-board p, .settings-copy p, .play-copy p { font-size: 16px; margin-bottom: 16px; }
  .tour-figure figcaption { font-size: 14px; margin-top: 12px; }
  .tour-figure figcaption strong { font-size: 18px; }
  .feature-spread { margin-top: 40px; gap: 40px; }
  .play-copy h2 { font-size: 32px; }
  .editor-lightbox { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 16px; }
  .lightbox-toolbar { display: block; margin-bottom: 16px; }
  .lightbox-toolbar p { font-size: 14px; margin-bottom: 12px; }
  .lightbox-actions { flex-wrap: wrap; gap: 8px; }
  .lightbox-actions button, .lightbox-actions a { padding: 10px 12px; flex: 1; }
  .lightbox-scroll { max-height: calc(100dvh - 240px); }
  .lightbox-scroll img { max-height: calc(100dvh - 250px); }
}
