/* =========================================================
   KONTRAK — corporate site styles
   Palette: navy #1f305f · blue #00b9f2 · green #bcd631
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;450;500;600;700&display=swap');

:root {
  /* brand */
  --navy: #1f305f;
  --navy-800: #1a2950;
  --navy-900: #14203f;
  --navy-950: #0e1830;
  --blue: #00b9f2;
  --blue-600: #0a9fd4;
  --green: #bcd631;
  --green-600: #a5be1f;

  /* neutrals */
  --ink: #101a30;
  --body: #46516b;
  --muted: #7c869c;
  --line: #e4e9f2;
  --cloud: #f5f8fc;
  --mist: #eef3fa;
  --paper: #ffffff;

  /* effects */
  --grad: linear-gradient(120deg, var(--blue) 0%, var(--green) 100%);
  --grad-navy: linear-gradient(160deg, #24386c 0%, var(--navy-900) 70%);
  --shadow-sm: 0 1px 2px rgba(16,26,48,.06), 0 2px 8px rgba(16,26,48,.05);
  --shadow-md: 0 10px 30px -12px rgba(16,26,48,.18);
  --shadow-lg: 0 30px 60px -20px rgba(16,26,48,.28);
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--body);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: var(--ink);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { color: var(--body); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--body); line-height: 1.6; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }
section { position: relative; }
.section { padding: clamp(70px, 9vw, 130px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.bg-cloud { background: var(--cloud); }
.bg-mist { background: var(--mist); }
.bg-navy { background: var(--navy-900); color: #c9d3e6; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.bg-navy .eyebrow { color: var(--green); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 18px; font-size: 1.12rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px;
  font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
  border: 1px solid transparent; transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-accent { background: var(--grad); color: #08243a; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(0,185,242,.55); }
.btn-accent:hover svg { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.bg-navy .btn-ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.bg-navy .btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16,26,48,.4); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo svg, .nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: .96rem; font-weight: 500; color: var(--ink);
  padding: 9px 15px; border-radius: 8px; transition: color .2s, background .2s;
  position: relative;
}
.nav-links a:hover { color: var(--blue-600); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 2px;
  background: var(--grad); border-radius: 2px;
}
.nav-links > .btn { display: none; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px;
  flex-direction: column; justify-content: center; gap: 5px; padding: 0;
}
.nav-toggle span { display: block; height: 2px; width: 24px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; margin: 0 auto; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(70px, 11vw, 150px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(0,185,242,.10), transparent 60%),
    radial-gradient(50% 50% at 12% 92%, rgba(188,214,49,.12), transparent 60%),
    var(--paper);
}
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(75% 65% at 50% 30%, #000 30%, transparent 100%);
}
.hero-inner { max-width: 880px; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { max-width: 620px; margin-bottom: 38px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px;
  padding: 8px 8px 8px 16px; border-radius: 100px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .86rem; font-weight: 500; color: var(--ink);
}
.pill b { color: var(--navy); }
.pill .tag {
  background: var(--grad); color: #08243a; font-weight: 600;
  padding: 3px 11px; border-radius: 100px; font-size: .76rem;
}

/* ---------- logo strip ---------- */
.trust { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust p { text-align: center; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 26px; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.trust-item { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.35rem; color: #aab4c8; letter-spacing: -.02em; transition: color .25s; }
.trust-item:hover { color: var(--navy); }
.trust-item span { color: var(--blue); }

/* ---------- grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d4ddec; }
.card h3 { margin-bottom: 12px; font-size: 1.28rem; }
.card p { font-size: .98rem; }
.card-icon {
  width: 52px; height: 52px; border-radius: 13px; margin-bottom: 22px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(0,185,242,.14), rgba(188,214,49,.16));
  color: var(--navy);
}
.card-icon svg { width: 26px; height: 26px; }

/* service card list */
.card ul.mini { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.card ul.mini li { font-size: .78rem; color: var(--body); background: var(--cloud); border: 1px solid var(--line); padding: 4px 11px; border-radius: 100px; }

/* numbered feature */
.feat-num { font-family: 'Space Grotesk', sans-serif; font-size: .95rem; font-weight: 600; color: var(--blue-600); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 8px 0; }
.stat .num { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 700; color: #fff; line-height: 1; letter-spacing: -.03em; }
.stat .num span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { margin-top: 10px; font-size: .92rem; color: #9fabc4; }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split.rev { direction: rtl; }
.split.rev > * { direction: ltr; }
.check-list { display: grid; gap: 16px; margin-top: 26px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 1rem; color: var(--body); }
.check-list .ck { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; margin-top: 2px; }
.check-list .ck svg { width: 13px; height: 13px; color: #08243a; }

/* visual panel */
.panel {
  border-radius: var(--radius-lg); padding: 40px; position: relative; overflow: hidden;
  background: var(--grad-navy); color: #cdd6e8; box-shadow: var(--shadow-lg);
  min-height: 340px;
}
.panel::after {
  content: ""; position: absolute; width: 320px; height: 320px; right: -90px; top: -90px;
  background: radial-gradient(circle, rgba(0,185,242,.35), transparent 70%); filter: blur(10px);
}
.panel-grid { position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; }

/* ---------- venture cards ---------- */
.venture {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--paper);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column; height: 100%;
}
.venture:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.venture-top { padding: 34px 34px 28px; position: relative; overflow: hidden; }
.venture-body { padding: 0 34px 34px; display: flex; flex-direction: column; flex: 1; }
.venture-badge { position: absolute; top: 22px; right: 22px; font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; }
.badge-live { background: rgba(188,214,49,.18); color: #5f6e12; }
.badge-soon { background: rgba(0,185,242,.14); color: var(--blue-600); }
.venture-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; color: var(--ink); margin-bottom: 4px; }
.venture-kicker { font-size: .86rem; font-weight: 600; color: var(--blue-600); letter-spacing: .02em; margin-bottom: 18px; }
.venture p { font-size: .97rem; }
.venture-link { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: var(--navy); }
.venture-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.venture:hover .venture-link svg { transform: translateX(4px); }
.venture-logo { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #fff; font-size: 1.3rem; margin-bottom: 20px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(48px, 6vw, 76px); background: var(--grad-navy); color: #cdd6e8; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; max-width: 640px; }
.cta-band p { margin-top: 16px; max-width: 560px; font-size: 1.1rem; color: #c3cee4; }
.panel p { color: #c3cee4; }
.cta-band .hero-cta { margin-top: 32px; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.32); }
.cta-band .btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.cta-blob { position: absolute; border-radius: 50%; filter: blur(30px); opacity: .5; }
.cta-blob.b1 { width: 300px; height: 300px; background: var(--blue); right: -60px; bottom: -120px; }
.cta-blob.b2 { width: 220px; height: 220px; background: var(--green); right: 180px; top: -110px; opacity: .35; }

/* ---------- process / steps ---------- */
.steps { counter-reset: step; display: grid; gap: 4px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 26px; padding: 30px 0; border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--navy); width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; }
.step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step-body p { font-size: 1rem; max-width: 640px; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,185,242,.12);
}
.form-note { font-size: .84rem; color: var(--muted); margin-top: 4px; }

/* contact detail cards */
.detail-list { display: grid; gap: 4px; }
.detail { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.detail:first-child { padding-top: 0; }
.detail-ic { width: 44px; height: 44px; border-radius: 11px; background: var(--cloud); border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy); }
.detail-ic svg { width: 20px; height: 20px; }
.detail h4 { font-family: 'Inter', sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 3px; }
.detail a, .detail p { color: var(--ink); font-weight: 500; font-size: 1.02rem; }
.detail a:hover { color: var(--blue-600); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: #93a0bb; padding: 76px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-brand svg, .footer-brand img { height: 30px; margin-bottom: 20px; }
.footer-brand p { font-size: .95rem; max-width: 300px; color: #8492af; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; color: #aeb9d0; transition: all .25s; }
.footer-social a:hover { background: var(--grad); color: #08243a; border-color: transparent; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h5 { color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; font-weight: 600; }
.footer-col a { display: block; font-size: .95rem; color: #93a0bb; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-top: 28px; font-size: .87rem; color: #6f7c98; }
.footer-bottom a:hover { color: var(--blue); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- page hero (interior) ---------- */
.page-hero { padding: clamp(64px, 8vw, 116px) 0 clamp(44px, 5vw, 70px); position: relative; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 60% at 85% 0%, rgba(0,185,242,.09), transparent 62%), radial-gradient(45% 55% at 5% 100%, rgba(188,214,49,.10), transparent 60%), var(--cloud); }
.page-hero .container { max-width: 820px; }
.page-hero h1 { margin: 18px 0 20px; }
.page-hero .lead { max-width: 640px; }
.breadcrumb { font-size: .86rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--blue-600); }

/* ---------- misc ---------- */
.divider { height: 1px; background: var(--line); border: 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.value-item { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: baseline; }
.value-item:last-child { border-bottom: 1px solid var(--line); }
.value-item h3 { font-size: 1.35rem; }
.value-item p { font-size: 1.02rem; max-width: 620px; }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column; height: 100%;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d4ddec; }
.team-photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--mist); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-info { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.team-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.team-role { font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--blue-600); margin: 6px 0 14px; }
.team-bio { font-size: .96rem; color: var(--body); line-height: 1.6; }

/* ---------- brand logos on venture cards ---------- */
.venture-brand { height: 30px; width: auto; margin-bottom: 20px; }
.venture-brand.lg { height: 40px; margin-bottom: 0; }
.brand-lockup { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }

/* ---------- app screen scroller ---------- */
.screens {
  display: flex; gap: 22px; overflow-x: auto; padding: 10px 4px 26px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.screens::-webkit-scrollbar { display: none; }
.screen {
  flex: 0 0 auto; width: 232px; scroll-snap-align: center;
  border-radius: 30px; overflow: hidden; background: #0e1830;
  box-shadow: var(--shadow-lg); transition: transform .35s var(--ease);
}
.screen img { width: 100%; height: auto; display: block; }
.screen:hover { transform: translateY(-6px); }
.scroller { position: relative; }
.scroller-edge { position: absolute; top: 0; bottom: 26px; width: 90px; pointer-events: none; z-index: 2; }
.scroller-edge.l { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.scroller-edge.r { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }
.bg-cloud .scroller-edge.l { background: linear-gradient(90deg, var(--cloud), transparent); }
.bg-cloud .scroller-edge.r { background: linear-gradient(270deg, var(--cloud), transparent); }
.bg-navy .scroller-edge.l { background: linear-gradient(90deg, var(--navy-900), transparent); }
.bg-navy .scroller-edge.r { background: linear-gradient(270deg, var(--navy-900), transparent); }
.scroller-nav { display: flex; gap: 10px; justify-content: center; margin-top: 6px; }
.scroller-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--paper); color: var(--navy); display: grid; place-items: center;
  transition: all .25s var(--ease);
}
.scroller-nav button:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.scroller-nav svg { width: 20px; height: 20px; }
.bg-cloud .scroller-nav button { background: #fff; }

/* ---------- cookie consent ---------- */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 200;
  max-width: 560px; margin: 0 auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 24px;
  transform: translateY(160%); transition: transform .45s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner h4 { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; }
.cookie-banner p { font-size: .9rem; line-height: 1.55; color: var(--body); margin-bottom: 16px; }
.cookie-banner p a { color: var(--blue-600); font-weight: 600; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { padding: 11px 22px; font-size: .92rem; }
.btn-sm-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-sm-ghost:hover { border-color: var(--navy); }

/* ---------- legal / prose ---------- */
.prose h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.prose p, .prose li { font-size: 1rem; color: var(--body); margin-bottom: 14px; line-height: 1.7; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--blue-600); font-weight: 500; }
.prose strong { color: var(--ink); }
.prose .updated { font-size: .9rem; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .split, .split.rev { grid-template-columns: 1fr; direction: ltr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .value-item { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 24px 24px;
    box-shadow: var(--shadow-md); transform: translateY(-140%); transition: transform .35s var(--ease); z-index: 90;
  }
  .nav-links.open { display: flex; transform: none; }
  .nav-links a { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a.active::after { display: none; }
  .nav-links .btn { display: inline-flex; margin-top: 16px; justify-content: center; border-bottom: 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .card { padding: 28px; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .step-num { width: 46px; height: 46px; }
  .screen { width: 200px; }
  .cookie-banner { padding: 20px; left: 12px; right: 12px; bottom: 12px; }
}
