/* ============================================================
   SquareKeeper marketing site — shared stylesheet
   Loaded by every page under marketing/dist/
   Edit tokens in :root to shift brand-wide colors / type / spacing.
   ============================================================ */

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

:root {
  /* ── Backgrounds ──────────────────────────────────────── */
  --bg-base:        #0A0A0F;
  --bg-elevated:    #111118;
  --bg-elevated-2:  #151522;
  --bg-hover:       #1a1a28;
  --bg-chrome:      #06060C;

  /* ── Borders ──────────────────────────────────────────── */
  --border-subtle:  #1E293B;
  --border-hover:   #334155;

  /* ── Text ─────────────────────────────────────────────── */
  --text-primary:   #E2E8F0;
  --text-secondary: #CBD5E1;
  --text-dim:       #94A3B8;
  --text-muted:     #64748B;
  --text-faint:     #475569;

  /* ── Brand accent (SquareKeeper sky blue) ──────────────
     Adopted 2026-04-21. Previously emerald #10B981 — kept in the
     Module UI Spec's "color transition" mapping for modules that
     still need to sed their code over. */
  --accent:         #11A6F6;
  --accent-dim:     #0980BF;
  --accent-bright:  #60BCFB;
  --accent-soft:    rgba(17, 166, 246, 0.15);
  --accent-tint:    rgba(17, 166, 246, 0.08);

  /* ── Module color identity (per Platform MODULE_META) ─── */
  --mod-parking:      #DC2626;
  --mod-maintenance:  #3B82F6;
  --mod-employee:     #7C3AED;
  --mod-security:     #F97316;
  --mod-tenant:       #10B981;
  --mod-vendor:       #0891B2;
  --mod-operations:   #4338CA;    /* Wave 4 — indigo */
  --mod-marketing:    #DB2777;    /* Wave 5 — pink */

  /* ── Semantic status palette ──────────────────────────── */
  --status-success-bg: #0D2818;
  --status-success-fg: #34D399;
  --status-success-bd: #166534;
  --status-warn-bg:    #2D1F04;
  --status-warn-fg:    #FBBF24;
  --status-warn-bd:    #78350F;
  --status-danger-bg:  #2D0A0A;
  --status-danger-fg:  #F87171;
  --status-danger-bd:  #7F1D1D;

  /* ── Typography ───────────────────────────────────────── */
  --font-sans: 'Segoe UI', system-ui, -apple-system, 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;

  /* ── Layout ───────────────────────────────────────────── */
  --container:      1200px;
  --container-narrow: 920px;
  --section-pad-y:  clamp(64px, 10vw, 128px);
  --section-pad-x:  clamp(16px, 5vw, 32px);

  /* ── Radius ───────────────────────────────────────────── */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* ── Motion ───────────────────────────────────────────── */
  --t-fast:  all 0.15s ease;
  --t-base:  all 0.25s ease;
  --t-slow:  all 0.4s ease;
}

html { scroll-behavior: smooth; }

html, body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-size: 16px;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--t-fast);
}
a:hover { color: var(--accent-bright); text-decoration: underline; }

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.mono { font-family: var(--font-mono); }

/* ── Shared containers ────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

section { padding: var(--section-pad-y) 0; }
section + section { padding-top: 0; }

/* ── Section eyebrow / label ──────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(17, 166, 246, 0.3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #001423;
}
.btn.primary:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: #001423;
  transform: translateY(-1px);
}
.btn.large { padding: 14px 26px; font-size: 15px; }
.btn.ghost { background: transparent; }

/* ── Nav ──────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--section-pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text-primary);
  text-decoration: none;
}
.nav-brand:hover { color: var(--text-primary); text-decoration: none; }
.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;   /* soften to match the icon's own tile radius */
}
/* Pin nav CTA to the same height so brand icon and button visually align */
.nav-actions .btn { line-height: 1.3; min-height: 40px; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  transition: var(--t-fast);
  text-decoration: none;
}
.nav-links a:hover { color: var(--text-primary); text-decoration: none; }
.nav-links a.active { color: var(--text-primary); }
.nav-actions { display: flex; gap: 10px; align-items: center; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  padding: clamp(64px, 10vw, 120px) var(--section-pad-x) clamp(48px, 7vw, 80px);
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.hero h1 .accent { color: var(--accent); }
.hero .lede {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-dim);
  max-width: 720px;
  margin: 0 auto 32px;
  line-height: 1.5;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.trust-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.trust-row span::before {
  content: "✓ ";
  color: var(--accent);
}

.hero-visual {
  margin: clamp(32px, 5vw, 56px) auto 0;
  max-width: 960px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}
.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Suite grid ───────────────────────────────────────── */
.suite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.suite-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--t-base);
  text-decoration: none;
  color: inherit;
  display: block;
}
.suite-card:hover {
  transform: translateY(-2px);
  border-color: var(--mod-color, var(--accent));
  color: inherit;
  text-decoration: none;
}
.suite-card .dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--mod-color, var(--accent));
  margin-right: 8px;
  vertical-align: middle;
}
.suite-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  display: inline-block;
  vertical-align: middle;
}
.suite-card p {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.55;
}
.suite-card .status {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--bg-hover);
  color: var(--text-muted);
}
.suite-card.live .status {
  background: var(--status-success-bg);
  color: var(--status-success-fg);
  border: 1px solid var(--status-success-bd);
}
.suite-card .price {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
}

.suite-tagline {
  text-align: center;
  margin-top: 32px;
  font-size: 15px;
  color: var(--text-dim);
}
.suite-tagline strong { color: var(--text-primary); font-weight: 600; }

/* ── Section heading pattern ──────────────────────────── */
.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 12px;
}
.section-head p {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto;
}

/* ── Comparison / stack table ─────────────────────────── */
.comparison-wrap {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}
.comparison-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  font-weight: 700;
  background: var(--bg-hover);
}
.comparison-table td.cost {
  font-family: var(--font-mono);
  text-align: right;
  color: var(--text-secondary);
  white-space: nowrap;
}
.comparison-table tr.sum td { font-weight: 700; color: var(--text-primary); background: var(--bg-hover); }
.comparison-table tr.sk td { background: var(--accent-tint); color: var(--accent); font-weight: 700; }
.comparison-table tr.sk td.cost { color: var(--accent-bright); }
.comparison-note {
  max-width: 860px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ── Free-portal band (full-width hero-adjacent) ──────── */
.band {
  background: linear-gradient(135deg, var(--accent-tint), transparent);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: clamp(56px, 9vw, 96px) var(--section-pad-x);
  text-align: center;
}
.band h2 {
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.1;
  max-width: 1000px;
  margin: 0 auto 16px;
  letter-spacing: -0.02em;
}
.band h2 .accent { color: var(--accent); }
.band p {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto;
}

/* ── Founder teaser ───────────────────────────────────── */
.founder-teaser {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--section-pad-x);
}
.founder-teaser .quote {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 20px;
}
.founder-teaser .attr {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Final CTA band ───────────────────────────────────── */
.cta-band {
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-base));
  border-top: 1px solid var(--border-subtle);
  padding: clamp(64px, 9vw, 96px) var(--section-pad-x);
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 24px;
}
.cta-band .hero-cta { margin-bottom: 24px; }

/* ── Footer ───────────────────────────────────────────── */
.footer {
  background: var(--bg-chrome);
  border-top: 1px solid var(--border-subtle);
  padding: 48px var(--section-pad-x) 32px;
  color: var(--text-muted);
  font-size: 13px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-brand .brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 15px;
}
.footer-brand img { width: 24px; height: 24px; }
.footer-brand p { max-width: 260px; line-height: 1.5; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dim);
  margin-bottom: 12px;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: var(--text-muted);
  font-size: 13px;
  transition: var(--t-fast);
  text-decoration: none;
}
.footer-col a:hover { color: var(--text-primary); text-decoration: none; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}

/* ── Pricing page — bundle card ───────────────────────── */
.bundle-card {
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--accent-tint), var(--bg-elevated));
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px);
  position: relative;
  text-align: center;
}
.bundle-card .badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #001423;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.bundle-card h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin-bottom: 8px;
}
.bundle-price {
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 800;
  line-height: 1;
  margin: 16px 0 8px;
  letter-spacing: -0.02em;
}
.bundle-price .unit {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0;
}
.bundle-card .lock-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.bundle-includes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin: 24px auto;
  max-width: 640px;
  text-align: left;
}
.bundle-includes li {
  list-style: none;
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 22px;
  position: relative;
}
.bundle-includes li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── Module pricing table ─────────────────────────────── */
.module-table-wrap {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.module-table {
  width: 100%;
  border-collapse: collapse;
}
.module-table th,
.module-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}
.module-table tr:last-child td { border-bottom: none; }
.module-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  background: var(--bg-hover);
  font-weight: 700;
}
.module-table .mod-name { font-weight: 600; font-size: 15px; }
.module-table .mod-name .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mod-color, var(--accent));
  margin-right: 10px;
  vertical-align: middle;
}
.module-table td.mod-price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  text-align: right;
}
.module-table td.mod-status {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.module-table td.mod-status.live {
  color: var(--status-success-fg);
}
.module-table td.mod-status.soon {
  color: var(--text-muted);
}
.module-table td.mod-cta { text-align: right; }

/* ── Seat explainer ───────────────────────────────────── */
.seat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}
.seat-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}
.seat-card.free {
  background: linear-gradient(135deg, var(--accent-tint), var(--bg-elevated));
  border-color: var(--accent);
}
.seat-card h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.seat-card.free h4 { color: var(--accent); }
.seat-card .who { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.seat-card .cost { font-family: var(--font-mono); font-size: 13px; color: var(--text-dim); }
.seat-card.free .cost { color: var(--accent-bright); font-weight: 700; }

.worked-example {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  max-width: 720px;
  margin: 32px auto 0;
  text-align: center;
}
.worked-example .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.worked-example .math {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.8;
}
.worked-example .math .total {
  color: var(--accent);
  font-weight: 700;
  font-size: 22px;
}

/* ── Add-ons ──────────────────────────────────────────── */
.addon-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.addon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  flex-wrap: wrap;
}
.addon-row .name { font-weight: 600; font-size: 15px; }
.addon-row .desc { color: var(--text-dim); font-size: 13px; margin-top: 4px; }
.addon-row .price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  white-space: nowrap;
}

/* ── FAQ accordion ────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--text-dim);
  transition: var(--t-fast);
}
.faq-item[open] summary::after { content: "−"; color: var(--accent); }
.faq-item .answer {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.65;
}
.faq-item .answer p + p { margin-top: 12px; }

/* ── Forms ────────────────────────────────────────────── */
.form-wrap {
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-row label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dim);
  font-weight: 700;
}
.form-row input,
.form-row textarea,
.form-row select {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: var(--t-fast);
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row.row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-row.row-grid > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-honeypot { position: absolute; left: -9999px; }
.form-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
}
.form-status.success {
  background: var(--status-success-bg);
  color: var(--status-success-fg);
  border: 1px solid var(--status-success-bd);
  display: block;
}
.form-status.error {
  background: var(--status-danger-bg);
  color: var(--status-danger-fg);
  border: 1px solid var(--status-danger-bd);
  display: block;
}

/* ── Legal draft banner ───────────────────────────────── */
.draft-banner {
  background: var(--status-warn-bg);
  color: var(--status-warn-fg);
  border-bottom: 1px solid var(--status-warn-bd);
  padding: 12px var(--section-pad-x);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── Generic prose (legal, about, etc.) ──────────────── */
.prose {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}
.prose h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 16px; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 40px 0 14px; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; }
.prose p { color: var(--text-secondary); font-size: 16px; margin-bottom: 16px; }
.prose ul, .prose ol { color: var(--text-secondary); padding-left: 24px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose .meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 24px;
}

/* ── Responsive ─────────────────────────────────────────
   Breakpoints:
     ≤ 860px  Tablet — hamburger appears, 3-col footer, bundle tightens
     ≤ 640px  Large phone — hide Sign In from nav, stack pricing rows as cards,
              2-col footer with brand on top, horizontal-scroll data tables
     ≤ 400px  Small phone — further tighten CTAs and brand
   ──────────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 28px 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-chrome);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px var(--section-pad-x);
    gap: 14px;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  /* Tighten vertical section rhythm */
  :root {
    --section-pad-y: clamp(40px, 8vw, 80px);
    --section-pad-x: 16px;
  }

  /* ── Nav: hide Sign In, shrink brand + CTA so hamburger stays visible ── */
  .nav-inner { padding: 10px 16px; gap: 10px; }
  .nav-brand { font-size: 15px; }
  .nav-brand img { width: 34px; height: 34px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn.ghost { display: none; }      /* Sign In hidden; available via app subdomain */
  .nav-actions .btn.primary { padding: 8px 12px; font-size: 13px; }
  .nav-actions .btn { min-height: 34px; }          /* icon + CTA + hamburger stay aligned */
  .nav-toggle { padding: 6px 9px; min-height: 34px; }

  /* ── Footer: 2×2 grid for link columns, brand row spans full width on top ── */
  .footer { padding: 32px 16px 24px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
    margin-bottom: 24px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: none; font-size: 13px; }
  .footer-col h4 { margin-bottom: 8px; font-size: 11px; }
  .footer-col li { margin-bottom: 6px; }
  .footer-bottom { font-size: 11px; gap: 6px; }

  /* ── Hero: stack CTAs, keep trust row horizontal-wrapping ── */
  .hero { padding: 48px 16px 32px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .trust-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    font-size: 11px;
  }
  .hero-visual { margin-top: 32px; border-radius: var(--radius-md); }

  /* ── Pricing module table: stack as cards ── */
  .module-table-wrap { overflow: visible; border-radius: var(--radius-md); }
  .module-table thead { display: none; }
  .module-table,
  .module-table tbody,
  .module-table tr {
    display: block;
    width: 100%;
  }
  .module-table tr {
    padding: 18px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .module-table tr:last-child { border-bottom: none; }
  .module-table td {
    display: block;
    padding: 0;
    border: none;
    text-align: left;
    vertical-align: middle;
  }
  .module-table td.mod-name { margin-bottom: 14px; font-size: 15px; }
  .module-table td.mod-name > div {
    margin-left: 18px !important;
    font-size: 12.5px !important;
    margin-top: 4px !important;
  }
  .module-table td.mod-price {
    display: inline-block;
    font-size: 20px;
    text-align: left;
    margin-right: 16px;
  }
  .module-table td.mod-cta {
    display: inline-block;
    text-align: left;
  }
  .module-table td.mod-cta .btn { padding: 8px 14px; font-size: 13px; }

  /* ── Comparison table (home): horizontal scroll ── */
  .comparison-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
  }
  .comparison-table { min-width: 560px; }
  .comparison-table th,
  .comparison-table td { padding: 12px 14px; font-size: 13px; }
  .comparison-note {
    font-size: 12px;
    padding: 0 8px;
  }

  /* ── Section heads ── */
  .section-head h2 { font-size: clamp(24px, 6vw, 32px); }
  .section-head p { font-size: 15px; }

  /* ── Bundle card: tighter, 2-col includes ── */
  .bundle-card { padding: 32px 20px; }
  .bundle-price { font-size: clamp(40px, 11vw, 56px); }
  .bundle-includes { grid-template-columns: 1fr 1fr; gap: 8px; }

  /* ── Band (free portals callout) ── */
  .band { padding: 48px 16px; }
  .band h2 { font-size: clamp(24px, 6.5vw, 36px); }
  .band p { font-size: 15px; }

  /* ── Forms stack ── */
  .form-row.row-grid { grid-template-columns: 1fr; gap: 14px; }
  .form-wrap { padding: 24px 18px; }

  /* ── Add-on rows stack vertically ── */
  .addon-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .addon-row .price { font-size: 14px; }

  /* ── FAQ ── */
  .faq-item summary { font-size: 15px; }

  /* ── Suite grid & seat grid adjust gap ── */
  .suite-grid { gap: 12px; }
  .seat-grid { gap: 12px; }

  /* ── CTA band ── */
  .cta-band { padding: 56px 16px; }
  .cta-band h2 { font-size: clamp(24px, 6.5vw, 36px); }
}

@media (max-width: 400px) {
  /* Extra-small phones (older Androids): further shrink nav CTA */
  .nav-actions .btn.primary { padding: 7px 10px; font-size: 12px; }
  .nav-brand { font-size: 14px; }
  .nav-brand img { width: 30px; height: 30px; }
  .nav-actions .btn { min-height: 30px; }
  .nav-toggle { min-height: 30px; padding: 5px 8px; }

  /* Footer: single column for links on the tiniest screens */
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-brand { grid-column: auto; }
}
