/* =========================================================================
   FMLens marketing website — shared stylesheet
   Design tokens follow the Color Bible (v1.0, 2026-05-21):
   dark "Deep Tech" is the default; light "Clarity Light" via [data-theme="light"].
   ========================================================================= */

/* ---- Self-hosted webfonts (drop WOFF2 files into /fonts/, then enable) ----
   Left commented so the build produces zero 404s until the font files exist.
   Uncomment once Inter-*.woff2 and JetBrainsMono-Regular.woff2 are added.

@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400;
  font-display: swap; src: url('/fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600;
  font-display: swap; src: url('/fonts/Inter-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 700;
  font-display: swap; src: url('/fonts/Inter-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400;
  font-display: swap; src: url('/fonts/JetBrainsMono-Regular.woff2') format('woff2');
}
*/

/* ===================== Theme tokens ===================== */

:root,
[data-theme="dark"] {
  --bg:            #0a0a0f;
  --bg-surface:    #12121a;
  --bg-raised:     #1a1a24;
  --bg-inset:      #07070b;
  --border:        #20222e;
  --border-strong: #2d3042;
  --text:          #e8e8ea;
  --text-secondary:#9aa0ad;
  --text-muted:    #6a6e7a;
  --primary:       #3b82f6;
  --primary-hover: #60a5fa;
  --primary-press: #2563eb;
  --on-primary:    #ffffff;
  --secondary:     #22d3ee;
  --coral:         #f43f5e;
  --coral-strong:  #e11d48;
  --amber:         #f59e0b;
  --gradient:      linear-gradient(110deg, #3b82f6 0%, #22d3ee 100%);
  --glow:          0 0 40px rgba(59,130,246,0.25);
  --success:       #34d399;
  --warning:       #fbbf24;
  --error:         #f87171;
  --info:          #60a5fa;
  --focus-ring:    0 0 0 3px rgba(59,130,246,0.45);
  --card-shadow:        0 1px 2px rgba(0,0,0,0.4);
  --card-shadow-hover:  0 8px 30px rgba(0,0,0,0.5);
  color-scheme: dark;

  /* Layout primitives (theme-independent) */
  --maxw: 1200px;
  --readw: 760px;
  --radius-card: 8px;
  --radius-btn: 6px;
  --radius-input: 4px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
}

[data-theme="light"] {
  --bg:            #f7f8fa;
  --bg-surface:    #ffffff;
  --bg-raised:     #ffffff;
  --bg-inset:      #f0f2f5;
  --border:        #e6e7eb;
  --border-strong: #d4d6dd;
  --text:          #15151a;
  --text-secondary:#4b5563;
  --text-muted:    #8a8d96;
  --primary:       #2563eb;
  --primary-hover: #1d4ed8;
  --primary-press: #1e40af;
  --on-primary:    #ffffff;
  --secondary:     #06b6d4;
  --coral:         #f43f5e;
  --coral-strong:  #e11d48;
  --amber:         #f59e0b;
  --gradient:      linear-gradient(110deg, #2563eb 0%, #06b6d4 100%);
  --glow:          0 8px 30px rgba(37,99,235,0.12);
  --success:       #059669;
  --warning:       #d97706;
  --error:         #dc2626;
  --info:          #2563eb;
  --focus-ring:    0 0 0 3px rgba(37,99,235,0.30);
  --card-shadow:        0 2px 10px rgba(0,0,0,0.05);
  --card-shadow-hover:  0 6px 20px rgba(0,0,0,0.08);
  color-scheme: light;
}

/* ===================== Reset / base ===================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--text); line-height: 1.2; margin: 0 0 16px; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

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

code, kbd, .mono { font-family: var(--font-mono); font-size: 0.92em; }

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

ul, ol { margin: 0 0 16px; padding-left: 1.4em; }
li { margin-bottom: 8px; }

hr { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 4px;
}

/* ===================== Skip link ===================== */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--primary);
  color: var(--on-primary);
  padding: 12px 16px;
  border-radius: 0 0 6px 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
  text-decoration: none;
  color: var(--on-primary);
}

/* ===================== Layout helpers ===================== */

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-surface); }

.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-head p { color: var(--text-secondary); font-size: 1.1rem; margin-top: 8px; }

.lede { font-size: 1.2rem; color: var(--text-secondary); }
.muted { color: var(--text-muted); }
.accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ===================== Buttons ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn-primary:active { background: var(--primary-press); }

.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--bg-raised); color: var(--text); border-color: var(--text-muted); }

.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* arrow text link */
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow .arrow { transition: transform 0.15s ease; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* ===================== Header / nav ===================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}

.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.15rem; color: var(--text); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; color: var(--text); }
.brand svg { width: 22px; height: 22px; color: var(--primary); flex: none; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--text-secondary); font-size: 0.95rem; font-weight: 500; }
.main-nav a:hover { color: var(--text); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-actions .signin { color: var(--text-secondary); font-size: 0.95rem; font-weight: 500; }
.header-actions .signin:hover { color: var(--text); text-decoration: none; }

/* theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--border-strong); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* mobile nav toggle */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border);
  border-radius: var(--radius-btn); color: var(--text); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ===================== Hero ===================== */

.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { margin-bottom: 32px; max-width: 540px; }
.hero-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero .btn-primary { box-shadow: var(--glow); }

.hero-visual {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-inset);
  box-shadow: var(--card-shadow-hover);
  overflow: hidden;
}
/* placeholder for the 3D Layout X-Ray screenshot */
.visual-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(59,130,246,0.18), transparent 45%),
    radial-gradient(circle at 75% 80%, rgba(34,211,238,0.14), transparent 45%),
    repeating-linear-gradient(0deg, transparent, transparent 31px, var(--border) 31px, var(--border) 32px),
    repeating-linear-gradient(90deg, transparent, transparent 31px, var(--border) 31px, var(--border) 32px);
}
.visual-placeholder .vp-label { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-secondary); }
.visual-placeholder .vp-sub { font-size: 0.8rem; color: var(--text-muted); }

/* ===================== Cards ===================== */

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.card-link:hover { box-shadow: var(--card-shadow-hover); border-color: var(--border-strong); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-secondary); }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: color-mix(in srgb, var(--primary) 16%, transparent);
  color: var(--primary);
  margin-bottom: 16px;
}
.card-icon svg { width: 22px; height: 22px; }
.card .learn-more { margin-top: 16px; display: inline-block; }

/* feature rows (differentiators) */
.feature-row { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 32px 0; border-top: 1px solid var(--border); }
.feature-row:last-child { border-bottom: 1px solid var(--border); }
.feature-row h3 { color: var(--text); }
.feature-row p { color: var(--text-secondary); margin: 0; }

/* spotlight sub-features */
.subfeatures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.subfeature { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg-surface); }
.subfeature .mono-tag { font-family: var(--font-mono); font-size: 0.8rem; color: var(--secondary); display: block; margin-bottom: 8px; }
.subfeature h4 { margin-bottom: 6px; }
.subfeature p { color: var(--text-secondary); font-size: 0.95rem; margin: 0; }

/* spotlight layout */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.spotlight.reverse .spotlight-text { order: 2; }

/* ===================== Pricing ===================== */

.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 16px; }
.billing-toggle .label { font-weight: 600; color: var(--text-secondary); }
.billing-toggle .label.active { color: var(--text); }
.save-badge {
  font-size: 0.8rem; font-weight: 600;
  color: var(--text); background: var(--amber);
  padding: 3px 9px; border-radius: 999px;
}
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track { position: absolute; inset: 0; background: var(--border-strong); border-radius: 999px; transition: background 0.15s; }
.switch .thumb { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform 0.15s; }
.switch input:checked + .track { background: var(--primary); }
.switch input:checked + .track + .thumb { transform: translateX(22px); }
.switch input:focus-visible + .track { box-shadow: var(--focus-ring); }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.tier {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex; flex-direction: column;
  height: 100%;
}
.tier.featured { border-color: var(--primary); box-shadow: var(--glow); position: relative; }
.tier .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--on-primary);
  font-size: 0.78rem; font-weight: 600; padding: 4px 12px; border-radius: 999px;
  white-space: nowrap;
}
.tier .tier-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.tier .tier-tagline { color: var(--text-muted); font-size: 0.9rem; min-height: 2.6em; margin-bottom: 16px; }
.tier .price { font-size: 2.1rem; font-weight: 700; letter-spacing: -0.02em; }
.tier .price .per { font-size: 0.95rem; font-weight: 400; color: var(--text-muted); }
.tier .price-sub { font-size: 0.85rem; color: var(--text-muted); min-height: 1.2em; margin-bottom: 20px; }
.tier .btn { margin-bottom: 20px; }
.tier ul { list-style: none; padding: 0; margin: 0; }
.tier li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--text-secondary); margin-bottom: 10px; }
.tier li svg { width: 16px; height: 16px; color: var(--success); flex: none; margin-top: 3px; }
.tier li.heading { color: var(--text); font-weight: 600; margin-top: 4px; }
.tier li.note { color: var(--text-muted); padding-left: 26px; }

/* pricing reassurance + founder line */
.pricing-extra { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 20px; }
.pricing-note { text-align: center; color: var(--text-secondary); font-size: 0.95rem; margin: 0; max-width: 660px; }
.founder-line {
  display: inline-flex; gap: 8px; align-items: center;
  background: color-mix(in srgb, var(--amber) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--amber) 40%, transparent);
  color: var(--text); font-size: 0.9rem; font-weight: 600;
  padding: 8px 16px; border-radius: 999px;
}

/* Enterprise full-width strip below the 4-up grid */
.tier-strip {
  margin-top: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  gap: 32px;
  align-items: center;
}
.tier-strip .ts-head .tier-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.tier-strip .ts-head .tier-tagline { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 8px; }
.tier-strip .price { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.tier-strip .price .per { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }
.tier-strip ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.tier-strip li { display: flex; gap: 8px; align-items: flex-start; font-size: 0.9rem; color: var(--text-secondary); margin: 0; }
.tier-strip li svg { width: 15px; height: 15px; color: var(--success); flex: none; margin-top: 3px; }

/* feature comparison matrix */
.matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius-card); }
.feature-matrix { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.9rem; }
.feature-matrix th, .feature-matrix td { padding: 11px 14px; text-align: center; border-bottom: 1px solid var(--border); }
.feature-matrix thead th { position: sticky; top: 0; background: var(--bg-raised); color: var(--text); font-weight: 700; z-index: 1; }
.feature-matrix thead th small { display: block; font-weight: 400; font-size: 0.78rem; color: var(--text-muted); }
.feature-matrix th.cap, .feature-matrix td.cap { text-align: left; }
.feature-matrix td.cap { color: var(--text-secondary); font-weight: 400; }
.feature-matrix tbody tr.cat td { background: var(--bg-inset); color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.76rem; text-align: left; }
.feature-matrix .featured-col { background: color-mix(in srgb, var(--primary) 9%, transparent); }
.fm-yes { color: var(--success); display: inline-flex; }
.fm-yes svg { width: 16px; height: 16px; }
.fm-no { color: var(--text-muted); }
.fm-demo { font-size: 0.72rem; font-weight: 600; color: var(--text); background: color-mix(in srgb, var(--amber) 22%, transparent); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.fm-txt { color: var(--text-secondary); font-size: 0.85rem; }

/* pricing teaser (landing) */
.teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.teaser {
  border: 1px solid var(--border); border-radius: var(--radius-card);
  background: var(--bg-surface); padding: 22px; text-align: center;
}
.teaser .t-name { font-weight: 700; margin-bottom: 4px; }
.teaser .t-price { font-size: 1.4rem; font-weight: 700; }
.teaser .t-price .per { font-size: 0.85rem; font-weight: 400; color: var(--text-muted); }
.teaser .t-desc { font-size: 0.85rem; color: var(--text-secondary); margin: 8px 0 0; }

/* persona cards */
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.persona { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg-surface); }
.persona h3 { margin-bottom: 8px; }
.persona p { color: var(--text-secondary); margin-bottom: 12px; }
.persona .tag { font-family: var(--font-mono); font-size: 0.85rem; color: var(--primary); }

/* ===================== FAQ ===================== */

.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--border); padding: 24px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item h3 { margin-bottom: 8px; font-size: 1.1rem; }
.faq-item p { color: var(--text-secondary); margin: 0; }

/* ===================== CTA band ===================== */

.cta-band { text-align: center; }
.cta-band .inner {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 64px 32px;
}
.cta-band h2 { margin-bottom: 24px; }
.cta-band .hero-cta { justify-content: center; }

/* ===================== Legal / prose pages ===================== */

.prose { max-width: var(--readw); margin: 0 auto; }
.prose h1 { margin-bottom: 8px; }
.prose .updated { color: var(--text-muted); font-size: 0.9rem; font-family: var(--font-mono); margin-bottom: 32px; }
.prose h2 { font-size: 1.4rem; margin-top: 40px; margin-bottom: 12px; }
.prose h3 { margin-top: 24px; }
.prose p, .prose li { color: var(--text-secondary); }
.prose strong { color: var(--text); }

.page-head { padding: 64px 0 8px; }

.callout {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0 0 32px;
}
.todo { color: var(--amber); font-family: var(--font-mono); font-size: 0.92em; }

/* click-to-reveal email button (anti-scraper) */
button.email-reveal {
  background: none; border: none; padding: 0; margin: 0;
  font: inherit; color: var(--primary); font-weight: 600; cursor: pointer;
}
button.email-reveal:hover { color: var(--primary-hover); text-decoration: underline; }
a.email-revealed { font-weight: 600; }

/* contact methods */
.contact-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.contact-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg-surface); }
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* welcome page */
.welcome-wrap { max-width: 620px; margin: 0 auto; text-align: center; padding: 96px 0; }
.welcome-wrap .check {
  width: 64px; height: 64px; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: color-mix(in srgb, var(--success) 18%, transparent); color: var(--success);
}
.welcome-wrap .check svg { width: 32px; height: 32px; }

/* ===================== Coming-soon landing ===================== */
body.coming-soon { display: flex; flex-direction: column; min-height: 100vh; }
.coming-soon main { flex: 1 0 auto; display: flex; align-items: center; }
.cs-inner { max-width: 660px; margin: 0 auto; text-align: center; padding: 72px 24px; }
.cs-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.4rem; color: var(--text); margin-bottom: 40px; }
.cs-brand svg { width: 28px; height: 28px; color: var(--primary); }
.cs-eyebrow { display: inline-block; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.cs-inner h1 { margin-bottom: 20px; }
.cs-inner .lede { margin-bottom: 16px; }
.cs-links { margin-top: 28px; font-weight: 600; }
.cs-footer { flex-shrink: 0; border-top: 1px solid var(--border); padding: 24px 0; text-align: center; }
.cs-footer p { margin: 0 0 6px; font-size: 0.88rem; color: var(--text-muted); }
.cs-footer a { color: var(--text-secondary); }

/* ===================== Footer ===================== */

.site-footer { background: var(--bg-surface); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-secondary); font-size: 0.92rem; }
.footer-col a:hover { color: var(--text); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; color: var(--text-muted); font-size: 0.88rem; }
.footer-bottom p { margin: 0 0 4px; }

/* ===================== Utilities ===================== */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack-lg > * + * { margin-top: 24px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===================== Responsive ===================== */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .spotlight { grid-template-columns: 1fr; gap: 32px; }
  .spotlight.reverse .spotlight-text { order: 0; }
  .grid-4, .pricing-grid, .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .main-nav, .header-actions .signin, .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header .container { gap: 12px; }

  /* mobile menu panel */
  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
  }
  .main-nav.open a { padding: 10px 0; font-size: 1.05rem; width: 100%; }
  .main-nav.open .mobile-only { display: block; }
  .mobile-only { display: none; }
  .main-nav.open .btn-primary { margin-top: 8px; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .grid-3, .subfeatures, .persona-grid, .contact-methods { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .tier-strip { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .tier-strip ul { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .section { padding: 48px 0; }
  .grid-4, .pricing-grid, .teaser-grid, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  .cta-band .inner { padding: 48px 24px; }
  .hero-cta { gap: 14px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
