/* =========================================================
   SIMSIM — Face Recognition API
   Design: 530 Expert  ·  Build: ESS ENN Associates
   Palette: corporate blue & white, trustworthy, high-signal
   ========================================================= */

:root {
  --ink:          #0A2540;   /* near-navy: primary text, dark sections */
  --ink-soft:     #16335A;
  --brand:        #1657FF;   /* signal blue */
  --brand-bright: #4C8DFF;   /* azure highlight */
  --brand-deep:   #0E3A78;
  --surface:      #FFFFFF;
  --surface-alt:  #F4F7FE;   /* pale blue tint */
  --surface-dark: #08213B;
  --line:         #E3E9F5;
  --line-strong:  #CBD8F0;
  --muted:        #5B6B88;
  --check:        #12B76A;

  --radius:   16px;
  --radius-sm:10px;
  --radius-lg:22px;
  --shadow-sm: 0 1px 2px rgba(10,37,64,.06), 0 1px 3px rgba(10,37,64,.04);
  --shadow-md: 0 8px 24px rgba(10,37,64,.08), 0 2px 6px rgba(10,37,64,.05);
  --shadow-lg: 0 24px 60px rgba(10,37,64,.16), 0 8px 24px rgba(10,37,64,.08);
  --shadow-brand: 0 16px 40px rgba(22,87,255,.28);

  --maxw: 1160px;
  --gap:  clamp(16px, 3vw, 28px);

  --font-display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono:    "IBM Plex 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-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--surface-dark); color: #DDE7FA; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--brand);
  display: inline-block;
}
.section--dark .eyebrow { color: var(--brand-bright); }
.section--dark .eyebrow::before { background: var(--brand-bright); }

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
.section--dark h1,.section--dark h2,.section--dark h3 { color: #fff; }
h2.title { font-size: clamp(30px, 4.4vw, 48px); margin-top: 18px; max-width: 20ch; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 60ch; margin-top: 18px; }
.section--dark .lead { color: #A9BEE4; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 16px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: #0F49E6; transform: translateY(-2px); box-shadow: 0 20px 46px rgba(22,87,255,.34); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: rgba(22,87,255,.04); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--block { width: 100%; }
.btn--sm { padding: 11px 18px; font-size: 15px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; gap: 28px;
  height: 72px;
}
.nav__logo { flex: 0 0 auto; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 26px; margin-inline: auto; }
.nav__link {
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 6px 0;
}
.nav__link:hover { color: var(--brand); }
.nav__link::after {
  content:""; position:absolute; left:0; bottom:0; height:2px; width:0;
  background: var(--brand); transition: width .2s ease;
}
.nav__link:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.nav__signin { font-size: 15px; font-weight: 600; color: var(--ink); }
.nav__signin:hover { color: var(--brand); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; }
.nav__toggle svg { width: 26px; height: 26px; stroke: var(--ink); }
.mobile-menu { display: none; }   /* only shown when toggled open under 780px */

.topbar {
  background: linear-gradient(90deg, var(--ink), var(--brand-deep));
  color: #EAF1FF; font-size: 13.5px;
  text-align: center; padding: 9px 16px;
}
.topbar b { color: #fff; }
.topbar a { color: var(--brand-bright); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   HERO  — signature scan-frame
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 90% -10%, rgba(22,87,255,.10), transparent 60%),
    radial-gradient(700px 400px at 8% 110%, rgba(76,141,255,.10), transparent 60%),
    var(--surface);
  overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 72%);
  opacity: .5; pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(30px,5vw,64px);
  padding: clamp(48px,7vw,92px) 0 clamp(60px,8vw,104px);
}
.hero__badge {
  display:inline-flex; align-items:center; gap:9px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing:.06em;
  background: rgba(22,87,255,.08); color: var(--brand);
  border: 1px solid rgba(22,87,255,.18);
  padding: 7px 13px; border-radius: 100px; font-weight:500;
}
.hero__badge .dot { width:7px; height:7px; border-radius:50%; background: var(--check); box-shadow:0 0 0 3px rgba(18,183,106,.2); }
.hero h1 { font-size: clamp(38px, 6vw, 66px); margin-top: 22px; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--brand), var(--brand-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: clamp(17px,2vw,20px); color: var(--muted); max-width: 48ch; margin-top: 22px; }
.hero__free {
  margin-top: 20px; font-family: var(--font-mono); font-size: 14px; color: var(--ink);
  display:flex; align-items:center; gap:10px; flex-wrap: wrap;
}
.hero__free .chk { color: var(--check); font-weight: 700; }
.hero__cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero__trustline { margin-top: 26px; font-size: 13.5px; color: var(--muted); }

/* scan-frame visual */
.scanframe {
  position: relative; aspect-ratio: 1/1; width: 100%; max-width: 440px; margin-inline: auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--ink), var(--brand-deep));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.scanframe__grid {
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 34px 34px;
}
.scanframe svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scanframe__scan {
  position:absolute; left:8%; right:8%; height:2px;
  background: linear-gradient(90deg, transparent, var(--brand-bright), transparent);
  box-shadow: 0 0 16px 2px rgba(76,141,255,.7);
  top: 18%;
  animation: scanmove 3.6s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes scanmove { 0%,100% { top:18%; } 50% { top:80%; } }
.scanframe .lm { fill: #7FB0FF; animation: lmpulse 2.4s ease-in-out infinite; }
.scanframe .lm:nth-child(2){ animation-delay:.2s } .scanframe .lm:nth-child(3){ animation-delay:.4s }
.scanframe .lm:nth-child(4){ animation-delay:.6s } .scanframe .lm:nth-child(5){ animation-delay:.8s }
@keyframes lmpulse { 0%,100%{ opacity:.55 } 50%{ opacity:1 } }
.scanframe__tag {
  position:absolute; bottom:16px; left:16px; right:16px;
  display:flex; justify-content:space-between; align-items:center;
  font-family: var(--font-mono); font-size:11.5px; color:#9DB6E0;
  background: rgba(8,33,59,.6); border:1px solid rgba(76,141,255,.25);
  padding:9px 13px; border-radius:10px; backdrop-filter: blur(4px);
}
.scanframe__tag b { color:#fff; }
.scanframe__conf { color: var(--brand-bright); }

/* ============================================================
   LOGOS / TRUST STRIP
   ============================================================ */
.trust { padding: 40px 0; border-block: 1px solid var(--line); background: var(--surface); }
.trust__label { text-align:center; font-family: var(--font-mono); font-size:12px; letter-spacing:.16em; text-transform:uppercase; color: var(--muted); margin-bottom: 22px; }
.trust__row { display:flex; flex-wrap:wrap; gap: clamp(20px,5vw,54px); justify-content:center; align-items:center; }
.trust__item { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: #92A2BE; letter-spacing:-.01em; opacity:.9; }
.trust__item span { color: var(--brand); }

/* ============================================================
   STAT BAND
   ============================================================ */
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); }
.stat { text-align:left; padding: 6px 0; }
.stat__num { font-family: var(--font-display); font-weight:800; font-size: clamp(30px,4vw,44px); color:#fff; line-height:1; }
.stat__num .u { color: var(--brand-bright); }
.stat__label { margin-top:10px; font-size:14.5px; color:#A9BEE4; }

/* ============================================================
   FEATURES
   ============================================================ */
.sec-head { max-width: var(--maxw); }
.sec-head--center { text-align:center; margin-inline:auto; display:flex; flex-direction:column; align-items:center; }
.sec-head--center .lead { margin-inline:auto; }

.features { margin-top: 54px; display:grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.feature {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
/* corner ticks — echo of scan frame */
.feature::before, .feature::after {
  content:""; position:absolute; width:12px; height:12px; border-color: var(--brand-bright); border-style:solid; opacity:0; transition: opacity .2s ease;
}
.feature::before { top:12px; left:12px; border-width:2px 0 0 2px; }
.feature::after  { bottom:12px; right:12px; border-width:0 2px 2px 0; }
.feature:hover::before, .feature:hover::after { opacity:1; }
.feature__ic {
  width:48px; height:48px; border-radius:12px;
  display:grid; place-items:center; margin-bottom:20px;
  background: linear-gradient(150deg, rgba(22,87,255,.12), rgba(76,141,255,.10));
  border: 1px solid rgba(22,87,255,.16);
}
.feature__ic svg { width:24px; height:24px; stroke: var(--brand); fill:none; stroke-width:1.8; }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { font-size: 15.5px; color: var(--muted); }
.feature p b { color: var(--ink); font-weight: 600; }

/* ============================================================
   ENDPOINTS / CAPABILITIES (dark)
   ============================================================ */
.platform__grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,60px); align-items:center; }
.endpoints { display:grid; gap: 12px; margin-top: 8px; }
.endpoint {
  display:flex; align-items:center; gap:16px;
  background: rgba(255,255,255,.03); border:1px solid rgba(76,141,255,.16);
  border-radius: 12px; padding: 15px 18px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.endpoint:hover { background: rgba(76,141,255,.08); border-color: rgba(76,141,255,.4); transform: translateX(4px); }
.endpoint__method {
  font-family: var(--font-mono); font-size: 11px; font-weight:600; letter-spacing:.04em;
  color: var(--brand-bright); background: rgba(76,141,255,.14);
  border:1px solid rgba(76,141,255,.3); padding: 4px 8px; border-radius: 6px; flex:0 0 auto;
}
.endpoint__path { font-family: var(--font-mono); font-size: 14px; color:#DDE7FA; flex:1; }
.endpoint__desc { font-size: 13px; color:#8FA6CE; }
.platform__aside .lead { margin-bottom: 26px; }
.codecard {
  background: #06182C; border:1px solid rgba(76,141,255,.22); border-radius: var(--radius);
  overflow:hidden; box-shadow: var(--shadow-lg);
}
.codecard__bar { display:flex; align-items:center; gap:7px; padding: 12px 16px; border-bottom:1px solid rgba(76,141,255,.16); }
.codecard__bar i { width:11px; height:11px; border-radius:50%; display:block; background:#2B4763; }
.codecard__bar .r{background:#FF5F57}.codecard__bar .y{background:#FEBC2E}.codecard__bar .g{background:#28C840}
.codecard__bar span { margin-left:8px; font-family:var(--font-mono); font-size:12px; color:#7FA0CC; }
.codecard pre { margin:0; padding: 20px; overflow-x:auto; }
.codecard code { font-family: var(--font-mono); font-size: 13px; line-height:1.7; color:#CFE0FA; }
.codecard .k { color:#7FB0FF; } .codecard .s { color:#8FE3B0; } .codecard .c{ color:#5E7BA6; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing__grid { margin-top: 52px; display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.plan {
  position:relative; display:flex; flex-direction:column;
  background: var(--surface); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.plan--featured {
  border-color: var(--brand); box-shadow: var(--shadow-brand);
  background: linear-gradient(180deg, #fff, #FAFCFF);
}
.plan--featured:hover { box-shadow: 0 26px 64px rgba(22,87,255,.32); }
.plan__flag {
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background: var(--brand); color:#fff; font-size: 11.5px; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; padding: 6px 14px; border-radius: 100px;
  font-family: var(--font-mono);
}
.plan__name { font-family: var(--font-display); font-weight:800; font-size: 19px; }
.plan__price { display:flex; align-items:baseline; gap:4px; margin-top: 14px; }
.plan__price .amt { font-family: var(--font-display); font-weight:800; font-size: 42px; letter-spacing:-.03em; }
.plan__price .per { color: var(--muted); font-size: 15px; }
.plan__req {
  font-family: var(--font-mono); font-size: 13.5px; color: var(--brand); font-weight:500;
  margin-top: 8px; padding: 8px 12px; background: rgba(22,87,255,.06);
  border-radius: 8px; display:inline-block;
}
.plan__list { list-style:none; padding:0; margin: 22px 0 26px; display:grid; gap: 12px; }
.plan__list li { display:flex; gap:11px; align-items:flex-start; font-size: 14.5px; color: var(--ink-soft); }
.plan__list svg { width:18px; height:18px; flex:0 0 auto; margin-top:2px; }
.plan__list svg circle { fill: rgba(18,183,106,.12); }
.plan__list svg path { stroke: var(--check); stroke-width:2; fill:none; }
.plan__cta { margin-top:auto; }
.pricing__note { text-align:center; margin-top: 34px; font-size: 14px; color: var(--muted); }
.pricing__note b { color: var(--ink); }

/* Free callout */
.freecard {
  margin-top: 24px;
  display:flex; align-items:center; justify-content:space-between; gap: 24px; flex-wrap:wrap;
  background: linear-gradient(120deg, var(--ink), var(--brand-deep));
  border-radius: var(--radius-lg); padding: 28px 34px; color:#fff;
}
.freecard__l h3 { color:#fff; font-size:22px; }
.freecard__l p { color:#B9CCEC; font-size:15px; margin-top:6px; }
.freecard__meta { font-family:var(--font-mono); font-size:13px; color:var(--brand-bright); margin-top:10px; }

/* ============================================================
   CTA BAND
   ============================================================ */
.ctaband { position:relative; overflow:hidden; }
.ctaband__inner {
  background: linear-gradient(130deg, var(--brand), var(--brand-deep) 120%);
  border-radius: var(--radius-lg); padding: clamp(40px,6vw,72px);
  display:grid; grid-template-columns: 1.2fr .8fr; align-items:center; gap:40px;
  box-shadow: var(--shadow-lg); position:relative; overflow:hidden;
}
.ctaband__inner::after{
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(circle at 85% 20%, #000, transparent 70%);
}
.ctaband h2 { color:#fff; font-size: clamp(26px,3.6vw,40px); position:relative; }
.ctaband p { color:#D5E2FF; margin-top:14px; font-size:17px; position:relative; }
.ctaband__actions { display:flex; flex-direction:column; gap:12px; position:relative; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { margin-top: 46px; max-width: 820px; margin-inline:auto; display:grid; gap: 12px; }
.faq__item { border:1px solid var(--line); border-radius: var(--radius-sm); background:var(--surface); overflow:hidden; transition:border-color .2s ease; }
.faq__item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq__q {
  list-style:none; cursor:pointer; padding: 20px 22px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  font-family: var(--font-display); font-weight:700; font-size: 17px; color: var(--ink);
}
.faq__q::-webkit-details-marker { display:none; }
.faq__q .plus { flex:0 0 auto; width:22px; height:22px; position:relative; transition: transform .25s ease; }
.faq__q .plus::before,.faq__q .plus::after { content:""; position:absolute; background:var(--brand); border-radius:2px; }
.faq__q .plus::before { top:10px; left:2px; right:2px; height:2px; }
.faq__q .plus::after  { left:10px; top:2px; bottom:2px; width:2px; transition: opacity .25s ease; }
.faq__item[open] .faq__q .plus { transform: rotate(90deg); }
.faq__item[open] .faq__q .plus::after { opacity:0; }
.faq__a { padding: 0 22px 22px; color: var(--muted); font-size: 15.5px; }
.faq__a a { color: var(--brand); text-decoration: underline; text-underline-offset:3px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color:#A9BEE4; padding: 72px 0 34px; }
.footer__top { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { font-size:14.5px; color:#8FA6CE; margin-top:16px; max-width:34ch; }
.footer__logo { display:flex; align-items:center; gap:11px; font-family:var(--font-display); font-weight:800; font-size:22px; color:#fff; }
.footer__logo .mk { width:34px; height:34px; }
.footer__social { display:flex; gap:12px; margin-top:20px; }
.footer__social a { width:38px; height:38px; border-radius:9px; display:grid; place-items:center; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); transition:background .2s ease; }
.footer__social a:hover { background: var(--brand); }
.footer__social svg { width:18px; height:18px; fill:#DDE7FA; }
.footer__col h4 { color:#fff; font-family:var(--font-display); font-size:14px; letter-spacing:.02em; margin-bottom:16px; }
.footer__col a { display:block; font-size:14.5px; color:#9DB6E0; padding:6px 0; transition:color .15s ease; }
.footer__col a:hover { color:#fff; }
.footer__bottom {
  margin-top: 50px; padding-top: 26px; border-top:1px solid rgba(255,255,255,.10);
  display:flex; flex-wrap:wrap; gap:16px 28px; align-items:center; justify-content:space-between;
  font-size: 13px; color:#7C93BD;
}
.footer__credits { display:flex; flex-wrap:wrap; gap: 6px 18px; }
.footer__credits a { color:#9DB6E0; text-decoration:underline; text-underline-offset:3px; }
.footer__credits a:hover { color:#fff; }
.footer__legal { display:flex; gap:18px; flex-wrap:wrap; }
.footer__legal a:hover { color:#fff; }

/* ============================================================
   MODAL — contact form per plan
   ============================================================ */
.modal { position: fixed; inset:0; z-index: 100; display:none; }
.modal.is-open { display:block; }
.modal__overlay { position:absolute; inset:0; background: rgba(6,20,40,.55); backdrop-filter: blur(4px); animation: fade .2s ease; }
.modal__dialog {
  position:absolute; left:50%; top:50%; transform: translate(-50%,-50%);
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow-y:auto;
  background:#fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  animation: pop .25s cubic-bezier(.16,1,.3,1);
}
@keyframes fade { from{opacity:0} to{opacity:1} }
@keyframes pop { from{opacity:0; transform:translate(-50%,-46%) scale(.97)} to{opacity:1; transform:translate(-50%,-50%) scale(1)} }
.modal__head {
  padding: 26px 28px 18px; border-bottom:1px solid var(--line); position:relative;
  background: linear-gradient(160deg, #F4F7FE, #fff);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal__eyebrow { font-family:var(--font-mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--brand); }
.modal__head h3 { font-size: 23px; margin-top:8px; }
.modal__head p { color: var(--muted); font-size:14.5px; margin-top:6px; }
.modal__plan {
  display:inline-flex; align-items:center; gap:8px; margin-top:14px;
  font-family:var(--font-mono); font-size:13px; font-weight:500;
  background: rgba(22,87,255,.08); color:var(--brand); border:1px solid rgba(22,87,255,.2);
  padding:7px 13px; border-radius:100px;
}
.modal__plan .amt { color: var(--ink); font-weight:700; }
.modal__close {
  position:absolute; top:18px; right:18px; width:38px; height:38px; border-radius:10px;
  border:1px solid var(--line); background:#fff; display:grid; place-items:center; color:var(--muted);
  transition: background .15s ease, color .15s ease;
}
.modal__close:hover { background: var(--surface-alt); color: var(--ink); }
.modal__body { padding: 24px 28px 28px; }
.field { margin-bottom: 16px; }
.field label { display:block; font-size:13.5px; font-weight:600; color:var(--ink); margin-bottom:7px; }
.field label .req { color: var(--brand); }
.field input, .field textarea {
  width:100%; font-family:inherit; font-size:15px; color:var(--ink);
  padding: 12px 14px; border:1px solid var(--line-strong); border-radius:10px; background:#fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline:none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(22,87,255,.12);
}
.field textarea { resize: vertical; min-height: 92px; }
.field--row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form__foot { display:flex; align-items:center; gap:14px; margin-top:6px; }
.form__note { font-size:12.5px; color:var(--muted); }
.form__status { font-size:14px; margin-top:14px; padding:12px 14px; border-radius:10px; display:none; }
.form__status.ok { display:block; background:rgba(18,183,106,.10); color:#0B7a48; border:1px solid rgba(18,183,106,.3); }
.form__status.err { display:block; background:rgba(255,71,71,.08); color:#B4261E; border:1px solid rgba(255,71,71,.25); }
.btn[aria-busy="true"] { opacity:.7; pointer-events:none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .scanframe { max-width: 360px; order:-1; }
  .platform__grid { grid-template-columns:1fr; }
  .ctaband__inner { grid-template-columns:1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap:32px; }
  .features { grid-template-columns: repeat(2,1fr); }
  .pricing__grid { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); row-gap:28px; }
}
@media (max-width: 780px) {
  .nav__links, .nav__signin { display:none; }
  .nav__toggle { display:block; }
  .nav.is-open { position:relative; }
  .mobile-menu {
    display:none; position:absolute; top:100%; left:0; right:0;
    background:#fff; border-bottom:1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 12px 24px 20px; flex-direction:column; gap:2px;
  }
  .mobile-menu.is-open { display:flex; }
  .mobile-menu a { padding:13px 4px; font-size:16px; font-weight:600; border-bottom:1px solid var(--line); }
  .mobile-menu .btn { margin-top:12px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .features { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .freecard { text-align:center; justify-content:center; }
  .hero__cta { flex-direction:column; }
  .hero__cta .btn { width:100%; }
}

/* reveal-on-scroll */
.reveal { opacity:0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior:auto !important; }
  .reveal { opacity:1; transform:none; }
  .scanframe__scan { display:none; }
}