/* Streakery landing — paper planner base, dark x.com artifact, theme accents as data */

:root {
  --paper: #E9EEF5;
  --paper-deep: #DCE4EF;
  --surface: #FFFFFF;
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #5D6B7E;
  --line: #C6D1DF;
  --line-strong: #9FB0C3;

  --dark: #0C1117;
  --dark-2: #141B24;
  --dark-line: #26313D;
  --dark-text: #E7EBF0;
  --dark-muted: #93A1B1;

  --radius: 14px;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Newsreader", Georgia, "Times New Roman", serif;

  --accent: #B96F0B;
  --accent-bright: #F2B04C;
  --accent-ink: #8A5200;
}

html[data-theme="founder"]   { --accent: #B96F0B; --accent-bright: #F2B04C; --accent-ink: #8A5200; }
html[data-theme="developer"] { --accent: #2F6BEA; --accent-bright: #7FA5FF; --accent-ink: #2456C4; }
html[data-theme="creator"]   { --accent: #C23A72; --accent-bright: #FF8DBB; --accent-ink: #A32A5C; }
html[data-theme="designer"]  { --accent: #0E8078; --accent-bright: #5FD6CA; --accent-ink: #0A645E; }
html[data-theme="student"]   { --accent: #3E7D3E; --accent-bright: #8BD57F; --accent-ink: #2F6B2F; }
html[data-theme="general"]   { --accent: #515D70; --accent-bright: #B4C2D4; --accent-ink: #445065; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(16, 24, 40, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 24, 40, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  background-attachment: fixed;
}

::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4, .btn, .nav, button, input { font-family: var(--font-display); }

a { color: inherit; }

p { margin: 0 0 1em; }

img, svg { display: block; max-width: 100%; }

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

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

[hidden] { display: none !important; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.site-header.is-scrolled { border-bottom-color: var(--line); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark { width: 30px; height: 30px; }

.site-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, background-color 140ms ease, color 140ms ease;
}

.btn:hover { transform: translateY(-1px); background: var(--ink-soft); }
.btn:active { transform: translateY(0); }

.btn-small { min-height: 40px; padding: 9px 15px; font-size: 13px; white-space: nowrap; }

.btn-quiet {
  background: transparent;
  color: var(--ink);
}

.btn-quiet:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); }

.btn-invert {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.btn-invert:hover { background: #fff; }

/* ---------- Hero ---------- */

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 48px;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 26px;
  font-size: clamp(2.7rem, 5.2vw, 4.7rem);
  font-weight: 750;
  line-height: 1.01;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lede {
  max-width: 54ch;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.theme-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 30px 0 28px;
}

.picker-label {
  flex-basis: 100%;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 2px;
}

.theme-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.theme-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, var(--accent));
}

.theme-chip[data-theme="founder"]   { --dot: #B96F0B; }
.theme-chip[data-theme="developer"] { --dot: #2F6BEA; }
.theme-chip[data-theme="creator"]   { --dot: #C23A72; }
.theme-chip[data-theme="designer"]  { --dot: #0E8078; }
.theme-chip[data-theme="student"]   { --dot: #3E7D3E; }
.theme-chip[data-theme="general"]   { --dot: #515D70; }

.theme-chip:hover { border-color: var(--ink); }

.theme-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.micro {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--muted);
}

/* Hero product artifact */

.hero-visual { position: relative; }

.x-window {
  border-radius: 18px;
  background: var(--dark);
  border: 1px solid var(--dark-line);
  box-shadow: 0 40px 80px -40px rgba(16, 24, 40, 0.55);
  overflow: hidden;
}

.x-window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--dark-line);
}

.win-dots { display: inline-flex; gap: 6px; }
.win-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--dark-line); }

.win-url {
  margin-left: 4px;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--dark-muted);
}

.x-window-body {
  position: relative;
  min-height: 430px;
  padding: 30px 26px 88px;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 47px,
    rgba(231, 235, 240, 0.045) 47px 48px
  );
}

.x-pill {
  position: relative;
  z-index: 1;
  width: min(100%, 372px);
  margin: 18px auto 0;
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.45);
}

.pill-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.streak-block { display: flex; flex-direction: column; }

.streak-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 750;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.streak-label {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}

.xp-chip {
  padding: 4px 8px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.mock-missions {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  font-family: var(--font-display);
  font-size: 13px;
}

.mock-missions li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-top: 1px solid var(--paper-deep);
  color: var(--ink-soft);
}

.mock-missions li::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 4px;
  border: 1.5px solid var(--line-strong);
}

.mock-missions li.done { color: var(--muted); }

.mock-missions li.done::before {
  background: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.4l2.6 2.5L11 4' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

.mock-missions li.partial::before {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
}

.mock-missions b {
  margin-left: auto;
  font-weight: 600;
  color: var(--accent-ink);
}

.mock-caption {
  margin: 12px 2px 0;
  font-family: var(--font-display);
  font-size: 12.5px;
  color: var(--muted);
  text-align: right;
}

.week-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.week-strip span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 7px;
  border: 1px solid var(--paper-deep);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.week-strip span.on {
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  border-color: color-mix(in srgb, var(--accent) 45%, var(--surface));
  color: var(--ink);
}

.week-strip span.today {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.x-toast {
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 8px;
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  color: var(--dark-text);
  font-family: var(--font-display);
  font-size: 12px;
}

.x-toast svg { width: 16px; height: 16px; color: var(--accent-bright); }

/* ---------- Day strip ---------- */

.day-strip-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px 72px;
}

.day-strip {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 8px;
}

.day-cell {
  display: grid;
  place-items: center;
  gap: 2px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 65%, transparent);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 420ms ease, transform 420ms ease, background-color 220ms ease;
}

.day-cell.is-filled {
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  border-color: color-mix(in srgb, var(--accent) 42%, var(--surface));
  color: var(--ink);
}

.day-cell.is-today {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.day-cell.is-shown { opacity: 1; transform: none; }

.strip-caption {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Sections ---------- */

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  border-top: 1px solid var(--line);
}

.section-rail h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.rail-note {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.55;
}

.section-body { min-width: 0; }

.statement {
  margin: 0 0 40px;
  max-width: 30ch;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.point-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.point-list li {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  max-width: 66ch;
  color: var(--ink-soft);
}

.point-list strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
}

.point-list.tight li { padding: 14px 0; font-size: 16.5px; }

/* Steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.steps li {
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.step-num {
  display: block;
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 750;
  line-height: 1;
  color: var(--accent);
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.steps p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Theme shelf (static examples; the hero chips are the only control) */

.theme-shelf {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 36px;
  border-top: 1px solid var(--line-strong);
}

.theme-sample { padding: 18px 0; border-bottom: 1px solid var(--line); }

.sample-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.sample-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.sample-goal {
  font-family: var(--font-display);
  font-size: 12.5px;
  color: var(--muted);
}

.dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 9px; }
.dot-founder { background: #B96F0B; }
.dot-developer { background: #2F6BEA; }
.dot-creator { background: #C23A72; }
.dot-designer { background: #0E8078; }
.dot-student { background: #3E7D3E; }
.dot-general { background: #515D70; }

.theme-sample p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.theme-foot { margin: 16px 0 0; font-size: 14.5px; color: var(--muted); }

/* Dashboard mock */

.dash {
  border-radius: 16px;
  background: var(--dark);
  border: 1px solid var(--dark-line);
  color: var(--dark-text);
  padding: 22px 24px 20px;
  box-shadow: 0 30px 60px -40px rgba(16, 24, 40, 0.5);
}

.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dash-title { font-family: var(--font-display); font-size: 13px; color: var(--dark-muted); }

.pro-badge {
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--accent-bright) 55%, transparent);
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
}

.dash-grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 26px;
  align-items: center;
}

.dash-stats { display: grid; gap: 14px; }

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent-bright);
}

.stat span { font-family: var(--font-display); font-size: 12px; color: var(--dark-muted); }

.heatmap {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 14px;
  gap: 3px;
}

.heatmap i {
  border-radius: 2px;
  background: color-mix(in srgb, var(--accent-bright) 10%, transparent);
}

.heatmap i[data-level="1"] { background: color-mix(in srgb, var(--accent-bright) 28%, transparent); }
.heatmap i[data-level="2"] { background: color-mix(in srgb, var(--accent-bright) 45%, transparent); }
.heatmap i[data-level="3"] { background: color-mix(in srgb, var(--accent-bright) 68%, transparent); }
.heatmap i[data-level="4"] { background: var(--accent-bright); }

.dash-note { margin: 18px 0 0; font-family: var(--font-display); font-size: 12px; color: var(--dark-muted); }

/* Pricing */

.price-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 20px;
  align-items: start;
}

.price-card {
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.price-card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 650; }

.price {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
}

.was { font-size: 22px; font-weight: 500; color: var(--dark-muted); text-decoration: line-through; }

.price-sub { font-size: 15px; color: var(--muted); margin-bottom: 20px; }

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 14.5px;
}

.feature-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  border-top: 1px solid var(--line);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.price-card.pro {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  padding: 32px;
}

.price-card.pro h3 { font-size: 22px; }
.price-card.pro .price-sub { color: #B8C4D4; }
.price-card.pro .price { color: var(--paper); }
.price-card.pro .was { color: #8B99AB; }
.price-card.pro .feature-list li { border-top-color: #2A3646; }
.price-card.pro .feature-list li::before { border-color: var(--accent-bright); }

.feature-group-title {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid #2A3646;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-bright);
}

.price-card.pro .feature-list.soon { margin-top: 4px; }
.price-card.pro .feature-list.soon li:first-child { border-top: 0; }
.price-card.pro .feature-list.soon li { color: #C9D3E0; }

.pro-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.spots {
  padding: 3px 8px;
  border: 1px solid color-mix(in srgb, var(--accent-bright) 60%, transparent);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-bright);
  white-space: nowrap;
}

.price-card.pro .btn { margin-top: 24px; width: 100%; }

.price-note {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 12.5px;
  color: #B8C4D4;
}

.refund {
  margin: 24px 0 0;
  padding: 16px 0 0;
  border-top: 2px solid var(--accent);
  font-size: 16px;
  color: var(--ink-soft);
}

/* FAQ */

.faq-list { border-top: 1px solid var(--line); }

.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  position: relative;
  padding: 18px 36px 18px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 550;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 160ms ease;
}

.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-list details p {
  margin: 0;
  padding: 0 40px 20px 0;
  max-width: 72ch;
  font-size: 16.5px;
  color: var(--ink-soft);
}

/* Autopilot */

.autopilot {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.autopilot-tag {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-ink);
}

.autopilot h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.autopilot-copy > p { font-size: 16.5px; color: var(--ink-soft); }

.autopilot-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  font-family: var(--font-display);
  font-size: 14.5px;
}

.autopilot-list li {
  position: relative;
  padding: 9px 0 9px 24px;
  border-top: 1px solid var(--line);
}

.autopilot-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent-ink);
  border-bottom: 2px solid var(--accent-ink);
  transform: rotate(-45deg);
}

.autopilot-note {
  margin: 0;
  font-family: var(--font-display);
  font-size: 12.5px;
  color: var(--muted);
}

.autopilot-form {
  flex-direction: column;
  align-items: stretch;
  padding: 22px;
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}

.autopilot-form input { width: 100%; flex: 1 1 auto; }
.autopilot-form .btn { width: 100%; }
.autopilot-form .form-status { min-height: 1.2em; }

/* Waitlist */

.waitlist-inner { max-width: 640px; }

.waitlist-inner > p { font-size: 17px; color: var(--ink-soft); }

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 12px;
}

.waitlist-form input {
  flex: 1 1 240px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  caret-color: var(--accent);
  font-size: 15px;
}

.waitlist-form input::placeholder { color: #667085; }

.waitlist-form input[aria-invalid="true"] {
  border-color: #B42318;
  box-shadow: 0 0 0 1px #B42318;
}

.form-status {
  flex-basis: 100%;
  margin: 0;
  font-family: var(--font-display);
  font-size: 13.5px;
  color: var(--muted);
}

.form-status[data-tone="error"] { color: #B42318; }
.form-status[data-tone="error"]::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  margin-right: 6px;
  border-radius: 50%;
  background: #B42318;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.form-status[data-tone="ok"] { color: #067647; }
.form-status[data-tone="info"] { color: var(--muted); }

.waitlist-aside {
  font-family: var(--font-display);
  font-size: 13.5px;
  color: var(--muted);
}

.waitlist-aside a { color: var(--ink); }

/* Footer */

.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 56px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px 32px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--muted);
}

.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 15px; }
.footer-brand .brand-mark { width: 24px; height: 24px; }

.footer-line { margin: 0; }

.footer-links { display: flex; gap: 18px; margin-left: auto; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

.footer-copy { margin: 0; flex-basis: 100%; }

/* Dev banner + toast */

.dev-banner {
  position: relative;
  z-index: 50;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 12.5px;
  text-align: center;
}

.dev-banner code { font-family: var(--font-display); color: var(--accent-bright); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  transform: translate(-50%, 12px);
  max-width: min(92vw, 460px);
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 13.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Legal page */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 30px;
  font-family: var(--font-display);
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
}

.legal-back:hover { color: var(--ink); }

.legal h1 {
  margin: 0 0 8px;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.legal-updated {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 34px;
}

.legal h2 {
  margin: 34px 0 6px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.legal p, .legal li {
  max-width: 66ch;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.legal ul { padding-left: 22px; margin: 0 0 1em; }
.legal a { color: var(--ink); }

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--muted);
}

.legal-footer a { color: var(--ink-soft); text-decoration: none; }
.legal-footer a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 52px; }
  .hero-visual { max-width: 560px; }
  .section { grid-template-columns: 1fr; gap: 24px; }
  .section-rail { max-width: 620px; }
  .day-strip { grid-template-columns: repeat(7, 1fr); }
  .site-nav { display: none; }
  .site-header { justify-content: space-between; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .price-grid { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .autopilot { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 620px) {
  body { font-size: 17px; }
  .hero { padding: 40px 18px 32px; }
  .day-strip-section { padding: 0 18px 56px; }
  .section { padding: 52px 18px; }
  .site-header { padding: 12px 18px; gap: 12px; }
  .btn-small { min-height: 44px; padding: 8px 12px; font-size: 12px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .btn-quiet {
    width: auto;
    align-self: flex-start;
    border-color: transparent;
    padding-left: 2px;
    padding-right: 2px;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .mock-caption { text-align: left; }
  .x-window-body { padding: 22px 16px 84px; min-height: 400px; }
  .x-pill { margin-top: 8px; }
  .x-toast { right: 12px; bottom: 14px; }
  .theme-shelf { grid-template-columns: 1fr; }
  .price-card, .price-card.pro { padding: 24px 20px; }
  .autopilot { padding-top: 18px; }
  .autopilot-form { padding: 18px; }
  .waitlist-form .btn { width: 100%; }
  .footer-links { margin-left: 0; }
  .day-cell { font-size: 11px; border-radius: 8px; }
  .day-strip { gap: 6px; }
}

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