/* =====================================================================
   WappNexus design system — enterprise, blue & white
   ===================================================================== */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-tint: #eff4ff;
  --ink: #0b1220;
  --ink-2: #344054;
  --muted: #5b6478;
  --faint: #8a93a6;
  --line: #e6eaf2;
  --line-2: #d5dcea;
  --brand: #1a5cff;
  --brand-hover: #0f4ae6;
  --brand-ink: #0b3fd1;
  --brand-soft: #eaf0ff;
  --brand-soft-2: #d6e2ff;
  --navy: #0a1a3f;
  --navy-2: #0f2557;
  --navy-line: rgba(255, 255, 255, .1);
  --navy-ink: #e8eefc;
  --navy-muted: #a3b2d6;
  --ok: #12a150;
  --ok-soft: #e7f6ee;
  --warn: #d97706;
  --danger: #e5484d;
  --wa: #25d366;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
  --shadow: 0 12px 24px -8px rgba(16, 24, 40, .12), 0 4px 8px -4px rgba(16, 24, 40, .06);
  --shadow-lg: 0 32px 64px -16px rgba(16, 36, 94, .22), 0 8px 16px -8px rgba(16, 36, 94, .1);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  color-scheme: light;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); letter-spacing: -.022em; line-height: 1.12; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -.035em; line-height: 1.04; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); letter-spacing: -.03em; }
h3 { font-size: 1.12rem; letter-spacing: -.012em; }
p { margin: 0 0 1em; color: var(--ink-2); }
code, pre, kbd { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-size: .95rem; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn--sm { height: 36px; padding: 0 14px; font-size: .88rem; border-radius: 8px; }
.btn--lg { height: 52px; padding: 0 24px; font-size: 1rem; border-radius: 12px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.1), inset 0 1px 0 rgba(255,255,255,.14); }
.btn--primary:hover { background: var(--brand-hover); box-shadow: 0 8px 20px -8px rgba(26,92,255,.7); }
.btn--secondary { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-xs); }
.btn--secondary:hover { border-color: var(--faint); background: var(--bg-soft); }
.btn--quiet { background: transparent; color: var(--ink-2); }
.btn--quiet:hover { color: var(--ink); background: var(--bg-soft); }
.btn--white { background: #fff; color: var(--brand-ink); }
.btn--white:hover { box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); transform: translateY(-1px); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.btn--fb { background: #1877f2; color: #fff; height: 52px; font-size: 1rem; }
.btn--fb:hover { background: #166fe5; }
.btn--fb svg { width: 22px; height: 22px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }
.arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(3px); }
.link { color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { color: var(--brand-ink); }

/* ===== Announcement bar ===== */
.announce { background: var(--navy); color: var(--navy-ink); font-size: .85rem; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; text-align: center; flex-wrap: wrap; }
.announce__tag { background: var(--brand); color: #fff; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; }
.announce a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }
@media (max-width: 640px) { .announce span:not(.announce__tag) { font-size: .8rem; } }

/* ===== Navigation ===== */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.8) blur(12px); -webkit-backdrop-filter: saturate(1.8) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -18px rgba(16,24,40,.5); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.2rem; letter-spacing: -.035em; color: var(--ink); flex: none; }
.brand img { width: 32px; height: 32px; }
.brand b { color: var(--brand); font-weight: 800; }
.brand--light { color: #fff; } .brand--light b { color: #8fb3ff; }
.nav__menu { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav__item { position: relative; }
.nav__trigger, .nav__link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: 8px; border: 0; background: none; font: inherit; font-size: .94rem; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s; }
.nav__trigger svg { width: 12px; height: 12px; transition: transform .2s; }
.nav__trigger:hover, .nav__link:hover, .nav__item.is-open .nav__trigger { color: var(--ink); background: var(--bg-soft); }
.nav__item.is-open .nav__trigger svg { transform: rotate(180deg); }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.mega {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 760px; display: grid; grid-template-columns: 1fr 230px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.mega--narrow { width: 460px; grid-template-columns: 1fr; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1025px) { .nav__item:hover .mega { opacity: 1; visibility: visible; transform: none; } .nav__item:hover .nav__trigger { color: var(--ink); background: var(--bg-soft); } }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 14px; }
.mega__link { display: flex; gap: 12px; padding: 12px; border-radius: 10px; transition: background .15s; }
.mega__link:hover { background: var(--bg-soft); }
.mega__link strong { display: block; font-size: .93rem; font-weight: 600; color: var(--ink); }
.mega__link small { display: block; font-size: .82rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mega__ico { flex: none; width: 36px; height: 36px; border-radius: 9px; background: var(--brand-soft) center/20px no-repeat; }
.mega__aside { background: var(--bg-soft); border-left: 1px solid var(--line); padding: 22px 20px; display: grid; gap: 14px; align-content: start; }
.mega__aside small, .mega__cols small { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.mega__aside a strong { display: block; font-size: .92rem; color: var(--ink); }
.mega__aside a span { font-size: .82rem; color: var(--brand); }
.mega__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 22px 24px; }
.mega__cols div { display: grid; gap: 4px; align-content: start; }
.mega__cols small { margin-bottom: 6px; }
.mega__cols a { font-size: .92rem; color: var(--ink-2); padding: 6px 0; }
.mega__cols a:hover { color: var(--brand); }
.i-api   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a5cff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 18 6-6-6-6M8 6l-6 6 6 6'/%3E%3C/svg%3E"); }
.i-otp   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a5cff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.i-cmp   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a5cff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11v2a1 1 0 0 0 1 1h2l5 4V6L6 10H4a1 1 0 0 0-1 1Z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M18.5 5.5a9 9 0 0 1 0 13'/%3E%3C/svg%3E"); }
.i-inbox { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a5cff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3C/svg%3E"); }
.i-flow  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a5cff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='6' height='6' rx='1'/%3E%3Crect x='15' y='15' width='6' height='6' rx='1'/%3E%3Cpath d='M6 9v3a3 3 0 0 0 3 3h6'/%3E%3C/svg%3E"); }
.i-chart { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a5cff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 15 4-4 3 3 5-6'/%3E%3C/svg%3E"); }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; padding: 11px; cursor: pointer; }
.nav__toggle span { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
@media (max-width: 1024px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 16px 24px; overflow-y: auto; border-top: 1px solid var(--line);
    transform: translateX(100%); transition: transform .3s var(--ease); visibility: hidden;
  }
  .nav.is-open .nav__menu { transform: none; visibility: visible; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__trigger, .nav__link { width: 100%; height: 54px; justify-content: space-between; padding: 0 4px; font-size: 1.02rem; border-radius: 0; }
  .nav__link { border-bottom: 1px solid var(--line); }
  .nav__trigger:hover, .nav__link:hover, .nav__item.is-open .nav__trigger { background: none; }
  .mega, .mega--narrow { position: static; width: auto; display: none; grid-template-columns: 1fr; box-shadow: none; border: 0; border-radius: 0; opacity: 1; visibility: visible; transform: none; }
  .nav__item.is-open .mega { display: grid; }
  .mega__grid { grid-template-columns: 1fr; padding: 0 0 10px; }
  .mega__aside { display: none; }
  .mega__cols { grid-template-columns: 1fr; padding: 4px 4px 14px; }
  .nav__cta { margin: 20px 0 0; flex-direction: column; align-items: stretch; gap: 10px; }
  .nav__cta .btn { height: 48px; }
  .nav__cta .btn--quiet { border: 1px solid var(--line-2); }
}

/* ===== Sections & headings ===== */
.section { padding: 112px 0; position: relative; }
.section--sm { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: var(--navy-ink); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy p { color: var(--navy-muted); }
@media (max-width: 720px) { .section { padding: 76px 0; } .section--sm { padding: 52px 0; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section--navy .eyebrow { color: #8fb3ff; }
.head { max-width: 760px; margin-bottom: 56px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head p, .lead { font-size: 1.15rem; line-height: 1.65; color: var(--muted); }
.section--navy .head p { color: var(--navy-muted); }
.note { font-size: .82rem; color: var(--faint); }

/* ===== Hero ===== */
.hero { position: relative; padding: 88px 0 72px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(900px 480px at 78% 0%, var(--brand-soft-2), transparent 62%), radial-gradient(700px 400px at 0% 0%, var(--bg-tint), transparent 60%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; opacity: .55; mask-image: radial-gradient(ellipse 70% 60% at 70% 20%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 20%, #000 20%, transparent 75%); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.hero h1 .hl { color: var(--brand); }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--muted); font-size: .9rem; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--ok); }
.badge-meta { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs); font-size: .85rem; color: var(--ink-2); margin-bottom: 26px; }
.badge-meta b { display: inline-flex; align-items: center; gap: 6px; background: var(--ok-soft); color: var(--ok); font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.badge-meta b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
@media (max-width: 1024px) { .hero__inner { grid-template-columns: 1fr; } .hero { padding-top: 64px; } }

/* Product composite (hero visual) */
.app { position: relative; }
.app__win { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.app__bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #e3e7ef; }
.app__url { margin: 0 auto; font-size: .72rem; color: var(--faint); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 40px; font-family: "JetBrains Mono", monospace; }
.app__body { display: grid; grid-template-columns: 52px 200px 1fr; height: 420px; }
.app__rail { background: var(--navy); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0; }
.app__rail img { width: 26px; height: 26px; margin-bottom: 8px; }
.app__rail i { width: 26px; height: 26px; border-radius: 7px; background: rgba(255,255,255,.1); }
.app__rail i.on { background: var(--brand); }
.app__list { border-right: 1px solid var(--line); padding: 12px 8px; display: grid; gap: 2px; align-content: start; overflow: hidden; }
.app__list h5 { margin: 2px 8px 8px; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.conv { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: center; padding: 8px; border-radius: 8px; font-size: .76rem; }
.conv.on { background: var(--brand-soft); }
.conv .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .72rem; color: #fff; }
.conv strong { display: block; font-size: .78rem; color: var(--ink); }
.conv small { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 96px; }
.conv em { font-style: normal; font-size: .64rem; color: #fff; background: var(--brand); border-radius: 999px; padding: 1px 6px; }
.app__chat { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; background: #f6f8fb; }
.app__chathead { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); font-size: .8rem; }
.app__chathead strong { display: block; color: var(--ink); }
.app__chathead small { color: var(--ok); font-size: .7rem; }
.app__chathead .tag { margin-left: auto; font-size: .68rem; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 3px 8px; border-radius: 999px; }
.thread { padding: 14px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; overflow: hidden; }
.bubble { max-width: 80%; padding: 8px 11px; border-radius: 12px; font-size: .78rem; line-height: 1.45; box-shadow: var(--shadow-xs); opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.bubble.show { opacity: 1; transform: none; }
.bubble--in { background: #fff; color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble--out { background: var(--brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble--tpl { background: #fff; border: 1px solid var(--line); align-self: flex-end; color: var(--ink); }
.bubble--tpl b { display: block; font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); margin-bottom: 3px; }
.bubble small { display: block; text-align: right; font-size: .62rem; opacity: .7; margin-top: 2px; }
.composer { display: flex; align-items: center; gap: 8px; margin: 0 12px 12px; padding: 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: .76rem; color: var(--faint); }
.composer span { flex: 1; }
.composer i { width: 24px; height: 24px; border-radius: 7px; background: var(--brand); }
.app__float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 14px 16px; font-size: .8rem; }
.app__float--stats { right: -18px; bottom: -28px; width: 230px; }
.app__float--stats small { color: var(--muted); font-size: .72rem; }
.app__float--stats strong { display: block; font-size: 1.35rem; letter-spacing: -.02em; color: var(--ink); }
.app__float--stats .up { color: var(--ok); font-size: .72rem; font-weight: 600; }
.spark { height: 38px; margin-top: 6px; }
.app__float--otp { left: -34px; bottom: 64px; display: flex; align-items: center; gap: 10px; }
.app__float--otp .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--ok-soft); display: grid; place-items: center; color: var(--ok); }
.app__float--otp .ic svg { width: 16px; height: 16px; }
.app__float--otp strong { display: block; font-size: .82rem; color: var(--ink); }
.app__float--otp small { color: var(--muted); font-size: .72rem; }
.app__float { animation: floaty 7s ease-in-out infinite; }
.app__float--otp { animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
@media (max-width: 1024px) { .app { margin: 10px 8px 30px; } }
@media (max-width: 640px) {
  .app__body { grid-template-columns: 1fr; height: 380px; }
  .app__rail, .app__list { display: none; }
  .app__float--otp { left: -4px; bottom: 70px; }
  .app__float--stats { right: -4px; width: 200px; }
  .app__url { padding: 3px 14px; }
}

/* ===== Logo strip ===== */
.logos { padding: 40px 0 8px; }
.logos p { text-align: center; font-size: .86rem; color: var(--muted); margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: scroll 40s linear infinite; }
.marquee__track span { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; color: #9aa3b5; white-space: nowrap; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(calc(-50% - 32px)); } }

/* ===== Metric band ===== */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.metrics > div { padding: 28px; border-right: 1px solid var(--line); }
.metrics > div:last-child { border-right: 0; }
.metrics strong { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.035em; color: var(--ink); line-height: 1.1; }
.metrics span { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .metrics { grid-template-columns: 1fr 1fr; } .metrics > div:nth-child(2) { border-right: 0; } .metrics > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ===== Bento (platform) ===== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; overflow: hidden; position: relative; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.tile:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.tile--wide { grid-column: span 3; }
.tile__label { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--brand); margin-bottom: 12px; }
.tile__label .mega__ico { width: 28px; height: 28px; border-radius: 8px; background-size: 16px; }
.tile h3 { font-size: 1.2rem; margin-bottom: 8px; }
.tile p { font-size: .95rem; color: var(--muted); margin-bottom: 20px; }
.tile .link { margin-top: auto; font-size: .92rem; }
.tile__vis { margin: 4px -28px 20px; padding: 0 28px; }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } .tile, .tile--wide { grid-column: span 1; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } }
/* tile mini-visuals */
.mini-code { background: var(--navy); color: #cfe0ff; border-radius: 10px; padding: 14px 16px; font: 12px/1.7 "JetBrains Mono", monospace; overflow: hidden; white-space: pre; }
.mini-code .k { color: #8fb3ff; } .mini-code .s { color: #ffd580; } .mini-code .c { color: #6b7fa8; }
.mini-otp { display: flex; gap: 8px; }
.mini-otp span { flex: 1; height: 46px; border: 1px solid var(--line-2); border-radius: 10px; display: grid; place-items: center; font-size: 1.2rem; font-weight: 700; color: var(--ink); background: var(--bg-soft); }
.mini-otp span.f { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); background: #fff; }
.mini-bars { display: flex; align-items: flex-end; gap: 8px; height: 84px; }
.mini-bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--brand), #6f9bff); opacity: .9; }
.mini-bars i:nth-child(odd) { background: var(--brand-soft-2); }
.mini-flow { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; flex-wrap: wrap; }
.mini-flow span { padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-soft); color: var(--ink-2); }
.mini-flow span.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.mini-flow b { color: var(--faint); font-weight: 400; }
.mini-inbox { display: grid; gap: 8px; }
.mini-inbox div { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: .8rem; color: var(--ink-2); }
.mini-inbox i { width: 24px; height: 24px; border-radius: 50%; flex: none; }
.mini-inbox em { margin-left: auto; font-style: normal; font-size: .7rem; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.mini-camp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-camp div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.mini-camp small { display: block; font-size: .7rem; color: var(--muted); }
.mini-camp strong { font-size: 1.05rem; letter-spacing: -.02em; }

/* ===== Use-case explorer ===== */
.explorer { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .explorer { grid-template-columns: 1fr; } }
.uc-tabs { display: grid; gap: 8px; }
.uc-tab { text-align: left; background: none; border: 1px solid transparent; border-radius: var(--r); padding: 18px 20px; cursor: pointer; font: inherit; color: inherit; transition: background .2s, border-color .2s, box-shadow .2s; position: relative; }
.uc-tab:hover { background: #fff; }
.uc-tab[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.uc-tab[aria-selected="true"]::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--brand); }
.uc-tab strong { display: block; font-size: 1.02rem; color: var(--ink); }
.uc-tab span { display: block; font-size: .92rem; color: var(--muted); margin-top: 4px; }
.uc-tab[aria-selected="false"] span { display: none; }
.uc-stage { display: flex; justify-content: center; }
.phone { width: 300px; max-width: 100%; height: 560px; border-radius: 42px; background: #0b141a; padding: 10px; box-shadow: 0 0 0 1px #d5dcea, 0 0 0 8px #fff, 0 0 0 9px #e6eaf2, var(--shadow-lg); }
.phone__screen { height: 100%; border-radius: 33px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; background: #0b141a radial-gradient(circle at 20% 20%, rgba(255,255,255,.03) 2px, transparent 2px) 0 0/22px 22px; }
.phone__head { display: flex; align-items: center; gap: 10px; background: #1f2c34; color: #e9edef; padding: 38px 14px 12px; }
.phone__head .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--brand); }
.phone__head strong { display: block; font-size: .9rem; }
.phone__head small { display: inline-flex; align-items: center; gap: 4px; color: #8696a0; font-size: .7rem; }
.phone__body { padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; overflow: hidden; }
.wa { max-width: 86%; padding: 8px 10px 16px; border-radius: 10px; font-size: .8rem; line-height: 1.45; color: #e9edef; position: relative; animation: pop .4s var(--ease) both; }
.wa p { margin: 0; color: inherit; }
.wa--in { background: #202c33; align-self: flex-start; border-top-left-radius: 2px; }
.wa--out { background: #005c4b; align-self: flex-end; border-top-right-radius: 2px; }
.wa__t { position: absolute; right: 8px; bottom: 3px; font-size: .62rem; color: #8696a0; }
.wa__btn { display: block; margin: 8px -10px -12px; padding: 8px; border-top: 1px solid rgba(255,255,255,.08); text-align: center; color: #53bdeb; font-weight: 600; font-size: .78rem; }
.wa__img { height: 70px; margin: -4px -6px 8px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #3d8bff, #0b3fd1); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }

/* ===== Developers band ===== */
.dev { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .dev { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.section--navy .ticks li { color: var(--navy-ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a5cff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }
.section--navy .ticks li::before { background-color: rgba(143,179,255,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fb3ff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
.code { background: #071230; border: 1px solid var(--navy-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); min-width: 0; }
.code__bar { display: flex; align-items: center; gap: 16px; padding: 10px 14px; border-bottom: 1px solid var(--navy-line); flex-wrap: wrap; }
.code__bar .dots i { background: rgba(255,255,255,.15); }
.tabs { display: flex; gap: 2px; }
.tabs button { background: none; border: 0; color: var(--navy-muted); font: inherit; font-size: .82rem; font-weight: 500; padding: 6px 12px; border-radius: 7px; cursor: pointer; transition: background .15s, color .15s; }
.tabs button:hover { color: #fff; }
.tabs button[aria-selected="true"] { background: rgba(143,179,255,.16); color: #fff; }
.code__body { margin: 0; padding: 20px 22px; min-height: 300px; overflow-x: auto; font: 13px/1.75 "JetBrains Mono", monospace; color: #d6e3ff; }
.code__body .k { color: #8fb3ff; } .code__body .s { color: #ffd580; } .code__body .c { color: #6b7fa8; } .code__body .p { color: #c4b5fd; }
.caret { display: inline-block; width: 7px; height: 1.1em; background: #8fb3ff; vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.code__resp { display: flex; align-items: center; gap: 12px; padding: 12px 22px; border-top: 1px solid var(--navy-line); font: 12.5px "JetBrains Mono", monospace; color: #d6e3ff; opacity: 0; transition: opacity .4s; flex-wrap: wrap; }
.code__resp.show { opacity: 1; }
.pill-ok { background: rgba(18,161,80,.2); color: #6ee7a0; padding: 2px 9px; border-radius: 999px; font-weight: 600; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; }
.langs span { font: 500 .8rem "JetBrains Mono", monospace; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--navy-line); color: var(--navy-ink); }

/* ===== Feature grid (security etc.) ===== */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.fgrid > div { background: #fff; padding: 28px; }
.fgrid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .fgrid, .fgrid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fgrid, .fgrid--4 { grid-template-columns: 1fr; } }
.fgrid h3 { font-size: 1.02rem; margin: 14px 0 6px; }
.fgrid p { font-size: .93rem; color: var(--muted); margin: 0; }
.ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.ic svg { width: 20px; height: 20px; }
.section--navy .fgrid { background: var(--navy-line); border-color: var(--navy-line); }
.section--navy .fgrid > div { background: var(--navy); }
.section--navy .fgrid p { color: var(--navy-muted); }
.section--navy .ic { background: rgba(143,179,255,.14); color: #8fb3ff; }

/* ===== Split blocks ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 40px; } .split--rev > :first-child { order: 0; } }

/* ===== Steps ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; position: relative; }
.steps li::before { content: "0" counter(s); display: block; font: 600 .8rem "JetBrains Mono", monospace; color: var(--brand); margin-bottom: 14px; }
.steps h3 { font-size: 1.02rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: .92rem; color: var(--muted); }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ===== Industries ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.card h3 { margin: 14px 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .93rem; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .88rem; color: var(--ink-2); }
.card li::before { content: "→ "; color: var(--brand); }

/* ===== CTA panel ===== */
.cta { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 64px; color: #fff; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
  background: radial-gradient(600px 320px at 100% 0%, rgba(143,179,255,.45), transparent 60%), linear-gradient(135deg, #2a6bff, var(--brand) 40%, var(--brand-ink)); }
.cta::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); pointer-events: none; }
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { color: rgba(255,255,255,.85); margin: 0; font-size: 1.08rem; }
.cta__btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 40px 26px; } }

/* ===== Page hero (sub-pages) ===== */
.phero { padding: 80px 0 64px; position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-tint), #fff); }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; opacity: .5; mask-image: radial-gradient(ellipse 60% 80% at 80% 0%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 0%, #000, transparent 70%); }
.phero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 820px; }
.phero .lead { max-width: 680px; }
.phero--center { text-align: center; }
.phero--center h1, .phero--center .lead { margin-left: auto; margin-right: auto; }
.phero--center .eyebrow { justify-content: center; }
.phero .hero__cta { margin-top: 28px; }
.phero--center .hero__cta { justify-content: center; }

/* ===== Pricing ===== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.plan { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; background: #fff; display: flex; flex-direction: column; position: relative; }
.plan--pop { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-lg); }
.plan__flag { position: absolute; top: -12px; left: 32px; background: var(--brand); color: #fff; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 1.15rem; margin-bottom: 6px; }
.plan__desc { color: var(--muted); font-size: .93rem; min-height: 3em; }
.plan__price { margin: 18px 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan__price strong { font-size: 2rem; letter-spacing: -.035em; font-weight: 800; }
.plan__price span { display: block; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; font-size: .93rem; color: var(--ink-2); }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a5cff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/10px no-repeat; }
.plan .btn { margin-top: auto; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 640px; }
.cmp th, .cmp td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: .85rem; color: var(--muted); font-weight: 600; background: var(--bg-soft); }
.cmp tbody th { font-weight: 500; color: var(--ink-2); }
.cmp td { color: var(--ink); text-align: center; } .cmp thead th:not(:first-child) { text-align: center; }
.cmp tr.grp th { background: var(--bg-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 700; }
.cmp tr:last-child td, .cmp tr:last-child th { border-bottom: 0; }
.yes { color: var(--brand); font-weight: 700; } .no { color: var(--faint); }

/* ===== Docs / API reference ===== */
.endpoints { display: grid; gap: 10px; }
.ep { display: grid; grid-template-columns: 70px minmax(0, 260px) 1fr; gap: 16px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: .92rem; }
.ep code { font-size: .85rem; color: var(--ink); overflow-wrap: anywhere; }
.ep span { color: var(--muted); }
.m { font: 700 .72rem "JetBrains Mono", monospace; text-align: center; padding: 4px 0; border-radius: 6px; }
.m--post { background: #e7f6ee; color: #0e7a3e; } .m--get { background: var(--brand-soft); color: var(--brand-ink); } .m--del { background: #fdecec; color: #b42318; }
@media (max-width: 720px) { .ep { grid-template-columns: 60px 1fr; } .ep span { grid-column: 1 / -1; } }
.pre { background: #071230; color: #d6e3ff; border-radius: var(--r); padding: 18px 20px; overflow-x: auto; font: 12.5px/1.7 "JetBrains Mono", monospace; margin: 0; }
.pre .k { color: #8fb3ff; } .pre .s { color: #ffd580; } .pre .c { color: #6b7fa8; }
.callout { border: 1px solid var(--brand-soft-2); background: var(--bg-tint); border-radius: var(--r); padding: 14px 18px; font-size: .92rem; color: var(--ink-2); }
.callout strong { color: var(--ink); }

/* ===== FAQ ===== */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 600; font-size: 1.04rem; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 760px; }
.faq a { color: var(--brand); text-decoration: underline; }

/* ===== Forms ===== */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } .form { padding: 22px; } }
.form label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.form input:not([type="checkbox"]), .form select, .form textarea {
  font: inherit; font-size: .95rem; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; width: 100%;
  box-shadow: var(--shadow-xs); transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.form input.invalid { border-color: var(--danger); }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: .86rem; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.chips label { display: inline-block; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .84rem; font-weight: 500; cursor: pointer; transition: all .15s; user-select: none; }
.chips input:checked + span { background: var(--brand-soft); color: var(--brand-ink); border-color: var(--brand); }
.chips input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.form__status { margin: 0; font-size: .9rem; min-height: 1.4em; color: var(--brand); }
.form__fine { font-size: .8rem; color: var(--faint); margin: 0; }
.contact-side { display: grid; gap: 22px; }
.contact-side .card h3 { margin-top: 0; }
.kv { display: grid; gap: 14px; }
.kv small { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 600; }
.kv strong, .kv a { font-weight: 600; color: var(--ink); }
.kv a { color: var(--brand); }

/* ===== Connect (Embedded Signup) ===== */
.connect__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 980px) { .connect__grid { grid-template-columns: 1fr; gap: 40px; } }
.req { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.req li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--ink-2); font-size: .95rem; }
.req li::before { content: ""; width: 28px; height: 28px; border-radius: 8px; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a5cff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; }
.req strong { color: var(--ink); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-lg); position: sticky; top: 96px; }
.panel h2 { font-size: 1.45rem; }
.progress { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.progress li { font-size: .76rem; font-weight: 600; color: var(--faint); text-align: center; }
.progress li::before { content: ""; display: block; height: 5px; border-radius: 5px; background: var(--line); margin-bottom: 8px; transition: background .4s; }
.progress li.is-done { color: var(--brand); }
.progress li.is-done::before { background: var(--brand); }
.progress li.is-active { color: var(--ink); }
.progress li.is-active::before { background: linear-gradient(90deg, var(--brand), var(--line)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.status { margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-size: .92rem; display: none; }
.status.is-shown { display: block; }
.status--info { background: var(--bg-tint); color: var(--ink); border: 1px solid var(--brand-soft-2); }
.status--ok { background: var(--ok-soft); color: var(--ink); border: 1px solid rgba(18,161,80,.3); }
.status--err { background: #fdecec; color: var(--ink); border: 1px solid rgba(229,72,77,.3); }
.result { margin-top: 16px; display: none; gap: 8px; }
.result.is-shown { display: grid; }
.result div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 14px; border-radius: 10px; background: var(--bg-soft); font-size: .9rem; }
.result span { color: var(--muted); }
.result code { font-size: .84rem; word-break: break-all; text-align: right; }
.fineprint { font-size: .82rem; color: var(--faint); margin: 16px 0 0; }
.fineprint a { color: var(--brand); text-decoration: underline; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.is-busy .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.trustline { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.trustline svg { width: 18px; height: 18px; color: var(--ok); flex: none; }

/* ===== Footer ===== */
.footer { background: var(--navy); color: var(--navy-muted); padding: 72px 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; padding-bottom: 48px; border-bottom: 1px solid var(--navy-line); }
@media (max-width: 980px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
.footer__brand p { color: var(--navy-muted); font-size: .93rem; max-width: 330px; margin: 16px 0 20px; }
.footer__col { display: grid; gap: 10px; align-content: start; font-size: .92rem; }
.footer__col h4 { color: #fff; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.footer__col a { color: var(--navy-muted); transition: color .15s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { padding-top: 26px; font-size: .82rem; display: grid; gap: 6px; }
.footer__bottom p { color: #7f8fb8; margin: 0; }

/* ===== Legal ===== */
.legal { padding: 72px 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal li { color: var(--ink-2); margin-bottom: .4em; }
.legal a { color: var(--brand); text-decoration: underline; }
.legal__meta { color: var(--muted); }

/* ===== 404 ===== */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound h1 { font-size: clamp(5rem, 14vw, 9rem); color: var(--brand); margin: 0; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .bubble { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__track span[aria-hidden] { display: none; }
}
