/* SHIFT7 marketing app-shell — handwrite / white restore (staged-v5)
   System stack + Kalam handwrite accents. Blue CTAs (#1A56DB).
   Restored from pre-rebuild-backup / staged-v4 buyer look. */
:root {
  --shell-bg: #FFFFFF;
  --shell-surface: #FFFFFF;
  --shell-sidebar: #FAFAFA;
  --shell-border: #E5E7EB;
  --shell-border-soft: #F1F5F9;
  --shell-text: #0F172A;
  --shell-body: #334155;
  --shell-body-soft: #475569;
  --shell-muted: #64748B;
  --shell-active: #111827;
  --shell-accent: #1A56DB;
  --shell-mark: #1A56DB;
  --shell-live-bg: #ECFDF3;
  --shell-live: #166534;
  --shell-soon-bg: #FFF7ED;
  --shell-soon: #9A3412;
  --shell-danger: #DC2626;
  --shell-muted-bg: #F8FAFC;
  --shell-sidebar-w: 256px;
  --shell-header-h: 56px;
  --shell-content-max: 920px;
  --shell-radius: 10px;
  --shell-radius-pill: 10px;
  --shell-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.06);
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Fira Code", "SFMono-Regular", Menlo, Consolas, monospace;
  --chart-navy: hsl(220, 15%, 13%);
  --chart-teal: hsl(160, 50%, 42%);
  --chart-orange: hsl(30, 80%, 55%);
  --chart-blue: hsl(220, 60%, 55%);
  --chart-purple: hsl(280, 50%, 55%);
}

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

html { scroll-behavior: smooth; }

body.app-shell {
  margin: 0;
  min-height: 100vh;
  display: flex;
  background: var(--shell-bg);
  color: var(--shell-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-size: 16px;
}

/* ---- Sidebar ---- */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: var(--shell-sidebar-w);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--shell-sidebar);
  border-right: 1px solid var(--shell-border);
  padding: 20px 12px 24px;
  overflow-y: auto;
  transition: transform 0.2s ease;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 4px 12px 20px;
  text-decoration: none;
  color: var(--shell-text);
}

.sidebar-brand img {
  height: 32px;
  width: auto;
  max-width: 140px;
  display: block;
  object-fit: contain;
  border-radius: 0;
}

.sidebar-section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--shell-muted);
  padding: 0 12px 8px;
  margin-top: 16px;
}

.sidebar-nav > .side-link:first-child {
  margin-bottom: 0;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--shell-radius-pill);
  text-decoration: none;
  color: var(--shell-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  transition: background 0.15s ease, color 0.15s ease;
}

.side-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.side-link:hover {
  background: rgba(15, 23, 42, 0.06);
  color: var(--shell-text);
}

.side-link.active {
  background: var(--shell-active);
  color: #FFFFFF;
  font-weight: 600;
}

.side-link.active:hover {
  background: var(--shell-active);
  color: #FFFFFF;
}

.side-badge {
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 2px;
  background: var(--shell-live-bg);
  color: var(--shell-live);
  line-height: 1.25;
}

.side-link.active .side-badge {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.side-badge.soon {
  background: var(--shell-soon-bg);
  color: var(--shell-soon);
  font-size: 9px;
  white-space: nowrap;
}

.side-link.active .side-badge.soon {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.side-badge.live,
.side-badge.free {
  background: var(--shell-live-bg);
  color: var(--shell-live);
}
.side-link.active .side-badge.live,
.side-link.active .side-badge.free {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

/* ---- Main column ---- */
.shell-main {
  flex: 1;
  margin-left: var(--shell-sidebar-w);
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--shell-bg);
}

.shell-content {
  flex: 1;
  overflow-y: auto;
  width: 100%;
}

.shell-content > .container {
  max-width: var(--shell-content-max);
  margin: 0 auto;
  padding: 40px 28px 64px;
  background: transparent;
}

.app-shell .compare-card,
.app-shell .who-card,
.app-shell .app-card,
.app-shell .pricing-card,
.app-shell .step,
.app-shell details,
.app-shell .anti-buyer,
.app-shell .draft-note {
  border-radius: var(--shell-radius);
}

.app-shell .container {
  background: transparent;
}

/* Footer */
.app-shell footer,
.app-shell .site-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--shell-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  font-size: 13px;
  color: var(--shell-muted);
}

.app-shell .footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.app-shell .footer-link {
  color: var(--shell-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
}

.app-shell .footer-link:hover { color: var(--shell-text); }
.app-shell .footer-sep { color: #A0A5B0; }
.app-shell .footer-copy { margin: 0; font-size: 13px; color: var(--shell-muted); }
.footer-note {
  margin: 0;
  font-size: 12px;
  color: var(--shell-muted);
  font-family: var(--font-mono);
}

/* ---- Mobile top bar ---- */
.mobile-bar {
  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  height: 56px;
  padding: 0 16px;
  background: var(--shell-surface);
  border-bottom: 1px solid var(--shell-border);
  position: sticky;
  top: 0;
  z-index: 30;
}

.mobile-bar-brand {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: var(--shell-text);
  font-size: 14px;
  font-weight: 400;
}

.mobile-bar-brand img {
  height: 28px;
  width: auto;
  max-width: 120px;
  display: block;
  object-fit: contain;
  border-radius: 0;
}

.mobile-menu-btn {
  appearance: none;
  border: 1px solid var(--shell-border);
  background: var(--shell-surface);
  color: var(--shell-text);
  border-radius: var(--shell-radius);
  width: 40px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
}

.shell-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 31, 38, 0.4);
  z-index: 35;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .sidebar {
    transform: translateX(-105%);
    box-shadow: none;
  }

  body.app-shell.nav-open .sidebar {
    transform: translateX(0);
    box-shadow: 8px 0 24px rgba(28, 31, 38, 0.12);
  }

  body.app-shell.nav-open .shell-backdrop {
    display: block;
  }

  .shell-main {
    margin-left: 0;
  }

  .mobile-bar {
    display: flex;
  }

  .shell-content > .container {
    padding: 28px 16px 48px;
  }

  .app-shell h1 { font-size: 32px; }
}

@media (max-width: 480px) {
  .shell-content > .container {
    padding: 24px 14px 40px;
  }
  .app-shell h1 { font-size: 28px; }
}

.shell-content > .container.wide {
  max-width: 920px;
}

/* ---- Type ---- */
.app-shell h1 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--shell-text);
}
.app-shell h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--shell-text);
}
.app-shell h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--shell-text);
}
.app-shell p {
  margin: 0 0 14px;
  color: var(--shell-body);
}
.app-shell p:last-child { margin-bottom: 0; }

.meta-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--shell-muted);
  margin: 0 0 16px;
  display: block;
}
.meta-tag.accent { color: var(--shell-mark); }

.status-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
  background: var(--shell-border-soft);
  color: var(--shell-muted);
}
.status-pill.live,
.status-pill.free {
  background: var(--shell-live-bg);
  color: var(--shell-live);
}
.status-pill.soon {
  background: var(--shell-soon-bg);
  color: var(--shell-soon);
}

.fixture-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 2px;
  margin: 0 0 12px;
  background: transparent;
  color: var(--shell-mark);
  border: 1px dashed var(--shell-mark);
}

.deck {
  font-size: 18px;
  line-height: 1.45;
  color: var(--shell-body-soft);
  margin: 0 0 6px;
}
.deck + .deck { margin-top: 0; }

.section-block { padding: 40px 0; }
.section-block + .section-block { border-top: 1px solid var(--shell-border); }
hr.rule {
  border: 0;
  border-top: 1px solid var(--shell-border);
  margin: 36px 0;
}

/* Buttons: ink outline, not blue SaaS pills */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  align-items: center;
}
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--shell-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 11px 18px;
  border: 1.5px solid var(--shell-accent);
  border-radius: var(--shell-radius);
  background: transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease;
  text-align: center;
}
.btn:hover {
  background-color: var(--shell-accent);
  color: var(--shell-surface);
}
.btn.solid {
  background-color: var(--shell-accent);
  color: var(--shell-surface);
}
.btn.solid:hover {
  background-color: #1547B8;
  border-color: #1547B8;
  color: #FFFFFF;
}
.btn.ghost {
  color: var(--shell-muted);
  border-color: var(--shell-border);
}
.btn.ghost:hover {
  border-color: var(--shell-text);
  color: var(--shell-text);
  background: transparent;
}
.text-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--shell-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-link:hover {
  color: #1547B8;
}

/* Notebook / queue surfaces */
.notebook {
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: var(--shell-radius);
  padding: 20px;
  box-shadow: var(--shell-shadow);
}
.notebook-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--shell-border);
}
.notebook-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--shell-text);
  margin: 0;
}
.queue-list { list-style: none; margin: 0; padding: 0; }
.queue-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--shell-border-soft);
  font-size: 14px;
  color: #3A3F4A;
}
.queue-item:last-child { border-bottom: 0; }
.queue-status {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
}
.queue-status.overdue { background: #F5D6D6; color: var(--shell-danger); }
.queue-status.due { background: var(--shell-soon-bg); color: var(--shell-soon); }
.queue-status.quiet { background: var(--shell-border-soft); color: #5A6070; }
.queue-status.draft { background: #E4E0D6; color: #3A3F4A; }
.queue-meta {
  font-size: 12px;
  color: var(--shell-muted);
  font-family: var(--font-mono);
}

.jobs { list-style: none; margin: 0; padding: 0; }
.job {
  padding: 20px 0;
  border-bottom: 1px solid var(--shell-border);
}
.job:first-child { padding-top: 0; }
.job:last-child { border-bottom: 0; padding-bottom: 0; }
.job-status {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--shell-muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.job h3 { margin-bottom: 6px; }
.job p { margin: 0; font-size: 15px; color: #3A3F4A; }

/* Forms */
.early-form, .capture-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  max-width: 420px;
}
.early-form label, .capture-form label {
  display: grid;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #3A3F4A;
}
.early-form input, .capture-form input,
.early-form select, .capture-form select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--shell-border);
  border-radius: var(--shell-radius);
  background: var(--shell-surface);
  color: var(--shell-text);
}
.early-form input:focus, .capture-form input:focus,
.early-form select:focus, .capture-form select:focus {
  outline: 2px solid var(--shell-text);
  outline-offset: 1px;
  border-color: var(--shell-text);
}

/* FAQ */
.app-shell details {
  border-top: 1px solid var(--shell-border);
  padding: 12px 0;
  border-radius: 0;
}
.app-shell details:last-of-type { border-bottom: 1px solid var(--shell-border); }
.app-shell summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--shell-text);
  list-style: none;
}
.app-shell summary::-webkit-details-marker { display: none; }
.app-shell summary::before {
  content: "+";
  margin-right: 8px;
  color: var(--shell-muted);
  font-weight: 700;
  font-family: var(--font-mono);
}
.app-shell details[open] summary::before { content: "\2212"; }
.details-content {
  margin-top: 8px;
  padding-left: 18px;
  font-size: 15px;
  color: #3A3F4A;
}

/* Role switch */
.role-switch {
  display: inline-flex;
  border: 1px solid var(--shell-border);
  border-radius: 2px;
  overflow: hidden;
  margin: 12px 0 16px;
  background: var(--shell-surface);
}
.role-switch button {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 16px;
  border: 0;
  background: transparent;
  color: var(--shell-muted);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.role-switch button.active {
  background: var(--shell-active);
  color: var(--shell-surface);
}

/* Math widget */
.math-widget {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
@media (min-width: 640px) {
  .math-widget { grid-template-columns: 1fr 1fr; }
}
.math-card {
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: var(--shell-radius);
  padding: 16px;
  box-shadow: var(--shell-shadow);
}
.math-card .mono-out {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  color: var(--shell-text);
  margin: 8px 0 4px;
}
.math-card label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #3A3F4A;
}
.math-card input[type="number"] {
  font-family: var(--font-mono);
  font-size: 16px;
  padding: 8px 10px;
  border: 1px solid var(--shell-border);
  border-radius: var(--shell-radius);
  width: 100%;
  max-width: 160px;
  background: var(--shell-bg);
  color: var(--shell-text);
}
.math-hint { font-size: 12px; color: var(--shell-muted); margin-top: 6px; font-family: var(--font-mono); }

/* Feed */
.feed-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--shell-border-soft);
}
.feed-item:last-child { border-bottom: 0; }
.feed-agency {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shell-mark);
  margin-bottom: 4px;
}
.feed-date {
  font-size: 12px;
  color: var(--shell-muted);
  font-family: var(--font-mono);
}

/* Notes stream */
.note-card {
  padding: 22px 0;
  border-bottom: 1px solid var(--shell-border);
}
.note-card:first-of-type { padding-top: 0; }
.note-meta {
  font-size: 12px;
  color: var(--shell-muted);
  margin-bottom: 6px;
  font-family: var(--font-mono);
}
.note-card h3 a {
  color: var(--shell-text);
  text-decoration: none;
}
.note-card h3 a:hover { color: var(--shell-mark); text-decoration: underline; text-underline-offset: 3px; }
.note-related {
  margin-top: 10px;
  font-size: 13px;
}
.note-related a { color: var(--shell-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Stepper */
.stepper {
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: var(--shell-radius);
  padding: 20px;
  margin: 16px 0;
  box-shadow: var(--shell-shadow);
}
.stepper-progress {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--shell-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stepper-q {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.3;
  color: var(--shell-text);
}
.stepper-a { font-size: 15px; color: #3A3F4A; margin: 0 0 16px; }
.stepper-stop {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--shell-danger);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--shell-border);
}

/* Chip sorter */
.chip-board {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}
@media (min-width: 640px) {
  .chip-board { grid-template-columns: 1fr 1fr; }
}
.chip-bin {
  min-height: 120px;
  border: 1px dashed var(--shell-border);
  border-radius: var(--shell-radius);
  padding: 12px;
  background: var(--shell-bg);
}
.chip-bin h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--shell-muted);
}
.chip-bin.this-week {
  border-style: solid;
  border-color: var(--shell-active);
  background: var(--shell-surface);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 6px 10px;
  margin: 0 6px 6px 0;
  border-radius: 2px;
  border: 1px solid var(--shell-border);
  background: var(--shell-surface);
  color: #3A3F4A;
  cursor: grab;
  user-select: none;
}
.chip.reg { border-color: #C4B89A; background: #F0EBE0; color: #3A3F4A; }
.chip.work { border-color: var(--shell-border); background: var(--shell-border-soft); color: #5A6070; }
.chip.mismatch { opacity: 0.55; }
.chip-reject {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--shell-danger);
  min-height: 18px;
  margin-top: 8px;
}

/* Book switcher */
.book-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.book-tab {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--shell-border);
  border-radius: 2px;
  background: var(--shell-surface);
  color: var(--shell-muted);
  cursor: pointer;
}
.book-tab.active {
  background: var(--shell-active);
  color: var(--shell-surface);
  border-color: var(--shell-active);
}
.score-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: baseline;
  margin: 12px 0;
}
.score-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--shell-text);
}
.score-cap { font-size: 12px; color: var(--shell-muted); font-family: var(--font-mono); }
.gap-list { list-style: none; margin: 0; padding: 0; }
.gap-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--shell-border-soft);
  font-size: 14px;
  color: #3A3F4A;
}
.gap-list li:last-child { border-bottom: 0; }
.gap-action {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border: 1.5px solid var(--shell-accent);
  background: transparent;
  color: var(--shell-accent);
  cursor: pointer;
  border-radius: 2px;
  white-space: nowrap;
}
.gap-action:hover {
  background: var(--shell-accent);
  color: var(--shell-surface);
}
.gap-action:disabled {
  opacity: 0.45;
  cursor: default;
  border-color: var(--shell-border);
  color: var(--shell-muted);
}
.gap-action:disabled:hover {
  background: transparent;
  color: var(--shell-muted);
}
.honesty-note {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--shell-mark);
  margin-top: 12px;
}

/* Pricing */
.pricing-card {
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: var(--shell-radius);
  padding: 20px;
  margin: 12px 0 20px;
  box-shadow: var(--shell-shadow);
}
.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--shell-text);
}
.price-period { font-size: 15px; color: var(--shell-muted); font-family: var(--font-mono); }

.redirect-note {
  font-size: 16px;
  color: #3A3F4A;
  margin: 24px 0;
}

.product-screenshot {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 16px 0 6px;
  border: 1px solid var(--shell-border);
  border-radius: var(--shell-radius);
  box-shadow: var(--shell-shadow);
  background: var(--shell-muted-bg);
}
.product-screenshot.macbook {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.shot-caption {
  font-size: 12px;
  color: var(--shell-muted);
  margin: 0 0 16px;
  font-family: var(--font-mono);
}
.shot-row {
  display: grid;
  gap: 20px;
  margin: 8px 0 8px;
}
@media (min-width: 720px) {
  .shot-row.two { grid-template-columns: 1fr 1fr; }
}


/* Growth scenes */
.scene {
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: var(--shell-radius);
  box-shadow: var(--shell-shadow);
  padding: 24px;
  margin: 0 0 20px;
}
.scene:last-child { margin-bottom: 0; }
.scene-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--shell-muted);
  margin: 0 0 10px;
}
.scene h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.scene-split {
  display: grid;
  gap: 14px;
  margin: 14px 0 18px;
}
@media (min-width: 640px) {
  .scene-split { grid-template-columns: 1fr 1fr; }
}
.scene-panel {
  background: var(--shell-bg);
  border: 1px solid var(--shell-border-soft);
  border-radius: var(--shell-radius);
  padding: 14px 16px;
}
.scene-panel h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--shell-muted);
  margin: 0 0 8px;
}
.scene-panel p { margin: 0; font-size: 15px; color: #3A3F4A; }
.scene-panel.after p { color: var(--shell-text); font-weight: 500; }

.owner-card {
  background: var(--shell-bg);
  border: 1px solid var(--shell-border);
  border-radius: var(--shell-radius);
  padding: 16px 18px;
  margin: 14px 0 18px;
  max-width: 420px;
}
.owner-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--shell-text);
  margin: 0 0 4px;
}
.owner-proof {
  font-size: 13px;
  color: var(--shell-muted);
  font-family: var(--font-mono);
  margin: 0 0 12px;
}
.owner-post {
  font-size: 15px;
  color: #3A3F4A;
  margin: 0;
  line-height: 1.5;
  border-top: 1px solid var(--shell-border-soft);
  padding-top: 12px;
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: plan;
}
.plan-list li {
  counter-increment: plan;
  position: relative;
  padding: 14px 0 14px 44px;
  border-bottom: 1px solid var(--shell-border);
  font-size: 16px;
  color: #3A3F4A;
}
.plan-list li:last-child { border-bottom: 0; }
.plan-list li::before {
  content: counter(plan);
  position: absolute;
  left: 0;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: var(--shell-radius);
  background: var(--shell-text);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-bar {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
@media (min-width: 640px) {
  .proof-bar { grid-template-columns: 1fr 1fr; }
}
.proof-item {
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: var(--shell-radius);
  box-shadow: var(--shell-shadow);
  padding: 16px 18px;
}
.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--shell-text);
  margin-bottom: 4px;
}
.proof-item span {
  font-size: 14px;
  color: #3A3F4A;
  line-height: 1.45;
}
.proof-caveat {
  margin-top: 14px;
  font-size: 13px;
  color: var(--shell-muted);
  font-family: var(--font-mono);
}

.failure-line {
  font-size: 17px;
  line-height: 1.45;
  color: var(--shell-text);
  font-weight: 500;
  margin: 0;
  padding: 18px 20px;
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-left: 3px solid var(--shell-text);
  border-radius: var(--shell-radius);
  box-shadow: var(--shell-shadow);
}

.queue-status.proof {
  background: #E8EEF7;
  color: #1E3A5F;
}


/* ---- Handwrite (Kalam) — centralized from pre-rebuild-backup ---- */
.handwrite {
  font-family: 'Kalam', cursive;
  font-weight: 700;
  color: #1A56DB;
  position: relative;
  display: inline-block;
  padding: 0 4px 1px 4px;
  font-size: 1.15em;
  letter-spacing: -0.3px;
  transform: rotate(-1deg);
  line-height: 1;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 250 20" preserveAspectRatio="none"><path d="M 3 13 Q 65 4 130 11 T 246 8 Q 165 16 6 17" fill="%231A56DB" stroke="%231A56DB" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 8px;
}

.lead {
  font-size: 17px;
  color: var(--shell-body-soft);
  margin-bottom: 16px;
  line-height: 1.65;
}
.trust-note {
  font-size: 14px;
  color: var(--shell-muted);
  margin: 12px 0 0;
}
.pull-quote {
  margin: 24px 0 0;
  padding: 20px 24px;
  border-left: 3px solid #1A56DB;
  background: #F8FAFC;
  border-radius: 0 12px 12px 0;
  font-size: 17px;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.5;
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0;
}
@media (min-width: 600px) {
  .compare-grid { grid-template-columns: 1fr 1fr; }
}
.compare-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px;
}
.compare-card h3 { margin-bottom: 12px; }
.compare-flow {
  font-size: 13px;
  color: #334155;
  line-height: 1.7;
  font-family: var(--font-mono);
  letter-spacing: -0.2px;
  margin: 0;
}
.compare-under {
  font-size: 14px;
  color: #475569;
  line-height: 1.55;
  margin: 12px 0 0;
}
.compare-flow-legacy .flow-line { display: inline; }
.compare-flow-legacy .flow-sep { display: inline; }
@media (max-width: 479px) {
  .compare-flow-legacy .flow-sep { display: none; }
  .compare-flow-legacy .flow-line { display: block; }
}
.anti-buyer {
  font-size: 14px;
  color: #64748B;
  margin-top: 16px;
  padding: 16px 20px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}
.app-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 8px;
}
@media (min-width: 700px) {
  .app-card-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .app-card-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.app-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.app-card:hover {
  border-color: #1A56DB;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}
.app-card.muted:hover {
  border-color: #E2E8F0;
  box-shadow: none;
  transform: none;
}
.app-card-title { font-size: 18px; font-weight: 800; color: #0F172A; margin: 0 0 8px; }
.app-card-oneline { font-size: 15px; font-weight: 600; color: #0F172A; margin: 0 0 10px; line-height: 1.45; }
.app-card-desc { font-size: 14px; color: #475569; line-height: 1.55; margin: 0; }
.app-card-links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.app-card-link {
  color: #1A56DB;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none;
}
.app-card-link:hover { color: #64748B; }
.app-card-link.muted {
  color: #94A3B8;
  font-weight: 700;
  cursor: default;
  pointer-events: none;
}
.commit-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.commit-list li {
  font-size: 15px;
  color: #334155;
  padding-left: 18px;
  position: relative;
}
.commit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1A56DB;
}
.who-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 8px; }
@media (min-width: 600px) { .who-grid { grid-template-columns: 1fr 1fr; } }
.who-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px;
}
.who-card p { font-size: 15px; color: #475569; }
.who-card .who-lead {
  font-size: 16px;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 12px;
}
.how-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.how-list li {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 18px 20px;
}
.how-list h3 { margin: 0 0 8px; font-size: 16px; }
.how-list p { margin: 0; font-size: 15px; color: #475569; }
.shot-caption { font-size: 13px; color: var(--shell-muted); margin: 8px 0 16px; }
.proof-bar {
  margin: 24px 0 0;
  padding: 20px 24px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  font-size: 15px;
  color: #334155;
  line-height: 1.55;
}
.failure-line {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: #0F172A;
}
