/* ==========================================================================
   MEDENDx — design system
   ========================================================================== */

:root {
  --navy-950: #06142a;
  --navy-900: #0b1f3a;
  --navy-800: #12305a;
  --navy-700: #1c3f70;
  --navy-100: #e6edf6;

  --teal-300: #7ee7d9;
  --teal-400: #3fd6c3;
  --teal-500: #22bfac;
  --teal-700: #0f766e;
  --teal-50:  #e9fbf8;

  --amber: #f5a524;
  --coral: #ff7a59;
  --red: #dc4a4a;
  --green: #17a673;

  --ink: #0b1f3a;
  --ink-2: #334155;
  --muted: #526077;
  --line: #e3e9f1;
  --line-2: #d3dce8;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-tint: #eef4fa;

  --accent: var(--teal-400);
  --accent-hover: #6ae3d3;
  --on-accent: var(--navy-950);

  --font-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 1px 3px rgba(11, 31, 58, .06);
  --shadow: 0 10px 30px -12px rgba(11, 31, 58, .18), 0 2px 6px rgba(11, 31, 58, .05);
  --shadow-lg: 0 30px 60px -20px rgba(11, 31, 58, .35);

  --container: 1200px;
  --gutter: 24px;
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 3px; border-radius: 4px; }
.sr-only { 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 { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-900); color: #c9d6e8; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy .eyebrow { color: var(--teal-300); }
.section--navy .lead { color: #b6c6dc; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head--split > div { max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-700); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head--center .eyebrow::before { display: none; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); line-height: 1.65; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 920px) { .split, .split--wide-left { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: 16px; }
/* Let grid children shrink so scrollable rows (tabs, tables) never widen the page */
.grid > *, .split > *, .hero-grid > *, .tabs > *, .contact-grid > *, .article-layout > *, .footer-top > * { min-width: 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 40px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  cursor: pointer; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-primary { box-shadow: 0 8px 20px -8px rgba(34, 191, 172, .7); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 12px 26px -10px rgba(34, 191, 172, .8); }
.btn-dark { --btn-bg: var(--navy-900); --btn-fg: #fff; }
.btn-dark:hover { --btn-bg: var(--navy-800); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-light { --btn-bg: rgba(255,255,255,.06); --btn-fg: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-light:hover { --btn-bg: rgba(255,255,255,.12); border-color: rgba(255,255,255,.55); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; color: var(--teal-700); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover svg { transform: translateX(3px); }
.section--navy .link-arrow { color: var(--teal-300); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
/* Blur lives on a pseudo-element so the header doesn't become the containing block
   for the fixed-position mobile nav drawer. */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 31, 58, .35); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .25s var(--ease); }
.site-header.is-scrolled .header-inner { height: 66px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; letter-spacing: -.02em; flex-shrink: 0; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; }
.logo span em { font-style: normal; color: var(--teal-500); }
.logo--light { color: #fff; }

.primary-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; border-radius: 8px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .94rem; color: var(--ink-2);
}
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.nav-link[aria-current="page"], .nav-trigger.is-current { color: var(--ink); box-shadow: inset 0 -2px 0 var(--teal-400); border-radius: 0; }
.nav-trigger svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  width: min(760px, 92vw); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.mega::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.mega--sm { width: 340px; }
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.mega-title { font-family: var(--font-head); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 0 0 8px 10px; }
.mega-list { list-style: none; margin: 0; padding: 0; }
.mega-item { display: flex; gap: 12px; align-items: flex-start; padding: 9px 10px; border-radius: 10px; color: var(--ink); }
.mega-item:hover { background: var(--bg-soft); text-decoration: none; }
.mega-item .ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; }
.mega-item .ico svg { width: 18px; height: 18px; }
.mega-item strong { display: block; font-family: var(--font-head); font-size: .92rem; font-weight: 700; line-height: 1.3; }
.mega-item small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.mega-foot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .9rem; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--ink); white-space: nowrap; }
.header-phone svg { width: 16px; height: 16px; color: var(--teal-500); }
.header-login { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink-2); white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.nav-open .nav-toggle .i-menu { display: none; }
.mobile-only { display: none; }

@media (max-width: 1320px) { .header-phone { display: none; } }
@media (max-width: 1140px) { .header-login { display: none; } .nav-link, .nav-trigger { padding: 10px 9px; } }
@media (max-width: 1040px) {
  .nav-toggle { display: grid; }
  .header-actions { margin-left: auto; gap: 10px; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; background: #fff; overflow-y: auto;
    padding: 12px var(--gutter) 120px; border-top: 1px solid var(--line);
    transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s;
  }
  .site-header.is-scrolled .primary-nav { inset: 66px 0 0 0; }
  .nav-open .primary-nav { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link, .nav-trigger { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; }
  .nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: none; }
  .nav-link[aria-current="page"] { box-shadow: none; color: var(--teal-700); }
  .mega, .mega--sm { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 0 0 16px; display: none; opacity: 1; visibility: visible; }
  .has-mega.is-open .mega { display: block; transform: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .mobile-only { display: block; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 480px) {
  .header-actions .btn { padding: 10px 14px; font-size: .85rem; }
  .logo { font-size: 1.15rem; }
  .logo-mark { width: 30px; height: 30px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(63, 214, 195, .22), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(28, 63, 112, .9), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: #c9d6e8;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 .hl { background: linear-gradient(90deg, var(--teal-300), var(--teal-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #b6c6dc; max-width: 560px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #dbe6f3; font-size: .86rem; margin-bottom: 22px;
}
.hero-pill b { background: var(--accent); color: var(--on-accent); padding: 3px 10px; border-radius: 999px; font-family: var(--font-head); font-size: .74rem; letter-spacing: .04em; }
.hero-checks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: #b6c6dc; }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks svg { width: 18px; height: 18px; color: var(--teal-400); }

/* Page hero (inner pages) */
.page-hero {
  background:
    radial-gradient(800px 400px at 90% -20%, rgba(63, 214, 195, .2), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: #b6c6dc; padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 88px); position: relative; overflow: hidden;
}
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 880px; }
.page-hero .lead { color: #b6c6dc; max-width: 680px; }
.page-hero .eyebrow { color: var(--teal-300); }
.page-hero .btn-row { margin-top: 28px; }
.breadcrumbs { font-size: .85rem; margin-bottom: 18px; color: #8ea3bf; }
.breadcrumbs a { color: #b6c6dc; }
.breadcrumbs span[aria-hidden] { margin: 0 8px; }

/* ---------- Product mockup ---------- */
.mockup-wrap { position: relative; }
.mockup {
  background: #fff; border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255,255,255,.08);
  overflow: hidden; color: var(--ink-2); font-size: 12px; line-height: 1.4;
}
.mockup-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f4f8; border-bottom: 1px solid var(--line); }
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5dce6; }
.mockup-bar .url { margin-left: 12px; flex: 1; background: #fff; border-radius: 6px; padding: 4px 10px; color: var(--muted); font-size: 11px; max-width: 260px; }
.mockup-body { display: grid; grid-template-columns: 150px 1fr; min-height: 360px; }
.mock-side { background: var(--navy-900); padding: 14px 10px; color: #9fb2cc; display: flex; flex-direction: column; gap: 3px; }
.mock-side .brand { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 13px; padding: 2px 8px 12px; display: flex; gap: 6px; align-items: center; }
.mock-side .brand svg { width: 18px; height: 18px; }
.mock-side span { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 7px; font-size: 11.5px; }
.mock-side span svg { width: 14px; height: 14px; }
.mock-side span.on { background: rgba(63, 214, 195, .14); color: #fff; }
.mock-main { padding: 16px; background: #fafbfd; display: flex; flex-direction: column; gap: 12px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; }
.mock-head b { font-family: var(--font-head); font-size: 14px; color: var(--ink); }
.mock-head small { color: var(--muted); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.mock-kpi small { display: block; color: var(--muted); font-size: 10.5px; }
.mock-kpi strong { display: block; font-family: var(--font-head); font-size: 18px; color: var(--ink); margin: 2px 0; }
.mock-kpi em { font-style: normal; font-size: 10.5px; color: var(--green); font-weight: 600; }
.mock-chart { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px 8px; }
.mock-chart .bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; margin-top: 8px; }
.mock-chart .bars i { flex: 1; background: linear-gradient(180deg, var(--teal-400), var(--teal-500)); border-radius: 4px 4px 2px 2px; opacity: .9; transform-origin: bottom; }
.mock-chart .bars i:nth-child(odd) { background: linear-gradient(180deg, #8fb3e3, #5b86c2); }
.reveal.is-visible .mock-chart .bars i, .mockup .bars.animate i { animation: grow .9s var(--ease) both; }
@keyframes grow { from { transform: scaleY(0); } }
.mock-table { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mock-row { display: grid; grid-template-columns: 1.2fr 1fr .8fr .9fr; gap: 8px; padding: 7px 12px; border-top: 1px solid var(--line); align-items: center; font-size: 11px; }
.mock-row:first-child { border-top: 0; background: #f6f8fb; color: var(--muted); font-weight: 600; font-size: 10.5px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 600; width: fit-content; }
.pill--ok { background: #e3f6ee; color: #0d7a52; }
.pill--warn { background: #fff4e0; color: #a35d00; }
.pill--info { background: #e6effb; color: #1d4f91; }
.pill--bad { background: #fde8e8; color: #b42323; }

.float-card {
  position: absolute; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 10px 14px;
  display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink); z-index: 2;
  animation: float 6s ease-in-out infinite;
}
.float-card .fc-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.float-card .fc-ico svg { width: 18px; height: 18px; }
.float-card b { display: block; font-family: var(--font-head); font-size: 13px; }
.float-card small { color: var(--muted); font-size: 11px; }
.float-card--a { left: -28px; bottom: 54px; }
.float-card--b { right: -18px; top: 70px; animation-delay: -3s; }
.float-card--c { right: 30px; bottom: -22px; animation-delay: -1.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 640px) {
  .mockup-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-row { grid-template-columns: 1.2fr 1fr .9fr; }
  .mock-row > :nth-child(3) { display: none; }
  .float-card--a { left: 8px; bottom: -26px; }
  .float-card--b { right: 8px; top: -22px; }
  .float-card--c { display: none; }
}

/* ---------- Trust bar ---------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0; }
.trustbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--ink); }
.trust-item svg { width: 22px; height: 22px; color: var(--teal-500); }
.trust-item small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .78rem; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: var(--amber); }
.stars svg, .trust-item .stars svg { width: 16px; height: 16px; fill: currentColor; stroke: none; color: var(--amber); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card--flat:hover { transform: none; box-shadow: none; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }
.card .link-arrow { margin-top: 6px; font-size: .92rem; }
.card-link { color: inherit; display: block; height: 100%; }
.card-link:hover { text-decoration: none; }
.card-link::after { content: ''; position: absolute; inset: 0; }
.icon-box { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); margin-bottom: 18px; }
.icon-box svg { width: 24px; height: 24px; }
.icon-box--navy { background: var(--navy-900); color: var(--teal-300); }
.section--navy .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); color: #c9d6e8; }
.section--navy .card p { color: #a9bbd3; }
.section--navy .card:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); box-shadow: none; }
.section--navy .icon-box { background: rgba(63, 214, 195, .12); color: var(--teal-300); }
.card-sub { font-size: .82rem; color: var(--muted); font-weight: 600; margin: -2px 0 10px; }

/* ---------- Tabs (audiences) ---------- */
.tabs { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.tab-list { display: flex; flex-direction: column; gap: 6px; }
.tab {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 14px 16px; border-radius: 12px; border: 1px solid transparent; background: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; color: var(--ink-2); font-size: .98rem;
  transition: background .2s, border-color .2s, color .2s;
}
.tab svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.tab:hover { background: #fff; }
.tab[aria-selected="true"] { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.tab[aria-selected="true"] svg { color: var(--teal-500); }
.tab-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-size: 1.6rem; }
.tab-panel .pain { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: #fff6f3; color: #7a3b2a; margin: 16px 0; font-size: .95rem; }
.tab-panel .pain svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--coral); }
.tab-panel .outcome { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--teal-50); color: #0b5550; margin-bottom: 20px; font-size: .95rem; }
.tab-panel .outcome svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--teal-700); }
@media (max-width: 860px) {
  .tabs { grid-template-columns: 1fr; }
  .tab-list { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .tab { width: auto; white-space: nowrap; flex-shrink: 0; }
}

/* ---------- Check lists ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--teal-500); }
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
@media (max-width: 600px) { .checklist--2 { grid-template-columns: 1fr; } }

/* ---------- AI pipeline ---------- */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.pipeline::before { content: ''; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, rgba(63,214,195,.6), transparent); }
.pipe-step { text-align: center; position: relative; }
.pipe-step .node { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 18px; display: grid; place-items: center; background: var(--navy-800); border: 1px solid rgba(63,214,195,.35); color: var(--teal-300); box-shadow: 0 0 0 6px var(--navy-900), 0 0 30px rgba(63,214,195,.25); }
.pipe-step .node svg { width: 30px; height: 30px; }
.pipe-step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.pipe-step p { font-size: .92rem; color: #a9bbd3; margin: 0; }
@media (max-width: 860px) { .pipeline { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .pipeline::before { display: none; } }
@media (max-width: 480px) { .pipeline { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: #fff; padding: 32px 24px; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.stat-num sup { font-size: .45em; color: var(--teal-500); vertical-align: top; margin-left: 2px; top: .1em; position: relative; }
.stat-label { margin-top: 10px; color: var(--muted); font-size: .94rem; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }
.footnote { font-size: .78rem; color: var(--muted); margin-top: 14px; }
.section--navy .footnote { color: #8ea3bf; }

/* ---------- Timeline (process) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy-900); color: var(--teal-300);
  font-family: var(--font-head); font-weight: 800; font-size: .95rem;
}
.step::after { content: ''; position: absolute; top: 24px; left: 60px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.12rem; }
.step p { color: var(--muted); font-size: .95rem; }
.step small { display: inline-block; margin-top: 4px; font-weight: 600; color: var(--teal-700); font-size: .82rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Integrations ---------- */
.int-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.int-tile { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.int-tile .icon-box { margin: 0; width: 42px; height: 42px; flex-shrink: 0; }
.int-tile h3 { font-size: 1rem; margin-bottom: 2px; }
.int-tile p { margin: 0; font-size: .88rem; color: var(--muted); }
.int-tile code { font-size: .78rem; background: var(--bg-soft); padding: 1px 6px; border-radius: 5px; color: var(--ink-2); }
.int-grid--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .int-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .int-grid, .int-grid--2 { grid-template-columns: 1fr; } }

/* ---------- Security strip ---------- */
.sec-strip { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); color: #b6c6dc; position: relative; overflow: hidden; }
.sec-strip h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.sec-strip .eyebrow { color: var(--teal-300); }
.sec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sec-item { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px; }
.sec-item svg { width: 22px; height: 22px; color: var(--teal-300); flex-shrink: 0; }
.sec-item b { display: block; color: #fff; font-family: var(--font-head); font-size: .95rem; }
.sec-item span { font-size: .85rem; }
@media (max-width: 900px) { .sec-strip { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .sec-list { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 20px; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
@media (max-width: 1000px) { .carousel-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .carousel-track { grid-auto-columns: 88%; } }
.carousel-nav { display: flex; gap: 10px; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background .2s, border-color .2s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:disabled { opacity: .4; cursor: default; }

.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; height: 100%; }
.quote-card blockquote { margin: 0; color: var(--ink); font-size: 1.02rem; line-height: 1.6; flex: 1; }
.quote-card .result { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--teal-700); background: var(--teal-50); padding: 5px 10px; border-radius: 999px; }
.quote-card .result svg { width: 14px; height: 14px; }
.person { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: .9rem; color: #fff; background: linear-gradient(135deg, var(--navy-700), var(--teal-500)); flex-shrink: 0; }
.person b { display: block; color: var(--ink); font-family: var(--font-head); font-size: .95rem; line-height: 1.3; }
.person small { color: var(--muted); font-size: .84rem; line-height: 1.3; display: block; }
.rating-badge { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px 8px 8px; box-shadow: var(--shadow-sm); }
.rating-badge .g { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: var(--ink); }
.rating-badge b { font-family: var(--font-head); color: var(--ink); }
.rating-badge small { color: var(--muted); font-size: .82rem; }

/* ---------- Blog cards ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); position: relative; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16 / 9; position: relative; overflow: hidden; display: grid; place-items: center; }
.post-thumb svg.art { width: 100%; height: 100%; position: absolute; inset: 0; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: .82rem; color: var(--muted); flex-wrap: wrap; }
.tag { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); font-weight: 700; font-size: .74rem; letter-spacing: .02em; font-family: var(--font-head); }
.post-card h3 { font-size: 1.14rem; margin: 0; line-height: 1.3; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a::after { content: ''; position: absolute; inset: 0; }
.post-card p { color: var(--muted); font-size: .94rem; margin: 0; }
.post-featured { display: grid; grid-template-columns: 1.1fr 1fr; margin-bottom: 48px; }
.post-featured .post-thumb { aspect-ratio: auto; min-height: 280px; }
@media (max-width: 800px) { .post-featured { grid-template-columns: 1fr; } .post-featured .post-thumb { aspect-ratio: 16 / 9; min-height: 0; } }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink-2); transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* ---------- Article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } }
.prose { font-size: 1.07rem; color: var(--ink-2); line-height: 1.8; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--teal-400); background: var(--bg-soft); border-radius: 0 12px 12px 0; color: var(--ink); font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
@media (min-width: 700px) { .prose table { display: table; } }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-head); color: var(--ink); background: var(--bg-soft); }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.cta-card { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: #b6c6dc; border-radius: var(--radius-lg); padding: 28px; }
.cta-card h3 { color: #fff; font-size: 1.3rem; }
.cta-card .btn { margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 12px; height: 12px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; flex-shrink: 0; margin-top: -6px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px);
  background:
    radial-gradient(600px 300px at 100% 0, rgba(63,214,195,.3), transparent 60%),
    radial-gradient(500px 300px at 0 100%, rgba(91,134,194,.35), transparent 60%),
    var(--navy-900);
  color: #b6c6dc; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { margin: 0; font-size: 1.08rem; }
.cta-banner .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-banner { grid-template-columns: 1fr; } .cta-banner .btn-row { justify-content: flex-start; } }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.field .opt { color: var(--muted); font-weight: 500; }
.input, .select, .textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line-2); background: #fff;
  font-size: .98rem; transition: border-color .2s, box-shadow .2s; color: var(--ink);
}
.textarea { min-height: 130px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(63, 214, 195, .2); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--red); }
.field-error { display: none; color: #b42323; font-size: .82rem; margin-top: 5px; }
.field.has-error .field-error, fieldset.has-error > .field-error, [data-require-one].has-error > .field-error { display: block; }
.form-note { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); background: var(--bg-soft); border-radius: 10px; padding: 12px 14px; }
.form-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--teal-700); }
.ts-slot { grid-column: 1 / -1; min-height: 0; }
.form-status { grid-column: 1 / -1; padding: 12px 14px; border-radius: 10px; font-size: .9rem; margin: 4px 0; }
.form-status--refused { background: #fff4e0; border: 1px solid #f5dfa6; color: #6b4e00; }
.form-status--delivery { background: #fde8e8; border: 1px solid #f6c3c3; color: #8a1c1c; }
.form-status a { color: inherit; font-weight: 700; text-decoration: underline; }
.ts-slot:not(:empty) { margin: 4px 0; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success .icon-box { margin: 0 auto 18px; width: 64px; height: 64px; border-radius: 50%; }
.form-success .icon-box svg { width: 32px; height: 32px; }
[hidden] { display: none !important; }

.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 520px) { .option-grid { grid-template-columns: 1fr; } }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option span { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); font-family: var(--font-head); font-weight: 600; color: var(--ink); transition: border-color .2s, background .2s; height: 100%; font-size: .95rem; }
.option span svg { width: 22px; height: 22px; color: var(--teal-700); flex-shrink: 0; }
.option input:hover + span { border-color: var(--muted); }
.option input:checked + span { border-color: var(--teal-500); background: var(--teal-50); box-shadow: 0 0 0 3px rgba(63,214,195,.18); }
.option input:focus-visible + span { outline: 3px solid var(--teal-400); outline-offset: 2px; }

.progress { display: flex; gap: 8px; margin-bottom: 28px; }
.progress-step { flex: 1; }
.progress-step .bar { height: 5px; border-radius: 99px; background: var(--line); overflow: hidden; }
.progress-step .bar i { display: block; height: 100%; width: 0; background: var(--teal-500); transition: width .4s var(--ease); }
.progress-step.is-done .bar i, .progress-step.is-active .bar i { width: 100%; }
.progress-step small { display: block; margin-top: 8px; font-size: .78rem; font-family: var(--font-head); font-weight: 700; color: var(--muted); }
.progress-step.is-active small, .progress-step.is-done small { color: var(--ink); }
@media (max-width: 520px) { .progress-step small { display: none; } }
.form-step h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-step > p { color: var(--muted); margin-bottom: 22px; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }

.trust-aside { display: grid; gap: 18px; }
.trust-aside .card { padding: 22px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--ink); }
.badge svg { width: 18px; height: 18px; color: var(--teal-500); }
.section--navy .badge, .site-footer .badge { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); color: #dbe6f3; }

/* ---------- Pricing ---------- */
.billing-toggle { display: inline-flex; padding: 4px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; margin: 0 auto 40px; }
.billing-toggle button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--muted); cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.billing-toggle em { font-style: normal; color: var(--teal-700); font-size: .78rem; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; position: relative; }
.plan--featured { border: 2px solid var(--teal-500); box-shadow: var(--shadow); }
.plan-flag { position: absolute; top: -14px; left: 32px; background: var(--accent); color: var(--on-accent); font-family: var(--font-head); font-weight: 800; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan > p { color: var(--muted); font-size: .94rem; min-height: 48px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 4px; }
.price b { font-family: var(--font-head); font-size: 2.6rem; color: var(--ink); letter-spacing: -.03em; }
.price span { color: var(--muted); font-size: .92rem; }
.price-note { font-size: .82rem; color: var(--muted); min-height: 20px; }
.plan .btn { margin: 22px 0 26px; }
.plan .checklist { font-size: .94rem; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .94rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-family: var(--font-head); color: var(--ink); background: var(--bg-soft); position: sticky; top: 0; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .group td { background: #fafbfd; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.compare svg { width: 20px; height: 20px; margin: 0 auto; }
.compare .yes { color: var(--teal-500); }
.compare .no { color: #b8c2d1; }

.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.roi-inputs { padding: clamp(24px, 4vw, 40px); display: grid; gap: 22px; }
.roi-out { padding: clamp(24px, 4vw, 40px); background: var(--navy-900); color: #b6c6dc; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.roi-out h3 { color: #fff; }
.roi-big { font-family: var(--font-head); font-weight: 800; color: var(--teal-300); font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -.03em; line-height: 1; }
.roi-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); }
.roi-row b { color: #fff; font-family: var(--font-head); }
.range-field label { display: flex; justify-content: space-between; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 10px; }
.range-field output { color: var(--teal-700); }
input[type="range"] { width: 100%; accent-color: var(--teal-500); height: 6px; }
@media (max-width: 860px) { .roi { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team-card { text-align: left; }
.team-photo { aspect-ratio: 4 / 4.2; border-radius: var(--radius); background: linear-gradient(160deg, var(--navy-100), #dbe7f3); display: grid; place-items: center; margin-bottom: 16px; position: relative; overflow: hidden; }
.team-photo .avatar { width: 96px; height: 96px; font-size: 1.8rem; }
.team-photo small { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: .72rem; color: var(--muted); }
.team-card h3 { margin-bottom: 2px; font-size: 1.08rem; }
.team-card .role { color: var(--teal-700); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.team-card p { color: var(--muted); font-size: .92rem; }

/* ---------- Values ---------- */
.value { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value-num { font-family: var(--font-head); font-weight: 800; color: var(--teal-500); font-size: .9rem; margin-bottom: 12px; display: block; }

/* ---------- Code lookup ---------- */
.lookup { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.lookup-tabs { display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.lookup-tabs button { border: 0; background: none; padding: 16px 20px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--muted); cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; }
.lookup-tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--teal-500); background: #fff; }
.lookup-search { padding: 20px; border-bottom: 1px solid var(--line); position: relative; }
.lookup-search svg { position: absolute; left: 34px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.lookup-search .input { padding-left: 46px; }
.lookup-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.lookup-table th, .lookup-table td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.lookup-table th { font-family: var(--font-head); color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; background: #fafbfd; }
.lookup-table td:first-child { font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; font-weight: 700; color: var(--navy-800); white-space: nowrap; width: 120px; }
.lookup-empty { padding: 32px 20px; text-align: center; color: var(--muted); }
.lookup-foot { padding: 14px 20px; font-size: .82rem; color: var(--muted); background: #fafbfd; }

.data-table { width: 100%; border-collapse: collapse; font-size: .94rem; background: #fff; }
.data-table th, .data-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.data-table th { font-family: var(--font-head); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.contact-item .icon-box { margin: 0; width: 44px; height: 44px; flex-shrink: 0; }
.contact-item b { display: block; color: var(--ink); font-family: var(--font-head); }
.contact-item a, .contact-item span { color: var(--ink-2); font-size: .95rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--bg-soft); display: grid; place-items: center; text-align: center; color: var(--muted); padding: 20px; position: relative; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed .map-art { position: absolute; inset: 0; opacity: .6; }
.map-embed > div { position: relative; }
.path-card { display: flex; flex-direction: column; }
.path-card .btn, .path-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- Case studies ---------- */
.case { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.case + .case { margin-top: 24px; }
.case-side { background: var(--navy-900); color: #b6c6dc; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.case-side .tag { background: rgba(63,214,195,.14); color: var(--teal-300); align-self: flex-start; }
.case-side h3 { color: #fff; font-size: 1.4rem; margin: 0; }
.case-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: auto; }
.case-metrics b { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--teal-300); letter-spacing: -.02em; line-height: 1.1; }
.case-metrics span { font-size: .84rem; }
.case-body { padding: 32px; display: grid; gap: 14px; }
.case-body h4 { margin: 0; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); }
.case-body p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }

.rating-summary { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 40px; box-shadow: var(--shadow); margin-top: -64px; position: relative; z-index: 2; }
.rating-big { font-family: var(--font-head); font-weight: 800; font-size: 4rem; color: var(--ink); line-height: 1; letter-spacing: -.04em; }
.rating-bars { display: grid; gap: 6px; font-size: .85rem; color: var(--muted); }
.rating-bars div { display: grid; grid-template-columns: 34px 1fr 40px; gap: 10px; align-items: center; }
.rating-bars i { height: 8px; border-radius: 99px; background: var(--line); position: relative; overflow: hidden; }
.rating-bars i::after { content: ''; position: absolute; inset: 0; width: var(--w); background: var(--amber); border-radius: 99px; }
.platforms { display: flex; gap: 12px; flex-wrap: wrap; }
.platform { padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; text-align: center; min-width: 96px; }
.platform b { display: block; font-family: var(--font-head); color: var(--ink); }
.platform small { color: var(--muted); font-size: .78rem; }
@media (max-width: 900px) { .rating-summary { grid-template-columns: 1fr; gap: 24px; padding: 28px; } }

.video-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); display: flex; align-items: flex-end; padding: 20px; color: #fff; border: 0; cursor: pointer; text-align: left; width: 100%; }
.video-card .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--navy-900); display: grid; place-items: center; transition: transform .25s var(--ease); }
.video-card:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.video-card .play svg { width: 26px; height: 26px; margin-left: 4px; fill: currentColor; }
.video-card b { font-family: var(--font-head); display: block; }
.video-card small { color: #b6c6dc; }

/* ---------- Solution page bits ---------- */
.problem-box { background: #fff6f3; border: 1px solid #ffd9cc; border-radius: var(--radius); padding: 24px 26px; }
.problem-box h3 { color: #7a3b2a; font-size: 1.05rem; display: flex; gap: 10px; align-items: center; }
.problem-box h3 svg { width: 20px; height: 20px; color: var(--coral); }
.problem-box ul { margin: 0; color: #7a3b2a; }
.benefit { text-align: left; }
.benefit b { display: block; font-family: var(--font-head); font-size: 2.2rem; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.benefit span { color: var(--muted); font-size: .94rem; }
.vsteps { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: v; }
.vsteps li { position: relative; padding: 0 0 26px 68px; min-height: 56px; }
.vsteps li::before { counter-increment: v; content: counter(v, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--teal-300); font-family: var(--font-head); font-weight: 800; font-size: .95rem; }
.vsteps li::after { content: ''; position: absolute; left: 23px; top: 54px; bottom: 6px; width: 2px; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
.vsteps li:last-child::after { display: none; }
.vsteps h3 { margin-bottom: 4px; font-size: 1.1rem; }
.vsteps p { margin: 0; color: var(--muted); }
.outcome-box { display: flex; gap: 12px; padding: 18px 20px; border-radius: 14px; background: var(--teal-50); color: #0b5550; margin-top: 16px; }
.outcome-box svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--teal-700); }
.stats--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .stats--3 { grid-template-columns: 1fr; } }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

.audience-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #93a7c3; padding: 72px 0 0; font-size: .93rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin: 16px 0 20px; max-width: 320px; }
.site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #b6c6dc; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; color: var(--teal-400); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #dbe6f3; }
.socials a:hover { background: rgba(255,255,255,.12); }
.socials svg { width: 17px; height: 17px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.08); align-items: center; justify-content: space-between; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .84rem; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(11,31,58,.4);
  }
  .mobile-bar .btn { padding: 12px 10px; }
  body { padding-bottom: 72px; }
}

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 120; max-width: 420px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px; font-size: .9rem; color: var(--ink-2);
}
.cookie p { margin-bottom: 14px; }
.cookie .btn-row { gap: 8px; }
@media (max-width: 760px) { .cookie { left: 12px; right: 12px; bottom: 84px; max-width: none; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(6, 20, 42, .75); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(4px); }
.modal-box { background: var(--navy-950); border-radius: var(--radius-lg); width: min(960px, 100%); aspect-ratio: 16 / 9; position: relative; display: grid; place-items: center; color: #b6c6dc; text-align: center; padding: 24px; }
.modal-close { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.1); color: #fff; border: 0; }
.modal-close:hover { background: rgba(255,255,255,.2); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.kicker-list { display: flex; flex-wrap: wrap; gap: 8px; }
.kicker-list span { padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .85rem; color: var(--ink-2); font-weight: 500; }
.note-box { padding: 16px 18px; border-radius: 12px; background: #fff8e6; border: 1px solid #f5dfa6; color: #6b4e00; font-size: .9rem; }
.img-art { border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); position: relative; aspect-ratio: 5 / 4; }
.img-art svg { width: 100%; height: 100%; }
.careers-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 40px); }
@media (max-width: 760px) { .careers-card { grid-template-columns: 1fr; } .careers-card .btn { justify-self: start; } }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
