@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --fb-canvas: #fbf8f3;
  --fb-surface: #ffffff;
  --fb-ink: #14161a;
  --fb-ink-muted: #5b5f66;
  --fb-line: #e8e2d8;
  --fb-accent: #1f4d3a;
  --fb-accent-hover: #173b2c;
  --fb-accent-soft: #e3eee7;
  --fb-sun: #f2b544;
  --fb-shadow-moment: 0 1px 2px rgb(20 22 26 / 6%), 0 8px 24px rgb(20 22 26 / 6%);
  --bg: #fafaf9;
  --surface: #ffffff;
  --border: #e7e5e4;
  --text: #1c1917;
  --muted: #57534e;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-soft: rgb(79 70 229 / 12%);
  --shadow: 0 1px 2px rgb(0 0 0 / 5%);
  --radius-input: 6px;
  --radius-card: 10px;
  --radius-pill: 999px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --success-fg: #15803d;
  --success-bg: #dcfce7;
  --warning-fg: #b45309;
  --warning-bg: #fef3c7;
  --danger-fg: #b91c1c;
  --danger-bg: #fee2e2;
  --info-fg: #1d4ed8;
  --info-bg: #dbeafe;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c0e;
    --surface: #16161a;
    --border: #27272a;
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --accent-soft: rgb(99 102 241 / 18%);
    --success-bg: rgb(21 128 61 / 22%);
    --warning-bg: rgb(180 83 9 / 22%);
    --danger-bg: rgb(185 28 28 / 22%);
    --info-bg: rgb(29 78 216 / 22%);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

body.marketing {
  color-scheme: light;
  --bg: var(--fb-canvas);
  --surface: var(--fb-surface);
  --border: var(--fb-line);
  --text: var(--fb-ink);
  --muted: var(--fb-ink-muted);
  --accent: var(--fb-accent);
  --accent-hover: var(--fb-accent-hover);
  --accent-soft: var(--fb-accent-soft);
  --radius-input: 8px;
  --radius-card: 16px;
  background: var(--fb-canvas);
  color: var(--fb-ink);
  font-size: var(--fb-text-body, 1rem);
  line-height: 1.6;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--text);
}

h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; }
h2 { font-size: 20px; line-height: 1.25; }

p { margin: 0 0 12px; line-height: 1.55; }

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

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

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid rgb(79 70 229 / 40%);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--text);
  color: var(--bg);
  padding: 8px 12px;
  border-radius: var(--radius-input);
  z-index: 100;
}

.skip:focus { top: 16px; }

.mark-img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  font-size: 13px;
  font-weight: 500;
}

.lang-switch a {
  color: var(--muted);
  text-decoration: none;
}

.lang-switch a.is-active { color: var(--text); }

.lang-switch a:hover { color: var(--accent); text-decoration: none; }

.lang-sep { color: var(--border); }

.foot-links {
  display: flex;
  gap: 16px;
  font-size: 13px;
}

.foot-links a { color: var(--muted); text-decoration: none; }

.foot-links a:hover { color: var(--text); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.brand:hover { text-decoration: none; color: inherit; }

/* Marketing shell */
.marketing .top,
.marketing .foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px clamp(16px, 5vw, 48px);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.marketing .foot {
  border-bottom: 0;
  border-top: 1px solid var(--border);
  margin-top: 48px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.top-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.top-nav a:hover { color: var(--text); }

.foot-copy { margin: 0; color: var(--muted); font-size: 13px; max-width: 36rem; }

.foot-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg);
}

.trust-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success-fg);
}

.hero, .band, .steps, .price-grid {
  padding: 32px clamp(16px, 5vw, 48px);
}

.hero { max-width: 44rem; }

.hero.slim { padding-top: 24px; padding-bottom: 16px; }

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 8px;
}

.lede {
  font-size: 16px;
  color: var(--muted);
  max-width: 40rem;
}

.hero-actions, .editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-input);
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.button:hover, button.button:hover {
  background: var(--accent-hover);
  color: #fff;
  text-decoration: none;
}

.button.quiet, button.button.quiet {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}

.button.quiet:hover, button.button.quiet:hover {
  background: var(--bg);
  color: var(--text);
}

.steps, .price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 8px;
}

.steps article, .price-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
}

.step {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 8px;
  font-variant-numeric: tabular-nums;
}

.price {
  font-size: 32px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin: 4px 0 12px;
  letter-spacing: -0.02em;
}

.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.center { text-align: center; padding: 24px clamp(16px, 5vw, 48px) 48px; }

.band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.fake-stats {
  display: grid;
  gap: 12px;
}

.fake-stats div, .stat, .kpi {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px;
}

.fake-stats span, .stat span, .kpi-label, .muted {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 500;
}

.fake-stats strong, .stat strong, .kpi-value {
  font-size: 32px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 4px;
  display: block;
}

.stats, .kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 16px 0 32px;
}

/* App shell */
.shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}

.side {
  padding: 16px;
  border-right: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-org {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.side-trust {
  margin-top: -4px;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-nav a {
  text-decoration: none;
  padding: 8px 10px;
  border-radius: var(--radius-input);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.side-nav a:hover {
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
}

.side-nav a.is-active {
  background: var(--accent-soft);
  color: var(--accent);
}

.workspace {
  padding: 24px clamp(16px, 4vw, 40px) 48px;
  min-width: 0;
}

.workspace-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.page-head h1 { font-size: 24px; margin-bottom: 0; }

.banner, .note, .callout {
  border-radius: var(--radius-input);
  padding: 12px 16px;
  font-size: 14px;
  margin: 0 0 16px;
  border: 1px solid var(--border);
}

.banner {
  background: var(--danger-bg);
  border-color: rgb(185 28 28 / 25%);
  color: var(--text);
}

.note, .callout {
  background: var(--info-bg);
  border-color: rgb(29 78 216 / 20%);
}

.stack, .day-grid { display: grid; gap: 16px; max-width: 40rem; }

.day-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

label, .field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

input, select, textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 10px 12px;
  width: 100%;
  font-size: 14px;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 2px rgb(79 70 229 / 15%);
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}

.check input { width: auto; }

.table-wrap {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  max-height: min(70vh, 640px);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding: 0 16px;
  height: 44px;
  white-space: nowrap;
}

tbody td {
  padding: 0 16px;
  height: 44px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

tbody tr:last-child td { border-bottom: 0; }

tbody tr:hover td { background: var(--bg); }

td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

td.mono { font-family: var(--font-mono); font-size: 13px; }

.plain {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.plain li {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--surface);
  font-size: 13px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 16px 0 24px;
}

.facts div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 12px 16px;
}

.facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.facts dd {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.code {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.wide { max-width: 46rem; }

.switcher, .signout { display: grid; gap: 8px; }

.signout { margin-top: auto; }

.signout button, .switcher button, .block-tools button, .size-row button, .palette-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}

.signout button:hover, .switcher button:hover, .block-tools button:hover, .size-row button:hover, .palette-item:hover {
  background: var(--bg);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: capitalize;
  border: 1px solid transparent;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.pill--open, .pill--info {
  color: var(--info-fg);
  background: var(--info-bg);
}

.pill--late, .pill--warning {
  color: var(--warning-fg);
  background: var(--warning-bg);
}

.pill--accepted, .pill--success {
  color: var(--success-fg);
  background: var(--success-bg);
}

.pill--expired, .pill--rejected, .pill--danger {
  color: var(--danger-fg);
  background: var(--danger-bg);
}

.pill--neutral {
  color: var(--muted);
  background: var(--bg);
  border-color: var(--border);
}

.empty {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 32px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  max-width: 28rem;
}

.empty-icon {
  width: 40px;
  height: 40px;
  color: var(--muted);
}

.empty p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 32px 0 12px;
}

.section-head h2 { margin: 0; }

.page-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.1;
  margin: 0;
}

.page-head--dashboard { align-items: flex-start; margin-bottom: 8px; }

.dash-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: start;
  padding: 24px;
  margin: 16px 0 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.dash-hero-value {
  margin: 4px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.dash-hero-meta, .dash-hero-hint { margin: 0; font-size: 14px; }

.dash-hero-action {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 16px 0 0;
}

.dash-trial-note { margin: 0; }

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 8px;
}

.dash-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 20px 12px;
}

.dash-panel .section-head { margin-top: 0; }

.dash-section { margin-top: 8px; }

.activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.activity-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.activity-row:last-child { border-bottom: 0; }

.activity-row > div { display: grid; gap: 2px; }

.activity-kind { font-weight: 600; }

.activity-meta { text-align: right; white-space: nowrap; }

.side-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lang-switch--app { font-size: 13px; }

.template-studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: 20px;
  align-items: start;
  margin-top: 20px;
}

.template-studio__editor {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.template-studio__preview {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.template-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.schedule-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  font-size: 14px;
}

.schedule-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
}

.token-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.token-chip {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
}

.token-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.preview-frame {
  background: #e8e4dc;
  border-radius: var(--radius-card);
  padding: 12px;
  border: 1px solid var(--border);
}

.preview-frame .stage {
  margin: 0 auto;
  background: #d7cec0;
}

.preview-frame .stage iframe {
  height: min(72vh, 640px);
}

.editor {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.palette, .canvas { display: grid; gap: 8px; }

.canvas {
  min-height: 240px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-card);
  padding: 12px;
}

.block {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 8px;
}

.block.is-dragging { opacity: 0.55; }

.handle { touch-action: none; cursor: grab; color: var(--muted); }

.block-body, .block-tools { display: grid; gap: 6px; }

.preview-column {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.size-row { display: flex; flex-wrap: wrap; gap: 8px; }

.size-row button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.preview-scroll {
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 8px;
}

.stage {
  width: max-content;
  max-width: none;
  background: var(--border);
  border-radius: var(--radius-card);
  padding: 12px;
}

.stage iframe {
  width: var(--preview-width, 390px);
  height: 640px;
  border: 0;
  background: white;
  display: block;
  border-radius: var(--radius-input);
}

.mail {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px;
}

.mail iframe {
  width: 100%;
  height: 420px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background: white;
}

#email-status { margin: 0; font-size: 13px; color: var(--muted); }

.marketing .display-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

.marketing .section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.marketing .lede {
  font-size: 1.25rem;
  line-height: 1.55;
  max-width: 62ch;
}

.section-pad {
  padding: 128px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.landing-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 128px 24px 72px;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-cta-stack { margin-top: 24px; display: grid; gap: 8px; justify-items: start; }

.cta-note { margin: 0; font-size: 0.875rem; color: var(--muted); max-width: 42ch; }

.hero-secondary { margin: 16px 0 0; }

.link-ghost { color: var(--muted); font-weight: 500; text-decoration: none; }

.link-ghost:hover { color: var(--accent); text-decoration: underline; }

.landing-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 240px;
}

.bird-envelope { width: min(100%, 320px); height: auto; }

.moment-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--fb-shadow-moment);
  max-width: 320px;
}

.moment-card--float {
  position: absolute;
  right: 0;
  bottom: 8px;
  max-width: 260px;
}

.moment-label {
  margin: 0 0 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}

.moment-title { margin: 0; font-size: 1rem; font-weight: 600; }

.moment-body { margin: 8px 0 0; font-size: 0.875rem; color: var(--muted); }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 24px 48px;
  max-width: 1120px;
  margin: 0 auto;
  justify-content: center;
}

.landing-problem { max-width: 62ch; }

.how-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

.steps--landing { display: grid; gap: 16px; }

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.step-card h3 { font-size: 1.25rem; margin: 0 0 8px; }

.timeline-dots {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 8px;
  position: relative;
}

.timeline-dots::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  background: var(--border);
}

.timeline-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  z-index: 1;
}

.timeline-label { margin: 0; font-size: 0.875rem; color: var(--muted); }

.story-rows { display: grid; gap: 64px; }

.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.story-row--reverse .story-copy { order: 2; }

.story-row--reverse .moment-card { order: 1; }

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.principles-grid h3 { font-size: 1.125rem; }

.principles-grid p { color: var(--muted); margin: 0; }

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin-top: 20px;
  max-width: 480px;
}

.pricing-card--solo { max-width: 520px; }

.price-display { margin: 8px 0 12px; }

.price-amount { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 600; letter-spacing: -0.02em; }

.price-period { font-size: 1rem; color: var(--muted); }

.price-trial { margin: 0 0 16px; color: var(--muted); }

.plan-list {
  margin: 0 0 20px;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.referral-note {
  margin: 20px 0 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 62ch;
}

.pricing-more { margin-top: 12px; font-size: 0.875rem; }

.faq-list { display: grid; gap: 8px; margin-top: 20px; max-width: 62ch; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 12px 16px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}

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

.faq-item p { margin: 10px 0 0; color: var(--muted); font-size: 0.875rem; }

.landing-cta-band {
  text-align: center;
  background: var(--accent);
  color: #fff;
  border-radius: 16px;
  max-width: 1120px;
}

.landing-cta-band .section-title { color: #fff; margin-bottom: 20px; }

.status-shift { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; }

.status-arrow { color: var(--muted); }

.pill--accepted {
  color: var(--fb-accent);
  background: var(--fb-accent-soft);
  border: 1px solid var(--fb-sun);
}

.button.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.button--on-accent {
  background: #fff;
  color: var(--accent);
}

.button--on-accent:hover { background: var(--fb-canvas); color: var(--accent-hover); }

.top-nav .nav-cta, .top-nav .ghost {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
}

.foot-legal {
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-top: 48px;
}

.foot-brand { display: flex; gap: 16px; align-items: flex-start; max-width: 40rem; }

.foot-brand .bird-envelope { width: 72px; height: auto; flex-shrink: 0; }

.foot-mission { margin: 0; color: var(--muted); }

.foot-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.foot-col-title { margin: 0 0 8px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

.pricing-page { max-width: 1120px; margin: 0 auto; }

.muted-small { font-size: 0.875rem; color: var(--muted); }

@media (max-width: 980px) {
  .section-pad { padding: 72px 20px; }
  .landing-hero { grid-template-columns: 1fr; padding-top: 72px; }
  .moment-card--float { position: static; margin-top: 16px; }
  .how-layout, .story-row, .story-row--reverse, .principles-grid, .foot-columns { grid-template-columns: 1fr; }
  .story-row--reverse .story-copy, .story-row--reverse .moment-card { order: unset; }
  .top-nav .nav-cta { display: none; }
  .steps, .price-grid, .band, .shell, .day-grid { grid-template-columns: 1fr; }
  .editor { grid-template-columns: 1fr; }
  .template-studio { grid-template-columns: 1fr; }
  .template-studio__preview { position: static; order: -1; }
  .dash-hero, .dash-grid { grid-template-columns: 1fr; }
  .side {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .side-nav {
    flex-direction: row;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .page-head { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
