/* IVRC public sales site — one stylesheet, system font stack, no third-party assets.
   Token VALUES mirror control-plane/frontend/packages/design-system/src/styles/tokens.css
   (brand spectrum, surfaces, radii, shadows, motion) so the site and the consoles read as one product. */

:root {
  --ivrc-cyan: #19c2ff; --ivrc-cyan-deep: #0a8fd6; --ivrc-violet: #7c5cff; --ivrc-violet-deep: #5a3fe0;
  --ivrc-magenta: #ff5fa8; --ivrc-signal: #37f2c2; --ivrc-amber: #ffb547; --ivrc-red: #ff5d5d;
  --ivrc-gradient: linear-gradient(135deg, var(--ivrc-cyan) 0%, var(--ivrc-violet) 55%, var(--ivrc-magenta) 100%);
  --font-sans: "SF Pro Text", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --text-sm: 0.8125rem; --text-md: 0.9375rem; --text-lg: 1.0625rem; --text-xl: 1.25rem; --text-2xl: 1.5rem; --text-3xl: 1.875rem; --text-4xl: 2.5rem; --text-5xl: 3.25rem;
  --leading-tight: 1.15; --leading-normal: 1.55;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px; --space-20: 80px;
  --radius-sm: 6px; --radius-md: 8px; --radius-lg: 12px; --radius-xl: 16px; --radius-2xl: 24px; --radius-pill: 999px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --dur-fast: 120ms; --dur-base: 200ms; --dur-slow: 360ms;
  --content-max: 1200px; --narrow-max: 820px;
  --bg-canvas: #f4f5f9; --bg-surface: #ffffff; --bg-surface-2: #f8f9fc; --bg-surface-3: #eef0f6; --bg-inset: #e9ebf2;
  --bg-sidebar: #0f1426; --bg-sidebar-2: #151b33;
  --fg: #12172b; --fg-muted: #4d5673; --fg-subtle: #7b83a1; --fg-on-brand: #ffffff;
  --border: #dfe2ec; --border-strong: #c7cbdb; --border-hairline: rgba(18, 23, 43, 0.08);
  --accent: #4d5cff; --accent-hover: #3c4be6; --accent-soft: rgba(77, 92, 255, 0.10); --accent-ring: rgba(77, 92, 255, 0.35);
  --ok: #148f6a; --ok-soft: rgba(20, 143, 106, 0.12); --warn: #b26a00; --warn-soft: rgba(178, 106, 0, 0.12);
  --shadow-1: 0 1px 2px rgba(18, 23, 43, 0.06), 0 1px 1px rgba(18, 23, 43, 0.04);
  --shadow-2: 0 4px 12px rgba(18, 23, 43, 0.08), 0 1px 2px rgba(18, 23, 43, 0.06);
  --shadow-3: 0 16px 40px rgba(18, 23, 43, 0.14), 0 2px 6px rgba(18, 23, 43, 0.08);
  --glow-brand: 0 0 0 1px rgba(77, 92, 255, 0.25), 0 8px 30px rgba(77, 92, 255, 0.18);
  --fx-aurora-a: rgba(25, 194, 255, 0.18); --fx-aurora-b: rgba(124, 92, 255, 0.16); --fx-aurora-c: rgba(255, 95, 168, 0.10);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg-canvas: #0b0e1a; --bg-surface: #12162a; --bg-surface-2: #171c33; --bg-surface-3: #1d2340; --bg-inset: #0e1224;
    --fg: #e8ebf7; --fg-muted: #a5acc9; --fg-subtle: #737b9c;
    --border: #232a48; --border-strong: #303860; --border-hairline: rgba(232, 235, 247, 0.08);
    --accent: #7c8cff; --accent-hover: #93a0ff; --accent-soft: rgba(124, 140, 255, 0.14); --accent-ring: rgba(124, 140, 255, 0.45);
    --ok: #3ddc9f; --ok-soft: rgba(61, 220, 159, 0.14); --warn: #ffb547; --warn-soft: rgba(255, 181, 71, 0.14);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.5); --shadow-2: 0 4px 14px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-3: 0 18px 48px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
    --glow-brand: 0 0 0 1px rgba(124, 140, 255, 0.3), 0 8px 34px rgba(124, 140, 255, 0.22);
    --fx-aurora-a: rgba(25, 194, 255, 0.22); --fx-aurora-b: rgba(124, 92, 255, 0.24); --fx-aurora-c: rgba(255, 95, 168, 0.14);
  }
}
@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur-base: 0ms; --dur-slow: 0ms; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .cf-pulse { display: none; }
}

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); font-size: var(--text-md); line-height: var(--leading-normal); color: var(--fg); background: var(--bg-canvas); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { line-height: var(--leading-tight); margin: 0 0 var(--space-3); letter-spacing: -0.01em; font-weight: 700; }
h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); letter-spacing: -0.02em; }
h2 { font-size: clamp(var(--text-2xl), 3.2vw, var(--text-3xl)); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
p { margin: 0 0 var(--space-4); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--accent-hover); }
ul, ol { margin: 0; padding: 0; }
img, svg { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; border-radius: var(--radius-sm); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--space-4); top: -60px; padding: var(--space-3) var(--space-4); background: var(--accent); color: var(--fg-on-brand); border-radius: var(--radius-md); z-index: 100; transition: top var(--dur-fast); }
.skip-link:focus { top: var(--space-4); }
.wrap { width: 100%; max-width: var(--content-max); margin: 0 auto; padding: 0 var(--space-4); }
.wrap--narrow { max-width: var(--narrow-max); }
.lead { font-size: var(--text-lg); color: var(--fg-muted); max-width: 62ch; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--text-sm); font-weight: 600; color: var(--accent); margin-bottom: var(--space-3); }
.meta, .hint { color: var(--fg-subtle); font-size: var(--text-sm); }
.empty { padding: var(--space-6); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); color: var(--fg-muted); text-align: center; }
.prose p { max-width: 70ch; }
.prose h2 { margin-top: var(--space-8); font-size: var(--text-xl); }

/* ---- buttons (44px targets) ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-5); border-radius: var(--radius-pill); font-weight: 600; font-size: var(--text-md); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base), background var(--dur-base), color var(--dur-base); white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--fg-on-brand); box-shadow: var(--shadow-2); }
.btn-primary:hover { background: var(--accent-hover); color: var(--fg-on-brand); box-shadow: var(--glow-brand); }
.btn-secondary { background: var(--bg-surface); color: var(--fg); border-color: var(--border-strong); box-shadow: var(--shadow-1); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
/* Log in: the way back for every existing customer, so it must never be easy to miss —
   accent-coloured and outlined next to the filled "Get started", on every screen size. */
.btn-login { background: var(--accent-soft); color: var(--accent); border: 2px solid var(--accent); font-weight: 700; }
.btn-login:hover { background: var(--accent); color: var(--fg-on-brand); border-color: var(--accent); }
.mobile-login { display: none; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.btn-lg { min-height: 52px; padding: 0 var(--space-8); font-size: var(--text-lg); }
.btn-disabled { background: var(--bg-inset); color: var(--fg-subtle); cursor: not-allowed; }
.btn-disabled:hover { transform: none; }

/* ---- header ---- */
.site-banner { background: var(--bg-sidebar); color: #e8ebf7; font-size: var(--text-sm); }
.site-banner .wrap { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: center; min-height: 40px; padding-top: var(--space-2); padding-bottom: var(--space-2); }
.site-banner--promo { background: var(--ivrc-gradient); color: #fff; }
.banner-cta { color: inherit; font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.promo-code { display: inline-block; padding: 2px var(--space-2); border-radius: var(--radius-sm); background: rgba(255,255,255,0.18); font-weight: 700; letter-spacing: 0.04em; }
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg-surface) 88%, transparent); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--border-hairline); }
.header-row { display: flex; align-items: center; gap: var(--space-6); min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-2); text-decoration: none; color: var(--fg); font-weight: 800; font-size: var(--text-xl); letter-spacing: -0.02em; min-height: 44px; }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--ivrc-gradient); box-shadow: var(--shadow-1); position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 7px; border-radius: 4px; background: rgba(255,255,255,0.9); }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: var(--space-1); list-style: none; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-3); border-radius: var(--radius-md); color: var(--fg-muted); text-decoration: none; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--fg); background: var(--accent-soft); }
.header-actions { display: flex; gap: var(--space-2); }
.mobile-menu { display: none; margin-left: auto; position: relative; }
.mobile-menu summary { list-style: none; display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-3); border-radius: var(--radius-md); border: 1px solid var(--border); cursor: pointer; font-weight: 600; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.burger { width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; display: inline-block; }
.mobile-menu nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-3); padding: var(--space-2); }
.mobile-menu nav ul { list-style: none; display: grid; gap: var(--space-1); }
.mobile-menu nav a { display: flex; align-items: center; min-height: 44px; padding: 0 var(--space-3); border-radius: var(--radius-md); color: var(--fg); text-decoration: none; }
.mobile-menu nav a:hover { background: var(--accent-soft); }
.mobile-menu nav a.btn { justify-content: center; margin-top: var(--space-1); }
.mobile-menu nav a.btn-primary { color: var(--fg-on-brand); }
.mobile-menu nav a.btn-primary:hover { background: var(--accent-hover); }
.mobile-menu-login { font-size: var(--text-lg); min-height: 52px; }

/* ---- sections ---- */
.section { padding: var(--space-16) 0; }
.section--first { padding-top: var(--space-12); }
.section--alt { background: var(--bg-surface-2); border-top: 1px solid var(--border-hairline); border-bottom: 1px solid var(--border-hairline); }
.section-head { margin-bottom: var(--space-10); }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-more { margin-top: var(--space-8); text-align: center; display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding: var(--space-16) 0 var(--space-12); }
.hero-bg { position: absolute; inset: -20% -10% auto; height: 120%; background:
  radial-gradient(60% 50% at 20% 30%, var(--fx-aurora-a), transparent 70%),
  radial-gradient(50% 45% at 75% 20%, var(--fx-aurora-b), transparent 70%),
  radial-gradient(40% 40% at 60% 80%, var(--fx-aurora-c), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--space-12); align-items: center; }
.hero-copy .lead { font-size: var(--text-xl); }
.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin: var(--space-8) 0 var(--space-6); }
.proof { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); color: var(--fg-muted); font-size: var(--text-sm); }
.proof li::before { content: "\2713"; color: var(--ok); font-weight: 700; margin-right: var(--space-2); }
.hero-visual { position: relative; min-height: 360px; perspective: 1200px; }
.phone-card { position: absolute; width: 240px; padding: var(--space-5); border-radius: var(--radius-xl); background: var(--bg-surface); box-shadow: var(--shadow-3); border: 1px solid var(--border-hairline); display: grid; gap: var(--space-3); transform-style: preserve-3d; animation: float 7s ease-in-out infinite; }
.phone-card--a { top: 8%; left: 4%; transform: rotateY(-12deg) rotateX(6deg); }
.phone-card--b { top: 34%; left: 34%; transform: rotateY(-8deg) rotateX(4deg); animation-delay: -2.5s; z-index: 2; }
.phone-card--c { top: 62%; left: 10%; transform: rotateY(-14deg) rotateX(8deg); animation-delay: -5s; }
.pc-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--ivrc-signal); box-shadow: 0 0 0 6px rgba(55, 242, 194, 0.18); }
.pc-line { height: 10px; border-radius: 5px; background: var(--bg-inset); width: 80%; }
.pc-line--short { width: 50%; }
.pc-tag { font-size: var(--text-sm); font-weight: 600; color: var(--fg-muted); }
.pc-keys { display: flex; gap: var(--space-2); }
.pc-keys i { width: 34px; height: 34px; border-radius: var(--radius-md); background: var(--bg-surface-3); display: grid; place-items: center; font-style: normal; font-weight: 700; color: var(--accent); }
.pc-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ivrc-gradient); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---- feature tiles / rows ---- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.feature-tile { background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-xl); padding: var(--space-6); box-shadow: var(--shadow-1); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base); }
.feature-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.feature-tile h3 { font-size: var(--text-lg); }
.feature-tile h3 a { color: inherit; text-decoration: none; }
.feature-tile h3 a:hover { color: var(--accent); }
.feature-tile p { color: var(--fg-muted); margin: 0; }
.icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-lg); background: var(--accent-soft); margin-bottom: var(--space-4); position: relative; }
.icon::before { content: ""; width: 20px; height: 20px; border-radius: 4px; background: var(--accent); mask-size: contain; -webkit-mask-size: contain; }
.icon--phone::before { border-radius: 50% 50% 50% 4px; }
.icon--menu::before { width: 22px; height: 16px; background: repeating-linear-gradient(to bottom, var(--accent) 0 3px, transparent 3px 6.5px); }
.icon--people::before { border-radius: 50%; box-shadow: 10px 6px 0 -3px var(--accent); }
.icon--forward::before { clip-path: polygon(0 35%, 55% 35%, 55% 10%, 100% 50%, 55% 90%, 55% 65%, 0 65%); }
.icon--voicemail::before { width: 24px; height: 12px; border-radius: 6px; background: linear-gradient(var(--accent), var(--accent)) center/100% 3px no-repeat, radial-gradient(circle, var(--accent) 5px, transparent 5.5px) left/12px 12px no-repeat, radial-gradient(circle, var(--accent) 5px, transparent 5.5px) right/12px 12px no-repeat; }
.icon--globe::before { border-radius: 50%; background: radial-gradient(circle at 35% 35%, transparent 4px, var(--accent) 4.5px); }
.feature-group { margin-bottom: var(--space-10); }
.feature-rows { list-style: none; display: grid; gap: var(--space-3); }
.feature-row { display: grid; grid-template-columns: 1fr auto; gap: var(--space-4); align-items: start; padding: var(--space-5); background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.feature-row--highlight { border-color: var(--accent-ring); }
.feature-row h3 { font-size: var(--text-lg); margin-bottom: var(--space-1); }
.feature-row p { margin: 0; color: var(--fg-muted); }
.feature-row-plans { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-1); justify-content: flex-end; max-width: 320px; }
.tag { display: inline-block; padding: 2px var(--space-2); border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: 600; background: var(--bg-surface-3); color: var(--fg-muted); vertical-align: middle; }
.tag--new { background: var(--ok-soft); color: var(--ok); }
.tag--plan { background: var(--accent-soft); color: var(--accent); }
.tag--coming_soon { background: var(--warn-soft); color: var(--warn); }
.tag--add_on { background: var(--bg-surface-3); color: var(--fg-muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: var(--text-sm); color: var(--fg-subtle); margin-bottom: var(--space-5); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-2); }
.plan-inclusion { list-style: none; display: grid; gap: var(--space-2); margin-bottom: var(--space-6); }
.plan-inclusion li { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) var(--space-4); background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-md); flex-wrap: wrap; }
.plan-inclusion .cell-note { flex-basis: 100%; }

/* ---- steps / trust ---- */
.steps { list-style: none; display: grid; gap: var(--space-4); counter-reset: step; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: var(--space-4); padding: var(--space-5); background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-xl); box-shadow: var(--shadow-1); }
.step-num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ivrc-gradient); color: #fff; font-weight: 800; box-shadow: var(--shadow-2); }
.step h3 { font-size: var(--text-lg); margin-bottom: var(--space-1); }
.step p { margin: 0; color: var(--fg-muted); }
.trust-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.trust-list li { padding: var(--space-6); border-radius: var(--radius-xl); background: linear-gradient(180deg, var(--bg-surface), var(--bg-surface-2)); border: 1px solid var(--border-hairline); box-shadow: var(--shadow-1); }
.trust-list h3 { font-size: var(--text-lg); }
.trust-list p { margin: 0; color: var(--fg-muted); }
.mini-steps { padding-left: 1.2em; display: grid; gap: var(--space-2); color: var(--fg-muted); }

/* ---- call flow ---- */
.call-flow { margin: 0; display: grid; gap: var(--space-8); }
.call-flow svg { width: 100%; max-width: 960px; margin: 0 auto; filter: drop-shadow(0 20px 30px rgba(18,23,43,0.08)); }
.cf-link { stroke-dasharray: 8 8; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.cf-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); list-style: none; counter-reset: cf; font-size: var(--text-sm); color: var(--fg-muted); }
.cf-steps li { padding: var(--space-4); background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); }
.cf-steps strong { display: block; color: var(--fg); margin-bottom: var(--space-1); }
@media (prefers-color-scheme: dark) { .cf-boxes rect { fill: #171c33; } .cf-boxes text { fill: #e8ebf7; } .cf-boxes text + text { fill: #a5acc9; } }

/* ---- plan cards ---- */
.plan-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-2xl); box-shadow: var(--shadow-2); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base); }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.plan-card--featured { border-color: transparent; box-shadow: var(--glow-brand), var(--shadow-3); background: linear-gradient(var(--bg-surface), var(--bg-surface)) padding-box, var(--ivrc-gradient) border-box; border: 2px solid transparent; }
.plan-card--soon { opacity: 0.85; }
.plan-badge { position: absolute; top: -13px; left: var(--space-6); padding: 4px var(--space-3); border-radius: var(--radius-pill); background: var(--ivrc-gradient); color: #fff; font-size: var(--text-sm); font-weight: 700; box-shadow: var(--shadow-2); }
.plan-head h3 { font-size: var(--text-2xl); margin-bottom: var(--space-1); }
.plan-subtitle { margin: 0; color: var(--fg-muted); }
.plan-price { display: grid; gap: var(--space-1); }
.price-interval { display: grid; gap: var(--space-1); }
.price-amount { font-size: var(--text-4xl); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-per { color: var(--fg-muted); margin-left: var(--space-1); }
.price-note { color: var(--fg-subtle); font-size: var(--text-sm); }
.plan-promo { margin: 0; padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); background: var(--ok-soft); color: var(--ok); font-size: var(--text-sm); }
.plan-desc { margin: 0; color: var(--fg-muted); }
.plan-features { list-style: none; display: grid; gap: var(--space-2); flex: 1; }
.pf { display: grid; grid-template-columns: 20px 1fr; gap: var(--space-2); align-items: start; }
.pf-icon { width: 18px; height: 18px; border-radius: 50%; margin-top: 3px; background: var(--ok-soft); position: relative; }
.pf-icon::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pf--not_included .pf-icon { background: var(--bg-inset); }
.pf--not_included .pf-icon::after { border: 0; width: 8px; height: 2px; background: var(--fg-subtle); left: 5px; top: 8px; transform: none; }
.pf--not_included .pf-text { color: var(--fg-subtle); }
.pf--coming_soon .pf-icon { background: var(--warn-soft); }
.pf--coming_soon .pf-icon::after { border-color: var(--warn); }
.pf--add_on .pf-icon { background: var(--accent-soft); }
.pf--add_on .pf-icon::after { border-color: var(--accent); }
.pf-text { display: grid; }
.pf-value { color: var(--fg-muted); font-size: var(--text-sm); }
.pf-note { color: var(--fg-subtle); font-size: var(--text-sm); }
.pf--highlight .pf-name { font-weight: 700; }
.plan-foot .btn { width: 100%; }

/* ---- interval toggle ---- */
.interval-toggle { display: inline-flex; padding: 4px; margin: 0 auto var(--space-8); background: var(--bg-surface-3); border-radius: var(--radius-pill); gap: 4px; }
.interval-toggle:not(.is-ready) { display: none; }
.page-pricing .section--first .wrap { display: grid; justify-items: center; }
.page-pricing .section--first .plan-grid, .page-pricing .section--first .section-head, .page-pricing .section--first .promo-card, .page-pricing .section--first .empty { width: 100%; justify-self: stretch; }
.toggle-btn { min-height: 40px; padding: 0 var(--space-5); border-radius: var(--radius-pill); border: 0; background: transparent; color: var(--fg-muted); font-weight: 600; cursor: pointer; font-family: inherit; }
.toggle-btn.is-active { background: var(--bg-surface); color: var(--fg); box-shadow: var(--shadow-1); }

/* ---- comparison ---- */
.comparison-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-1); }
.comparison-table th, .comparison-table td { padding: var(--space-3) var(--space-4); text-align: left; border-bottom: 1px solid var(--border-hairline); vertical-align: top; }
.comparison-table thead th { position: sticky; top: 64px; background: var(--bg-surface); z-index: 1; font-size: var(--text-lg); }
.cmp-plan { text-align: center !important; }
.cmp-plan--featured { color: var(--accent); }
.cmp-badge { display: block; font-size: var(--text-sm); color: var(--fg-subtle); font-weight: 500; }
.cmp-group th { background: var(--bg-surface-2); text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--text-sm); color: var(--fg-muted); }
.comparison-table tbody th { font-weight: 500; }
.comparison-table tbody th a { color: inherit; text-decoration: none; }
.comparison-table tbody th a:hover { color: var(--accent); text-decoration: underline; }
.comparison-table td { text-align: center; }
.cell--highlight { font-weight: 600; }
.cell--coming_soon { color: var(--warn); }
.cell--not_included { color: var(--fg-subtle); }
.cell-note { display: block; font-size: var(--text-sm); color: var(--fg-subtle); }
.check { display: inline-block; width: 10px; height: 16px; border: solid var(--ok); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.dash { display: inline-block; width: 14px; height: 2px; background: var(--border-strong); vertical-align: middle; }
.comparison-stack { display: none; }
.cmp-stack-plan { background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); margin-bottom: var(--space-3); box-shadow: var(--shadow-1); }
.cmp-stack-plan--featured { border-color: var(--accent-ring); }
.cmp-stack-plan summary { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: var(--space-3) var(--space-4); font-weight: 700; cursor: pointer; list-style: none; }
.cmp-stack-plan summary::-webkit-details-marker { display: none; }
.cmp-stack-plan summary::after { content: "+"; font-size: var(--text-xl); color: var(--fg-subtle); margin-left: var(--space-3); }
.cmp-stack-plan[open] summary::after { content: "\2212"; }
.cmp-stack-price { color: var(--fg-muted); font-weight: 500; margin-left: auto; }
.cmp-stack-plan h4 { padding: var(--space-3) var(--space-4) 0; margin: 0; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-muted); }
.cmp-stack-plan ul { list-style: none; padding: var(--space-2) var(--space-4) var(--space-3); display: grid; gap: var(--space-1); }
.cmp-stack-plan li { display: flex; justify-content: space-between; gap: var(--space-3); padding: var(--space-1) 0; border-bottom: 1px solid var(--border-hairline); }

/* ---- FAQ ---- */
.faq-list { display: grid; gap: var(--space-3); }
.faq-item { background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 56px; padding: var(--space-3) var(--space-5); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: var(--text-lg); font-weight: 600; }
.faq-item summary::after { content: "+"; font-size: var(--text-2xl); color: var(--fg-subtle); flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 var(--space-5) var(--space-5); color: var(--fg-muted); }
.faq-answer p { margin: 0; }

/* ---- promos / cta ---- */
.promo-card { display: grid; gap: var(--space-1); padding: var(--space-4) var(--space-5); margin: var(--space-4) 0; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--accent-soft), transparent); border: 1px solid var(--accent-ring); }
.promo-fine { font-size: var(--text-sm); color: var(--fg-subtle); }
.cta-band { padding: var(--space-16) 0; background: var(--bg-sidebar); color: #e8ebf7; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 100%, var(--fx-aurora-b), transparent 70%); }
.cta-band .wrap { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9cfe6; max-width: 60ch; margin: 0 auto var(--space-6); }

/* ---- forms ---- */
.start-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-12); align-items: start; }
.start-aside { position: sticky; top: 88px; padding: var(--space-6); background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-xl); box-shadow: var(--shadow-2); }
.start-aside h2 { font-size: var(--text-lg); }
.aside-note { margin: var(--space-4) 0 0; color: var(--fg-muted); font-size: var(--text-sm); }
.fieldset { border: 1px solid var(--border-hairline); border-radius: var(--radius-xl); padding: var(--space-6); margin: 0 0 var(--space-5); background: var(--bg-surface); box-shadow: var(--shadow-1); display: grid; gap: var(--space-4); }
.fieldset legend { font-weight: 700; padding: 0 var(--space-2); }
.field { display: grid; gap: var(--space-1); }
.field label { font-weight: 600; }
.optional { font-weight: 400; color: var(--fg-subtle); }
.field input, .field select { min-height: 44px; padding: 0 var(--space-3); border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-surface); color: var(--fg); font: inherit; }
.field input:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); outline: 0; }
.field[hidden], .form-error[hidden] { display: none; }
.subfieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--space-3); min-width: 0; }
.subfieldset legend { font-weight: 600; padding: 0; margin-bottom: var(--space-1); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-3); }
.form-error { margin: 0; padding: var(--space-3) var(--space-4); border: 1px solid var(--danger, #b42318); border-radius: var(--radius-md); color: var(--danger, #b42318); font-weight: 600; }
.plan-choice { display: grid; gap: var(--space-2); }
.choice { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3) var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-lg); cursor: pointer; min-height: 44px; }
.choice:has(input:checked), .choice.is-selected { border-color: var(--accent); background: var(--accent-soft); }
.choice input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--accent); }
.choice-body { display: grid; gap: 2px; }
.choice-name { font-weight: 700; }
.choice-price { color: var(--fg-muted); }
.choice-sub { color: var(--fg-subtle); font-size: var(--text-sm); }
.number-pick { display: grid; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--border-hairline); }
.number-pick[hidden], .number-pick [hidden] { display: none; }
.number-pick-title { font-size: var(--text-md); margin: 0; }
.number-local { margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.number-message { margin: 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--warn-soft); color: var(--fg); }
.number-switch { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.number-change { min-height: 44px; padding: 0 var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-pill); background: transparent; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; }
.number-change:hover { background: var(--accent-soft); border-color: transparent; }
.number-change:focus-visible { outline: 0; box-shadow: 0 0 0 3px var(--accent-ring); }
.consent { font-size: var(--text-sm); color: var(--fg-muted); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-4); margin-bottom: var(--space-8); }
.contact-card { padding: var(--space-5); background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.contact-card h2 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.contact-card p { margin: 0; color: var(--fg-muted); }
.contact-card a { overflow-wrap: anywhere; }
.page-contact .contact-grid { max-width: 960px; margin-left: auto; margin-right: auto; margin-top: var(--space-6); }
.contact-note { max-width: 960px; margin: 0 auto; padding: var(--space-6); text-align: center; background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); }
.contact-note p { margin: 0 0 var(--space-4); font-size: var(--text-lg); }
.contact-note p:last-child { margin-bottom: 0; }
.contact-note .btn { margin: var(--space-1); }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } .contact-note { padding: var(--space-5); } }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--border-hairline); background: var(--bg-surface); padding: var(--space-12) 0 var(--space-8); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--space-8); }
.footer-brand p { color: var(--fg-muted); max-width: 36ch; margin-top: var(--space-3); }
.footer-col h2 { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-subtle); margin-bottom: var(--space-3); }
.footer-col ul { list-style: none; display: grid; gap: var(--space-1); }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; color: var(--fg-muted); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-10); padding-top: var(--space-5); border-top: 1px solid var(--border-hairline); color: var(--fg-subtle); font-size: var(--text-sm); }
.footer-links a { margin-left: var(--space-4); color: inherit; display: inline-flex; align-items: center; min-height: 40px; }

/* ---- responsive ---- */
@media (max-width: 1024px) {
  .feature-grid, .trust-list { grid-template-columns: repeat(2, 1fr); }
  .cf-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-nav, .header-actions { display: none; }
  .header-row { gap: var(--space-3); }
  /* Log in stays in the header bar on phones; the menu sits right after it */
  .mobile-login { display: inline-flex; margin-left: auto; min-height: 44px; padding: 0 var(--space-4);
                  background: var(--accent); color: var(--fg-on-brand); box-shadow: var(--shadow-2); }
  .mobile-login:hover { background: var(--accent-hover); color: var(--fg-on-brand); }
  .mobile-menu { display: block; margin-left: 0; }
  .hero { padding-top: var(--space-10); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero-visual { min-height: 300px; }
  .phone-card { width: 200px; }
  .section { padding: var(--space-12) 0; }
  .start-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .start-aside { position: static; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row-plans { justify-content: flex-start; max-width: none; }
  .comparison-table { display: none; }
  .comparison-stack { display: block; }
  .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  /* small phones: the open menu spans the screen, not a narrow floating box */
  .mobile-menu { position: static; }
  .mobile-menu nav { left: var(--space-4); right: var(--space-4); min-width: 0; top: calc(100% - 4px); }
  .header-row { position: relative; }
  .mobile-menu summary { padding: 0 var(--space-3); }
  .feature-grid, .trust-list, .cf-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  /* a long button label wraps inside the button rather than running off a small phone */
  .btn { white-space: normal; text-align: center; padding-top: var(--space-2); padding-bottom: var(--space-2); }
  .price-amount { font-size: var(--text-3xl); }
}
@media (max-width: 360px) {
  /* the narrowest phones: keep logo, Log in and Menu on one line */
  .brand-name { font-size: var(--text-lg); }
  .mobile-login { padding: 0 var(--space-3); }
  .mobile-menu summary { font-size: 0; gap: 0; width: 44px; justify-content: center; }
}

/* the short 911 notice (founder 2026-10-12): visible, plain, near the call to action */
.notice-911 { margin: var(--space-4, 16px) 0 0; padding: 12px 16px; border: 1px solid #f3d9a4; border-left: 4px solid #b26a00; border-radius: 10px; background: #fff7e8; color: #5c3a00; font-size: var(--text-sm); line-height: 1.5; max-width: 60ch; }
@media (prefers-color-scheme: dark) { .notice-911 { background: #2a2110; border-color: #6b4f16; color: #f3e2c0; } }

/* Main FAQ on the home page */
.main-faq { scroll-margin-top: 72px; }
.faq-group { scroll-margin-top: 72px; margin-top: var(--space-8); }
.faq-group-title { margin: 0 0 var(--space-2); font-size: var(--text-2xl); }
.faq-group-intro { margin: 0 0 var(--space-4); color: var(--fg-muted); }
.faq-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
.faq-item summary h4 { margin: 0; font-size: var(--text-lg); font-weight: 600; overflow-wrap: anywhere; }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-lg); }
.faq-answer p { overflow-wrap: anywhere; }
@media (max-width: 600px) { .faq-item summary { padding: var(--space-3) var(--space-4); } .faq-answer { padding: 0 var(--space-4) var(--space-4); } }

/* home: apps and headline features (2026-10-15) */
.apps-devices { display: flex; align-items: flex-end; justify-content: center; gap: var(--space-8); flex-wrap: wrap; margin: var(--space-6) 0; }
.device { margin: 0; text-align: center; }
.device figcaption { margin-top: var(--space-3); font-weight: 600; color: var(--fg-muted); }
.device-screen { overflow: hidden; background: var(--bg-surface); box-shadow: var(--shadow-2); }
.device-screen img { display: block; width: 100%; height: auto; }
.device--phone .device-screen { width: 220px; border: 10px solid #1d2130; border-radius: 32px; }
.device--laptop .device-screen { width: min(560px, 86vw); border: 12px solid #1d2130; border-bottom-width: 14px; border-radius: 14px 14px 0 0; }
.device-base { height: 14px; width: calc(100% + 60px); margin-left: -30px; background: #c9ccd8; border-radius: 0 0 14px 14px; }
.apps-note { text-align: center; color: var(--fg-muted); font-size: var(--text-sm); margin-top: var(--space-2); }
.highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-5); }
.highlight { padding: var(--space-6); background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.highlight h3 { margin-bottom: var(--space-2); }
.highlight p { margin: 0 0 var(--space-3); }
.highlight-small { font-size: var(--text-sm); color: var(--fg-muted); }
@media (max-width: 560px) { .device--phone .device-screen { width: 180px; } .device-base { width: calc(100% + 24px); margin-left: -12px; } }

/* hero: the two apps, overlapping (stack under the text on phones) */
.hero-devices { min-height: 0; display: flex; justify-content: center; align-items: flex-end; perspective: none; }
.hd { margin: 0; text-align: center; }
.hd img { display: block; width: 100%; height: auto; box-shadow: var(--shadow-3); background: #F5F4F0; }
.hd figcaption { margin-top: var(--space-2); font-size: var(--text-sm); font-weight: 600; color: var(--fg-muted); }
.hd--window { width: min(260px, 48%); }
.hd--window img { border-radius: 8px; border: 1px solid #c9c6bd; }
.hd--phone { width: min(210px, 42%); margin-left: -40px; margin-bottom: -16px; position: relative; z-index: 1; }
.hd--phone img { border: 8px solid #1d2130; border-radius: 28px; }
.apps-row { margin: var(--space-6) 0; }
.apps-row h3 { text-align: center; margin-bottom: var(--space-3); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); max-width: 760px; margin: 0 auto; align-items: start; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; box-shadow: var(--shadow-2); background: #F5F4F0; }
.shot--phone img { border: 6px solid #1d2130; border-radius: 22px; }
.shot--window img { border: 1px solid #c9c6bd; border-radius: 6px; }
.free-tools { list-style: none; padding: 0; margin: var(--space-6) auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--space-3) var(--space-6); }
.free-tools li { padding: var(--space-3) 0; border-bottom: 1px solid var(--border-hairline); }
.free-tools span { color: var(--fg-muted); }
.free-plan { display: block; font-style: normal; font-size: var(--text-sm); color: var(--fg-muted); }
@media (max-width: 560px) { .shots { gap: var(--space-2); } .shot--phone img { border-width: 4px; border-radius: 14px; } }
