/* Marketing site. Same palette and type as ats-web (which follows GitCharger's gc-advertise). */
:root {
  --primary: #9B2C4E;
  --primary-dark: #7A2240;
  --primary-bg: #FDF5F7;
  --text: #111827;
  --text-2: #4B5563;
  --muted: #6B7280;
  --line: #E5E7EB;
  --bg-alt: #F8FAFC;
  --green: #15803D;
  --green-bg: #DCFCE7;
  --amber: #B45309;
  --amber-bg: #FEF3C7;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: Inter, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: var(--text); background: #fff; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.narrow { max-width: 680px; margin-left: auto; margin-right: auto; }

/* ─── Buttons (same as gc-advertise's landing page: 6px corners, medium weight) ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 500; font-size: 0.875rem; padding: 10px 22px; border-radius: 6px; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; line-height: 1.4; }
.btn:hover { text-decoration: none; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(21,101,192,.35); outline-offset: 2px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: #D1D5DB; color: #1A1A1A; background: #fff; }
.btn-outline:hover { border-color: #9CA3AF; }
.btn-ghost { color: #374151; padding: 10px 16px; }
.btn-ghost:hover { color: var(--primary); }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-white:hover { background: #F3F4F6; }
.btn-lg { padding: 12px 28px; font-size: 0.9375rem; }
.btn-block { width: 100%; }

/* ─── Header ─── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.0625rem; color: var(--text); letter-spacing: -0.01em; }
.logo:hover { text-decoration: none; }
.logo.small { font-size: 1rem; }
.accent { color: var(--primary); }
.brand-mark { width: 32px; height: 32px; border-radius: 7.5px; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 19px; line-height: 1; }
.brand-wordmark { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: -0.015em; }
.site-nav { display: flex; gap: 24px; flex: 1; }
.site-nav a { color: var(--text-2); font-size: 0.9375rem; font-weight: 500; }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.nav-signin { display: none; }
.header-cta { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; border-radius: 8px; color: var(--text); cursor: pointer; }

/* ─── Hero ─── */
.hero { padding: 72px 0 56px; background: radial-gradient(1200px 500px at 85% -10%, #DBEAFE 0%, rgba(219,234,254,0) 60%), linear-gradient(#fff, #fff); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-grid > *, .split > *, .features > *, .plans > * { min-width: 0; }
.eyebrow { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-bottom: 14px; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.07; letter-spacing: -0.035em; font-weight: 800; margin-bottom: 20px; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; margin-bottom: 16px; }
h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.lead { font-size: 1.1875rem; color: var(--text-2); max-width: 560px; margin-bottom: 28px; }
.lead-sm { font-size: 1.0625rem; color: var(--text-2); margin-bottom: 24px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.ticks { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.875rem; color: var(--muted); }
.ticks li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: 6px; }

/* product mock (pure HTML/CSS, mirrors the real board) */
.hero-visual { position: relative; padding-bottom: 40px; }
.mock-window { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(15,23,42,.25), 0 8px 20px -8px rgba(15,23,42,.1); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #F9FAFB; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #E5E7EB; }
.mock-bar em { font-style: normal; font-size: 0.75rem; font-weight: 600; color: var(--text-2); margin-left: 10px; }
.mock-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; background: #FAFAFA; }
.mock-col { background: #F3F4F6; border-radius: 10px; padding: 8px; min-height: 200px; }
.mock-col-head { display: flex; justify-content: space-between; font-size: 0.6875rem; font-weight: 600; color: var(--text-2); padding: 2px 4px 8px; }
.mock-col-head b { font-weight: 500; color: var(--muted); }
.mock-card { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px; margin-bottom: 6px; }
.mock-card div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mock-card strong { font-size: 0.6875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-card small { font-size: 0.625rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-card small.tag { color: #1E40AF; }
.av { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 0.5625rem; font-weight: 600; display: flex; align-items: center; justify-content: center; flex: none; }
.pill { font-size: 0.6875rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.pill.high { background: var(--green-bg); color: #166534; }
.pill.mid { background: var(--amber-bg); color: #92400E; }
.mock-float, .evidence-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: 0 20px 40px -16px rgba(15,23,42,.3); }
.mock-float { position: absolute; right: -12px; bottom: -8px; width: 320px; }
.float-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.8125rem; margin-bottom: 8px; }
.req { display: flex; gap: 8px; padding: 7px 0; border-top: 1px solid #F3F4F6; font-size: 0.75rem; }
.req small { font-size: 0.5625rem; font-weight: 700; color: var(--muted); margin-right: 4px; letter-spacing: .04em; }
.req em { display: block; color: var(--text-2); margin-top: 2px; }
.req .ok { color: #16A34A; font-weight: 700; }
.req .part { color: #D97706; font-weight: 700; }
.req .miss { color: #9CA3AF; font-weight: 700; }
.float-foot { font-size: 0.6875rem; color: var(--muted); margin-top: 8px; }

/* ─── Strip ─── */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); padding: 28px 0; }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; font-size: 0.9375rem; color: var(--text-2); }
.strip-grid strong { color: var(--text); margin-right: 4px; }

/* ─── Sections ─── */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.eyebrow.center { text-align: center; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.feature:hover { border-color: #BFDBFE; box-shadow: 0 10px 30px -12px rgba(21,101,192,.25); transform: translateY(-2px); }
.feature p { color: var(--text-2); font-size: 0.9375rem; }
.f-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.f-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.f-icon.blue { background: #DBEAFE; color: #1D4ED8; }
.f-icon.purple { background: #EDE9FE; color: #6D28D9; }
.f-icon.green { background: #DCFCE7; color: #15803D; }
.f-icon.orange { background: #FFEDD5; color: #C2410C; }
.f-icon.teal { background: #CCFBF1; color: #0F766E; }
.f-icon.red { background: #FEE2E2; color: #B91C1C; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; display: grid; gap: 16px; }
.checks li { padding-left: 32px; position: relative; color: var(--text-2); }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-bg); color: var(--green); font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.checks strong { color: var(--text); }
/* A note after a checklist needs air, or it reads as another bullet: the global * { margin: 0 }
   leaves it flush against the last item. 20px clears the list's own 16px gap. */
.checks + .muted { margin-top: 20px; }
.evidence-card { padding: 22px; }
.evidence-card .req { font-size: 0.8125rem; padding: 10px 0; }

.fair-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.fair { border-top: 3px solid var(--primary); padding-top: 18px; }
.fair p { color: var(--text-2); font-size: 0.9375rem; }

/* ─── Pricing ─── */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; align-items: stretch; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, 1fr); } }
.plan .yearly { font-size: 0.8125rem; color: var(--text-2); margin-top: -4px; margin-bottom: 16px; }
/* Monthly / Yearly switch above the plans (shown by main.js) */
.billing-toggle { display: flex; width: max-content; max-width: 100%; margin: 36px auto 0; padding: 4px; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.billing-toggle[hidden] { display: none; }
.billing-toggle button { font: inherit; font-size: 0.875rem; font-weight: 500; color: var(--text-2); background: none; border: 0; border-radius: 6px; padding: 8px 18px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.billing-toggle button:hover { color: var(--text); }
.billing-toggle button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.billing-toggle button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.billing-toggle em { font-style: normal; font-size: 0.75rem; font-weight: 600; color: var(--green); background: var(--green-bg); border-radius: 4px; padding: 1px 6px; }
.billing-toggle button[aria-pressed="true"] em { color: var(--primary-dark); background: #fff; }
.billing-toggle:not([hidden]) + .plans { margin-top: 32px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 22px; position: relative; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--primary); box-shadow: 0 24px 50px -20px rgba(21,101,192,.35); }
.badge { position: absolute; top: -12px; left: 28px; background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 6px; }
.plan h3 { font-size: 1.25rem; margin-bottom: 2px; }
.plan-for { color: var(--muted); font-size: 0.875rem; margin-bottom: 20px; }
.price { color: var(--muted); margin-bottom: 20px; }
.price span { font-size: 2.75rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; margin-right: 2px; }
.plan ul { list-style: none; margin-top: 24px; display: grid; gap: 10px; font-size: 0.9375rem; color: var(--text-2); }
.plan li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: 8px; }
.addon { margin-top: 28px; color: var(--text-2); font-size: 0.9375rem; }

/* ─── FAQ ─── */
.faq-wrap { max-width: 760px; }
.faq-wrap h2 { margin-bottom: 32px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 600; font-size: 1.0625rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; font-weight: 400; color: var(--muted); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--text-2); padding: 0 0 20px; }

/* ─── CTA + footer ─── */
.cta-band { background: linear-gradient(120deg, #7A2240, #9B2C4E 55%, #1E88E5); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.5rem, 3vw, 2.125rem); }
.cta-band p { color: #DBEAFE; font-size: 1.0625rem; }
.site-footer { padding: 56px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 40px; }
.footer-grid p { font-size: 0.875rem; margin-top: 12px; max-width: 320px; }
.footer-grid h4 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.footer-grid a:not(.logo) { display: block; color: var(--text-2); font-size: 0.9375rem; margin-bottom: 8px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); }

/* ─── Responsive ─── */
@media (max-width: 1000px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .mock-float { right: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .fair-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; box-shadow: 0 12px 24px -12px rgba(0,0,0,.15); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid #F3F4F6; }
  .nav-signin { display: block; }
  .menu-toggle { display: inline-flex; }
  .hide-sm { display: none; }
  .header-row { justify-content: space-between; }
  .plans, .strip-grid { grid-template-columns: 1fr; }
  .plan.featured { order: -1; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 64px 0; }
  .features, .fair-grid { grid-template-columns: 1fr; }
  .mock-board { grid-template-columns: 1fr 1fr; }
  .mock-col:nth-child(3) { display: none; }
  .mock-float { position: relative; width: auto; margin: -24px 8px 0; }
  .hero-visual { padding-bottom: 0; }
  .header-cta .btn-primary { padding: 8px 14px; font-size: 0.8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feature, .btn { transition: none; }
}

/* ─── Inner pages ─── */
.site-nav a[aria-current="page"] { color: var(--primary); }
.page-hero { padding: 64px 0 32px; background: radial-gradient(900px 360px at 90% -20%, #DBEAFE 0%, rgba(219,234,254,0) 60%); }
.page-hero.center, .page-hero.center .lead { text-align: center; margin-left: auto; margin-right: auto; }
.page-hero .lead { max-width: 720px; margin-bottom: 8px; }
.section.tight { padding: 56px 0; }
.narrow-wrap { max-width: 800px; }
.h1-sm { font-size: clamp(1.875rem, 4vw, 2.5rem); }
.h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.small { font-size: 0.875rem; }
.split.top { align-items: start; }
.center-row { justify-content: center; }
.center-block { text-align: center; padding: 96px 16px; }

.jump { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.jump a { font-size: 0.875rem; font-weight: 500; color: var(--text-2); border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 6px 12px; }
.jump a:hover { color: var(--primary); border-color: #BFDBFE; text-decoration: none; }

.prose h2 { font-size: 1.375rem; margin: 32px 0 10px; }
.prose p { color: var(--text-2); margin-bottom: 14px; font-size: 1.0625rem; }

.how { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0 24px; counter-reset: how; }
.how li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.how b { display: inline-flex; width: 32px; height: 32px; border-radius: 8px; background: var(--primary-bg); color: var(--primary); align-items: center; justify-content: center; font-weight: 700; margin-bottom: 14px; }
.how p { color: var(--text-2); font-size: 0.9375rem; }

.security-strip { background: #0F172A; color: #E2E8F0; padding: 40px 0; }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.strip-inner > div { max-width: 760px; }
.security-strip h2 { color: #fff; }
.security-strip p { color: #CBD5E1; }
.security-strip .btn-outline { background: transparent; color: #fff; border-color: #475569; }
.security-strip .btn-outline:hover { border-color: #94A3B8; }

.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.trust { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.trust p { color: var(--text-2); font-size: 0.9375rem; }
.card-plain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card-plain p { color: var(--text-2); margin-bottom: 10px; }
.status-list { list-style: none; display: grid; gap: 10px; }
.status-list li { color: var(--text-2); display: flex; gap: 10px; align-items: baseline; }
.st { flex: none; font-size: 0.75rem; font-weight: 600; border-radius: 6px; padding: 2px 8px; }
.st.done { background: var(--green-bg); color: #166534; }
.st.next { background: #F1F5F9; color: #475569; }

.steps-list { padding-left: 20px; display: grid; gap: 12px; color: var(--text-2); }
.steps-list strong { color: var(--text); }

.shot-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px -16px rgba(15,23,42,.3); }
.shot-bar { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 0.875rem; }
.shot-bar b { color: #7C2D12; }
.shot-bar span { color: var(--muted); font-size: 0.8125rem; }
.shot-hero { background: #7C2D12; color: #fff; font-weight: 700; font-size: 1.125rem; padding: 22px 16px; }
.shot-row { display: flex; flex-direction: column; margin: 10px 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.shot-row strong { font-size: 0.875rem; }
.shot-row small { font-size: 0.75rem; color: var(--muted); }
.bar-mini { display: grid; grid-template-columns: 80px 1fr 32px; gap: 10px; align-items: center; font-size: 0.8125rem; padding: 6px 0; }
.bar-mini i { display: block; height: 8px; border-radius: 4px; background: var(--primary); }
.bar-mini b { text-align: right; }
.roadmap { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.roadmap span { background: #fff; border: 1px dashed #CBD5E1; border-radius: 6px; padding: 8px 14px; font-size: 0.875rem; color: var(--text-2); }

.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 32px; font-size: 0.9375rem; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid #F1F5F9; text-align: center; }
.compare th:first-child { text-align: left; font-weight: 500; color: var(--text-2); }
.compare thead th { font-weight: 700; color: var(--text); background: #F8FAFC; }
.compare tr.group th { background: #F8FAFC; font-size: 0.75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.compare td { color: var(--green); font-weight: 600; }
.table-scroll { overflow-x: auto; }
/* The source note under a comparison table, which * { margin: 0 } leaves flush against the
   last row so it reads as one more row. 12px is enough to read as a caption. */
.table-scroll + .muted { margin-top: 12px; }

.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.contact-card p { color: var(--text-2); font-size: 0.9375rem; }
.contact-card .btn { align-self: flex-start; margin-top: 4px; }

.demo-form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: 0 24px 50px -24px rgba(15,23,42,.25); display: grid; gap: 14px; }
.demo-form label { display: grid; gap: 6px; font-size: 0.875rem; font-weight: 500; }
.demo-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demo-form.sent p { color: var(--text-2); line-height: 1.6; }
/* Turnstile's widget is 300x65; the height is held so the button doesn't jump when it appears. Empty when no site key is set. */
.demo-form .turnstile:not(:empty) { min-height: 65px; }
.demo-form input, .demo-form select, .demo-form textarea { font: inherit; font-size: 0.9375rem; font-weight: 400; padding: 10px 12px; border: 1.5px solid #D1D5DB; border-radius: 6px; background: #fff; color: var(--text); }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(21,101,192,.15); }
.form-note { margin: 0; }

/* legal documents */
.doc { padding: 48px 0 80px; }
.doc-wrap { max-width: 800px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 6px; }
.doc-meta { color: var(--muted); font-size: 0.875rem; margin-bottom: 28px; }
.doc h2 { font-size: 1.25rem; margin: 32px 0 10px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--text-2); }
.doc p { margin-bottom: 12px; }
.doc ul { padding-left: 22px; display: grid; gap: 8px; margin-bottom: 12px; }
.doc strong { color: var(--text); }
.draft-note { background: var(--amber-bg); color: #78350F; border: 1px solid #FCD34D; border-radius: 8px; padding: 10px 14px; font-size: 0.875rem; margin-bottom: 24px; }
.draft-note strong { color: #78350F; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; margin: 8px 0 16px; }
.doc-table th, .doc-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; color: var(--text-2); }
.doc-table thead th, .doc-table tbody th { background: #F8FAFC; color: var(--text); font-weight: 600; }

.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .how, .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .header-cta .btn-outline.hide-sm { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .how, .contact-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 40px 0 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* compare (vs pages) */
.compare.vs td { color: var(--text-2); font-weight: 400; text-align: left; }
.compare.vs td.us { color: var(--text); font-weight: 600; }
.compare.vs thead th { text-align: left; }
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0 20px; }
.vs-grid h2, .switch h2 { font-size: 1.125rem; margin-bottom: 10px; }
.ticks, .plain { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; color: var(--text-2); font-size: 0.9375rem; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.plain li { padding-left: 16px; position: relative; }
.plain li::before { content: '–'; position: absolute; left: 0; color: var(--muted); }
.switch { margin-bottom: 16px; }
.switch .btn { margin: 6px 8px 0 0; }
.compare-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 20px; }
.compare-card { color: inherit; display: grid; gap: 6px; transition: border-color .15s, box-shadow .15s; }
.compare-card:hover { text-decoration: none; border-color: #BFDBFE; box-shadow: 0 4px 14px rgba(15, 23, 42, .06); }
.compare-card h3 { font-size: 1.125rem; }
.compare-card .link { color: var(--primary); font-weight: 600; font-size: 0.875rem; }

/* status */
.narrow-wrap { max-width: 760px; }
.status-summary { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--line);
                  background: #fff; font-weight: 600; font-size: 1.0625rem; margin-bottom: 16px; }
.status-summary .dot, .status-parts .dot { width: 12px; height: 12px; border-radius: 50%; background: #9CA3AF; flex: none; }
.status-summary[data-state="operational"] { background: var(--green-bg); border-color: #BBF7D0; color: #14532D; }
.status-summary[data-state="operational"] .dot, .status-parts [data-state="operational"] .dot { background: #16A34A; }
.status-summary[data-state="degraded"], .status-summary[data-state="unreachable"] { background: var(--amber-bg); border-color: #FDE68A; color: #78350F; }
.status-summary[data-state="degraded"] .dot, .status-summary[data-state="unreachable"] .dot, .status-parts [data-state="down"] .dot { background: #D97706; }
.status-parts { list-style: none; margin: 0 0 8px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.status-parts li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid #F1F5F9; }
.status-parts li:first-child { border-top: 0; }
.status-parts .state { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--text-2); }
.status-parts:empty { display: none; }

@media (max-width: 760px) { .vs-grid { grid-template-columns: 1fr; } }
