:root {
  --ink: #080a09;
  --ink-soft: #101412;
  --ink-card: #141916;
  --paper: #f4f0e8;
  --paper-dim: #c6c7bb;
  --paper-muted: #898f87;
  --line: rgba(244, 240, 232, 0.13);
  --line-dark: rgba(8, 10, 9, 0.14);
  --acid: #d6fb57;
  --acid-dim: #a9cb43;
  --coral: #ff6b4a;
  --cyan: #71d6e7;
  --blue: #79a8ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Space Grotesk", "Inter", "Segoe UI", Arial, sans-serif;
  --display: "Arial Black", "Space Grotesk", "Inter", sans-serif;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 85% 4%, rgba(214, 251, 87, 0.1), transparent 24rem),
    var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(244, 240, 232, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 232, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

body::after {
  position: fixed;
  z-index: -1;
  top: -16rem;
  left: 46%;
  width: 42rem;
  height: 42rem;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(214, 251, 87, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(214, 251, 87, 0.025), 0 0 0 11rem rgba(214, 251, 87, 0.02);
  transform: rotate(-23deg);
}

::selection { color: var(--ink); background: var(--acid); }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled, a.is-disabled { cursor: not-allowed; }
img, svg { max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 4px;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--acid);
  border-radius: var(--radius-sm);
}

.container {
  width: min(100% - 3rem, 1240px);
  margin-inline: auto;
}

.section-shell {
  position: relative;
  padding: clamp(5rem, 9vw, 9rem) 0;
  overflow: hidden;
}

.section-dark {
  color: var(--paper);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 55%), #0e1210;
  border-block: 1px solid var(--line);
}

.eyebrow,
.panel-kicker,
.plan-kicker,
.field-label,
.comparison-tag {
  margin: 0;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.8rem;
  color: var(--acid);
  background: rgba(214, 251, 87, 0.08);
  border: 1px solid rgba(214, 251, 87, 0.25);
  border-radius: 999px;
  box-shadow: inset 0 0 20px rgba(214, 251, 87, 0.03);
}

.status-dot {
  display: inline-block;
  width: 0.46rem;
  height: 0.46rem;
  flex: 0 0 auto;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(214, 251, 87, 0.11), 0 0 18px rgba(214, 251, 87, 0.65);
}

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { letter-spacing: -0.045em; }

h1 {
  max-width: 770px;
  margin-bottom: 1.4rem;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(3.7rem, 8.2vw, 7.6rem);
  font-weight: 900;
  line-height: 0.91;
  text-wrap: balance;
}

h1 em {
  color: var(--acid);
  font-style: normal;
}

h2 {
  max-width: 780px;
  margin-bottom: 1.2rem;
  font-family: var(--display);
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  font-weight: 900;
  line-height: 0.96;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.1;
}

code {
  padding: 0.14em 0.35em;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.86em;
  background: rgba(214, 251, 87, 0.08);
  border-radius: 5px;
}

.section-heading { max-width: 740px; margin-bottom: 3rem; }
.section-heading-wide { max-width: 910px; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--paper-dim); font-size: 1.08rem; }
.section-heading-wide > p:last-child { max-width: 720px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.35rem;
  padding: 0.85rem 1.15rem;
  color: var(--paper);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.1;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--ink); background: var(--acid); box-shadow: 0 8px 0 rgba(214, 251, 87, 0.12), 0 16px 36px rgba(214, 251, 87, 0.13); }
.button-primary:hover { background: #e6ff81; box-shadow: 0 10px 0 rgba(214, 251, 87, 0.13), 0 18px 42px rgba(214, 251, 87, 0.22); }
.button-secondary { background: rgba(244, 240, 232, 0.03); border-color: rgba(244, 240, 232, 0.24); }
.button-secondary:hover { background: rgba(244, 240, 232, 0.1); border-color: var(--paper); }
.button-quiet { color: var(--paper-dim); background: transparent; border-color: var(--line); }
.button-quiet:hover { color: var(--paper); border-color: rgba(244, 240, 232, 0.35); }
.button-small { min-height: 2.5rem; padding: 0.6rem 0.9rem; font-size: 0.78rem; }
.button-full { width: 100%; }
.button-price { padding: 0.23rem 0.45rem; color: var(--ink); font-family: var(--mono); font-size: 0.72em; background: rgba(8, 10, 9, 0.1); border-radius: 999px; }
.is-loading { position: relative; opacity: 0.75; }
.is-loading::after { width: 0.9em; height: 0.9em; content: ""; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 700ms linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Header */
.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  background: rgba(8, 10, 9, 0.76);
  border-bottom: 1px solid rgba(244, 240, 232, 0.09);
  backdrop-filter: blur(18px);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 5rem; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; min-width: max-content; font-weight: 800; letter-spacing: -0.03em; }
.brand-mark { display: grid; width: 2.15rem; height: 2.15rem; place-items: center; color: var(--ink); font-family: var(--mono); font-size: 0.77rem; font-weight: 900; background: var(--acid); border-radius: 6px 10px 6px 3px; box-shadow: 3px 3px 0 var(--coral); transform: rotate(-7deg); }
.brand-mark span { transform: rotate(7deg); }
.brand-name { font-size: 1.05rem; }
.brand-name > span { color: var(--acid); }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(0.8rem, 1.7vw, 1.45rem); color: var(--paper-muted); font-size: 0.8rem; font-weight: 650; }
.primary-nav a { transition: color 160ms ease; }
.primary-nav a:hover { color: var(--paper); }
.nav-cta { min-height: 2.65rem; padding: 0.6rem 0.9rem; color: var(--ink); font-size: 0.76rem; font-weight: 800; background: var(--acid); border: 0; border-radius: 999px; }
.mobile-menu-toggle { display: none; width: 2.8rem; height: 2.8rem; color: var(--paper); background: transparent; border: 1px solid var(--line); border-radius: 50%; }
.menu-icon { font-size: 1.1rem; }

/* Hero */
.hero { min-height: 760px; padding-top: clamp(5rem, 9vw, 8.5rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr); align-items: center; gap: clamp(3rem, 7vw, 8rem); }
.hero-copy { position: relative; z-index: 2; }
.hero-subhead { max-width: 620px; margin-bottom: 2rem; color: var(--paper-dim); font-size: clamp(1.1rem, 1.7vw, 1.28rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 3rem; }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 620px; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.hero-proof li { display: grid; gap: 0.2rem; padding: 1rem 1rem 0 0; border-right: 1px solid var(--line); }
.hero-proof li + li { padding-left: 1rem; }
.hero-proof li:last-child { border-right: 0; }
.hero-proof strong { color: var(--paper); font-family: var(--mono); font-size: 1.05rem; }
.hero-proof span { color: var(--paper-muted); font-size: 0.74rem; line-height: 1.35; }
.hero-visual { position: relative; min-height: 520px; isolation: isolate; }
.hero-orbit { position: absolute; border: 1px solid rgba(214, 251, 87, 0.2); border-radius: 50%; transform: rotate(-25deg); }
.orbit-one { top: 5%; left: -5%; width: 110%; height: 72%; }
.orbit-two { top: 22%; left: 5%; width: 92%; height: 58%; border-color: rgba(113, 214, 231, 0.15); transform: rotate(28deg); }
.hero-console { position: absolute; z-index: 2; top: 12%; right: 0; width: min(100%, 480px); transform: rotate(2.3deg); transition: transform 500ms ease; }
.hero-console:hover { transform: rotate(-1deg) translateY(-6px); }
.window-card { overflow: hidden; background: rgba(20, 25, 22, 0.88); border: 1px solid rgba(244, 240, 232, 0.18); border-radius: var(--radius-md); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.window-bar { display: flex; align-items: center; gap: 0.75rem; min-height: 2.75rem; padding: 0.6rem 0.8rem; color: var(--paper-muted); font-family: var(--mono); font-size: 0.64rem; background: rgba(0, 0, 0, 0.23); border-bottom: 1px solid var(--line); }
.window-dots { display: flex; gap: 0.28rem; }
.window-dots span { display: block; width: 0.45rem; height: 0.45rem; background: var(--coral); border-radius: 50%; }
.window-dots span:nth-child(2) { background: #f2c94c; }
.window-dots span:nth-child(3) { background: var(--acid); }
.window-title { overflow: hidden; flex: 1; text-overflow: ellipsis; white-space: nowrap; }
.window-state { color: var(--acid); white-space: nowrap; }
.console-body { padding: clamp(1.3rem, 4vw, 2.2rem); color: var(--ink); background: var(--paper); }
.sticky-note-widget .console-body { position: relative; min-height: 350px; background: linear-gradient(125deg, #f4f0e8, #dff58b); }
.sticky-note-widget .console-body::after { position: absolute; right: 1.2rem; bottom: 1.2rem; width: 4.3rem; height: 4.3rem; content: ""; opacity: 0.32; background: repeating-linear-gradient(135deg, transparent 0 7px, rgba(8, 10, 9, 0.2) 7px 8px); border-radius: 50%; }
.sticky-note-heading { display: flex; align-items: center; justify-content: space-between; }
.console-label { margin-bottom: 1.15rem; color: rgba(8, 10, 9, 0.56); font-family: var(--mono); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; }
.sticky-note-pin { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; color: var(--coral); font-size: 1.4rem; border: 1px solid rgba(255, 107, 74, 0.32); border-radius: 50%; }
.console-goal { max-width: 350px; margin-bottom: 2.2rem; font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; letter-spacing: -0.06em; line-height: 0.97; }
.console-meter { height: 0.55rem; margin-bottom: 0.75rem; overflow: hidden; background: rgba(8, 10, 9, 0.12); border-radius: 999px; }
.console-meter-fill { display: block; height: 100%; background: var(--ink); border-radius: inherit; }
.console-meta { display: flex; justify-content: space-between; gap: 1rem; color: rgba(8, 10, 9, 0.56); font-family: var(--mono); font-size: 0.67rem; }
.console-chip { color: var(--ink); font-weight: 800; }
.console-log { position: relative; z-index: 1; display: grid; gap: 0.55rem; margin-top: 2.7rem; padding-top: 1rem; color: rgba(8, 10, 9, 0.72); font-family: var(--mono); font-size: 0.66rem; border-top: 1px solid rgba(8, 10, 9, 0.16); }
.console-log p { margin: 0; }
.console-log strong { color: var(--ink); }
.log-time { margin-right: 0.55rem; color: var(--coral); }

/* Interactive preview */
.showcase { background: #0b0e0c; }
.preview-shell { display: grid; grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr); gap: 1rem; }
.panel-card { padding: clamp(1.25rem, 3vw, 2rem); background: rgba(244, 240, 232, 0.055); border: 1px solid var(--line); border-radius: var(--radius-md); }
.panel-card-heading, .preview-stage-header, .trust-window-heading, .activity-heading, .progress-heading, .mode-picker-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.panel-card-heading { align-items: flex-start; margin-bottom: 2rem; }
.panel-card h3 { margin: 0.35rem 0 0; font-size: 1.4rem; }
.spec-badge { display: inline-flex; align-items: center; justify-content: center; width: fit-content; padding: 0.35rem 0.55rem; color: var(--acid); font-family: var(--mono); font-size: 0.59rem; font-weight: 800; letter-spacing: 0.1em; line-height: 1.2; background: rgba(214, 251, 87, 0.08); border: 1px solid rgba(214, 251, 87, 0.23); border-radius: 999px; }
.spec-badge-muted { color: var(--paper-muted); background: rgba(244, 240, 232, 0.05); border-color: var(--line); }
.form-field { display: grid; gap: 0.5rem; margin-bottom: 1.15rem; }
.form-field label, .toggle-label { color: var(--paper); font-size: 0.83rem; font-weight: 700; }
.text-input, .select-input { width: 100%; min-height: 2.8rem; padding: 0.7rem 0.8rem; color: var(--paper); font-size: 0.84rem; background: rgba(8, 10, 9, 0.45); border: 1px solid rgba(244, 240, 232, 0.18); border-radius: var(--radius-sm); outline: none; transition: border-color 180ms ease, box-shadow 180ms ease; }
textarea.text-input { min-height: 6.2rem; resize: vertical; }
.text-input:focus, .select-input:focus { border-color: var(--acid); box-shadow: 0 0 0 3px rgba(214, 251, 87, 0.12); }
.text-input::placeholder { color: var(--paper-muted); }
.select-input { appearance: none; padding-right: 2.2rem; background-image: linear-gradient(45deg, transparent 50%, var(--acid) 50%), linear-gradient(135deg, var(--acid) 50%, transparent 50%); background-position: calc(100% - 15px) 1.2rem, calc(100% - 10px) 1.2rem; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; }
.field-hint { margin: 0; color: var(--paper-muted); font-size: 0.7rem; line-height: 1.45; }
.field-label { display: block; color: var(--paper-muted); font-size: 0.62rem; }
.goal-display-card { padding: 0.8rem; margin: 0 0 1.35rem; background: rgba(214, 251, 87, 0.08); border: 1px solid rgba(214, 251, 87, 0.16); border-radius: var(--radius-sm); }
.goal-display { display: block; margin-top: 0.25rem; color: var(--acid); font-size: 0.82rem; font-weight: 650; line-height: 1.35; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; margin: 0.2rem 0 1.1rem; border-block: 1px solid var(--line); }
.toggle-input { position: relative; width: 2.65rem; height: 1.5rem; flex: 0 0 auto; appearance: none; background: rgba(244, 240, 232, 0.14); border: 1px solid rgba(244, 240, 232, 0.26); border-radius: 999px; transition: background 180ms ease, border-color 180ms ease; }
.toggle-input::after { position: absolute; top: 0.18rem; left: 0.2rem; width: 1.08rem; height: 1.08rem; content: ""; background: var(--paper); border-radius: 50%; transition: transform 180ms ease; }
.toggle-input:checked { background: var(--acid); border-color: var(--acid); }
.toggle-input:checked::after { background: var(--ink); transform: translateX(1.08rem); }
.control-actions { display: flex; gap: 0.55rem; margin-top: 1.55rem; }
.control-actions .button-primary { flex: 1; }
.preview-stage { min-width: 0; padding: clamp(1.2rem, 3vw, 1.75rem); background: rgba(244, 240, 232, 0.035); border: 1px solid var(--line); border-radius: var(--radius-md); }
.preview-stage-header { align-items: flex-start; margin-bottom: 1rem; }
.preview-stage-header h3 { margin: 0.3rem 0 0; font-size: 1.35rem; }
.preview-stage-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 0.45rem; }
.inline-toggle { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--paper-muted); font-family: var(--mono); font-size: 0.62rem; }
.inline-toggle input { accent-color: var(--acid); }
.privacy-chip, .model-chip { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.45rem; color: var(--acid); font-family: var(--mono); font-size: 0.58rem; font-weight: 700; background: rgba(214, 251, 87, 0.08); border: 1px solid rgba(214, 251, 87, 0.18); border-radius: 999px; }
.model-chip { color: var(--cyan); background: rgba(113, 214, 231, 0.08); border-color: rgba(113, 214, 231, 0.18); }
.preview-window { overflow: hidden; background: #0a0c0b; border: 1px solid rgba(244, 240, 232, 0.16); border-radius: var(--radius-md); box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.22); }
.breadcrumb-trail { padding: 0.7rem 1rem; color: var(--paper-muted); font-family: var(--mono); font-size: 0.62rem; border-bottom: 1px solid var(--line); }
.breadcrumb-trail ol { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0; list-style: none; }
.breadcrumb-trail li { display: inline-flex; align-items: center; gap: 0.35rem; }
.breadcrumb-trail li:not(:last-child)::after { margin-left: 0.05rem; color: var(--paper-muted); content: "/"; }
.breadcrumb-trail li[aria-current="page"] { color: var(--acid); }
.breadcrumb-icon { color: var(--acid); }
.breadcrumb-chip { padding: 0.2rem 0.38rem; color: var(--ink); background: var(--acid); border-radius: 4px; }
.preview-window-main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(180px, 0.9fr); gap: 1rem; padding: clamp(1rem, 2vw, 1.45rem); }
.preview-status-column { min-width: 0; }
.preview-status { min-height: 7.4rem; padding: 1rem; background: rgba(121, 168, 255, 0.08); border: 1px solid rgba(121, 168, 255, 0.26); border-radius: var(--radius-sm); transition: background 180ms ease, border-color 180ms ease, color 180ms ease; }
.preview-status.status-locked { background: rgba(214, 251, 87, 0.09); border-color: rgba(214, 251, 87, 0.3); }
.preview-status.status-distracted { background: rgba(255, 107, 74, 0.1); border-color: rgba(255, 107, 74, 0.48); }
.status-heading { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--paper); font-family: var(--mono); font-size: clamp(0.75rem, 1.5vw, 0.92rem); font-weight: 800; line-height: 1.3; }
.preview-signal { font-size: 1.05rem; line-height: 1.2; }
.preview-status-detail { max-width: 34rem; margin: 0.7rem 0 0; color: var(--paper-muted); font-size: 0.75rem; line-height: 1.45; }
.progress-block { padding: 1.2rem 0 1.35rem; }
.progress-heading { margin-bottom: 0.45rem; color: var(--paper-muted); font-family: var(--mono); font-size: 0.63rem; }
.progress-value { color: var(--paper); }
.preview-progress { display: block; width: 100%; height: 0.55rem; overflow: hidden; accent-color: var(--acid); border: 0; border-radius: 999px; }
.preview-progress::-webkit-progress-bar { background: rgba(244, 240, 232, 0.1); border-radius: 999px; }
.preview-progress::-webkit-progress-value { background: var(--acid); border-radius: 999px; }
.preview-progress::-moz-progress-bar { background: var(--acid); border-radius: 999px; }
.mode-picker { padding-top: 1rem; border-top: 1px solid var(--line); }
.mode-picker-heading { margin-bottom: 0.6rem; }
.mode-picker-heading .field-hint { font-family: var(--mono); font-size: 0.6rem; }
.preview-mode-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.35rem; }
.preview-state-button { min-height: 2.65rem; padding: 0.45rem; color: var(--paper-muted); font-family: var(--mono); font-size: 0.62rem; font-weight: 700; line-height: 1.25; background: rgba(244, 240, 232, 0.045); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease; }
.preview-state-button:hover { color: var(--paper); transform: translateY(-2px); }
.preview-state-button.is-active { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.trust-window { min-width: 0; align-self: stretch; padding: 1rem; background: rgba(244, 240, 232, 0.04); border: 1px dashed rgba(244, 240, 232, 0.2); border-radius: var(--radius-sm); transition: border-color 180ms ease, background 180ms ease; }
.trust-window:hover, .trust-window[aria-pressed="true"] { background: rgba(214, 251, 87, 0.07); border-color: var(--acid); }
.trust-window h4 { margin: 0.25rem 0 0; font-size: 1.2rem; }
.trust-window > p { margin: 1rem 0; color: var(--paper-muted); font-size: 0.75rem; line-height: 1.45; }
.signal-list { display: grid; gap: 0.65rem; padding: 0; margin: 0; color: var(--paper-dim); font-family: var(--mono); font-size: 0.63rem; list-style: none; }
.signal-check { display: inline-grid; width: 1rem; height: 1rem; margin-right: 0.35rem; place-items: center; color: var(--ink); font-size: 0.65rem; background: var(--acid); border-radius: 50%; }
.trust-window-action { display: block; margin-top: 1.2rem; color: var(--acid); font-family: var(--mono); font-size: 0.65rem; font-weight: 800; }
.preview-activity-wrap { padding: 1rem; border-top: 1px solid var(--line); }
.activity-heading { margin-bottom: 0.55rem; }
.activity-heading .field-hint { font-family: var(--mono); font-size: 0.58rem; }
.preview-activity { display: grid; gap: 0.42rem; max-height: 8rem; overflow: auto; padding-right: 0.3rem; color: var(--paper-dim); font-family: var(--mono); font-size: 0.64rem; }
.preview-activity p, .preview-activity .activity-entry { padding: 0.45rem 0.55rem; margin: 0; background: rgba(244, 240, 232, 0.035); border-left: 2px solid var(--acid); }
.preview-activity time { margin-right: 0.45rem; color: var(--acid); }
.showcase-footnote { display: flex; gap: 0.5rem; margin: 1rem 0 0; color: var(--paper-muted); font-family: var(--mono); font-size: 0.66rem; }
.showcase-footnote > span { color: var(--acid); }
.preview-state-distracted, .state-distracted { animation: shake 650ms ease; }
@keyframes shake { 0%, 100% { transform: translateX(0) rotate(0); } 20% { transform: translateX(-7px) rotate(-1deg); } 40% { transform: translateX(7px) rotate(1deg); } 60% { transform: translateX(-5px) rotate(-1deg); } 80% { transform: translateX(5px) rotate(1deg); } }

/* Comparison and feature system */
.comparison { background: var(--paper); color: var(--ink); }
.comparison .eyebrow, .comparison .section-heading > p:last-child { color: #5f665e; }
.comparison h2 { color: var(--ink); }
.comparison-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.comparison-card { display: flex; min-height: 28rem; flex-direction: column; padding: clamp(1.35rem, 3vw, 2rem); background: rgba(8, 10, 9, 0.035); border: 1px solid var(--line-dark); border-radius: var(--radius-md); }
.comparison-card-featured { color: var(--paper); background: var(--ink); border-color: var(--ink); transform: translateY(-1.25rem); box-shadow: 0 26px 50px rgba(8, 10, 9, 0.18); }
.comparison-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3.2rem; }
.comparison-index { color: var(--coral); font-family: var(--mono); font-size: 0.8rem; font-weight: 900; }
.comparison-tag { color: #5f665e; }
.comparison-card-featured .comparison-tag { color: var(--acid); }
.comparison-card h3 { margin-bottom: 0.4rem; font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
.comparison-brands { margin-bottom: 1rem; color: #767b73; font-family: var(--mono); font-size: 0.72rem; }
.comparison-card-featured .comparison-brands, .comparison-card-featured p:not(.comparison-brands) { color: var(--paper-dim); }
.comparison-card > p:not(.comparison-brands) { margin-bottom: 1.3rem; color: #5d635c; font-size: 0.92rem; }
.comparison-verdict { display: flex; align-items: center; gap: 0.45rem; margin-top: auto; padding-top: 1rem; color: #5d635c; font-family: var(--mono); font-size: 0.68rem; font-weight: 800; border-top: 1px solid var(--line-dark); }
.comparison-card-featured .comparison-verdict { color: var(--acid); border-color: var(--line); }
.comparison-verdict span { font-size: 1.1rem; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.feature-card { position: relative; min-height: 19rem; padding: clamp(1.35rem, 3vw, 2rem); background: rgba(244, 240, 232, 0.04); border: 1px solid var(--line); border-radius: var(--radius-md); }
.feature-card-large { grid-row: span 2; min-height: 39rem; background: linear-gradient(155deg, rgba(214, 251, 87, 0.12), rgba(244, 240, 232, 0.035) 50%); }
.feature-number { position: absolute; top: 1.35rem; right: 1.35rem; color: var(--acid); font-family: var(--mono); font-size: 0.7rem; }
.feature-card h3 { max-width: 33rem; margin: 2.2rem 0 0.85rem; font-size: clamp(1.3rem, 2.2vw, 2rem); }
.feature-card p { max-width: 36rem; color: var(--paper-dim); font-size: 0.93rem; }
.feature-code { display: inline-block; padding: 0.75rem 0.85rem; margin: 1.2rem 0; color: var(--acid); background: rgba(0, 0, 0, 0.26); border: 1px solid rgba(214, 251, 87, 0.15); border-radius: var(--radius-sm); }
.feature-code code { padding: 0; background: transparent; }
.feature-list { display: grid; gap: 0.55rem; padding: 0; margin: 1.2rem 0 0; color: var(--paper-dim); font-family: var(--mono); font-size: 0.7rem; list-style: none; }
.feature-list li::before { margin-right: 0.55rem; color: var(--acid); content: "↳"; }
.mini-breadcrumb, .model-pills, .nudge-ladder { display: flex; flex-wrap: wrap; align-items: center; gap: 0.38rem; margin-top: 1.25rem; color: var(--paper-dim); font-family: var(--mono); font-size: 0.63rem; }
.mini-breadcrumb span, .model-pills span, .nudge-ladder span { padding: 0.36rem 0.46rem; background: rgba(244, 240, 232, 0.06); border: 1px solid var(--line); border-radius: 4px; }
.mini-breadcrumb i { color: var(--acid); font-style: normal; }
.nudge-ladder span:nth-child(2) { color: var(--coral); border-color: rgba(255, 107, 74, 0.3); }
.nudge-ladder span:nth-child(3) { color: var(--acid); border-color: rgba(214, 251, 87, 0.3); }
.architecture-strip { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 1rem; padding: 1rem; margin-top: 1rem; background: rgba(244, 240, 232, 0.04); border: 1px solid var(--line); border-radius: var(--radius-md); }
.architecture-node { display: grid; gap: 0.22rem; }
.architecture-node strong { font-size: 0.9rem; }
.architecture-node > span:last-child { color: var(--paper-muted); font-family: var(--mono); font-size: 0.61rem; }
.architecture-icon { color: var(--acid); font-size: 1.4rem; }
.architecture-arrow { color: var(--acid); font-size: 1.3rem; }

/* Local principles and pricing */
.open-local { color: var(--ink); background: var(--acid); }
.open-local::before { position: absolute; right: -8rem; bottom: -18rem; width: 42rem; height: 42rem; content: ""; border: 1px solid rgba(8, 10, 9, 0.16); border-radius: 50%; box-shadow: 0 0 0 6rem rgba(8, 10, 9, 0.035), 0 0 0 12rem rgba(8, 10, 9, 0.025); }
.open-local-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr); align-items: start; gap: clamp(2rem, 7vw, 7rem); }
.open-local .eyebrow { color: rgba(8, 10, 9, 0.58); }
.open-local h2 { color: var(--ink); }
.open-local .section-heading > p:last-child { color: rgba(8, 10, 9, 0.68); }
.open-local .button-secondary { color: var(--ink); background: transparent; border-color: rgba(8, 10, 9, 0.35); }
.open-local .button-secondary:hover { background: rgba(8, 10, 9, 0.1); border-color: var(--ink); }
.principles-card { color: var(--paper); background: var(--ink); border-color: var(--ink); box-shadow: 0 28px 70px rgba(8, 10, 9, 0.25); }
.principles-card h3 { margin-bottom: 1.5rem; }
.principles-list { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
.principles-list li { display: grid; grid-template-columns: 2.3rem minmax(0, 1fr); gap: 0.9rem; padding: 1.05rem 0; border-top: 1px solid var(--line); }
.principle-icon { display: grid; width: 1.8rem; height: 1.8rem; place-items: center; color: var(--ink); font-family: var(--mono); font-size: 0.6rem; font-weight: 900; background: var(--acid); border-radius: 50%; }
.principles-list strong, .principles-list span:not(.principle-icon) { display: block; }
.principles-list strong { margin-bottom: 0.23rem; font-size: 0.95rem; }
.principles-list span:not(.principle-icon) { color: var(--paper-muted); font-size: 0.76rem; line-height: 1.45; }
.principles-list code { color: var(--acid); }

.pricing { background: #0b0e0c; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.pricing-card { position: relative; display: flex; min-height: 32rem; flex-direction: column; padding: clamp(1.45rem, 3vw, 2.3rem); background: rgba(244, 240, 232, 0.045); border: 1px solid var(--line); border-radius: var(--radius-md); }
.pricing-card-featured { color: var(--ink); background: var(--acid); border-color: var(--acid); box-shadow: 0 0 0 1px rgba(214, 251, 87, 0.28), 0 30px 70px rgba(214, 251, 87, 0.12); }
.popular-badge { position: absolute; top: 1.4rem; right: 1.4rem; padding: 0.35rem 0.5rem; color: var(--ink); font-family: var(--mono); font-size: 0.58rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; background: var(--coral); border-radius: 999px; }
.pricing-card .plan-kicker { color: var(--acid); }
.pricing-card-featured .plan-kicker { color: rgba(8, 10, 9, 0.6); }
.pricing-card h3 { max-width: 18rem; margin: 0.75rem 0 0.6rem; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.plan-description { max-width: 22rem; min-height: 3.2rem; margin-bottom: 1.8rem; color: var(--paper-muted); font-size: 0.9rem; }
.pricing-card-featured .plan-description { color: rgba(8, 10, 9, 0.66); }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; padding-bottom: 1.5rem; margin-bottom: 1.45rem; border-bottom: 1px solid var(--line); }
.pricing-card-featured .plan-price { border-color: rgba(8, 10, 9, 0.2); }
.price-amount { font-family: var(--display); font-size: clamp(3rem, 6vw, 5rem); font-weight: 900; letter-spacing: -0.08em; line-height: 0.9; }
.price-suffix { color: var(--paper-muted); font-family: var(--mono); font-size: 0.65rem; font-weight: 700; }
.pricing-card-featured .price-suffix { color: rgba(8, 10, 9, 0.56); }
.plan-features { display: grid; gap: 0.7rem; padding: 0; margin: 0 0 2rem; color: var(--paper-dim); font-size: 0.86rem; list-style: none; }
.pricing-card-featured .plan-features { color: rgba(8, 10, 9, 0.75); }
.plan-features li { display: flex; gap: 0.55rem; align-items: flex-start; }
.plan-features li::before { color: var(--acid); content: "✓"; font-family: var(--mono); font-weight: 900; }
.pricing-card-featured .plan-features li::before { color: var(--ink); }
.pricing-card .button { margin-top: auto; }
.pricing-card-featured .button-primary { color: var(--acid); background: var(--ink); box-shadow: none; }
.pricing-card-featured .button-primary:hover { background: #1b231d; }
.pricing-note { max-width: 700px; margin: 1rem 0 0; color: var(--paper-muted); font-family: var(--mono); font-size: 0.66rem; }

/* Quickstart */
.quickstart { background: var(--paper); color: var(--ink); }
.quickstart .eyebrow { color: #5f665e; }
.quickstart h2 { color: var(--ink); }
.quickstart .section-heading > p:last-child { color: #5d635c; }
.quickstart-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(2rem, 8vw, 8rem); }
.spec-badges { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 2rem; }
.quickstart .spec-badge { color: var(--ink); background: rgba(8, 10, 9, 0.04); border-color: rgba(8, 10, 9, 0.18); }
.quickstart-terminal { color: var(--paper); background: #101511; border-color: #101511; }
.terminal-code { min-height: 22rem; padding: 1.5rem; margin: 0; overflow: auto; color: #d7dbd4; font-family: var(--mono); font-size: clamp(0.68rem, 1.25vw, 0.82rem); line-height: 1.95; }
.code-comment { color: #687568; }
.code-string { color: var(--acid); }
.code-output { color: var(--cyan); }
.terminal-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.2rem; color: var(--paper-muted); font-family: var(--mono); font-size: 0.64rem; border-top: 1px solid var(--line); }
.text-link { color: var(--acid); font-family: var(--mono); font-size: 0.7rem; font-weight: 800; }
.text-link:hover { text-decoration: underline; text-underline-offset: 0.25rem; }

/* Checkout */
.modal-open { overflow: hidden; }
.checkout-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 1rem; }
.checkout-modal[hidden] { display: none; }
.checkout-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; background: rgba(3, 5, 4, 0.78); border: 0; backdrop-filter: blur(10px); }
.checkout-panel { position: relative; z-index: 1; width: min(100%, 720px); max-height: min(92vh, 880px); overflow: auto; padding: clamp(1.2rem, 4vw, 2.2rem); color: var(--paper); background: #101511; border: 1px solid rgba(244, 240, 232, 0.2); border-radius: var(--radius-lg); box-shadow: 0 32px 100px rgba(0, 0, 0, 0.5); }
.checkout-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.checkout-header h2 { max-width: 24rem; margin: 0.35rem 0 0; font-size: clamp(2rem, 5vw, 3.6rem); }
.icon-button { display: grid; width: 2.7rem; height: 2.7rem; place-items: center; color: var(--paper); font-size: 1.5rem; background: transparent; border: 1px solid var(--line); border-radius: 50%; }
.icon-button:hover { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.checkout-description { max-width: 580px; margin-bottom: 1.6rem; color: var(--paper-muted); font-size: 0.83rem; }
.checkout-summary { padding: 1rem; margin-bottom: 1rem; background: rgba(214, 251, 87, 0.08); border: 1px solid rgba(214, 251, 87, 0.18); border-radius: var(--radius-sm); }
.checkout-summary-line { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 0.45rem; }
.checkout-summary-line strong { font-size: 1.05rem; }
.checkout-summary-line output { color: var(--acid); font-family: var(--mono); font-weight: 800; }
.payment-methods-fieldset, .payment-fields { padding: 0; margin: 0 0 1rem; border: 0; }
.payment-methods-fieldset legend, .payment-fields legend { margin-bottom: 0.65rem; color: var(--paper); font-size: 0.82rem; font-weight: 750; }
.payment-methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.45rem; }
.payment-method { display: grid; gap: 0.15rem; min-height: 4rem; padding: 0.7rem 0.55rem; color: var(--paper-muted); text-align: left; background: rgba(244, 240, 232, 0.045); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.payment-method:hover, .payment-method.is-active { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.payment-method-name { font-family: var(--mono); font-size: 0.72rem; font-weight: 900; }
.payment-method-note { font-size: 0.62rem; }
.payment-fields .form-field { margin-bottom: 0.9rem; }
.payment-fields .form-field label { color: var(--paper-dim); }
.payment-fields .text-input { background: rgba(0, 0, 0, 0.2); }
.generated-payment-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; margin-top: 0.45rem; }
.generated-payment-fields label { display: grid; gap: 0.35rem; color: var(--paper-dim); font-size: 0.68rem; }
.generated-payment-fields input { min-height: 2.6rem; padding: 0.55rem; color: var(--paper); background: rgba(0, 0, 0, 0.2); border: 1px solid var(--line); border-radius: 8px; }
.checkout-error { padding: 0.7rem; margin: 0 0 0.8rem; color: #ffd2c9; font-family: var(--mono); font-size: 0.68rem; background: rgba(255, 107, 74, 0.12); border: 1px solid rgba(255, 107, 74, 0.35); border-radius: 8px; }
.checkout-legal { margin: 0.7rem 0 0; color: var(--paper-muted); font-family: var(--mono); font-size: 0.6rem; text-align: center; }
.checkout-success { text-align: center; }
.success-mark { display: grid; width: 3.2rem; height: 3.2rem; place-items: center; margin: 0 auto 1rem; color: var(--ink); font-size: 1.6rem; font-weight: 900; background: var(--acid); border-radius: 50%; }
.checkout-success h3 { margin-bottom: 0.7rem; font-size: 2rem; }
.checkout-success > p:not(.success-mark):not(.panel-kicker):not(.success-source-link) { color: var(--paper-muted); font-size: 0.85rem; }
.license-box { padding: 1rem; margin: 1.35rem 0; background: rgba(214, 251, 87, 0.08); border: 1px dashed rgba(214, 251, 87, 0.38); border-radius: var(--radius-sm); }
.license-box code { display: block; margin-top: 0.4rem; color: var(--acid); font-size: clamp(0.82rem, 2vw, 1rem); letter-spacing: 0.08em; background: transparent; }
.success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.55rem; }
.success-source-link { margin: 1.4rem 0 0; color: var(--paper-muted); font-size: 0.76rem; }
.success-source-link a { color: var(--acid); }

/* Footer */
.site-footer { padding: 3.5rem 0 2.5rem; color: var(--paper-muted); background: #080a09; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 2rem; align-items: end; }
.footer-brand p { margin: 1rem 0 0; max-width: 14rem; font-size: 0.8rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem 1rem; font-family: var(--mono); font-size: 0.65rem; }
.footer-nav a:hover { color: var(--acid); }
.footer-meta { text-align: right; font-family: var(--mono); font-size: 0.65rem; }
.footer-meta p { margin-bottom: 0.35rem; }
.footer-meta strong { color: var(--acid); font-weight: 600; }

@media (max-width: 1080px) {
  .primary-nav { gap: 0.8rem; font-size: 0.73rem; }
  .hero-grid { gap: 3rem; }
  .comparison-card-featured { transform: none; }
}

@media (max-width: 860px) {
  .container { width: min(100% - 2rem, 720px); }
  .mobile-menu-toggle { display: grid; place-items: center; }
  .primary-nav { position: absolute; top: calc(100% + 0.5rem); right: 1rem; left: 1rem; display: grid; justify-content: stretch; gap: 0; padding: 0.6rem; visibility: hidden; opacity: 0; background: rgba(16, 21, 17, 0.98); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); transform: translateY(-0.5rem); transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease; }
  .primary-nav.is-open, .primary-nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .primary-nav a, .primary-nav .nav-cta { padding: 0.8rem; text-align: left; border-radius: 8px; }
  .primary-nav a:hover { background: rgba(244, 240, 232, 0.06); }
  .primary-nav .nav-cta { width: 100%; margin-top: 0.35rem; text-align: center; }
  .hero-grid, .open-local-grid, .quickstart-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 470px; margin-top: 1rem; }
  .preview-shell { grid-template-columns: 1fr; }
  .preview-controls { order: 2; }
  .preview-stage { order: 1; }
  .comparison-grid { grid-template-columns: 1fr; }
  .comparison-card { min-height: auto; }
  .comparison-card-top { margin-bottom: 2rem; }
  .feature-card-large { grid-row: auto; min-height: auto; }
  .open-local-grid { gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-nav { justify-content: flex-start; }
  .footer-meta { text-align: left; }
}

@media (max-width: 600px) {
  .section-shell { padding: 4.5rem 0; }
  h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  h2 { font-size: clamp(2.45rem, 12vw, 4rem); }
  .hero-actions, .hero-actions .button { width: 100%; }
  .hero-actions .button { justify-content: space-between; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof li, .hero-proof li + li { padding: 0.85rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-proof li:last-child { border-bottom: 0; }
  .hero-visual { min-height: 405px; }
  .hero-console { top: 7%; }
  .console-body { padding: 1.2rem; }
  .console-goal { font-size: 1.8rem; }
  .console-meta { flex-direction: column; gap: 0.3rem; }
  .preview-window-main { grid-template-columns: 1fr; }
  .preview-stage-actions { justify-content: flex-start; }
  .preview-mode-buttons { grid-template-columns: 1fr; }
  .architecture-strip { grid-template-columns: 1fr; }
  .architecture-arrow { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { min-height: auto; }
  .generated-payment-fields { grid-template-columns: 1fr; }
  .payment-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terminal-code { min-height: auto; font-size: 0.68rem; }
  .terminal-footer { align-items: flex-start; flex-direction: column; }
  .success-actions, .success-actions .button { width: 100%; }
  .success-actions .button { justify-content: space-between; }
}

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