/* ============================================================
   InsureCore — marketing site design system
   Brand: blue-500 #3b82f6 -> indigo-600 #4f46e5 on slate-900/800
   Matches the InsureCore app theme. Dark, futuristic, glassy.
   ============================================================ */

:root {
  /* surfaces */
  --bg: #070b16;            /* deep page base (richer than slate-900) */
  --bg-900: #0f172a;        /* slate-900 (app surface) */
  --bg-800: #1e293b;        /* slate-800 (app card) */
  --bg-750: #243044;
  --line: #334155;          /* slate-700 border */
  --line-soft: #1f2a3d;

  /* text */
  --fg: #f1f5f9;            /* slate-100 */
  --fg-soft: #cbd5e1;      /* slate-300 */
  --muted: #94a3b8;        /* slate-400 */
  --faint: #64748b;        /* slate-500 */

  /* brand */
  --blue: #3b82f6;
  --blue-400: #60a5fa;
  --indigo: #4f46e5;
  --indigo-400: #818cf8;
  --brand: linear-gradient(135deg, #3b82f6 0%, #4f46e5 100%);
  --brand-soft: linear-gradient(135deg, rgba(59,130,246,.18), rgba(79,70,229,.18));

  /* semantic */
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;

  /* effects */
  --glass: rgba(30, 41, 59, .55);
  --glass-soft: rgba(30, 41, 59, .35);
  --glass-line: rgba(148, 163, 184, .14);
  --glow: 0 0 0 1px rgba(59,130,246,.0), 0 18px 50px -12px rgba(59,130,246,.35);
  --radius: 16px;
  --radius-lg: 22px;
  --radius-sm: 11px;
  --maxw: 1160px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
::selection { background: rgba(59,130,246,.35); color: #fff; }

/* ---------- ambient background ---------- */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 15% -5%, rgba(59,130,246,.16), transparent 60%),
    radial-gradient(800px 600px at 92% 8%, rgba(79,70,229,.18), transparent 55%),
    radial-gradient(700px 700px at 60% 100%, rgba(59,130,246,.08), transparent 60%),
    var(--bg);
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(148,163,184,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148,163,184,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 30%, transparent 80%);
}
.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  pointer-events: none;
  animation: float 16s ease-in-out infinite;
}
.bg-orb.a { width: 460px; height: 460px; top: -120px; left: -80px; background: radial-gradient(circle, rgba(59,130,246,.55), transparent 70%); }
.bg-orb.b { width: 520px; height: 520px; top: 5%; right: -160px; background: radial-gradient(circle, rgba(79,70,229,.5), transparent 70%); animation-delay: -6s; }
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(20px,30px) scale(1.06); }
}
.noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.section-pad { padding: clamp(64px, 9vw, 120px) 0; }

/* ---------- typography ---------- */
h1,h2,h3,h4 { line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; }
.display {
  font-size: clamp(2.6rem, 6.2vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 650; }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.grad-text {
  background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 35%, #818cf8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--fg-soft); }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .76rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue-400);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--blue); opacity: .7; }
.center { text-align: center; }
.section-head { max-width: 680px; margin: 0 auto 56px; }
.section-head.center { text-align: center; }
.section-head p { margin-top: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 12px; font-weight: 550; font-size: .98rem;
  border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap; letter-spacing: -0.01em;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 8px 24px -8px rgba(59,130,246,.7), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(79,70,229,.8), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-ghost {
  background: var(--glass-soft); color: var(--fg); border-color: var(--glass-line);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(96,165,250,.5); background: rgba(30,41,59,.6); transform: translateY(-2px); }
.btn-lg { padding: 16px 28px; font-size: 1.04rem; border-radius: 13px; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 100; padding: 14px 0; transition: padding .3s var(--ease); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 10px 16px; border-radius: 16px;
  border: 1px solid transparent; transition: all .3s var(--ease);
}
.nav-wrap.scrolled .nav {
  background: rgba(11,17,32,.72); backdrop-filter: blur(16px) saturate(160%);
  border-color: var(--glass-line); box-shadow: 0 10px 40px -16px rgba(0,0,0,.7);
}
.nav-wrap.scrolled { padding: 8px 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; }
.brand img { width: 36px; height: 36px; }
.brand .wm { font-size: 1.16rem; letter-spacing: -0.03em; }
.brand .wm b { font-weight: 650; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px; border-radius: 10px; font-size: .95rem; color: var(--fg-soft);
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--fg); background: rgba(148,163,184,.08); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: var(--glass-soft); border: 1px solid var(--glass-line); border-radius: 10px; padding: 9px; color: var(--fg); }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu { display: block; }
}

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(7,11,22,.85); backdrop-filter: blur(20px);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-inner { padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.mobile-menu a { font-size: 1.5rem; font-weight: 550; padding: 14px 8px; border-bottom: 1px solid var(--line-soft); color: var(--fg-soft); }
.mobile-menu a:hover { color: var(--fg); }
.mobile-menu .btn { margin-top: 24px; }
.mm-close { background: var(--glass-soft); border: 1px solid var(--glass-line); border-radius: 10px; padding: 9px; color: var(--fg); }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 90px); text-align: center; }
.hero .display { margin: 22px auto 0; max-width: 16ch; }
.hero .lead { margin: 24px auto 0; max-width: 60ch; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--green); }

.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 9px;
  border-radius: 999px; background: var(--glass-soft); border: 1px solid var(--glass-line);
  font-size: .85rem; color: var(--fg-soft); backdrop-filter: blur(8px);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,.18); animation: pulse 2.4s infinite; }
.pill .tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--blue-400); background: rgba(59,130,246,.12); padding: 2px 8px; border-radius: 999px; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

/* ---------- product console mockup ---------- */
.console-wrap { margin: 56px auto 0; max-width: 980px; position: relative; }
.console-wrap::before {
  content: ""; position: absolute; inset: -40px -20px auto; height: 240px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(59,130,246,.35), transparent 70%);
  filter: blur(40px); z-index: -1;
}
.console {
  border-radius: var(--radius-lg); border: 1px solid var(--glass-line);
  background: linear-gradient(180deg, rgba(30,41,59,.7), rgba(15,23,42,.85));
  backdrop-filter: blur(20px); overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
}
.console-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); }
.console-bar .dots { display: flex; gap: 7px; }
.console-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #475569; display: block; }
.console-bar .dots i:nth-child(1){ background:#ef4444aa;} .console-bar .dots i:nth-child(2){ background:#f59e0baa;} .console-bar .dots i:nth-child(3){ background:#22c55eaa;}
.console-bar .addr { margin-left: 10px; font-family: var(--mono); font-size: .76rem; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.console-bar .live { margin-left: auto; font-family: var(--mono); font-size: .72rem; color: var(--green); display: flex; align-items: center; gap: 6px; }
.console-bar .live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(34,197,94,.2); animation: pulse 1.8s infinite; }
.console-body { display: grid; grid-template-columns: 1.45fr 1fr; gap: 1px; background: var(--line-soft); }
.console-pane { background: rgba(15,23,42,.6); padding: 20px; }
.console-pane .ph { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }

.call-card { display: flex; align-items: center; gap: 13px; padding: 13px; border-radius: 13px; background: var(--bg-800); border: 1px solid var(--line-soft); margin-bottom: 10px; }
.call-card .av { width: 38px; height: 38px; border-radius: 11px; background: var(--brand); display: grid; place-items: center; color: #fff; font-weight: 600; font-size: .85rem; flex: none; }
.call-card .meta { min-width: 0; flex: 1; }
.call-card .meta b { font-weight: 550; font-size: .92rem; display: block; }
.call-card .meta span { font-size: .78rem; color: var(--muted); }
.call-card .wave { display: flex; align-items: center; gap: 3px; height: 26px; }
.call-card .wave i { width: 3px; border-radius: 2px; background: linear-gradient(180deg,#60a5fa,#4f46e5); animation: wave 1s ease-in-out infinite; display: block; }
@keyframes wave { 0%,100%{ height: 6px;} 50%{ height: 24px;} }
.badge-live { font-family: var(--mono); font-size: .66rem; padding: 3px 8px; border-radius: 999px; background: rgba(34,197,94,.14); color: #4ade80; border: 1px solid rgba(34,197,94,.2); }

.score-ring { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0 14px; }
.score-ring svg { width: 132px; height: 132px; transform: rotate(-90deg); }
.score-ring .track { stroke: var(--line); stroke-width: 9; fill: none; }
.score-ring .meter { stroke: url(#scoreGrad); stroke-width: 9; fill: none; stroke-linecap: round; stroke-dasharray: 339.292; stroke-dashoffset: 339.292; transition: stroke-dashoffset 1.6s var(--ease); }
.score-ring .num { position: absolute; font-size: 2rem; font-weight: 650; letter-spacing: -0.04em; }
.score-ring .rwrap { position: relative; display: grid; place-items: center; }
.score-ring .rwrap .lbl { position: absolute; top: 60%; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.console-stat { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: .86rem; }
.console-stat span { color: var(--muted); }
.console-stat b { font-weight: 600; font-variant-numeric: tabular-nums; }
.console-stat .up { color: var(--green); font-size: .78rem; }

/* ---------- logo / trust strip ---------- */
.trust { padding: 40px 0 8px; }
.trust p { text-align: center; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 26px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; align-items: center; opacity: .85; }
.trust-row .ti { display: inline-flex; align-items: center; gap: 9px; color: var(--fg-soft); font-weight: 550; font-size: 1rem; }
.trust-row .ti svg { width: 20px; height: 20px; color: var(--blue-400); }

/* ---------- cards / bento ---------- */
.card {
  position: relative; border-radius: var(--radius); padding: 26px;
  background: var(--glass-soft); border: 1px solid var(--glass-line);
  backdrop-filter: blur(10px); transition: transform .35s var(--ease), border-color .35s, background .35s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(59,130,246,.10), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(96,165,250,.35); background: var(--glass); }
.card:hover::after { opacity: 1; }
.card .ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-soft); border: 1px solid rgba(96,165,250,.22); color: var(--blue-400); margin-bottom: 18px;
}
.card .ic svg { width: 23px; height: 23px; }
.card h3 { font-size: 1.18rem; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: .96rem; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento .card { grid-column: span 2; }
.bento .card.wide { grid-column: span 3; }
.bento .card.tall { grid-column: span 2; grid-row: span 2; }
.bento .card.feat { grid-column: span 4; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .bento .card, .bento .card.wide, .bento .card.tall, .bento .card.feat { grid-column: span 2; grid-row: auto; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento .card { grid-column: span 1 !important; } }

/* feature showcase rows */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.showcase.flip .showcase-media { order: -1; }
.showcase + .showcase { margin-top: clamp(56px, 8vw, 110px); }
.showcase ul.checks { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.showcase ul.checks li { display: flex; gap: 11px; align-items: flex-start; color: var(--fg-soft); font-size: .98rem; }
.showcase ul.checks li svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 1px; }
.showcase-media {
  border-radius: var(--radius-lg); border: 1px solid var(--glass-line); padding: 22px;
  background: linear-gradient(180deg, rgba(30,41,59,.6), rgba(15,23,42,.8)); position: relative; overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.7);
}
.showcase-media::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 50% at 80% 0%, rgba(79,70,229,.22), transparent 70%); }
@media (max-width: 820px) { .showcase { grid-template-columns: 1fr; gap: 30px; } .showcase.flip .showcase-media { order: 0; } }

/* mini ui elements inside media */
.mini-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg-800); border: 1px solid var(--line-soft); margin-bottom: 10px; position: relative; }
.mini-row .mi { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.mini-row b { font-size: .9rem; font-weight: 550; }
.mini-row span { font-size: .78rem; color: var(--muted); }
.mini-row .right { margin-left: auto; text-align: right; }
.chip { font-family: var(--mono); font-size: .68rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg-soft); }
.chip.green { background: rgba(34,197,94,.13); color: #4ade80; border-color: rgba(34,197,94,.25); }
.chip.amber { background: rgba(245,158,11,.13); color: #fbbf24; border-color: rgba(245,158,11,.25); }
.chip.blue { background: rgba(59,130,246,.13); color: #60a5fa; border-color: rgba(59,130,246,.25); }
.chip.red { background: rgba(239,68,68,.13); color: #f87171; border-color: rgba(239,68,68,.25); }

.bar { height: 7px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: var(--brand); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 30px 18px; border-radius: var(--radius); background: var(--glass-soft); border: 1px solid var(--glass-line); }
.stat .n { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.04em; }
.stat .n.grad-text { display: inline-block; }
.stat .l { color: var(--muted); font-size: .92rem; margin-top: 6px; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); z-index: 0; }
.step { position: relative; z-index: 1; }
.step .num {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-weight: 650; font-size: 1.2rem;
  background: var(--bg-900); border: 1px solid var(--glass-line); color: var(--blue-400); margin-bottom: 18px;
  box-shadow: 0 0 0 6px rgba(7,11,22,.9), 0 10px 30px -10px rgba(59,130,246,.4);
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .93rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier { display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius-lg); background: var(--glass-soft); border: 1px solid var(--glass-line); position: relative; }
.tier.featured { border-color: rgba(96,165,250,.5); background: linear-gradient(180deg, rgba(59,130,246,.1), var(--glass)); box-shadow: 0 30px 70px -30px rgba(59,130,246,.5); }
.tier .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .72rem; font-weight: 600; padding: 5px 14px; border-radius: 999px; font-family: var(--mono); letter-spacing: .05em; }
.tier h3 { font-size: 1.3rem; }
.tier .price { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.04em; margin: 14px 0 4px; }
.tier .price small { font-size: .95rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.tier .desc { color: var(--muted); font-size: .92rem; min-height: 42px; }
.tier ul { margin: 22px 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tier ul li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--fg-soft); }
.tier ul li svg { width: 18px; height: 18px; color: var(--blue-400); flex: none; margin-top: 2px; }
@media (max-width: 820px) { .tiers { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

/* comparison table */
.cmp { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: .94rem; }
.cmp th, .cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.cmp thead th { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.cmp td:not(:first-child), .cmp th:not(:first-child) { text-align: center; }
.cmp tbody td:first-child { color: var(--fg-soft); }
.cmp .yes { color: var(--green); }
.cmp .no { color: var(--faint); }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--glass-line); border-radius: var(--radius); background: var(--glass-soft); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(48px, 7vw, 80px) 32px; text-align: center; border: 1px solid var(--glass-line); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 50% 0%, rgba(79,70,229,.4), transparent 60%), linear-gradient(180deg, rgba(30,41,59,.6), rgba(15,23,42,.85)); z-index: -1; }
.cta-band h2 { max-width: 18ch; margin: 0 auto; }
.cta-band p { margin: 16px auto 0; max-width: 52ch; color: var(--fg-soft); }
.cta-band .hero-cta { margin-top: 30px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--glass-line); border-radius: 14px; background: var(--glass-soft); margin-bottom: 12px; overflow: hidden; transition: border-color .3s; }
.faq details[open] { border-color: rgba(96,165,250,.35); }
.faq summary { padding: 20px 22px; font-weight: 550; font-size: 1.04rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pl { width: 22px; height: 22px; flex: none; position: relative; transition: transform .3s; }
.faq summary .pl::before, .faq summary .pl::after { content: ""; position: absolute; background: var(--blue-400); border-radius: 2px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq summary .pl::before { width: 13px; height: 2px; }
.faq summary .pl::after { width: 2px; height: 13px; transition: transform .3s; }
.faq details[open] summary .pl::after { transform: translate(-50%,-50%) scaleY(0); }
.faq details > div { padding: 0 22px 20px; color: var(--muted); font-size: .96rem; }

/* ---------- legal / content pages ---------- */
.page-head { padding: clamp(60px, 9vw, 100px) 0 30px; text-align: center; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-head p { margin-top: 14px; color: var(--muted); }
.legal { max-width: 820px; margin: 0 auto; padding-bottom: 90px; }
.legal .meta { font-family: var(--mono); font-size: .8rem; color: var(--faint); margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line-soft); }
.legal h2 { font-size: 1.4rem; margin: 40px 0 14px; scroll-margin-top: 100px; }
.legal h3 { font-size: 1.1rem; margin: 26px 0 10px; color: var(--fg); }
.legal p, .legal li { color: var(--fg-soft); font-size: .98rem; margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal ul li { margin-bottom: 8px; }
.legal a { color: var(--blue-400); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--fg); }
.toc { background: var(--glass-soft); border: 1px solid var(--glass-line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 40px; }
.toc p { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { columns: 2; column-gap: 30px; padding-left: 18px; color: var(--fg-soft); font-size: .92rem; }
.toc ol li { margin-bottom: 7px; }
.toc a { color: var(--fg-soft); text-decoration: none; }
.toc a:hover { color: var(--blue-400); }
@media (max-width: 560px) { .toc ol { columns: 1; } }

/* ---------- about ---------- */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 760px){ .values { grid-template-columns: 1fr; } }
.about-grid { display:grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items:center; }
@media (max-width: 820px){ .about-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { padding: 30px; border-radius: var(--radius-lg); background: var(--glass-soft); border: 1px solid var(--glass-line); }
.contact-method { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.contact-method:last-child { border-bottom: 0; }
.contact-method .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--brand-soft); border: 1px solid rgba(96,165,250,.22); display: grid; place-items: center; color: var(--blue-400); flex: none; }
.contact-method .ic svg { width: 22px; height: 22px; }
.contact-method b { display: block; font-weight: 550; }
.contact-method a, .contact-method span { color: var(--muted); font-size: .94rem; }
.contact-method a:hover { color: var(--blue-400); }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: .85rem; color: var(--fg-soft); margin-bottom: 7px; font-weight: 500; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 15px; border-radius: 11px; background: var(--bg-900);
  border: 1px solid var(--line); color: var(--fg); font-family: inherit; font-size: .96rem; transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,.18); }
.form-field textarea { resize: vertical; min-height: 120px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: 64px 0 34px; margin-top: 40px; position: relative; }
.footer::before { content:""; position:absolute; top:-1px; left:0; right:0; height:1px; background: linear-gradient(90deg, transparent, rgba(59,130,246,.5), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; margin-bottom: 50px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: .92rem; max-width: 30ch; }
.footer-col h4 { font-size: .8rem; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 500; }
.footer-col a { display: block; color: var(--fg-soft); font-size: .94rem; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--blue-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.footer-bottom p { color: var(--faint); font-size: .86rem; }
.footer-bottom .soc { display: flex; gap: 10px; }
.footer-bottom .soc a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--glass-line); display: grid; place-items: center; color: var(--muted); transition: all .2s; }
.footer-bottom .soc a:hover { color: var(--fg); border-color: rgba(96,165,250,.4); background: var(--glass-soft); }
.footer-bottom .soc svg { width: 17px; height: 17px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } .footer-brand { grid-column: span 2; } }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* utility */
.mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 56px; }
.tac { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px){ .grid-2 { grid-template-columns: 1fr; } }
.divider { height: 1px; background: var(--line-soft); margin: 0; border: 0; }

/* ============================================================
   MOBILE & DEVICE-COMPATIBILITY REFINEMENTS
   (added after mobile + iOS-Safari audits — these override above)
   ============================================================ */

/* iOS/Safari needs the -webkit- prefix or the frosted blur silently fails */
.btn-ghost, .pill { -webkit-backdrop-filter: blur(8px); }
.nav-wrap.scrolled .nav { -webkit-backdrop-filter: blur(16px) saturate(160%); }
.mobile-menu, .console { -webkit-backdrop-filter: blur(20px); }
.card { -webkit-backdrop-filter: blur(10px); }

/* iOS: kill the grey tap-flash on touch */
html { -webkit-tap-highlight-color: transparent; }

/* iOS: inputs under 16px trigger focus-zoom — pin form controls to 16px */
.form-field input, .form-field textarea, .form-field select { font-size: 16px; }

/* dynamic viewport height where supported (mobile address-bar safe) */
@supports (min-height: 100svh) { body { min-height: 100svh; } }

/* never let long unbreakable strings (emails/links) force overflow */
.contact-method a, .footer-col a, .legal a, .console-bar .addr { overflow-wrap: anywhere; word-break: break-word; }

/* the full-screen mobile menu must scroll on short / landscape phones */
.mobile-menu { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mobile-menu-inner { min-height: 100%; }

/* blurred orbs are GPU-heavy: hint compositing, calm them on small screens */
.bg-orb { filter: blur(72px); will-change: transform; }
@media (max-width: 560px) { .bg-orb { animation: none; opacity: .42; } }

/* ---- hero console mockup: stack to one column on phones (was clipped) ---- */
@media (max-width: 680px) {
  .console-body { grid-template-columns: 1fr; }
  .console-pane { padding: 16px; }
  .console-wrap::before { inset: -24px 0 auto; }
  .console-bar { flex-wrap: wrap; }
  .console-bar .addr { font-size: .68rem; }
  .score-ring svg { width: 108px; height: 108px; }
}
@media (max-width: 380px) {
  .call-card .wave { display: none; } /* no room for the waveform on the smallest phones */
}

/* ---- pricing comparison table: scroll cleanly instead of crushing ---- */
@media (max-width: 640px) {
  .cmp { min-width: 540px; font-size: .88rem; }
  .cmp th, .cmp td { padding: 12px 12px; }
}

/* ---- buttons & CTAs: allow wrap, go full-width on small phones ---- */
@media (max-width: 480px) {
  .hero-cta { width: 100%; }
  .hero-cta .btn { width: 100%; white-space: normal; }
  .btn-lg { padding: 14px 20px; }
  .cta-band { padding: 40px 18px; }
  .showcase-media { padding: 16px; }
  .score-ring .rwrap .lbl { font-size: .66rem; }
  .console-pane .ph { font-size: .72rem; }
}

/* ---- single-column stats on the smallest phones ---- */
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } }

/* ---- tap targets >=44px on touch layouts ---- */
@media (max-width: 900px) {
  .nav-toggle, .mm-close { padding: 11px; }
  .footer-col a { padding: 9px 0; }
  .footer-bottom .soc a { width: 44px; height: 44px; }
}
