/* Cognix Academy — marketing site.
   Design tokens mirror the Cognix apps: Inter, Cognix blue as the one action
   colour, white cards with a hairline border on a cool canvas, and the
   navy → indigo → pink gradient used on the app sign-in screens. */

:root {
  --navy-950: #0b1033;
  --navy-900: #172554;
  --indigo-900: #1e1b4b;
  --indigo-800: #312e81;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-50: #eff6ff;
  --violet-600: #7c3aed;
  --violet-50: #f5f3ff;
  --pink-600: #db2777;
  --pink-50: #fdf2f8;
  --teal-600: #0d9488;
  --teal-50: #f0fdfa;
  --amber-500: #f59e0b;
  --amber-50: #fffbeb;
  --green-600: #16a34a;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --canvas: #f6f8fc;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 8px 24px -12px rgba(15, 23, 42, .12);
  --shadow-lg: 0 24px 60px -24px rgba(23, 37, 84, .35);
  --container: 1200px;
  --gutter: 24px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; border-radius: 6px; }
.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: 12px; top: -60px; z-index: 1000; background: var(--blue-600); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 640px) { :root { --gutter: 16px; } }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font: 600 15px/1 'Inter', sans-serif; letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .6); }
.btn-primary:hover { background: var(--blue-700); color: #fff; box-shadow: 0 12px 28px -10px rgba(37, 99, 235, .7); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { color: var(--blue-700); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: #cbd5e1; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ── Header ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 23, 42, .35); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 10px; background: #fff; }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-top: -2px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 10px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); background: var(--canvas); }
.nav a[aria-current="page"] { color: var(--blue-600); font-weight: 600; }
.nav a.nav-new { position: relative; }
.nav a.nav-new::after { content: 'New'; position: relative; top: -8px; margin-left: 4px; font-size: 9.5px; font-weight: 700; color: #fff; background: linear-gradient(90deg, var(--pink-600), var(--violet-600)); padding: 1px 5px; border-radius: 999px; letter-spacing: .02em; }
.header-cta { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 1040px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .header-cta .btn { display: none; }
}
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff;
  padding: 16px var(--gutter) 32px; overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.mobile-menu.open { transform: none; opacity: 1; visibility: visible; }
.mobile-menu a.m-link { display: flex; align-items: center; gap: 14px; padding: 14px 8px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 17px; }
.mobile-menu a.m-link img { width: 36px; height: 36px; }
.mobile-menu .btn { margin-top: 24px; }
body.menu-open { overflow: hidden; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: linear-gradient(135deg, var(--indigo-900) 0%, var(--indigo-800) 45%, var(--navy-900) 100%);
}
.hero::before, .hero::after, .glow {
  content: ''; position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; pointer-events: none;
}
.hero::before { width: 620px; height: 620px; left: -160px; top: -200px; background: rgba(236, 72, 153, .55); animation: drift 14s ease-in-out infinite; }
.hero::after { width: 680px; height: 680px; right: -200px; bottom: -280px; background: rgba(59, 130, 246, .6); animation: drift 16s ease-in-out infinite reverse; }
.glow-violet { width: 420px; height: 420px; left: 40%; top: 10%; background: rgba(139, 92, 246, .4); animation: drift 18s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } }
.hero-grid-pattern {
  position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 104px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; margin: 22px 0 20px; }
.hero h1 .grad { background: linear-gradient(90deg, #93c5fd, #f0abfc 55%, #fda4af); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: rgba(226, 232, 240, .92); font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; color: rgba(226, 232, 240, .8); font-size: 14px; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 18px; height: 18px; color: #86efac; }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; padding-bottom: 72px; text-align: left; }
}

/* "India's first" pill */
.first-badge {
  position: relative; display: inline-flex; align-items: center; gap: 10px; overflow: hidden;
  padding: 7px 16px 7px 8px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
}
.first-badge .flag { flex: none; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .02em; color: var(--indigo-900); background: linear-gradient(90deg, #fde68a, #fbbf24); }
.first-badge::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-100%); animation: shine 4.5s ease-in-out infinite 1s; }
@keyframes shine { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* Hero visual: framed artwork with floating chips */
.hero-visual { position: relative; }
.hero-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .12); }
.hero-frame img { width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-lg);
  font-size: 13.5px; font-weight: 600; line-height: 1.25; animation: float 6s ease-in-out infinite;
}
.chip img { width: 36px; height: 36px; flex: none; }
.chip small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.chip-a { left: -28px; top: 14%; }
.chip-b { right: -22px; top: 42%; animation-delay: 1.5s; }
.chip-c { left: 8%; bottom: -26px; animation-delay: 3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 640px) {
  .chip { font-size: 12.5px; padding: 8px 12px 8px 8px; }
  .chip img { width: 30px; height: 30px; }
  .chip-a { left: -6px; top: -18px; }
  .chip-b { right: -6px; top: auto; bottom: 30%; }
  .chip-c { left: 12px; bottom: -22px; }
}

/* Page hero (inner pages) */
.page-hero .hero-inner { padding-top: 72px; padding-bottom: 88px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }

/* ── Marquee ─────────────────────────────────────────────────────────── */
.marquee { background: var(--navy-950); color: #c7d2fe; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .06); }
.marquee-track { display: flex; gap: 40px; width: max-content; padding: 16px 0; animation: scroll-x 40s linear infinite; font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.marquee-track span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(90deg, #60a5fa, #f472b6); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ── Sections ────────────────────────────────────────────────────────── */
.section { padding: 112px 0; position: relative; }
.section-tight { padding: 80px 0; }
.section-alt { background: var(--canvas); }
@media (max-width: 640px) { .section { padding: 76px 0; } .section-tight { padding: 56px 0; } }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; }
.eyebrow.violet { color: var(--violet-600); }
.eyebrow.pink { color: var(--pink-600); }
.eyebrow.teal { color: var(--teal-600); }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); font-weight: 800; letter-spacing: -0.03em; }
.h2 .accent { color: var(--blue-600); }
.h2 .grad { background: linear-gradient(90deg, var(--blue-600), var(--violet-600) 55%, var(--pink-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.125rem; color: var(--muted); margin-top: 16px; }
.section-head .lead { margin-left: auto; margin-right: auto; max-width: 640px; }
.section-head.left .lead { margin-left: 0; }

/* ── Grids & cards ───────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.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: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cbd5e1; }
.card h3 { font-size: 1.2rem; font-weight: 700; margin: 18px 0 8px; letter-spacing: -0.015em; }
.card p { color: var(--muted); font-size: 15px; }
.card .icon { width: 56px; height: 56px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; font-size: 15px; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card:hover .more svg { transform: translateX(3px); }
.card-link { color: inherit; display: block; }
.card-link:hover { color: inherit; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); }
.tag.violet { background: var(--violet-50); color: var(--violet-600); }
.tag.pink { background: var(--pink-50); color: var(--pink-600); }
.tag.teal { background: var(--teal-50); color: var(--teal-600); }
.tag.amber { background: var(--amber-50); color: #b45309; }
.card .tag { position: absolute; top: 24px; right: 24px; }

/* Role cards: colour bar on top, illustration-led */
.role-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.role-card .role-top { height: 6px; }
.role-card .role-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.role-card .role-body .more { margin-top: auto; padding-top: 18px; }
.role-blue .role-top { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.role-violet .role-top { background: linear-gradient(90deg, #7c3aed, #c084fc); }
.role-pink .role-top { background: linear-gradient(90deg, #db2777, #f472b6); }
.role-teal .role-top { background: linear-gradient(90deg, #0d9488, #2dd4bf); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.reverse .split-media { order: 0; } }
.split-media { position: relative; }
.split-media .art { border-radius: var(--radius-lg); background: linear-gradient(160deg, #eef2ff, #fdf2f8); padding: 28px; border: 1px solid var(--line); }
.split-media .art img { border-radius: 16px; width: 100%; }
.check-list { margin-top: 28px; display: grid; gap: 16px; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.check-list .tick { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); display: inline-flex; align-items: center; justify-content: center; }
.check-list .tick svg { width: 16px; height: 16px; }
.check-list strong { color: var(--ink); font-weight: 650; display: block; }
.check-list span.d { color: var(--muted); font-size: 15px; }

/* Feature rows inside a card (small icon + text) */
.feature-row { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.feature-row img { width: 48px; height: 48px; }
.feature-row h3 { margin: 2px 0 6px; font-size: 1.06rem; }

/* ── Learning Prescription spotlight ─────────────────────────────────── */
.lp-band {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #9d174d 100%);
}
.lp-band .glow { z-index: -1; }
.lp-band .h2, .lp-band h3 { color: #fff; }
.lp-band .lead { color: rgba(237, 233, 254, .88); }
.lp-band .eyebrow { color: #fde68a; }
.lp-points { display: grid; gap: 14px; margin-top: 30px; }
.lp-points li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255, 255, 255, .9); }
.lp-points li b { color: #fff; }
.lp-points .num { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); }
.lp-points.on-light li { color: var(--text); }
.lp-points.on-light li b { color: var(--ink); }
.lp-points.on-light .num { background: var(--blue-50); border-color: #bfdbfe; color: var(--blue-700); }

/* Sample prescription (app-style card) */
.rx {
  position: relative; background: #fff; color: var(--text); border-radius: 20px; padding: 24px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); max-width: 520px; margin-left: auto;
}
.rx-sample { position: absolute; top: -12px; right: 20px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.rx-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.rx-avatar { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--blue-700); background: var(--blue-50); border: 1px solid #bfdbfe; }
.rx-head h4 { font-size: 16px; }
.rx-head p { font-size: 13px; color: var(--muted); }
.rx-status { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--green-600); background: #f0fdf4; border: 1px solid #bbf7d0; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.rx-block { padding-top: 16px; }
.rx-label { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.rx-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.rx-pills span { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: #f0fdf4; color: #15803d; }
.rx-bar { display: grid; grid-template-columns: 1fr 44px; gap: 10px; align-items: center; font-size: 13.5px; margin-bottom: 8px; }
.rx-bar .track { grid-column: 1 / -1; height: 8px; border-radius: 999px; background: #f1f5f9; overflow: hidden; margin-top: -2px; }
.rx-bar .fill { height: 100%; border-radius: inherit; width: 0; background: linear-gradient(90deg, var(--amber-500), #fb7185); transition: width 1.4s cubic-bezier(.2, .8, .2, 1); }
.rx-bar .fill.good { background: linear-gradient(90deg, #22c55e, #14b8a6); }
.rx.in .fill { width: var(--w); }
.rx-bar b { text-align: right; color: var(--ink); font-size: 13px; }
.rx-rx { display: grid; gap: 8px; }
.rx-rx li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink); }
.rx-rx li::before { content: '℞'; flex: none; width: 22px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--violet-600); background: var(--violet-50); }
.rx-foot { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; margin-top: 16px; border-top: 1px dashed var(--line); }
.rx-foot span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.rx-foot svg { width: 14px; height: 14px; color: var(--green-600); }

/* ── Flow (Learning Prescription steps) ──────────────────────────────── */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; counter-reset: step; }
.flow::before { content: ''; position: absolute; top: 34px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--blue-600), var(--violet-600), var(--pink-600)); opacity: .25; }
.flow-step { position: relative; text-align: center; padding: 0 6px; }
.flow-step .dot { position: relative; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; }
.flow-step .dot img { width: 44px; height: 44px; }
.flow-step .dot::after { counter-increment: step; content: counter(step); position: absolute; top: -4px; right: -4px; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 800; color: #fff; background: var(--blue-600); display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.flow-step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.flow-step p { font-size: 14px; color: var(--muted); }
@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow::before { top: 0; bottom: 0; left: 33px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue-600), var(--violet-600), var(--pink-600)); }
  .flow-step { display: grid; grid-template-columns: 68px 1fr; gap: 18px; text-align: left; padding: 0 0 28px; }
  .flow-step .dot { margin: 0; }
}

/* ── Stats ───────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 28px 24px; }
.stat b { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 768px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero .stats { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .12); margin-top: 40px; }
.hero .stat { background: rgba(15, 23, 42, .25); backdrop-filter: blur(6px); padding: 18px; }
.hero .stat b { color: #fff; font-size: 1.6rem; }
.hero .stat span { color: rgba(226, 232, 240, .8); font-size: 13px; }

/* ── Network (connecting everyone) ───────────────────────────────────── */
.network-art { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.network-art img { width: 100%; }

/* ── Video facade ────────────────────────────────────────────────────── */
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--indigo-900); box-shadow: var(--shadow-lg); color: #fff;
}
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 27, 75, .1), rgba(30, 27, 75, .55)); }
.video:hover img { transform: scale(1.03); }
.video .play {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .95); color: var(--blue-600); box-shadow: 0 0 0 10px rgba(255, 255, 255, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.video .play svg { width: 30px; height: 30px; margin-left: 4px; }
.video:hover .play { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 16px rgba(255, 255, 255, .14); }
.video .video-cap { position: absolute; z-index: 2; left: 24px; bottom: 20px; right: 24px; text-align: left; font-weight: 600; font-size: 15px; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.playing::after, .video.playing .play, .video.playing .video-cap, .video.playing img { display: none; }

/* ── Trust strip ─────────────────────────────────────────────────────── */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .ti { flex: none; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--blue-50); color: var(--blue-600); }
.trust-item .ti svg { width: 22px; height: 22px; }
.trust-item b { display: block; color: var(--ink); font-weight: 650; }
.trust-item span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 1024px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .trust { grid-template-columns: 1fr; } }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 650; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--blue-600); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* ── CTA band ────────────────────────────────────────────────────────── */
.cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: 64px;
  background: linear-gradient(120deg, var(--blue-700), var(--violet-600) 60%, var(--pink-600)); color: #fff;
  display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
}
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; }
.cta p { color: rgba(255, 255, 255, .88); margin-top: 12px; font-size: 1.08rem; }
.cta .hero-actions { margin-top: 0; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 40px 28px; } }

/* ── Form ────────────────────────────────────────────────────────────── */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  font: 400 15px 'Inter', sans-serif; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } .form-card { padding: 22px; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-ok { display: none; margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; font-weight: 600; font-size: 14.5px; }
.form-ok.show { display: block; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy-950); color: #94a3b8; padding: 72px 0 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #94a3b8; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-about { margin-top: 16px; max-width: 340px; line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 24px; font-size: 14px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Reveal on scroll ────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { 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) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .rx .fill { width: var(--w); }
}

/* Utility */
.center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }
.muted { color: var(--muted); }
.ink { color: var(--ink); }
