/* ==========================================================================
   Amare Tech — Landing page styles
   Design system: token-driven, supports LIGHT + DARK themes.
   Dark is the base (:root); light applies via [data-theme="light"] or, when
   the visitor hasn't chosen, via prefers-color-scheme. Brand: sky → cyan.
   ========================================================================== */

:root {
  /* ---- brand + status accents (shared across themes) ---- */
  --accent-1: #0EA5E9;   /* sky  */
  --accent-2: #06B6D4;   /* cyan */
  --blue: #3B82F6;       /* Product registration */
  --emerald: #10B981;    /* Resolved / published */
  --amber: #F59E0B;

  --grad: linear-gradient(120deg, var(--accent-1), var(--accent-2));
  --grad-blue: linear-gradient(135deg, #2563EB, #3B82F6);
  --grad-green: linear-gradient(135deg, #059669, #10B981);

  /* ---- DARK theme tokens (base) ---- */
  --bg: #0B0E14;
  --bg-2: #0F131C;
  --surface: #131824;
  --surface-2: #171D2B;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #E8EAF0;
  --muted: #9AA3B4;
  --muted-2: #6B7484;

  --glass: rgba(255, 255, 255, 0.04);
  --glass-hover: rgba(255, 255, 255, 0.08);
  --hairline: rgba(255, 255, 255, 0.02);
  --nav-bg: rgba(11, 14, 20, 0.72);
  --nav-bg-scrolled: rgba(11, 14, 20, 0.9);

  --accent-tint-bg: rgba(6, 182, 212, 0.10);
  --accent-tint-border: rgba(6, 182, 212, 0.30);
  --accent-text: #38BDF8;
  --blue-soft-bg: rgba(59, 130, 246, 0.16);
  --blue-soft-text: #8fbaff;
  --green-soft-bg: rgba(16, 185, 129, 0.16);
  --green-soft-text: #4ee0a6;

  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 0 1px var(--border), 0 30px 80px -30px rgba(14, 165, 233, 0.4);
  --hero-glow-opacity: 1;

  /* ---- type ---- */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display: 'Sora', var(--font);

  /* ---- shape / layout ---- */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --maxw: 1160px;
  --pad-section: clamp(4rem, 9vw, 7.5rem);
  color-scheme: dark;
}

/* ---- LIGHT theme tokens ---- */
:root[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-2: #F4F7FB;
  --surface: #FFFFFF;
  --surface-2: #F5F8FC;
  --border: rgba(15, 23, 42, 0.10);
  --border-strong: rgba(15, 23, 42, 0.16);
  --text: #0F172A;
  --muted: #475569;
  --muted-2: #94A3B8;

  --glass: rgba(15, 23, 42, 0.04);
  --glass-hover: rgba(15, 23, 42, 0.08);
  --hairline: rgba(15, 23, 42, 0.02);
  --nav-bg: rgba(255, 255, 255, 0.78);
  --nav-bg-scrolled: rgba(255, 255, 255, 0.94);

  --accent-tint-bg: rgba(6, 182, 212, 0.12);
  --accent-tint-border: rgba(6, 182, 212, 0.32);
  --accent-text: #0891B2;
  --blue-soft-bg: rgba(59, 130, 246, 0.12);
  --blue-soft-text: #2563EB;
  --green-soft-bg: rgba(16, 185, 129, 0.12);
  --green-soft-text: #059669;

  --shadow: 0 20px 50px -24px rgba(15, 23, 42, 0.18);
  --shadow-glow: 0 0 0 1px var(--border), 0 30px 80px -34px rgba(14, 165, 233, 0.30);
  --hero-glow-opacity: 0.55;
  color-scheme: light;
}

/* Auto light when the visitor hasn't explicitly chosen a theme. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #FFFFFF;
    --bg-2: #F4F7FB;
    --surface: #FFFFFF;
    --surface-2: #F5F8FC;
    --border: rgba(15, 23, 42, 0.10);
    --border-strong: rgba(15, 23, 42, 0.16);
    --text: #0F172A;
    --muted: #475569;
    --muted-2: #94A3B8;
    --glass: rgba(15, 23, 42, 0.04);
    --glass-hover: rgba(15, 23, 42, 0.08);
    --hairline: rgba(15, 23, 42, 0.02);
    --nav-bg: rgba(255, 255, 255, 0.78);
    --nav-bg-scrolled: rgba(255, 255, 255, 0.94);
    --accent-tint-bg: rgba(6, 182, 212, 0.12);
    --accent-tint-border: rgba(6, 182, 212, 0.32);
    --accent-text: #0891B2;
    --blue-soft-bg: rgba(59, 130, 246, 0.12);
    --blue-soft-text: #2563EB;
    --green-soft-bg: rgba(16, 185, 129, 0.12);
    --green-soft-text: #059669;
    --shadow: 0 20px 50px -24px rgba(15, 23, 42, 0.18);
    --shadow-glow: 0 0 0 1px var(--border), 0 30px 80px -34px rgba(14, 165, 233, 0.30);
    --hero-glow-opacity: 0.55;
    color-scheme: light;
  }
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}
h1, h2, h3, h4, h5 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.container--narrow { max-width: 780px; }

.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto;
  background: var(--accent-2); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 200;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-block; font-weight: 600; font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-text);
  background: var(--accent-tint-bg); border: 1px solid var(--accent-tint-border);
  padding: .35rem .7rem; border-radius: 999px; margin-bottom: 1rem;
}
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px -8px rgba(6, 182, 212, 0.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(6, 182, 212, 0.7); }
.btn--ghost { background: var(--glass); color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--glass-hover); border-color: var(--muted-2); }
.btn--lg { padding: .9rem 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- theme toggle ---------- */
.theme-toggle {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 999px; background: var(--glass); border: 1px solid var(--border-strong);
  color: var(--text); transition: background .2s ease, border-color .2s ease;
}
.theme-toggle:hover { background: var(--glass-hover); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme]) .theme-toggle .icon-moon { display: none; }
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(150%) blur(14px);
  background: var(--nav-bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); background: var(--nav-bg-scrolled); }
.nav__inner { display: flex; align-items: center; gap: 1rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.brand__mark { display: grid; place-items: center; }
.brand__accent { color: var(--accent-text); }
.nav__links { display: flex; gap: 1.6rem; margin-inline: auto; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .15s ease; }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; align-items: center; gap: .6rem; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { display: none; flex-direction: column; gap: .3rem; padding: 0 clamp(1.1rem, 4vw, 2rem) 1rem; }
.nav__mobile a { padding: .7rem .2rem; color: var(--muted); border-bottom: 1px solid var(--border); }
.nav__mobile a.btn { color: #fff; border: none; margin-top: .6rem; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(2rem, 5vw, 4rem); overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 620px; z-index: 0;
  opacity: var(--hero-glow-opacity);
  background:
    radial-gradient(600px 340px at 22% 12%, rgba(14,165,233,0.30), transparent 70%),
    radial-gradient(560px 320px at 82% 8%, rgba(6,182,212,0.24), transparent 72%),
    radial-gradient(480px 300px at 60% 40%, rgba(59,130,246,0.16), transparent 75%);
  filter: blur(6px); pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__copy h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; margin-bottom: .4em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 1.1rem; color: var(--muted); font-size: .9rem; }
.hero__proof li { display: inline-flex; align-items: center; gap: .4rem; }
.ic { width: 16px; height: 16px; fill: none; stroke: var(--emerald); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* hero visual window */
.hero__visual { perspective: 1400px; }
.window {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow); overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg); transition: transform .5s ease;
}
.hero__visual:hover .window { transform: rotateY(-2deg) rotateX(1deg); }
.window__bar { display: flex; align-items: center; gap: .4rem; padding: .8rem 1rem; border-bottom: 1px solid var(--border); background: var(--hairline); }
.window__bar > span { width: 11px; height: 11px; border-radius: 50%; background: #3a4152; }
.window__bar > span:nth-child(1){ background:#ff5f57;} .window__bar > span:nth-child(2){ background:#febc2e;} .window__bar > span:nth-child(3){ background:#28c840;}
.window__title { margin-left: auto; font-size: .78rem; color: var(--muted-2); }
.window__body { padding: 1rem; display: grid; gap: 1rem; }

.mini-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }
.mini-card__head { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; }
.mini-card__head strong { display: block; font-size: .95rem; }
.mini-card__head small { color: var(--muted-2); font-size: .78rem; }
.mini-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem; }
.mini-ic--blue { background: var(--blue-soft-bg); }
.mini-ic--green { background: var(--green-soft-bg); }
.mini-ic--amber { background: rgba(245, 158, 11, .14); color: var(--amber); font-weight: 800; }
.pill { margin-left: auto; font-size: .7rem; font-weight: 600; padding: .25rem .55rem; border-radius: 999px; }
.pill--ok { background: var(--blue-soft-bg); color: var(--blue-soft-text); }
.pill--warn { background: rgba(245, 158, 11, .16); color: var(--amber); }
.pill--live { background: var(--green-soft-bg); color: var(--green-soft-text); }
.pill--live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 5px; vertical-align: middle; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100%{ opacity:1;} 50%{ opacity:.3;} }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-bottom: .6rem; }
.bars i { flex: 1; height: var(--h); background: var(--grad-blue); border-radius: 4px 4px 2px 2px; opacity: .85; }
.rows { display: grid; gap: .45rem; }
.row { display: flex; justify-content: space-between; font-size: .85rem; padding: .35rem .1rem; border-bottom: 1px dashed var(--border); }
.row > span { display: grid; gap: .1rem; }
.row > span small { color: var(--muted-2); font-size: .72rem; }
.row b.ok { color: var(--green-soft-text); font-weight: 600; }
.row b.warn { color: var(--amber); font-weight: 600; }

/* claims dashboard — sanitized representation of the real embedded app */
.claims-window { transform: rotateY(-5deg) rotateX(2deg); }
.claims-window .window__body { gap: .75rem; }
.claims-alert { background: linear-gradient(135deg, rgba(245,158,11,.08), var(--surface-2)); }
.claims-alert .mini-card__head { margin: 0; }
.claims-queue .mini-card__head { border-bottom: 1px solid var(--border); margin: -.1rem -.1rem .55rem; padding: .1rem .1rem .7rem; }
.queue-link { margin-left: auto; color: var(--accent-text); font-size: .74rem; font-weight: 700; }
.claims-queue .row { align-items: center; padding: .48rem .1rem; }
.status-chip { flex: 0 0 auto; background: var(--glass-hover); color: var(--muted); border-radius: 999px; padding: .2rem .48rem; font-size: .68rem; font-weight: 600; }
.status-chip--warn { background: rgba(245,158,11,.15); color: var(--amber); }
.status-chip--ok { background: var(--green-soft-bg); color: var(--green-soft-text); }
.dashboard-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.dashboard-metrics > div { display: grid; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .75rem; }
.dashboard-metrics span, .dashboard-metrics small { color: var(--muted-2); font-size: .7rem; }
.dashboard-metrics strong { font-family: var(--display); font-size: 1.35rem; line-height: 1.2; }

/* trust bar */
.trustbar { margin-top: clamp(2rem, 5vw, 3.5rem); padding-top: 1.6rem; border-top: 1px solid var(--border); text-align: center; color: var(--muted-2); font-size: .85rem; }
.trustbar__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 4vw, 2.6rem); margin-top: .9rem; }
.trustbar__logos span { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--muted); opacity: .7; }

/* ---------- stats ---------- */
.stats { padding: clamp(2rem, 4vw, 3rem) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1rem; }
.stat__num { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--muted); font-size: .85rem; }

/* ---------- sections ---------- */
.section { padding: var(--pad-section) 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--border); }
.section__head { max-width: 720px; margin: 0 auto clamp(2.4rem, 5vw, 3.6rem); text-align: center; }
.section__head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.section__sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- product blocks ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.product:last-child { margin-bottom: 0; }
.product--reverse .product__media { order: 2; }
.product__copy h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.product__tag { color: var(--accent-text); font-weight: 600; margin-top: -.3rem; }
.product__copy > p { color: var(--muted); }

.badge { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; padding: .45rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.badge--blue { background: var(--blue-soft-bg); color: var(--blue-soft-text); border: 1px solid rgba(59,130,246,0.3); }
.badge--green { background: var(--green-soft-bg); color: var(--green-soft-text); border: 1px solid rgba(16,185,129,0.3); }

.feature-visual { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); overflow: hidden; }
.feature-visual--blue { background: radial-gradient(120% 120% at 0% 0%, rgba(59,130,246,0.12), transparent 60%), var(--surface); }
.feature-visual--green { background: radial-gradient(120% 120% at 100% 0%, rgba(16,185,129,0.12), transparent 60%), var(--surface); min-height: 300px; }
.fv-row { display: flex; align-items: center; gap: .7rem; padding: .7rem .2rem; border-bottom: 1px solid var(--border); color: var(--muted); font-size: .95rem; }
.fv-row b { margin-left: auto; color: var(--text); font-variant-numeric: tabular-nums; }
.fv-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(59,130,246,0.18); }
.fv-restore { margin-top: 1.2rem; width: 100%; background: var(--grad-blue); color: #fff; border-radius: var(--radius-sm); padding: .8rem; font-weight: 600; border: 0; }

.registration-form { display: grid; gap: .75rem; }
.registration-form .form-title { font-family: var(--display); font-weight: 700; font-size: 1.05rem; padding-bottom: .7rem; border-bottom: 1px solid var(--border); }
.registration-form label { display: grid; gap: .3rem; color: var(--muted); font-size: .78rem; font-weight: 600; }
.registration-form label span { background: var(--surface-2); border: 1px solid var(--border); color: var(--text); border-radius: 9px; padding: .68rem .75rem; font-size: .88rem; font-weight: 500; }
.registration-form .fv-restore { margin-top: .25rem; }

/* sync visual */
.sync-node { position: absolute; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 10px; padding: .5rem .8rem; font-size: .82rem; font-weight: 600; z-index: 2; }
.sync-node--a { top: 22px; left: 22px; } .sync-node--b { top: 22px; right: 22px; } .sync-node--c { bottom: 22px; left: 50%; transform: translateX(-50%); }
.sync-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .1em; color: #fff; background: var(--grad-green); box-shadow: 0 0 0 8px rgba(16,185,129,0.12); z-index: 2; animation: spin 8s linear infinite; }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.sync-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.sync-lines path { fill: none; stroke: rgba(16,185,129,0.5); stroke-width: 2; stroke-dasharray: 5 5; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }

.ticks { display: grid; gap: .7rem; margin: 1.2rem 0 1.6rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--muted); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center/70% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center/70% no-repeat;
}
.ticks--sm li { font-size: .92rem; padding-left: 1.7rem; }

/* ---------- cards grid ---------- */
.grid { display: grid; gap: 1.2rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; background: var(--accent-tint-bg); border: 1px solid var(--accent-tint-border); margin-bottom: 1rem; }
.card h4 { font-size: 1.1rem; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem 1.5rem; position: relative; }
.step__n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-family: var(--display); font-weight: 800; background: var(--grad); color: #fff; margin-bottom: 1rem; }
.step h4 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- product roadmap ---------- */
.roadmap-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.2rem; }
.roadmap-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.roadmap-card--active { border-color: var(--accent-tint-border); background: linear-gradient(145deg, var(--accent-tint-bg), var(--surface)); box-shadow: var(--shadow); }
.roadmap-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.roadmap-card p { color: var(--muted); margin: 0; }
.roadmap-status { display: inline-flex; margin-bottom: 1.2rem; border-radius: 999px; padding: .3rem .65rem; background: var(--accent-tint-bg); border: 1px solid var(--accent-tint-border); color: var(--accent-text); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.roadmap-status--later { background: var(--glass); border-color: var(--border-strong); color: var(--muted); }

/* ---------- pricing ---------- */
.pricing { align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.7rem; display: flex; flex-direction: column; }
.plan--featured { border-color: var(--accent-tint-border); box-shadow: 0 0 0 1px var(--accent-tint-border), 0 30px 70px -30px rgba(6,182,212,0.5); background: linear-gradient(180deg, var(--accent-tint-bg), var(--surface)); }
.plan__ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.plan__for { color: var(--muted-2); font-size: .88rem; margin-bottom: 1.2rem; }
.plan__price { font-family: var(--display); font-weight: 800; font-size: 2.8rem; line-height: 1; margin-bottom: 1.4rem; }
.plan__price .cur { font-size: 1.3rem; vertical-align: super; color: var(--muted); }
.plan__price .per { font-size: .85rem; font-weight: 500; color: var(--muted); font-family: var(--font); }
.plan .ticks { flex: 1; }
.pricing__note { text-align: center; color: var(--muted-2); font-size: .85rem; margin-top: 1.6rem; }

/* ---------- testimonials ---------- */
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; margin: 0; }
.quote blockquote { margin: 0 0 1.2rem; font-size: 1.02rem; line-height: 1.55; }
.quote figcaption b { display: block; font-size: .95rem; }
.quote figcaption span { color: var(--muted-2); font-size: .85rem; }

/* ---------- CTA ---------- */
.cta { padding: var(--pad-section) 0; }
.cta__card { position: relative; overflow: hidden; text-align: center; background: linear-gradient(160deg, var(--surface-2), var(--bg-2)); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: clamp(2.4rem, 6vw, 4.5rem) clamp(1.4rem, 5vw, 3.5rem); }
.cta__glow { position: absolute; inset: auto -10% -60% -10%; height: 340px; background: radial-gradient(500px 260px at 50% 0%, rgba(14,165,233,0.4), transparent 70%); opacity: var(--hero-glow-opacity); pointer-events: none; }
.cta__card h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); position: relative; }
.cta__card > p { color: var(--muted); max-width: 46ch; margin-inline: auto; position: relative; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin: 1.8rem 0 .8rem; position: relative; }
.cta__form { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin: 1.8rem 0 .8rem; position: relative; }
.cta__form input { flex: 1; min-width: 240px; max-width: 340px; background: var(--bg); border: 1px solid var(--border-strong); color: var(--text); border-radius: 999px; padding: .9rem 1.3rem; font-size: 1rem; }
.cta__form input:focus { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.cta__msg { min-height: 1.2rem; font-weight: 600; position: relative; }
.cta__msg.is-ok { color: var(--green-soft-text); } .cta__msg.is-err { color: #e5484d; }
.cta__fine { color: var(--muted-2); font-size: .8rem; position: relative; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 1.3rem; transition: border-color .2s ease; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { list-style: none; cursor: pointer; font-weight: 600; padding: 1.1rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent-text); transition: transform .2s ease; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin: 0; padding-bottom: 1.2rem; }
.faq a { color: var(--accent-text); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding-top: clamp(3rem, 6vw, 4rem); background: var(--bg-2); }
.footer__inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer__brand p { color: var(--muted); max-width: 30ch; margin-top: .8rem; font-size: .92rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer__cols h5 { font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); margin-bottom: .9rem; }
.footer__cols a { display: block; color: var(--muted); font-size: .92rem; padding: .3rem 0; transition: color .15s ease; }
.footer__cols a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 0; border-top: 1px solid var(--border); color: var(--muted-2); font-size: .85rem; }
.footer__links { display: flex; gap: 1.2rem; }
.footer__links a:hover { color: var(--text); }

/* ---------- launch status toggle ----------
   Controlled by data-status on <html>. Only ever HIDES the opposite variant,
   so the shown variant keeps its natural display. Defaults to "live" if the
   attribute is missing/invalid; shows "coming soon" only when explicitly set. */
html:not([data-status="coming-soon"]) .u-when-soon { display: none !important; }
[data-status="coming-soon"] .u-when-live { display: none !important; }

/* ---------- sub-page header (legal pages) ---------- */
.subnav { position: sticky; top: 0; z-index: 100; background: var(--nav-bg); backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid var(--border); }
.subnav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.subnav__right { display: flex; align-items: center; gap: .6rem; }

/* ---------- legal / prose pages ---------- */
.legal { padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 5rem); }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: .3em; }
.legal__meta { color: var(--muted-2); font-size: .9rem; margin-bottom: 2rem; }
.legal__notice { background: var(--accent-tint-bg); border: 1px solid var(--accent-tint-border); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: 2.4rem; font-size: .92rem; color: var(--text); }
.legal h2 { font-size: 1.25rem; margin-top: 2.4rem; margin-bottom: .6rem; }
.legal p { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 1.5rem; margin: 0 0 1.1rem; }
.legal li { color: var(--muted); margin-bottom: .45rem; }
.legal a { color: var(--accent-text); }
.legal strong { color: var(--text); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__mobile { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 520px; }
  .lead { max-width: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .product, .product--reverse { grid-template-columns: 1fr; }
  .product--reverse .product__media { order: 0; }
  .grid--3, .steps { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 1.8rem; }
}
@media (max-width: 560px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .window { transform: none; }
  .hero__visual { order: 0; margin-top: .8rem; }
}
