/* ═══════════════════════════════════════════════════════════════
   Cennairus landing — mobile-first
   Palette from the product: base #07080B, indigo #6366F1 → blue #1673DA,
   live-green #00C569, cyan touch #7DCFD9. Font: Figtree (variable).
   ═══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Figtree';
  src: url('/assets/fonts/figtree-latin.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2026;
}
@font-face {
  font-family: 'Figtree';
  src: url('/assets/fonts/figtree-latin-ext.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0100-02BA;
}

:root {
  --bg: #07080b;
  --bg-2: #0b0d12;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #f2f4f8;
  --muted: #9aa3b5;
  --indigo: #6366f1;
  --blue: #1673da;
  --cyan: #7dcfd9;
  --green: #00c569;
  --grad: linear-gradient(96deg, #8b8ff7 0%, #6366f1 34%, #1673da 72%, #35a3f5 100%);
  --radius: 22px;
  --nav-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 26px); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(1600px, 100% - 40px); margin-inline: auto; }

/* ── type ─────────────────────────────────────── */
h1 { font-size: clamp(2.55rem, 9.4vw, 4.55rem); line-height: 1.06; letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 5.6vw, 2.6rem); line-height: 1.12; letter-spacing: -0.015em; font-weight: 750; }
h3 { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.01em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
}
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(0, 197, 105, 0.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(0, 197, 105, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 197, 105, 0); } }
.lede { color: var(--muted); font-size: clamp(1rem, 2.6vw, 1.16rem); max-width: 34em; margin-top: 18px; }
.body { color: var(--muted); margin-top: 14px; }
.section-sub { color: var(--muted); margin-top: 12px; max-width: 42em; }
.desk-only { display: none; }

/* ── buttons ──────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border: 0; border-radius: 999px; font: inherit; font-weight: 700; font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 28px rgba(84, 104, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 34px rgba(84, 104, 255, 0.5); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn-light { background: #fff; color: #10121a; }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255, 255, 255, 0.18); }
.arrow { font-weight: 400; }

/* ── nav ──────────────────────────────────────── */
.nav {
  position: fixed; top: 10px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1600px, 100% - 24px);
  background: rgba(10, 11, 16, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  padding: 0 16px;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
  background: rgba(9, 10, 15, 0.88);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.45);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 26px; width: auto; }
.nav-links {
  position: fixed; top: calc(var(--nav-h) + 18px); left: 50%; transform: translateX(-50%);
  width: min(1600px, 100% - 24px);
  display: none; flex-direction: column; gap: 4px;
  background: rgba(9, 10, 15, 0.96);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 16px 18px 22px; border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.nav-links.open { display: flex; }
.nav-links a { padding: 12px 6px; font-weight: 600; color: var(--muted); border-radius: 10px; }
.nav-links a:hover { color: var(--text); }
.nav-links .nav-signin { color: var(--text); }
.nav-links .nav-cta { margin-top: 8px; color: #fff; text-align: center; }
.nav-burger { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── hero ─────────────────────────────────────── */
.hero { position: relative; padding: calc(var(--nav-h) + 66px) 0 40px; overflow: hidden; }
.hero .eyebrow { font-size: 0.62rem; letter-spacing: 0.12em; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 42% at 18% 12%, rgba(99, 102, 241, 0.16) 0%, transparent 60%),
    radial-gradient(46% 38% at 85% 20%, rgba(22, 115, 218, 0.14) 0%, transparent 62%),
    radial-gradient(50% 44% at 55% 92%, rgba(125, 207, 217, 0.07) 0%, transparent 60%);
}
.hero-grid { position: relative; display: grid; gap: 44px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-stats {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px 22px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line-soft);
}
.hero-stats strong { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { font-size: 0.8rem; color: var(--muted); }

.browser-frame {
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: #0d0f14;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(99, 102, 241, 0.08), 0 0 90px rgba(80, 100, 240, 0.13);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.03); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.browser-bar em { font-style: normal; font-size: 0.72rem; color: var(--muted); margin-left: 10px; letter-spacing: 0.03em; }
.hero-shot { position: relative; }
.hero-shot::after {
  content: ''; position: absolute; inset: auto -8% -26px -8%; height: 60px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(90, 105, 245, 0.22), transparent 70%);
  filter: blur(12px); pointer-events: none;
}

/* ── carrier strip ───────────────────────────── */
.carriers { padding: 56px 0 30px; }
.strip-label { text-align: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.logo-row {
  display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; justify-items: center;
  gap: 26px 30px; margin-top: 26px;
}
.logo-row img {
  height: 54px; width: 100%; max-width: 132px; object-fit: contain;
  background: #f5f7fc; padding: 10px 16px; border-radius: 12px;
  filter: grayscale(1); opacity: 0.82;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.logo-row img:hover { filter: grayscale(0); opacity: 1; }
.strip-sub { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 24px; }

/* ── anagram ─────────────────────────────────── */
.anagram { padding: 40px 0; position: relative; }
.anagram::before {
  content: ''; position: absolute; inset: -40px 0; pointer-events: none;
  background: radial-gradient(46% 60% at 50% 50%, rgba(99, 102, 241, 0.14) 0%, transparent 70%);
}
.anagram .wrap { position: relative; }
.anagram-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.025) 100%);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  padding: 34px 22px 30px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 80px rgba(120, 130, 250, 0.16);
}
.anagram-lottie { width: min(560px, 92%); aspect-ratio: 1080 / 414; margin: 0 auto; }
.anagram-line { color: #b8c0d2; max-width: 40em; margin: 14px auto 0; font-size: 0.98rem; }
.anagram-line strong { color: #ffffff; }

/* ── shared section rhythm ───────────────────── */
.how, .tools, .programs { padding: 72px 0; }
.field, .wallet-sec, .human { padding: 64px 0; }

/* ── how it works ────────────────────────────── */
.how-grid { display: grid; gap: 16px; margin-top: 34px; }
.how-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 40px rgba(0, 0, 0, 0.3);
  padding: 26px 22px;
}
.how-num { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; color: var(--indigo); margin-bottom: 12px; }
.how-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.how-card p { color: var(--muted); font-size: 0.95rem; }

/* ── field (photos) ──────────────────────────── */
.field-grid { display: grid; gap: 36px; }
.ticks { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; color: #c6cddb; font-size: 0.95rem; }
.ticks li::before { content: '✓'; color: var(--green); font-weight: 800; }
.field-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ph { border-radius: 20px; object-fit: cover; width: 100%; height: 100%; border: 1px solid var(--line-soft); }
.ph-a { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.ph-b, .ph-c { aspect-ratio: 4 / 3.4; }

/* ── tools ───────────────────────────────────── */
.tools { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.tools-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 34px; }
.tool {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.018) 100%);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  padding: 22px 20px; transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.tool:hover { border-color: rgba(120, 130, 250, 0.35); background: var(--panel-2); transform: translateY(-2px); }
.tool h3 { margin: 14px 0 6px; }
.tool p { color: var(--muted); font-size: 0.9rem; }
.tool-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; }
.tool-ic svg { width: 20px; height: 20px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-blue   { background: rgba(22, 115, 218, 0.14); } .ic-blue svg   { stroke: #4ea3f2; }
.ic-indigo { background: rgba(99, 102, 241, 0.14); } .ic-indigo svg { stroke: #9297f5; }
.ic-green  { background: rgba(0, 197, 105, 0.12); }  .ic-green svg  { stroke: #2fd68b; }
.ic-cyan   { background: rgba(125, 207, 217, 0.12); }.ic-cyan svg   { stroke: var(--cyan); }
.ic-violet { background: rgba(167, 139, 250, 0.13); }.ic-violet svg { stroke: #b7a4fb; }
.ic-amber  { background: rgba(255, 208, 53, 0.1); }  .ic-amber svg  { stroke: #ecc94b; }

/* ── wallet ──────────────────────────────────── */
.wallet-grid { display: grid; gap: 36px; }
.browser-frame.small { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 70px rgba(0, 197, 105, 0.07); }
.wallet-shot { order: 2; }
.wallet-copy { order: 1; }

/* ── human ───────────────────────────────────── */
.human { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.human-grid { display: grid; gap: 32px; }
.human-photo img { border-radius: 24px; border: 1px solid var(--line-soft); aspect-ratio: 3 / 2; object-fit: cover; }
.human-photo figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 10px; }

/* ── programs ────────────────────────────────── */
.prog-grid { display: grid; gap: 14px; margin-top: 30px; }
.prog {
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 22px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.prog h3 { margin-bottom: 6px; }
.prog p { color: var(--muted); font-size: 0.92rem; }

/* ── CTA ─────────────────────────────────────── */
.cta { padding: 30px 0 84px; }
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 34px; padding: 54px 24px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background:
    radial-gradient(90% 130% at 50% -20%, rgba(99, 102, 241, 0.32) 0%, transparent 60%),
    radial-gradient(70% 100% at 85% 110%, rgba(22, 115, 218, 0.25) 0%, transparent 60%),
    #0d0f16;
  border: 1px solid rgba(120, 130, 250, 0.22);
}
.cta-card p { color: #b9c0d2; margin-top: 14px; max-width: 36em; margin-inline: auto; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ── footer ──────────────────────────────────── */
.footer { border-top: 1px solid var(--line-soft); padding: 44px 0 28px; background: var(--bg-2); }
.foot-grid { display: grid; gap: 28px; }
.foot-logo { height: 22px; width: auto; }
.foot-brand p { color: var(--muted); font-size: 0.88rem; margin-top: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--muted); font-size: 0.9rem; padding: 4px 0; }
.foot-links a:hover { color: var(--text); }
.foot-legal { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.foot-legal p { color: #5d6577; font-size: 0.78rem; }

/* ── reveal animation ────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse-dot { animation: none; }
}

/* ═══════════════ ≥ 720px ═══════════════ */
@media (min-width: 720px) {
  .desk-only { display: inline; }
  .hero { padding-top: calc(var(--nav-h) + 84px); }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .logo-row { grid-template-columns: repeat(6, 1fr); gap: 30px 36px; }
  .logo-row img { max-height: 34px; max-width: 140px; }
  .how-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .prog-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .field-grid { grid-template-columns: 1.05fr 1fr; align-items: center; }
  .wallet-grid { grid-template-columns: 1fr 1.05fr; align-items: center; }
  .wallet-shot { order: 1; } .wallet-copy { order: 2; }
  .human-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .anagram-card { padding: 46px 40px 40px; }
  .foot-grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .foot-links { justify-content: flex-end; }
  .cta-card { padding: 72px 48px; }
}

/* ═══════════════ ≥ 1080px ═══════════════ */
@media (min-width: 1080px) {
  .nav-burger { display: none; }
  .nav-links {
    position: static; transform: none; width: auto;
    display: flex; flex-direction: row; align-items: center; gap: 26px;
    background: none; border: 0; padding: 0; backdrop-filter: none; box-shadow: none;
  }
  .nav-links a { padding: 6px 2px; font-size: 0.92rem; }
  .nav-links .nav-cta { margin: 0 0 0 6px; padding: 10px 20px; }
  .hero-grid { grid-template-columns: 1.02fr 1.15fr; align-items: center; gap: 56px; }
  .hero { padding-bottom: 64px; }
  .tools-grid { grid-template-columns: repeat(4, 1fr); }
  .prog-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── line-of-coverage chips (product replica: CoverageLineIcon) ── */
.loc-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.loc-chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  background: color-mix(in srgb, var(--c) 10%, transparent);
  color: var(--c); padding: 5px 11px; font-size: 0.76rem; font-weight: 650;
}
.loc-chip svg { width: 13px; height: 13px; flex: none; }

/* ── carrier coins (product replica: Coin) ── */
.carriers-label { margin-top: 40px; }
.coin-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px 6px; margin-top: 22px; margin-inline: -10px;
}
.coin { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; }
.coin img {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.coin:hover img { transform: translateY(-2px) scale(1.05); box-shadow: 0 8px 20px rgba(80, 100, 240, 0.3); }
.coin em { font-style: normal; font-size: 0.64rem; color: var(--muted); text-align: center; line-height: 1.2; max-width: 100%; overflow-wrap: anywhere; }
@media (min-width: 720px) {
  .coin-row { grid-template-columns: repeat(8, 1fr); gap: 18px 14px; margin-inline: 0; }
  .coin img { width: 58px; height: 58px; }
}

/* ── biBerk program band ── */
.biberk { padding: 26px 0 64px; }
.biberk-card {
  position: relative; overflow: hidden;
  border-radius: 32px; padding: 34px 24px;
  background:
    radial-gradient(80% 120% at 12% -10%, rgba(0, 114, 206, 0.22) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(120, 175, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 24px 60px rgba(0, 0, 0, 0.35);
}
.biberk-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.biberk-head .eyebrow { margin-bottom: 4px; }
.biberk-coin {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35); box-shadow: 0 10px 26px rgba(0, 114, 206, 0.35);
}
.biberk-grid { display: grid; gap: 22px; margin-top: 18px; }
.biberk-cta { display: flex; align-items: center; }
@media (min-width: 720px) {
  .biberk-card { padding: 44px 44px; }
  .biberk-grid { grid-template-columns: 1fr auto; align-items: center; }
}

/* ── line pages ── */
.line-hero { position: relative; padding: calc(var(--nav-h) + 74px) 0 40px; overflow: hidden; }
.line-hero .hero-glow { background: radial-gradient(60% 50% at 50% 0%, color-mix(in srgb, var(--lc) 22%, transparent) 0%, transparent 65%); }
.line-hero .wrap { position: relative; }
.line-kicker {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--lc) 32%, transparent);
  background: color-mix(in srgb, var(--lc) 12%, transparent); color: var(--lc);
  padding: 6px 14px; font-size: 0.78rem; font-weight: 700;
}
.line-kicker svg { width: 14px; height: 14px; }
.line-hero h1 { margin-top: 18px; font-size: clamp(2.1rem, 7.6vw, 3.6rem); }
.line-points { display: grid; gap: 14px; margin-top: 34px; }
.line-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.line-carriers { padding: 44px 0 8px; }
@media (min-width: 720px) {
  .line-points { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════ THEME TOGGLE + LIGHT MODE ═══════════════ */
.theme-toggle {
  display: grid; place-items: center; width: 38px; height: 38px; margin-left: auto; margin-right: 8px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 50%;
  color: var(--muted); cursor: pointer; transition: color 0.2s ease, background 0.2s ease;
}
.theme-toggle:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .ic-moon { display: none; }
html.light .theme-toggle .ic-sun { display: none; }
html.light .theme-toggle .ic-moon { display: block; }
@media (min-width: 1080px) { .theme-toggle { margin-left: 16px; margin-right: 0; } }

.logo-on-light { display: none; }
html.light .logo-on-dark { display: none; }
html.light .logo-on-light { display: block; }

/* ── light palette ── */
html.light body { background: #f5f7fc; color: #0f1420; }
html.light .lede, html.light .body, html.light .section-sub,
html.light .hero-stats span, html.light .coin em, html.light .how-card p,
html.light .tool p, html.light .prog p, html.light .human-photo figcaption,
html.light .foot-brand p, html.light .strip-sub { color: #5b6478; }
html.light .eyebrow { color: #0e7490; }
html.light .strip-label { color: #6b7386; }
html.light .ticks li { color: #3a4356; }

html.light .nav {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.09);
}
html.light .nav.scrolled { background: rgba(255, 255, 255, 0.9); box-shadow: 0 6px 26px rgba(15, 23, 42, 0.12); }
html.light .nav-links { background: rgba(255, 255, 255, 0.97); border-color: rgba(15, 23, 42, 0.09); box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18); }
html.light .nav-links a { color: #5b6478; }
html.light .nav-links a:hover, html.light .nav-links .nav-signin { color: #0f1420; }
html.light .nav-links .nav-cta { color: #fff; }
html.light .nav-burger span { background: #0f1420; }
html.light .theme-toggle { background: rgba(15, 23, 42, 0.04); border-color: rgba(15, 23, 42, 0.12); color: #5b6478; }
html.light .theme-toggle:hover { color: #0f1420; background: rgba(15, 23, 42, 0.08); }

html.light .hero-glow {
  background:
    radial-gradient(52% 42% at 18% 12%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
    radial-gradient(46% 38% at 85% 20%, rgba(22, 115, 218, 0.1) 0%, transparent 62%);
}
html.light .hero-stats { border-top-color: rgba(15, 23, 42, 0.09); }
html.light .btn-ghost { border-color: rgba(15, 23, 42, 0.16); color: #0f1420; background: rgba(255, 255, 255, 0.5); }
html.light .btn-ghost:hover { background: rgba(15, 23, 42, 0.05); }

html.light .how-card, html.light .tool, html.light .prog {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
html.light .tools, html.light .human { background: #edf1f9; border-color: rgba(15, 23, 42, 0.06); }
html.light .tool:hover { border-color: rgba(80, 100, 240, 0.4); background: #ffffff; }

/* anagram card goes light in light mode — the animation swaps to the black-letter variant */
html.light .anagram-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 244, 252, 0.85) 100%);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 80px rgba(120, 130, 250, 0.12);
}
html.light .anagram-line { color: #4a5266; }
html.light .anagram-line strong { color: #12141c; }

/* CTA card light version */
html.light .cta-card {
  background:
    radial-gradient(90% 130% at 50% -20%, rgba(99, 102, 241, 0.16) 0%, transparent 60%),
    radial-gradient(70% 100% at 85% 110%, rgba(22, 115, 218, 0.12) 0%, transparent 60%),
    rgba(255, 255, 255, 0.85);
  border-color: rgba(99, 102, 241, 0.28);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
}
html.light .cta-card p { color: #5b6478; }
html.light .cta-card .btn-light { background: #10131c; color: #ffffff; }
html.light .cta-card .btn-light:hover { box-shadow: 0 10px 30px rgba(16, 19, 28, 0.35); }

html.light .biberk-card {
  background:
    radial-gradient(80% 120% at 12% -10%, rgba(0, 114, 206, 0.14) 0%, transparent 55%),
    rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 114, 206, 0.22);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}
html.light .coin img { border-color: rgba(15, 23, 42, 0.1); box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12); }
html.light .ph, html.light .human-photo img { border-color: rgba(15, 23, 42, 0.08); }

html.light .footer { background: #edf1f9; border-top-color: rgba(15, 23, 42, 0.07); }
html.light .foot-links a { color: #5b6478; }
html.light .foot-links a:hover { color: #0f1420; }
html.light .foot-legal { border-top-color: rgba(15, 23, 42, 0.08); }
html.light .foot-legal p { color: #8a92a6; }

html.light .line-hero .hero-glow { background: radial-gradient(60% 50% at 50% 0%, color-mix(in srgb, var(--lc) 14%, transparent) 0%, transparent 65%); }

/* ── quote form ── */
.quote-sec { padding: 26px 0 10px; }
/* mobile: no wrapper card — the form sits directly on the page to save space */
.quote-card { padding: 0; }
@media (min-width: 720px) {
  .quote-card {
    border-radius: 32px;
    background:
      radial-gradient(80% 120% at 88% -10%, color-mix(in srgb, var(--lc) 16%, transparent) 0%, transparent 55%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid color-mix(in srgb, var(--lc) 26%, rgba(255, 255, 255, 0.1));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 24px 60px rgba(0, 0, 0, 0.35);
  }
}
.quote-card .eyebrow { color: var(--lc); }
.qf-grid { display: grid; gap: 12px; margin-top: 22px; }
.qf-in {
  width: 100%; padding: 13px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text); font: inherit; font-size: 0.95rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.qf-in::placeholder { color: #7d8698; }
.qf-in:focus { outline: none; border-color: color-mix(in srgb, var(--lc) 60%, transparent); background: rgba(255, 255, 255, 0.08); }
.qf-in.qf-bad { border-color: #f43f5e; }
select.qf-in { appearance: none; -webkit-appearance: none; }
select.qf-in:invalid { color: #7d8698; }
textarea.qf-in { resize: vertical; min-height: 84px; }
.qf-foot { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.qf-note { font-size: 0.8rem; color: var(--muted); }
.qf-submit[disabled] { opacity: 0.6; pointer-events: none; }
.qf-ok { margin-top: 18px; color: var(--green); font-weight: 650; }
.qf-err { margin-top: 18px; color: #f87171; }
.qf-err a { text-decoration: underline; }
@media (min-width: 720px) {
  .quote-card { padding: 46px 44px; }
  .qf-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .qf-wide { grid-column: 1 / -1; }
  .qf-foot { flex-direction: row; align-items: center; gap: 18px; }
}

@media (min-width: 720px) {
  html.light .quote-card {
    background:
      radial-gradient(80% 120% at 88% -10%, color-mix(in srgb, var(--lc) 10%, transparent) 0%, transparent 55%),
      rgba(255, 255, 255, 0.82);
    border-color: color-mix(in srgb, var(--lc) 30%, rgba(15, 23, 42, 0.08));
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  }
}
html.light .qf-in { background: #ffffff; border-color: rgba(15, 23, 42, 0.14); color: #0f1420; }
html.light .qf-in::placeholder { color: #8a92a6; }
html.light .qf-note { color: #6b7386; }

/* ── quote wizard steps ── */
.qf-progress { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.qf-steplabel { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lc); white-space: nowrap; }
.qf-bar { flex: 1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.qf-bar i { display: block; height: 100%; border-radius: 99px; background: var(--lc); transition: width 0.35s ease; }
html.light .qf-bar { background: rgba(15, 23, 42, 0.1); }
.qf-step { display: none; }
.qf-step.is-on { display: block; animation: qfin 0.35s ease; }
@keyframes qfin { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.qf-q { margin-top: 20px; font-size: 1.12rem; font-weight: 700; }
.qf-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
.qf-note { margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { .qf-step.is-on { animation: none; } }

/* mobile immersion: line-color atmosphere behind the wizard (no card needed) */
@media (max-width: 719.98px) {
  .quote-sec { position: relative; }
  .quote-sec::before {
    content: ''; position: absolute; inset: -30px 0; pointer-events: none;
    background: radial-gradient(80% 55% at 50% 26%, color-mix(in srgb, var(--lc) 11%, transparent) 0%, transparent 72%);
  }
  .quote-sec .wrap { position: relative; }
}

/* ── wizard meta: line chip + carrier coin stack ── */
.qz-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 16px; }
.qz-carriers { display: inline-flex; align-items: center; }
.qz-coin {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #fff;
  border: 2px solid var(--bg); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.qz-coin + .qz-coin { margin-left: -9px; }
.qz-carriers em { font-style: normal; font-size: 0.78rem; color: var(--muted); margin-left: 10px; }
html.light .qz-coin { border-color: #f5f7fc; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.16); }
@media (min-width: 720px) { html.light .qz-coin { border-color: #fff; } }

/* ── sign-in dropdown: new + legacy logins ── */
.signin-btn { background: none; border: 0; font: inherit; font-weight: 600; color: var(--text); cursor: pointer; padding: 12px 6px; text-align: left; display: flex; align-items: center; gap: 6px; width: 100%; }
.si-caret { font-size: 0.7em; opacity: 0.7; }
.signin-panel a { display: flex; flex-direction: column; gap: 1px; padding: 10px 12px; border-radius: 12px; }
.signin-panel a:hover { background: rgba(255, 255, 255, 0.06); }
.signin-panel strong { font-size: 0.92rem; color: var(--text); }
.signin-panel em { font-style: normal; font-size: 0.74rem; color: var(--muted); }

/* mobile: both options always visible inside the burger menu */
.signin-drop { display: flex; flex-direction: column; }
.signin-drop .signin-btn { pointer-events: none; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; padding-bottom: 4px; }
.signin-drop .si-caret { display: none; }

@media (min-width: 1080px) {
  .signin-drop { position: relative; display: block; }
  .signin-drop .signin-btn { pointer-events: auto; color: var(--text); font-size: 0.92rem; letter-spacing: 0; text-transform: none; padding: 6px 2px; width: auto; }
  .signin-drop .si-caret { display: inline; }
  .signin-panel {
    display: none; position: absolute; top: calc(100% + 12px); right: 0; min-width: 240px;
    background: rgba(12, 13, 19, 0.97); backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px; padding: 8px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  }
  .signin-drop.open .signin-panel { display: block; }
}
html.light .signin-btn { color: #0f1420; }
html.light .signin-drop .signin-btn { color: #6b7386; }
@media (min-width: 1080px) { html.light .signin-drop .signin-btn { color: #0f1420; } }
html.light .signin-panel { background: rgba(255, 255, 255, 0.98); border-color: rgba(15, 23, 42, 0.1); box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16); }
html.light .signin-panel strong { color: #0f1420; }
html.light .signin-panel a:hover { background: rgba(15, 23, 42, 0.05); }

/* ── Audit1 ally partner card + footer ── */
.tool-partner { position: relative; display: block; }
.partner-chip {
  position: absolute; top: 14px; right: 14px;
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); background: rgba(0, 197, 105, 0.12);
  border: 1px solid rgba(0, 197, 105, 0.3); border-radius: 999px; padding: 3px 9px;
}
.audit1-logo { height: 26px; width: auto; margin-bottom: 4px; }
.foot-ally { color: var(--muted); font-size: 0.85rem; margin-top: 10px; }
.foot-ally a { text-decoration: underline; text-underline-offset: 3px; }
.foot-ally a:hover { color: var(--text); }
.field-photos .ph-link { display: contents; }

.insuralyzer-logo { height: 20px; width: auto; margin-bottom: 8px; }

.partner-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.partner-brand .insuralyzer-logo { margin-bottom: 0; }
.insuralyzer-spy { width: auto; height: 20px; object-fit: contain; }

/* ── featured programs grid + CopperPoint card ── */
.featured-grid { display: grid; gap: 20px; }
@media (min-width: 1080px) { .featured-grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.copper-card {
  background:
    radial-gradient(80% 120% at 12% -10%, rgba(196, 106, 45, 0.2) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-color: rgba(230, 150, 90, 0.24);
}
.copper-coin { box-shadow: 0 10px 26px rgba(196, 106, 45, 0.35); }
html.light .copper-card {
  background:
    radial-gradient(80% 120% at 12% -10%, rgba(196, 106, 45, 0.12) 0%, transparent 55%),
    rgba(255, 255, 255, 0.8);
  border-color: rgba(196, 106, 45, 0.28);
}

/* desktop: sign in + request access pushed to the right edge, before the theme toggle */
@media (min-width: 1080px) {
  .nav-links { flex: 1; min-width: 0; margin-left: 48px; }
  .nav-links .signin-drop { margin-left: auto; }
}

/* ── theme-loyal product screenshots + light frame chrome ── */
html.light .browser-frame { background: #ffffff; border-color: rgba(15, 23, 42, 0.12); box-shadow: 0 30px 80px rgba(15, 23, 42, 0.16), 0 0 90px rgba(80, 100, 240, 0.08); }
html.light .browser-bar { background: rgba(15, 23, 42, 0.04); border-bottom-color: rgba(15, 23, 42, 0.08); }
html.light .browser-bar i { background: rgba(15, 23, 42, 0.18); }
html.light .browser-bar em { color: #6b7386; }
