/* ============================================================
   KATSURA SYSTEMS — Precision editorial
   The sibling of katsuracreative.com: same cream, same ink, same
   Söhne, the rainbow as the single accent. More air, straighter
   lines, and the product itself (paper, hairlines, blossom/moss
   pills) drawn into the page as the proof.
   ============================================================ */

:root {
  --black: #191919;
  --cream: #f9f8f2;
  --cream-warm: #f3f1e8;
  --gray: #8a8a80;
  --gray-mid: #555550;
  --border: #dddcd4;
  --border-dark: rgba(255,255,255,0.1);

  /* The app's own palette, used wherever the product is drawn. */
  --paper: #faf8f4;
  --paper-warm: #f3efe7;
  --ink: #211d19;
  --ink-soft: #5c554c;
  --ink-faint: #a49b8e;
  --hairline: #e5dfd4;
  --blossom: #d6336c;
  --blossom-soft: #fbe7ef;
  --moss: #4f7a5a;
  --moss-soft: #e7f0e9;
  --amber: #b07d2e;
  --amber-soft: #f7edda;

  --font: "Soehne", "Helvetica Neue", Arial, sans-serif;
  --serif: "Libre Baskerville", "Baskerville", Georgia, serif;
  --mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  --gradient: linear-gradient(90deg, #943bc7, #5973d6, #3697e0, #ff5c7a, #ff8047, #ffca51, #42b542);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.25s;

  --nav-height: 56px;
  --container: 1320px;
  --measure: 36rem;
  --gutter: clamp(1.25rem, 4vw, 4rem);
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--black);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: #ffca51; color: var(--black); text-shadow: none; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }
button { font: inherit; border: none; background: none; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.label {
  display: block;
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.25rem;
}
.label-mono {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

em.serif, .serif {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}
.grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-height);
  background: rgba(249,248,242,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
}
.logo-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 4px 0;
}
.logo-pill img { height: 1.75rem; }
.logo-suffix {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-mid);
  position: relative;
  top: -1px;
}

.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a {
  font-size: 0.875rem;
  color: var(--gray-mid);
  transition: color 0.2s;
  padding: 0.25rem 0;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--black); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--black); }

.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1;
  color: var(--cream);
  background: var(--black);
  padding: 0.875rem 1.625rem;
  border-radius: 100px;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), background var(--duration);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.nav-cta {
  font-size: 0.8125rem !important;
  color: var(--cream) !important;
  padding: 0.5rem 1.125rem !important;
  box-shadow: none !important;
}
.nav-cta:hover, .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.18); }
.btn-light { background: var(--cream); color: var(--black); }
.btn-ghost {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--border);
}
.btn-ghost:hover { box-shadow: none; border-color: var(--black); }
.btn-row { display: flex; gap: 0.875rem; flex-wrap: wrap; align-items: center; }
.text-link {
  font-weight: 500;
  font-size: 0.9375rem;
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  transition: gap 0.2s var(--ease);
}
.text-link:hover { gap: 0.7rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 6px;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 1px; transition: transform 0.3s var(--ease); }
.nav-toggle.is-active span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle.is-active span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 190;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu-inner { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.mobile-menu-link {
  font-weight: 600;
  font-size: clamp(1.75rem, 7vw, 2.75rem);
  letter-spacing: -0.03em;
  padding: 0.4rem 1rem;
}
.mobile-menu-cta { color: var(--blossom); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + 2rem) var(--gutter) 0;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
.hero-inner { flex: 1; display: flex; align-items: center; padding: 2rem 0; }
.hero h1 {
  font-weight: 800;
  font-size: clamp(2.75rem, 8.6vw, 8.25rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  max-width: 14ch;
}
.hero h1 em { font-weight: 400; padding-right: 0.05em; }

.hero-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
  gap: 2rem;
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--gray-mid);
  max-width: 34rem;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 1rem; align-items: center; justify-content: flex-end; flex-wrap: wrap; }

/* Page hero (interior pages) */
.page-hero {
  padding: calc(var(--nav-height) + clamp(4rem, 9vw, 8rem)) 0 clamp(2.5rem, 5vw, 4rem);
}
.page-hero h1 {
  font-weight: 800;
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  max-width: 16ch;
}
.page-hero h1 em { font-weight: 400; }
.page-hero .lede {
  margin-top: 1.5rem;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--gray-mid);
  max-width: var(--measure);
}
.page-hero .btn-row { margin-top: 2rem; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-strip { overflow: hidden; background: var(--black); padding: 0.875rem 0; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 32s linear infinite; will-change: transform; }
.marquee-content {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(249,248,242,0.55);
  flex-shrink: 0;
}
.marquee-content b { color: var(--cream); font-weight: 500; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(4rem, 9vw, 8.5rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-warm { background: var(--cream-warm); }
.section-dark { background: var(--black); color: var(--cream); }
.section-dark .label { color: rgba(249,248,242,0.45); }
.section-dark p { color: rgba(249,248,242,0.7); }

.section-head { margin-bottom: clamp(2rem, 5vw, 4rem); max-width: 48rem; }
.section-head h2, h2.display {
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
}
.section-head h2 em, h2.display em { font-weight: 400; }
.section-head p { margin-top: 1.125rem; font-size: 1.0625rem; line-height: 1.65; color: var(--gray-mid); max-width: var(--measure); }
.section-dark .section-head p { color: rgba(249,248,242,0.7); }

.prose { max-width: var(--measure); }
.prose p { font-size: 1.0625rem; line-height: 1.7; color: var(--gray-mid); }
.prose p + p { margin-top: 1rem; }
.prose strong { color: var(--black); font-weight: 500; }
.prose h3 { font-weight: 600; font-size: 1.25rem; letter-spacing: -0.015em; margin: 2.25rem 0 0.75rem; }
.prose ul { margin-top: 1rem; padding-left: 1.1rem; list-style: disc; }
.prose li { font-size: 1.0625rem; line-height: 1.65; color: var(--gray-mid); }
.prose li + li { margin-top: 0.4rem; }
.prose a { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: var(--border); }
.prose a:hover { text-decoration-color: var(--black); }

/* Split: editorial two-column with a sticky left */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.split-sticky { position: sticky; top: calc(var(--nav-height) + 2rem); }

/* ============================================================
   ARGUMENT — numbered editorial list
   ============================================================ */
.argument { border-top: 1px solid var(--border); }
.arg {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 1.5rem clamp(1rem, 4vw, 4rem);
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--border);
}
.arg-num { font-family: var(--mono); font-size: 0.8125rem; color: var(--gray); padding-top: 0.5rem; }
.arg h3 { font-weight: 700; font-size: clamp(1.375rem, 2.4vw, 1.875rem); letter-spacing: -0.025em; line-height: 1.15; }
.arg p { font-size: 1.0625rem; line-height: 1.65; color: var(--gray-mid); }
.arg p + p { margin-top: 0.875rem; }

/* ============================================================
   THREE THINGS — brain / loop / line
   ============================================================ */
.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.thing {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  display: flex; flex-direction: column; gap: 1rem;
  min-height: 20rem;
  position: relative;
  overflow: hidden;
}
.thing-glyph {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.625rem;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 500;
  color: var(--cream);
}
.thing:nth-child(1) .thing-glyph { background: #943bc7; }
.thing:nth-child(2) .thing-glyph { background: #3697e0; }
.thing:nth-child(3) .thing-glyph { background: #42b542; }
.thing h3 { font-weight: 700; font-size: 1.5rem; letter-spacing: -0.025em; line-height: 1.1; }
.thing h3 small { display: block; font-family: var(--mono); font-weight: 400; font-size: 0.75rem; letter-spacing: 0.04em; color: var(--gray); margin-bottom: 0.5rem; }
.thing p { font-size: 0.9375rem; line-height: 1.65; color: var(--gray-mid); }
.thing-foot { margin-top: auto; font-family: var(--mono); font-size: 0.75rem; color: var(--gray); padding-top: 1rem; border-top: 1px dashed var(--border); }

/* ============================================================
   THE LOOP DEMO — the product, drawn
   ============================================================ */
.demo {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 1.125rem;
  padding: clamp(1rem, 2.5vw, 2rem);
  box-shadow: 0 30px 80px -40px rgba(33,29,25,0.25);
  position: relative;
  font-family: var(--font);
  color: var(--ink);
}
.demo-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
  padding-bottom: 1rem; margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--hairline);
}
.demo-bar-title { white-space: nowrap; }
.demo-bar-left { display: flex; align-items: center; gap: 0.75rem; }
.demo-dots { display: flex; gap: 5px; }
.demo-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--hairline); }
.demo-bar-title { font-size: 0.8125rem; font-weight: 600; color: var(--ink-soft); }
.demo-steps { display: flex; gap: 0.25rem; }
.demo-step {
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.03em;
  color: var(--ink-faint);
  padding: 0.25rem 0.6rem; border-radius: 100px;
  transition: all 0.3s var(--ease);
}
.demo-step.is-on { background: var(--ink); color: var(--paper); }
.demo-step.is-done { color: var(--moss); }

.demo-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  min-height: 15rem;
}
.demo-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 0.625rem;
  padding: 1rem 1.125rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), border-color 0.3s;
}
.demo-card.is-in { opacity: 1; transform: translateY(0); }
.demo-card.is-dim { opacity: 0.45; }
.demo-card.is-moss { border-color: var(--moss); }
.demo-k { font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-faint); letter-spacing: 0.03em; margin-bottom: 0.5rem; display: flex; justify-content: space-between; }
.demo-chat { display: flex; gap: 0.625rem; }
.demo-avatar { width: 28px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #ff8047, #ffca51); flex-shrink: 0; }
.demo-chat b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 0.1rem; }
.pill {
  display: inline-block;
  padding: 0.1rem 0.6rem;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.6;
}
.pill-blossom { background: var(--blossom-soft); color: var(--blossom); }
.pill-moss { background: var(--moss-soft); color: var(--moss); }
.pill-amber { background: var(--amber-soft); color: var(--amber); }
.pill-paper { background: var(--paper-warm); color: var(--ink-soft); }
.demo-title { color: var(--ink); font-weight: 600; font-size: 0.9375rem; margin: 0.4rem 0 0.35rem; min-height: 1.4em; }
.demo-ctx { background: var(--paper); border-radius: 0.375rem; padding: 0.5rem 0.75rem; font-size: 0.75rem; white-space: pre-wrap; min-height: 3.6em; }
.demo-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.demo-btn {
  font-size: 0.75rem; font-weight: 600;
  padding: 0.35rem 0.8rem; border-radius: 0.375rem;
  background: var(--paper-warm); color: var(--ink-soft);
  transition: transform 0.15s var(--ease), background 0.2s, color 0.2s;
  position: relative;
}
.demo-btn-approve { background: var(--moss); color: #fff; }
.demo-btn.is-pressed { transform: scale(0.94); }
.demo-btn-approve.is-pressed::after {
  content: ""; position: absolute; inset: -6px; border-radius: 0.6rem;
  border: 2px solid var(--moss); opacity: 0;
  animation: ring 0.6s var(--ease);
}
@keyframes ring { 0% { opacity: 0.8; transform: scale(0.9);} 100% { opacity: 0; transform: scale(1.15);} }
.demo-task-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.demo-log { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.75rem; }
.demo-log li { display: flex; gap: 0.5rem; opacity: 0; transform: translateX(-6px); transition: all 0.4s var(--ease); }
.demo-log li.is-in { opacity: 1; transform: none; }
.demo-log time { font-family: var(--mono); color: var(--ink-faint); flex-shrink: 0; }
.demo-cursor::after { content: "▍"; color: var(--blossom); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-caption {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-faint);
  text-align: center;
}
.demo-caption b { color: var(--ink-soft); font-weight: 500; }

/* ============================================================
   PROOF
   ============================================================ */
.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; }
.proof-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--cream);
  display: flex; flex-direction: column; gap: 1rem;
}
.proof-card h3 { font-weight: 700; font-size: 1.625rem; letter-spacing: -0.03em; line-height: 1.1; }
.proof-card p { font-size: 0.9875rem; line-height: 1.65; color: var(--gray-mid); }
.proof-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.proof-meta span { font-family: var(--mono); font-size: 0.6875rem; padding: 0.25rem 0.6rem; border: 1px solid var(--border); border-radius: 100px; color: var(--gray-mid); }
.proof-card .text-link { margin-top: auto; padding-top: 0.5rem; }

.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; border-top: 1px solid var(--border); }
.stat { padding: 1.5rem 0; border-right: 1px solid var(--border); padding-right: 1rem; }
.stat:last-child { border-right: none; }
.stat b { display: block; font-weight: 800; font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.04em; line-height: 1; }
.stat span { display: block; margin-top: 0.5rem; font-size: 0.875rem; color: var(--gray-mid); }

/* Quote */
.pull {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.8vw, 2.125rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 40rem;
}
.pull cite { display: block; margin-top: 1rem; font-family: var(--font); font-style: normal; font-size: 0.875rem; color: var(--gray); }

/* ============================================================
   OFFERS
   ============================================================ */
.offers { border-top: 1px solid var(--border); }
.offer {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1.1fr) minmax(0, 1.6fr) 10rem;
  gap: 1rem clamp(1rem, 3vw, 3rem);
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: transform 0.4s var(--ease);
}
a.offer:hover { transform: translateX(0.75rem); }
.offer-num { font-family: var(--mono); font-size: 0.8125rem; color: var(--gray); padding-top: 0.3rem; }
.offer h3 { font-weight: 600; font-size: 1.25rem; letter-spacing: -0.015em; }
.offer h3 small { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--gray); margin-top: 0.2rem; }
.offer p { font-size: 0.9375rem; line-height: 1.65; color: var(--gray-mid); }
.offer-price { text-align: right; font-family: var(--mono); font-size: 0.8125rem; color: var(--gray-mid); line-height: 1.6; }
.offer-price b { display: block; font-family: var(--font); font-weight: 700; font-size: 1.125rem; color: var(--black); letter-spacing: -0.02em; }

/* Pricing table */
.price-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.price-table th, .price-table td { text-align: left; padding: 1.125rem 1rem 1.125rem 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.price-table th { font-family: var(--mono); font-weight: 400; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); padding-top: 0; }
.price-table td:first-child { font-weight: 600; }
.price-table td:first-child small { display: block; font-weight: 400; color: var(--gray); font-size: 0.8125rem; }
.price-table .num { font-family: var(--mono); font-size: 0.875rem; white-space: nowrap; }
.price-table .num b { font-family: var(--font); font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.02em; }
.price-note { margin-top: 1.25rem; font-size: 0.875rem; color: var(--gray); max-width: 44rem; line-height: 1.6; }

/* Offer detail blocks */
.detail { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.detail-list { border-top: 1px solid var(--border); }
.detail-list li { padding: 1.125rem 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; }
.detail-list li b { font-weight: 600; display: block; margin-bottom: 0.15rem; }
.detail-list li span { font-size: 0.9375rem; color: var(--gray-mid); line-height: 1.6; }
.detail-list .tick { font-family: var(--mono); color: var(--moss); font-size: 0.875rem; padding-top: 0.15rem; }
.detail-list .cross { font-family: var(--mono); color: var(--blossom); font-size: 0.875rem; padding-top: 0.15rem; }

.price-card {
  background: var(--black);
  color: var(--cream);
  border-radius: 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.price-card .label { color: rgba(249,248,242,0.45); margin-bottom: 0; }
.price-card .big { font-weight: 800; font-size: clamp(2.25rem, 4vw, 3.25rem); letter-spacing: -0.04em; line-height: 1; }
.price-card .big small { font-family: var(--mono); font-weight: 400; font-size: 0.8125rem; letter-spacing: 0; display: block; margin-top: 0.5rem; color: rgba(249,248,242,0.55); }
.price-card p { color: rgba(249,248,242,0.7); font-size: 0.9375rem; line-height: 1.6; }
.price-card ul { display: flex; flex-direction: column; gap: 0.5rem; border-top: 1px solid var(--border-dark); padding-top: 1.25rem; }
.price-card li { font-size: 0.875rem; color: rgba(249,248,242,0.8); display: flex; gap: 0.6rem; }
.price-card li::before { content: "—"; color: rgba(249,248,242,0.35); }
.price-card .btn { align-self: flex-start; }

/* Objections */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.375rem 0;
  font-weight: 600; font-size: 1.125rem; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--gray); font-weight: 400; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 1.5rem; font-size: 1rem; line-height: 1.65; color: var(--gray-mid); max-width: 44rem; }

/* Timeline (build order) */
.timeline { border-left: 1px solid var(--border); margin-left: 0.5rem; }
.timeline li { position: relative; padding: 0 0 1.75rem 2rem; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 0.45rem; width: 9px; height: 9px; border-radius: 50%; background: var(--black); }
.timeline b { display: block; font-weight: 600; }
.timeline span { font-size: 0.9375rem; color: var(--gray-mid); line-height: 1.6; }
.timeline .when { font-family: var(--mono); font-size: 0.6875rem; color: var(--gray); letter-spacing: 0.04em; display: block; margin-bottom: 0.2rem; }

/* Terminal-ish block for the "what you own" list */
.owned {
  background: var(--black); color: var(--cream);
  border-radius: 0.875rem; padding: 1.5rem 1.75rem;
  font-family: var(--mono); font-size: 0.8125rem; line-height: 1.8;
}
.owned span { color: rgba(249,248,242,0.45); }
.owned b { font-weight: 500; color: #ffca51; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta {
  background: var(--black);
  color: var(--cream);
  padding: clamp(4rem, 9vw, 8rem) var(--gutter);
  position: relative;
  overflow: hidden;
}
.cta-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: end; position: relative; }
.cta h2 { font-weight: 800; font-size: clamp(2.25rem, 6vw, 5.5rem); letter-spacing: -0.045em; line-height: 0.95; }
.cta h2 em { font-weight: 400; }
.cta p { margin-top: 1.5rem; font-size: 1.0625rem; color: rgba(249,248,242,0.6); max-width: 30rem; line-height: 1.6; }
.cta-right { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.cta-right .btn-light { font-size: 1rem; padding: 1rem 1.75rem; }
.cta-note { font-family: var(--mono); font-size: 0.75rem; color: rgba(249,248,242,0.45); }
.cta-pattern {
  position: absolute; right: -4rem; top: -4rem; width: 26rem; height: 26rem;
  background-image: url(../img/header-background.svg);
  background-size: 160px; opacity: 0.08; pointer-events: none;
  mask-image: radial-gradient(circle at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 70%);
}

/* ============================================================
   CONTACT FORM (dark)
   ============================================================ */
.contact { background: var(--black); color: var(--cream); padding: clamp(4rem, 8vw, 8rem) var(--gutter); }
.contact-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.contact-left h1, .contact-left h2 { font-weight: 800; font-size: clamp(2.25rem, 6vw, 5rem); letter-spacing: -0.04em; line-height: 0.95; }
.contact-left em { font-weight: 400; }
.contact-sub { font-size: 1.0625rem; color: rgba(249,248,242,0.55); line-height: 1.65; margin-top: 1.5rem; max-width: 26rem; }
.contact-steps { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; border-top: 1px solid var(--border-dark); padding-top: 1.5rem; }
.contact-steps li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.5rem; font-size: 0.9375rem; color: rgba(249,248,242,0.7); }
.contact-steps li b { font-family: var(--mono); font-weight: 400; color: rgba(249,248,242,0.4); font-size: 0.75rem; padding-top: 0.2rem; }

.contact-form { position: relative; display: flex; flex-direction: column; gap: 1.125rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-group label { font-weight: 500; font-size: 0.8125rem; color: rgba(249,248,242,0.5); letter-spacing: 0.02em; }
.form-group input, .form-group select, .form-group textarea {
  font-family: var(--font); font-weight: 400; font-size: 1rem; line-height: 1.5;
  color: var(--cream);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(249,248,242,0.22); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(249,248,242,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer;
}
.form-group select option { background: var(--black); color: var(--cream); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-submit { align-self: flex-start; margin-top: 0.25rem; min-width: 180px; }
.form-group--hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-error { font-size: 0.875rem; color: #ff5c7a; margin: 0; }
.form-turnstile:empty { display: none; }
.contact-form.is-sending .submit-text { display: none; }
.contact-form.is-sending .submit-sending { display: inline !important; }
.contact-form.is-sent .submit-text, .contact-form.is-sent .submit-sending { display: none !important; }
.contact-form.is-sent .submit-sent { display: inline !important; }
.contact-form.is-sent .contact-submit { background: #42b542; color: #fff; pointer-events: none; }
.form-done {
  border: 1px solid var(--border-dark); border-radius: 0.75rem; padding: 1.5rem;
  font-size: 0.9375rem; color: rgba(249,248,242,0.75); line-height: 1.6;
}
.form-done b { color: var(--cream); font-weight: 600; display: block; margin-bottom: 0.4rem; font-size: 1.0625rem; }
.form-done .pill { margin-top: 0.75rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem; border-top: 1px solid var(--border); }
.footer-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 2fr; gap: 2rem 3rem; }
.footer-logo { height: 1.75rem; }
.footer-logo-link { display: inline-flex; }
.footer-tag { margin-top: 1rem; font-size: 0.9375rem; color: var(--gray-mid); max-width: 20rem; line-height: 1.5; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a, .footer-col span { font-size: 0.875rem; color: var(--gray-mid); line-height: 1.4; }
.footer-col a:hover { color: var(--black); }
.footer-h { font-family: var(--mono); font-size: 0.6875rem !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray) !important; margin-bottom: 0.25rem; }
.footer-muted { color: var(--gray) !important; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 1.5rem; margin-top: 1rem; }
.footer-copy { font-size: 0.8125rem; color: var(--gray); }
.footer-copy a:hover { color: var(--black); }
.footer-dogfood a { text-decoration: underline; text-underline-offset: 0.2em; }

/* ============================================================
   LEGAL
   ============================================================ */
.legal { max-width: 44rem; margin: 0 auto; padding: calc(var(--nav-height) + 5rem) var(--gutter) 6rem; }
.legal h1 { font-weight: 800; font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1; letter-spacing: -0.04em; margin-bottom: 1rem; }
.legal .meta { font-size: 0.875rem; color: var(--gray); margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.legal h2 { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; margin: 2.75rem 0 0.875rem; }
.legal p, .legal li { font-size: 1rem; line-height: 1.7; color: var(--gray-mid); }
.legal p + p { margin-top: 1rem; }
.legal strong { color: var(--black); font-weight: 500; }
.legal ul { margin: 1rem 0 0; padding-left: 1.25rem; list-style: disc; }
.legal li + li { margin-top: 0.5rem; }
.legal a { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: var(--border); }
.legal a:hover { text-decoration-color: var(--black); }

/* ============================================================
   REVEAL
   ============================================================ */
[data-animate] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }
[data-animate][data-delay="1"] { transition-delay: 80ms; }
[data-animate][data-delay="2"] { transition-delay: 160ms; }
[data-animate][data-delay="3"] { transition-delay: 240ms; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav-links { gap: 1.25rem; }
  .nav-links a { font-size: 0.8125rem; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split-sticky { position: static; }
  .three { grid-template-columns: 1fr; }
  .thing { min-height: 0; }
  .proof-grid, .detail { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat:nth-child(2) { border-right: none; }
  .offer { grid-template-columns: 2.5rem 1fr; }
  .offer p { grid-column: 2; }
  .offer-price { grid-column: 2; text-align: left; }
  .offer-price b { display: inline; margin-right: 0.5rem; }
  .demo-stage { grid-template-columns: 1fr; }
  .cta-inner, .contact-inner, .footer-inner { grid-template-columns: 1fr; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
}
@media (max-width: 768px) {
  :root { --nav-height: 52px; }
  .hero { min-height: auto; padding-top: calc(var(--nav-height) + 3rem); }
  .hero-inner { padding: 1rem 0; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 4.5rem); }
  .arg { grid-template-columns: 2.5rem 1fr; }
  .arg > p, .arg-body { grid-column: 2; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .price-table { font-size: 0.875rem; }
  .price-table th:nth-child(4), .price-table td:nth-child(4) { display: none; }
}
@media (max-width: 480px) {
  :root { --gutter: 1.25rem; }
  .logo-pill img { height: 1.5rem; }
  .logo-suffix { font-size: 0.6875rem; }
  .btn-row .btn { width: 100%; }
  .contact-submit { width: 100%; }
  .footer-cols { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat { border-right: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  [data-animate] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .demo-card { opacity: 1; transform: none; }
}
