/* ==========================================================================
   Design tokens (from the CartBell brand guide)
   ========================================================================== */
:root {
  --brand-gold: #FFC107; --brand-navy: #0D1726; --brand-white: #FFFFFF;
  --navy-deep: #080F1C; --navy-surface: #182438; --gold-hover: #EAB308; --gold-soft: #FFF5D6;
  --surface-light: #F5F7FA; --text-muted: #64748B; --border: #E2E8F0; --success: #16A34A; --error: #DC2626;
  --font-heading: 'Plus Jakarta Sans', sans-serif; --font-body: 'Inter', sans-serif;
  --radius-button: 10px; --radius-card: 16px; --radius-large: 24px; --container-width: 1200px; --section-spacing: 96px;

  /* Supporting tokens */
  --discord: #5865F2;
  --border-strong: #CBD5E1;
  --on-dark-muted: rgba(255, 255, 255, 0.72);
  --on-dark-faint: rgba(255, 255, 255, 0.55);
  --on-dark-line: rgba(255, 255, 255, 0.10);
  --shadow-sm: 0 1px 2px rgba(13, 23, 38, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(13, 23, 38, 0.18);
  --shadow-lg: 0 32px 64px -24px rgba(13, 23, 38, 0.35);
  --header-height: 72px;
}
@media (max-width: 767px) {
  :root { --section-spacing: 56px; --header-height: 64px; }
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--brand-navy);
  background: var(--brand-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.035em; line-height: 1.12; margin: 0; }
p, ul, ol { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
section[id] { scroll-margin-top: calc(var(--header-height) + 8px); }

.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-spacing) 0; }
.section--light { background: var(--surface-light); }
.section--navy { background: var(--brand-navy); color: var(--brand-white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--brand-navy); color: var(--brand-white);
  padding: 10px 16px; border-radius: var(--radius-button); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Focus: navy ring on light surfaces, gold ring on dark surfaces */
:focus-visible { outline: 3px solid var(--brand-navy); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--brand-gold); }

/* Icons (Lucide-style, stroke based) */
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }

/* ==========================================================================
   Typography scale
   ========================================================================== */
.h-hero    { font-size: clamp(40px, 4vw + 20px, 64px); font-weight: 800; line-height: 1.04; }
.h-section { font-size: clamp(30px, 1.6vw + 22px, 40px); font-weight: 800; }
.h-card    { font-size: clamp(20px, 0.4vw + 18px, 22px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.25; }
.lead      { font-size: 18px; line-height: 1.6; color: var(--text-muted); }
.text-sm   { font-size: 14px; }
@media (max-width: 767px) {
  .lead { font-size: 17px; }
  .text-sm { font-size: 13px; }
}

.label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--gold-soft); color: var(--brand-navy);
  font-size: 14px; font-weight: 600; line-height: 1.5;
}
.on-dark .label { background: rgba(255, 193, 7, 0.12); color: var(--brand-gold); }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .h-section { margin-top: 16px; }
.section-head .lead { margin-top: 16px; }
.on-dark .section-head .lead { color: var(--on-dark-muted); }
@media (max-width: 767px) { .section-head { margin-bottom: 40px; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border: 1.5px solid transparent; border-radius: var(--radius-button);
  font-family: var(--font-heading); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--primary { background: var(--brand-gold); color: var(--brand-navy); }
.btn--primary:hover { background: var(--gold-hover); }
.btn--secondary { background: var(--brand-white); color: var(--brand-navy); border-color: var(--border); }
.btn--secondary:hover { border-color: var(--border-strong); background: var(--surface-light); }
.btn--ghost-dark { background: transparent; color: var(--brand-white); border-color: rgba(255, 255, 255, 0.24); }
.btn--ghost-dark:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.4); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn .icon { transition: transform 0.15s ease; }
@media (prefers-reduced-motion: no-preference) { .btn:hover .icon--arrow { transform: translateX(2px); } }

/* ==========================================================================
   Brand lockup
   ========================================================================== */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 800; font-size: 22px; letter-spacing: -0.035em; line-height: 1;
  color: var(--brand-navy); text-decoration: none;
}
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand--light { color: var(--brand-white); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--brand-white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-height); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; padding: 0; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--text-muted); text-decoration: none;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--brand-navy); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-button);
  border: 1px solid var(--border); background: var(--brand-white); color: var(--brand-navy); cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu { border-top: 1px solid var(--border); background: var(--brand-white); padding: 8px 0 24px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; padding: 0; }
.mobile-menu li a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--border);
  font-family: var(--font-heading); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; text-decoration: none;
}
.mobile-menu .btn { margin-top: 20px; }
@media (max-width: 880px) {
  .nav-links, .nav-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 881px) { .mobile-menu { display: none !important; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 72px 0 var(--section-spacing); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 64px; align-items: start; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 6px; }
.hero-eyebrow .marks { display: inline-flex; }
.hero-eyebrow .marks span {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-white); box-shadow: 0 0 0 2px var(--gold-soft);
}
.hero-eyebrow .marks span + span { margin-left: -6px; }
.hero-eyebrow .marks svg { width: 14px; height: 14px; }
.hero h1 { margin-top: 24px; }
.hero h1 .mark {
  background: linear-gradient(transparent 64%, var(--brand-gold) 64%, var(--brand-gold) 90%, transparent 90%);
  padding: 0 2px;
}
.hero .lead { margin-top: 24px; max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; list-style: none; padding: 0; color: var(--text-muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--success); }
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 640px; }
}
@media (max-width: 767px) {
  .hero { padding-top: 40px; }
  .hero-ctas .btn { flex: 1 1 auto; }
}

/* ---------- Live notification illustration ---------- */
.live-demo {
  position: relative;
  background: var(--brand-navy);
  border-radius: var(--radius-large);
  padding: 24px;
  color: var(--brand-white);
  box-shadow: var(--shadow-lg);
}
.demo-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--on-dark-line);
  font-size: 13px; font-weight: 600;
}
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
@media (prefers-reduced-motion: no-preference) {
  .live-demo:not(.is-paused) .live-dot::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: var(--success); animation: ping 2s ease-out infinite;
  }
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.6; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
.demo-pause {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 32px; padding: 0 12px; border-radius: 8px;
  background: transparent; border: 1px solid var(--on-dark-line); color: var(--on-dark-muted);
  font: 500 13px/1 var(--font-body); cursor: pointer;
}
.demo-pause:hover { color: var(--brand-white); border-color: rgba(255, 255, 255, 0.24); }
.demo-pause .icon { width: 14px; height: 14px; }
.demo-pause .icon-play { display: none; }
.demo-pause[aria-pressed="true"] .icon-pause { display: none; }
.demo-pause[aria-pressed="true"] .icon-play { display: block; }
.demo-pause[hidden] { display: none; }

.app-window {
  background: var(--navy-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.app-window + .app-window { margin-top: 16px; }
.window-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px; font-weight: 600;
}
.window-bar .channel { display: inline-flex; align-items: center; gap: 4px; }
.window-bar .channel .icon { width: 15px; height: 15px; color: var(--on-dark-faint); }
.window-bar .app-name { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--on-dark-faint); }
.mark-badge { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; flex: none; }
.mark-badge svg { width: 15px; height: 15px; }
.mark-badge--discord { background: var(--discord); }
.mark-badge--slack { background: var(--brand-white); }

.feed {
  display: flex; flex-direction: column;
  padding: 12px 16px 14px;
}
.msg-wrap { display: grid; grid-template-rows: 1fr; }
.msg-clip { min-height: 0; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .msg-wrap.is-entering { animation: msg-grow 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .msg-wrap.is-entering .msg { animation: msg-rise 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .msg-wrap.is-updating .embed,
  .msg-wrap.is-updating .slack-attach { animation: msg-flash 0.7s ease; }
}
@keyframes msg-grow { from { grid-template-rows: 0fr; opacity: 0; } to { grid-template-rows: 1fr; opacity: 1; } }
@keyframes msg-rise { from { transform: translateY(10px); } to { transform: translateY(0); } }
@keyframes msg-flash { 0% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); } 100% { box-shadow: inset 0 0 0 1px transparent; } }

.msg { display: flex; gap: 12px; padding: 4px 0 2px; }
.msg-avatar { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.msg-body { min-width: 0; flex: 1; }
.msg-head { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 14px; line-height: 1.4; }
.msg-name { font-weight: 700; color: var(--brand-white); }
.app-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em; line-height: 1;
  padding: 2px 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.12);
  position: relative; top: -1px;
}
.app-tag--bot { background: var(--discord); color: #fff; }
.msg-meta { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; flex: none; }
.msg-time { font-size: 12px; color: var(--on-dark-faint); }
.post-edited { font-size: 11px; color: var(--on-dark-faint); }

/* Discord-style embed (matches renderDiscord: title, ## total, timeline, items, inline fields, footer + timestamp) */
.embed {
  margin-top: 6px; padding: 8px 14px 10px 12px;
  background: #2b2d31;
  border-left: 4px solid #2bb5a0;
  border-radius: 4px;
  max-width: 430px;
  font-size: 14px; line-height: 1.375; color: #dbdee1;
}
.embed--cart { border-left-color: #2bb5a0; }
.embed--checkout { border-left-color: #f5a623; }
.embed--purchased { border-left-color: #57c25b; }
.embed--abandoned { border-left-color: #7d8590; }
.embed-title { font-size: 16px; font-weight: 700; line-height: 1.25; color: #f2f3f5; }
.embed-total {
  margin: 6px 0 2px;
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.2; color: #f2f3f5;
}
.embed-paid { margin: 0 0 6px; color: #dbdee1; }
.embed-section { margin-top: 8px; }
.embed-label { font-weight: 700; color: #f2f3f5; margin-bottom: 2px; }
.tl { display: grid; gap: 1px; }
.tl-row { display: flex; gap: 6px; align-items: baseline; }
.tl-time {
  flex: none;
  font-size: 12px; font-variant-numeric: tabular-nums;
  color: #b5bac1;
}
.tl-text { min-width: 0; }
.embed-item { color: #dbdee1; }
.embed-item b { color: #f2f3f5; font-weight: 700; }
.embed-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(8.5em, 1fr));
  gap: 8px 12px;
  margin-top: 10px;
}
.embed-fields:has(.field:only-child) {
  grid-template-columns: minmax(0, max-content);
}
.field-label { display: block; font-size: 12px; font-weight: 700; color: #b5bac1; margin-bottom: 1px; }
.field-value { display: block; font-size: 14px; color: #dbdee1; white-space: pre-wrap; word-break: break-word; }
.field-value a { color: #00a8fc; text-decoration: none; }
.field-value a:hover { text-decoration: underline; }
.embed-foot {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0 6px;
  margin-top: 10px; font-size: 12px; line-height: 1.3; color: #949ba4;
}
.embed-foot .foot-sep { color: #6d7178; }

/* Slack-style attachment (matches renderSlack: header, total, timeline, items, 2-col fields, context footer) */
.slack-attach {
  margin-top: 6px; padding: 4px 12px 8px 12px;
  background: rgba(8, 15, 28, 0.45);
  border-left: 4px solid #2bb5a0;
  border-radius: 0 4px 4px 0;
  max-width: 430px;
  font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.88);
}
.slack-attach--cart { border-left-color: #2bb5a0; }
.slack-attach--checkout { border-left-color: #f5a623; }
.slack-attach--purchased { border-left-color: #57c25b; }
.slack-attach--abandoned { border-left-color: #7d8590; }
.slack-header {
  font-size: 17px; font-weight: 700; line-height: 1.3;
  color: var(--brand-white); margin: 4px 0 8px;
}
.slack-total { font-weight: 700; color: var(--brand-white); margin-bottom: 8px; }
.slack-paid { font-weight: 400; color: rgba(255, 255, 255, 0.88); }
.slack-section { margin: 0 0 8px; }
.slack-section .embed-label { color: var(--brand-white); }
.slack-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px; font-variant-numeric: tabular-nums;
  background: rgba(255, 255, 255, 0.08);
  padding: 0 4px; border-radius: 3px; color: #e8eaed;
}
.slack-item b { color: var(--brand-white); font-weight: 700; }
.slack-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 0 0 8px;
}
.slack-fields .field-label { font-size: 14px; font-weight: 700; color: var(--brand-white); }
.slack-fields .field-value { color: rgba(255, 255, 255, 0.88); }
.slack-fields .field-value a { color: #1d9bd1; text-decoration: none; }
.slack-fields .field-value a:hover { text-decoration: underline; }
.slack-context { font-size: 12px; color: var(--on-dark-faint); }

@media (max-width: 480px) {
  .live-demo { padding: 16px; border-radius: 20px; }
  .feed { padding: 10px 12px 12px; }
  .embed-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Cards (shared)
   ========================================================================== */
.card {
  background: var(--brand-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
}
.card p { margin-top: 8px; color: var(--text-muted); }
.icon-tile {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--brand-navy);
  margin-bottom: 20px;
}
.icon-tile .icon { width: 22px; height: 22px; }

/* ==========================================================================
   Integrations
   ========================================================================== */
.flow { display: flex; align-items: center; justify-content: center; margin: 0 auto 56px; }
.flow-node { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.flow-tile {
  width: 88px; height: 88px; border-radius: 20px;
  display: grid; place-items: center;
  background: var(--brand-white); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.flow-tile svg { width: 44px; height: 44px; }
.flow-tile--icon { padding: 0; border: 0; overflow: hidden; box-shadow: var(--shadow-md); }
.flow-tile--icon img { width: 100%; height: 100%; }
.flow-caption { font-size: 14px; font-weight: 600; }
.flow-line { width: 72px; height: 0; border-top: 2px dashed var(--border-strong); margin: 0 8px 34px; }
.flow-fork { width: 72px; height: 160px; margin: 0 8px; flex: none; }
.flow-fork path { fill: none; stroke: var(--border-strong); stroke-width: 2; stroke-dasharray: 5 5; }
.flow-targets { display: flex; flex-direction: column; gap: 16px; }
.flow-target { display: flex; align-items: center; gap: 12px; }
.flow-target .flow-tile { width: 64px; height: 64px; border-radius: 16px; }
.flow-target .flow-tile svg { width: 32px; height: 32px; }

.integration-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.integration-card .card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.integration-card .mark-badge { width: 40px; height: 40px; border-radius: 10px; }
.integration-card .mark-badge svg { width: 22px; height: 22px; }
.integration-card .mark-badge--slack { border: 1px solid var(--border); }
.integration-card .icon-tile { margin: 0; width: 40px; height: 40px; border-radius: 10px; }
@media (max-width: 900px) { .integration-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
@media (max-width: 560px) {
  .flow-tile { width: 64px; height: 64px; border-radius: 16px; }
  .flow-tile svg { width: 32px; height: 32px; }
  .flow-line { width: 28px; margin: 0 6px 34px; }
  .flow-fork { width: 36px; margin: 0 4px; }
  .flow-target .flow-tile { width: 52px; height: 52px; border-radius: 14px; }
  .flow-target .flow-tile svg { width: 26px; height: 26px; }
  .flow-target { gap: 8px; }
  .flow-caption { font-size: 13px; }
  .flow-targets { gap: 24px; }
}

/* ==========================================================================
   Features
   ========================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature-card--wide {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr); gap: 40px; align-items: start;
}
.post-visual {
  background: var(--brand-navy); border-radius: 14px; padding: 18px 20px; color: var(--brand-white);
  min-width: 0;
}
.post-visual .msg { padding: 0; }
.post-visual .embed { max-width: 34rem; }
.post-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; list-style: none; padding: 0; }
.post-steps li {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px 3px 7px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  background: rgba(255, 255, 255, 0.06); color: var(--on-dark-muted);
}
.post-steps li .icon { width: 12px; height: 12px; stroke-width: 3; color: var(--success); }
.post-steps li.is-current { background: rgba(22, 163, 74, 0.18); color: var(--brand-white); }

.chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; list-style: none; padding: 0; }
.chip-list li {
  padding: 4px 10px; border-radius: 999px;
  background: var(--surface-light); border: 1px solid var(--border);
  font-size: 13px; font-weight: 500;
}
.mode-list { margin-top: 16px; list-style: none; padding: 0; display: grid; gap: 8px; }
.mode-list li {
  padding: 10px 12px; border-radius: 10px; background: var(--surface-light);
  font-size: 14px; line-height: 1.45; color: var(--text-muted);
}
.mode-list strong { color: var(--brand-navy); font-weight: 600; }
.email-demo {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  padding: 6px 12px; border-radius: 8px; background: var(--surface-light); border: 1px solid var(--border);
  font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums;
}
.email-demo .icon { color: var(--text-muted); }
@media (max-width: 1023px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card--wide { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-template-columns: 1fr; gap: 24px; }
  .card { padding: 24px; }
}

/* ==========================================================================
   How it works
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; counter-reset: step; }
.step {
  position: relative;
  background: var(--navy-surface); border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-card); padding: 28px;
}
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-gold); color: var(--brand-navy);
  font-family: var(--font-heading); font-weight: 800; font-size: 17px;
}
.step-top .icon { width: 24px; height: 24px; color: var(--on-dark-faint); }
.step p { margin-top: 8px; color: var(--on-dark-muted); }
.steps-cta { display: flex; justify-content: center; margin-top: 48px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1080px; margin: 0 auto; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  background: var(--brand-white); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 32px;
}
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; }
.plan-tag {
  padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--brand-navy);
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.plan-summary { margin-top: 8px; color: var(--text-muted); font-size: 15px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 24px; }
.plan-price .amount { font-family: var(--font-heading); font-weight: 800; font-size: 48px; letter-spacing: -0.035em; line-height: 1; }
.plan-price .per { color: var(--text-muted); font-size: 15px; }
.plan-features { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; }
.plan-features .icon { margin-top: 3px; color: var(--success); width: 18px; height: 18px; }
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--brand-navy); border-color: var(--brand-navy); color: var(--brand-white); box-shadow: var(--shadow-md); }
.plan--featured .plan-summary, .plan--featured .plan-price .per { color: var(--on-dark-muted); }
.plan--featured .plan-features .icon { color: var(--brand-gold); }
.plan--featured .plan-tag { background: rgba(255, 193, 7, 0.14); color: var(--brand-gold); }
.pricing-note { margin-top: 32px; text-align: center; color: var(--text-muted); }
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-height) + 32px); }
.faq-intro .h-section { margin-top: 16px; }
.faq-intro .lead { margin-top: 16px; }
.faq-intro a { color: var(--brand-navy); font-weight: 600; text-decoration-color: var(--brand-gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--font-heading); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface-light);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--gold-soft); }
.faq-answer { padding: 0 48px 24px 0; color: var(--text-muted); }
.faq-answer p + p { margin-top: 12px; }
.faq-answer a { color: var(--brand-navy); font-weight: 600; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-intro { position: static; }
}
@media (max-width: 767px) {
  .faq-item summary { font-size: 17px; padding: 18px 0; }
  .faq-answer { padding-right: 0; }
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta-panel {
  background: var(--brand-navy); color: var(--brand-white);
  border-radius: var(--radius-large);
  padding: 80px 48px; text-align: center;
}
.cta-panel img { width: 72px; height: 72px; border-radius: 16px; margin: 0 auto 28px; }
.cta-panel .lead { margin: 16px auto 0; max-width: 520px; color: var(--on-dark-muted); }
.cta-panel .hero-ctas { justify-content: center; }
@media (max-width: 767px) { .cta-panel { padding: 56px 24px; border-radius: 20px; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: var(--on-dark-muted); padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 48px; }
.footer-brand p { margin-top: 16px; max-width: 320px; }
.footer-col h2 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--brand-white); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-bottom a { text-decoration: none; transition: color 0.15s ease; }
.footer-col a:hover, .footer-bottom a:hover { color: var(--brand-white); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--on-dark-line);
  font-size: 14px; color: var(--on-dark-faint);
}
.footer-bottom a { color: var(--on-dark-muted); font-weight: 600; }
@media (max-width: 767px) {
  .site-footer { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-section { padding: 64px 0 96px; }
.legal { max-width: 760px; margin: 0 auto; }
.legal h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 2vw + 24px, 44px);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.12;
}
.legal h1 + p { margin-top: 12px; color: var(--text-muted); font-size: 15px; }
.legal h2 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 0.6vw + 18px, 24px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.25;
  margin-top: 40px;
}
.legal p { margin-top: 14px; }
.legal ul { margin: 14px 0 0; padding-left: 1.35em; }
.legal li { margin-top: 8px; }
.legal a { color: var(--brand-navy); font-weight: 600; }
.legal a:hover { text-decoration-thickness: 2px; }
@media (max-width: 767px) { .legal-section { padding: 40px 0 72px; } }
