/* ==========================================================================
   Aleraprime — Data & BI consultancy
   Design system: deep navy · white · single teal accent
   Type: Newsreader (display serif) + Hanken Grotesk (text sans), self-hosted
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin-ext-opsz-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --ink:        #0B1B2B;   /* deepest navy — hero, footer */
  --navy:       #0F2235;   /* brand navy */
  --navy-2:     #16314C;
  --navy-3:     #1F4163;
  --text:       #172231;
  --muted:      #556273;
  --faint:      #8792A0;
  --line:       #E2E7ED;
  --line-2:     #CFD7E0;
  --mist:       #F4F6F9;
  --white:      #FFFFFF;

  --teal:       #0B6E78;   /* accent on light */
  --teal-dk:    #08575F;
  --teal-lt:    #6CC4C9;   /* accent on dark */
  --teal-wash:  #E7F3F4;

  --on-dark:       #EEF2F7;
  --on-dark-soft:  #A9B7C8;
  --on-dark-faint: rgba(255,255,255,.14);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 56px);
  --sect: clamp(72px, 9vw, 128px);
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(11,27,43,.06), 0 2px 8px -2px rgba(11,27,43,.06);
  --shadow:    0 1px 2px rgba(11,27,43,.05), 0 24px 48px -24px rgba(11,27,43,.22);
  --shadow-lg: 0 40px 80px -32px rgba(0,0,0,.55), 0 12px 28px -16px rgba(0,0,0,.4);
  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
h1, h2, h3 { margin: 0; font-weight: 400; color: var(--navy); }
h1, h2 { font-family: var(--serif); letter-spacing: -.015em; line-height: 1.08; font-variation-settings: "opsz" 72; }
h2 { font-size: clamp(32px, 3.8vw, 50px); }
h3 { font-family: var(--sans); font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.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 { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); transition: top .2s; }
.skip:focus { top: 12px; }

.section { padding-block: var(--sect); }
.section-mist { background: var(--mist); }
.section-ink { background: var(--navy); color: var(--on-dark); }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .intro { color: var(--on-dark-soft); }

/* ---------- Typographic helpers ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal);
}
.kicker::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.kicker-light { color: var(--teal-lt); }
.intro { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; color: var(--muted); max-width: 52ch; }
.inline-link { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.inline-link:hover { color: var(--teal-dk); }

.split-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 72px; align-items: end; margin-bottom: clamp(48px, 6vw, 72px); }
.split-head h2 { max-width: 18ch; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--navy); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 12px 22px; border: 1px solid var(--bd); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--fg);
  font: 600 15px/1.2 var(--sans); letter-spacing: .005em; white-space: nowrap; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .arr { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 15px 28px; font-size: 16px; }
.btn-primary { --bg: var(--navy); --fg: #fff; }
.btn-primary:hover { --bg: var(--navy-3); }
.btn-accent { --bg: var(--teal); --fg: #fff; box-shadow: 0 8px 20px -10px rgba(11,110,120,.7); }
.btn-accent:hover { --bg: var(--teal-dk); box-shadow: 0 12px 24px -10px rgba(11,110,120,.8); }
.section-ink .btn-accent, .hero .btn-accent, .footer .btn-accent { box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.btn-outline { --fg: var(--navy); --bd: var(--line-2); --bg: #fff; }
.btn-outline:hover { --bd: var(--navy); }
.btn-ghost-light { --fg: #fff; --bd: rgba(255,255,255,.28); }
.btn-ghost-light:hover { --bd: rgba(255,255,255,.7); --bg: rgba(255,255,255,.06); }
.btn-light { --bg: #fff; --fg: var(--navy); }
.btn-light:hover { --bg: var(--teal-wash); }

.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal); }
.textlink .arr { transition: transform .25s var(--ease); }
.textlink:hover .arr { transform: translateX(4px); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.brand-mark { width: 28px; height: 28px; }
.brand-bar { stroke: var(--teal); }
.brand-name { font-family: var(--sans); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.brand-light { color: #fff; }
.brand-light .brand-bar { stroke: var(--teal-lt); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; color: #fff;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.header-in { display: flex; align-items: center; gap: 40px; height: var(--header-h); }
.header .brand { color: #fff; transition: color .3s var(--ease); }
.header .brand-bar { stroke: var(--teal-lt); }
.nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.nav a:not(.btn) { position: relative; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.78); transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: #fff; }
.nav-cta { display: none; }
.header-cta { --bg: var(--teal); --fg: #fff; min-height: 42px; padding: 10px 18px; font-size: 14.5px; }
.header-cta:hover { --bg: var(--teal-dk); }

.header.scrolled { background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11,27,43,.35); }
.header.scrolled .brand { color: var(--navy); }
.header.scrolled .brand-bar { stroke: var(--teal); }
.header.scrolled .nav a:not(.btn) { color: var(--muted); }
.header.scrolled .nav a:not(.btn):hover, .header.scrolled .nav a.active { color: var(--navy); }
.header.scrolled .menu-btn span { background: var(--navy); }

.menu-btn { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; }
.menu-btn span { position: absolute; left: 11px; width: 22px; height: 1.75px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease), background .3s; }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(108,196,201,.13), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(31,65,99,.6), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--navy) 100%);
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 5vw, 64px);
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(42px, 5vw, 68px); line-height: 1.03; letter-spacing: -.022em; font-weight: 400; max-width: 15.5ch; }
.hero h1 em { font-style: italic; font-weight: 300; color: var(--teal-lt); }
.hero-lead { margin-top: 28px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--on-dark-soft); max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-note { margin-top: 18px; font-size: 14.5px; color: rgba(255,255,255,.55); }

/* Dashboard plate */
.plate {
  margin: 0; position: relative; padding: 22px 22px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.plate::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(135deg, rgba(108,196,201,.18), transparent 40%); opacity: .6; }
.plate-head { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.plate-eyebrow { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-lt); }
.plate-title { display: block; margin-top: 4px; font-size: 15px; font-weight: 600; color: #fff; }
.plate-legend { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--on-dark-soft); white-space: nowrap; }
.lg { display: inline-block; width: 16px; height: 2px; border-radius: 2px; }
.lg-actual { background: var(--teal-lt); }
.lg-fc { background: repeating-linear-gradient(90deg, #fff 0 4px, transparent 4px 7px); opacity: .75; margin-left: 6px; }
.plate-kpis { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.plate-kpis > div { padding: 12px 14px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); }
.plate-kpis .k { display: block; font-size: 11.5px; color: var(--on-dark-soft); }
.plate-kpis .v { display: block; margin-top: 2px; font-family: var(--serif); font-size: 24px; color: #fff; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.plate-kpis .d { display: block; font-size: 12px; font-weight: 600; color: var(--on-dark-soft); }
.plate-kpis .d.up { color: var(--teal-lt); }
.plate-chart { position: relative; height: 230px; margin-top: 14px; }
.plate-chart svg { width: 100%; height: 100%; overflow: visible; }
.plate-cap { position: relative; margin-top: 8px; font-size: 12px; color: rgba(255,255,255,.42); }

/* chart internals (built by JS) */
.ch-grid line { stroke: rgba(255,255,255,.08); stroke-width: 1; }
.ch-axis text { fill: rgba(255,255,255,.42); font: 500 10.5px var(--sans); }
.ch-dot { fill: var(--teal-lt); }
.ch-line { fill: none; stroke: var(--teal-lt); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.ch-area { fill: url(#chArea); }
.ch-fc { fill: none; stroke: rgba(255,255,255,.8); stroke-width: 2; stroke-dasharray: 5 5; }
.ch-band { fill: rgba(255,255,255,.08); }
.ch-now { stroke: rgba(255,255,255,.28); stroke-dasharray: 2 4; }
.ch-end { fill: #fff; stroke: var(--teal-lt); stroke-width: 2; }

/* Facts */
.hero-facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--on-dark-faint); }
.hero-facts li { padding: 24px 24px 0 0; }
.hero-facts li + li { padding-left: 24px; border-left: 1px solid var(--on-dark-faint); }
.hero-facts strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; color: #fff; letter-spacing: -.005em; }
.hero-facts span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--on-dark-soft); line-height: 1.5; }

/* ==========================================================================
   Platforms
   ========================================================================== */
.platforms { border-bottom: 1px solid var(--line); background: #fff; }
.platforms-in { display: flex; align-items: center; gap: 40px; padding-block: 28px; }
.platforms-lbl { flex: none; max-width: 15ch; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--faint); }
.platforms-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 34px; }
.platforms-list li { font-size: 16px; font-weight: 600; color: #5F6B7A; letter-spacing: -.005em; }

/* ==========================================================================
   Problem
   ========================================================================== */
.symptoms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.symptom { padding: 36px 36px 0 0; }
.symptom + .symptom { padding-left: 36px; border-left: 1px solid var(--line); }
.symptom-n { display: block; margin-bottom: 26px; font-family: var(--serif); font-size: 15px; color: var(--teal); font-variant-numeric: tabular-nums; }
.symptom h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: -.01em; }
.symptom p { margin-top: 12px; color: var(--muted); }

/* ==========================================================================
   Services
   ========================================================================== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative; display: flex; flex-direction: column; padding: 34px 32px 30px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service::after { content: ""; position: absolute; left: 32px; right: 32px; top: -1px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.service:hover::after { transform: scaleX(1); }
.ic { width: 40px; height: 40px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service .ic { margin-bottom: 26px; padding: 8px; width: 48px; height: 48px; background: var(--teal-wash); border-radius: 10px; }
.service h3 { font-size: 20px; }
.service p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.deliv { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 24px; }
.deliv li { font-size: 13px; font-weight: 500; color: var(--navy-2); padding: 5px 11px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); }
.services-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.services-foot p { color: var(--muted); }

/* ==========================================================================
   Outcomes (before / after)
   ========================================================================== */
.section-ink { position: relative; overflow: hidden; }
.section-ink::before { content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(closest-side, rgba(108,196,201,.12), transparent); pointer-events: none; }
.ba { position: relative; border-top: 1px solid var(--on-dark-faint); }
.ba-row { display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 32px; padding-block: 24px; border-bottom: 1px solid var(--on-dark-faint); align-items: baseline; transition: background .25s; }
.ba-row:not(.ba-headrow):hover { background: rgba(255,255,255,.025); }
.ba-headrow { padding-block: 16px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); }
.ba-after-h { color: var(--teal-lt); }
.ba-topic { font-family: var(--serif); font-size: 23px; color: #fff; letter-spacing: -.005em; }
.ba-before, .ba-after { position: relative; padding-left: 22px; }
.ba-before { color: var(--on-dark-soft); }
.ba-before::before { content: ""; display: inline-block; width: 8px; height: 8px; position: absolute; left: 0; top: .6em; border: 1.5px solid rgba(255,255,255,.35); border-radius: 50%; }
.ba-after { color: #fff; font-weight: 500; }
.ba-after::before { content: ""; display: inline-block; width: 8px; height: 8px; position: absolute; left: 0; top: .6em; background: var(--teal-lt); border-radius: 50%; box-shadow: 0 0 0 4px rgba(108,196,201,.15); }
.ba-lbl { display: none; }

/* ==========================================================================
   Industries
   ========================================================================== */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.industry { padding: 32px 32px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s var(--ease); }
.industry:hover { background: var(--mist); }
.industry h3 { font-family: var(--serif); font-size: 23px; font-weight: 400; letter-spacing: -.01em; }
.industry p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* ==========================================================================
   Process
   ========================================================================== */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 22px; right: calc((100% - 80px) / 5 - 23px); top: 22px; height: 1.5px; background: var(--line-2); }
.steps::after { content: ""; position: absolute; left: 22px; right: calc((100% - 80px) / 5 - 23px); top: 22px; height: 1.5px; background: var(--teal); transform: scaleX(var(--progress, 0)); transform-origin: left; transition: transform 1.6s var(--ease); }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; }
.step-n { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; background: #fff; border: 1.5px solid var(--teal); color: var(--teal); font-family: var(--serif); font-size: 19px; box-shadow: 0 0 0 6px var(--mist); }
.step-when { margin-top: 26px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.step h3 { margin-top: 6px; font-family: var(--serif); font-size: 25px; font-weight: 400; letter-spacing: -.01em; }
.step > p:not(.step-when):not(.step-out) { margin: 10px 0 18px; color: var(--muted); font-size: 15.5px; }
.step-out { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 15px; font-weight: 500; color: var(--navy); line-height: 1.45; }
.step-out span { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }

/* ==========================================================================
   Engagement models
   ========================================================================== */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.model { display: flex; flex-direction: column; padding: 36px 32px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.model:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.model-start { position: relative; background: var(--navy); border-color: var(--navy); color: var(--on-dark); box-shadow: var(--shadow); }
.model-start h3 { color: #fff; }
.model-tag { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.model-start .model-tag { color: var(--teal-lt); }
.model h3 { margin-top: 14px; font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: -.012em; line-height: 1.12; }
.model-term { margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--navy-3); }
.model-start .model-term { color: #fff; opacity: .85; }
.model > p:not(.model-tag):not(.model-term) { margin-top: 18px; color: var(--muted); font-size: 16px; }
.model-start > p:not(.model-tag):not(.model-term) { color: var(--on-dark-soft); }
.checks { margin: 24px 0 32px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.model-start .checks { border-top-color: var(--on-dark-faint); }
.checks li { position: relative; padding-left: 28px; font-size: 15.5px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--teal-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%230B6E78' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.model-start .checks li::before { background-color: rgba(108,196,201,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%236CC4C9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.model .btn { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   Principles + assurance
   ========================================================================== */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 56px; }
.principle { position: relative; padding-top: 22px; border-top: 1px solid var(--line-2); }
.principle::before { content: ""; position: absolute; left: 0; top: -1px; width: 40px; height: 2px; background: var(--teal); }
.principle h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: -.01em; }
.principle p { margin-top: 10px; color: var(--muted); font-size: 16px; }

.assurance { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; margin-top: clamp(56px, 6vw, 80px); padding: 26px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.assurance-head { display: flex; align-items: center; gap: 14px; }
.assurance-head .ic { flex: none; width: 36px; height: 36px; }
.assurance-head p { color: var(--muted); font-size: 16px; }
.assurance-head strong { color: var(--navy); }
.assurance-list { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.assurance-list li { position: relative; padding-left: 18px; font-size: 14.5px; font-weight: 600; color: var(--navy-2); }
.assurance-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--teal-dk) 0%, var(--teal) 55%, #13838C 100%); color: #fff; padding-block: clamp(64px, 7vw, 96px); }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px 64px; }
.cta-band h2 { color: #fff; font-size: clamp(32px, 3.6vw, 48px); }
.cta-band p { margin-top: 14px; max-width: 56ch; font-size: 18px; color: rgba(255,255,255,.85); }
.cta-band .btn { flex: none; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px 96px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-side .intro { margin-top: 20px; }
.faq { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(20px, 1.7vw, 23px); color: var(--navy); letter-spacing: -.005em; line-height: 1.3; transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal); }
.faq-item summary i { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .25s, border-color .25s, transform .3s var(--ease); }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--navy); transform: translate(-50%,-50%); transition: transform .3s var(--ease), background .25s; }
.faq-item summary i::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item[open] summary i { background: var(--teal); border-color: var(--teal); }
.faq-item[open] summary i::before, .faq-item[open] summary i::after { background: #fff; }
.faq-item[open] summary i::after { transform: translate(-50%,-50%) rotate(0deg); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 56px 26px 0; color: var(--muted); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px 88px; align-items: start; }
.contact-side h2 { max-width: 14ch; }
.contact-side .intro { margin-top: 20px; }
.next { margin-top: 40px; display: grid; gap: 0; counter-reset: n; }
.next li { position: relative; padding: 0 0 22px 52px; color: var(--muted); counter-increment: n; }
.next li::before { content: counter(n); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1.5px solid var(--teal); color: var(--teal); font-family: var(--serif); font-size: 16px; }
.next li:not(:last-child)::after { content: ""; position: absolute; left: 15.5px; top: 34px; bottom: 2px; width: 1.5px; background: var(--line-2); }
.next strong { color: var(--navy); font-weight: 600; }
.contact-points { margin: 18px 0 0; padding-top: 26px; border-top: 1px solid var(--line-2); display: grid; gap: 14px; }
.contact-points div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; }
.contact-points dt { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding-top: 2px; }
.contact-points dd { margin: 0; color: var(--navy); font-weight: 500; }
.contact-points a { color: var(--teal); }
.contact-points a:hover { text-decoration: underline; text-underline-offset: 3px; }

.form-card { position: relative; padding: clamp(28px, 3.5vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.fg { display: flex; flex-direction: column; margin-bottom: 16px; }
.fg label { margin-bottom: 7px; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.opt { font-weight: 400; color: var(--faint); margin-left: 4px; font-size: 13px; }
.fg input, .fg select, .fg textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: 400 16px/1.4 var(--sans); color: var(--text);
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.fg select { padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23556273' stroke-width='1.6'/%3E%3C/svg%3E") right 15px center/12px no-repeat; cursor: pointer; }
.fg textarea { resize: vertical; min-height: 132px; }
.fg input::placeholder, .fg textarea::placeholder { color: #9AA4B1; }
.fg input:hover, .fg select:hover, .fg textarea:hover { border-color: #AEB9C6; }
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11,110,120,.15); }
.fg.invalid input, .fg.invalid textarea { border-color: #B42318; box-shadow: 0 0 0 3px rgba(180,35,24,.1); }
.ferr { min-height: 0; margin-top: 6px; font-size: 13.5px; color: #B42318; }
.ferr:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.fineprint { flex: 1 1 220px; font-size: 13.5px; color: var(--faint); line-height: 1.5; }
.fineprint a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
#submitBtn[disabled] { opacity: .7; cursor: progress; }
.form-status { margin-bottom: 22px; padding: 16px 18px; border-radius: var(--radius-sm); font-size: 15.5px; }
.form-status:focus { outline: none; }
.form-status.ok { background: var(--teal-wash); color: var(--teal-dk); border: 1px solid rgba(11,110,120,.25); }
.form-status.err { background: #FEF3F2; color: #912018; border: 1px solid #FECDCA; }
.form-status strong { display: block; font-size: 17px; margin-bottom: 2px; }
.form-status a { text-decoration: underline; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: var(--on-dark-soft); padding-top: clamp(64px, 7vw, 96px); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--on-dark-faint); }
.footer-brand p { margin: 18px 0 26px; max-width: 34ch; font-size: 15.5px; }
.fcol { display: flex; flex-direction: column; gap: 10px; }
.fcol h2 { margin-bottom: 8px; font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.fcol a { font-size: 15.5px; transition: color .2s; overflow-wrap: anywhere; }
.fcol a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 26px 32px; font-size: 14px; color: rgba(255,255,255,.45); }
.footer-legal { display: flex; gap: 24px; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Reveal animations
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
.js .reveal.d4 { transition-delay: .32s; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  .nav { gap: 26px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .steps::before, .steps::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .header-cta { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 12px var(--gut) 32px; background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav a:not(.btn) { padding: 18px 0; font-size: 20px; font-family: var(--serif); color: var(--navy) !important; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { display: inline-flex; margin-top: 28px; min-height: 54px; font-size: 16px; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .menu-open .header { background: #fff; border-bottom-color: var(--line); }
  .menu-open .header .brand { color: var(--navy); }
  .menu-open .header .brand-bar { stroke: var(--teal); }
  .menu-open .menu-btn span { background: var(--navy); }
  .menu-open { overflow: hidden; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .plate { max-width: 640px; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts li { padding: 22px 20px 22px 0; }
  .hero-facts li + li { padding-left: 0; border-left: 0; }
  .hero-facts li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--on-dark-faint); }
  .hero-facts li:nth-child(n+3) { border-top: 1px solid var(--on-dark-faint); }

  .split-head { grid-template-columns: 1fr; align-items: start; }
  .platforms-in { flex-direction: column; align-items: flex-start; gap: 14px; }
  .platforms-lbl { max-width: none; }

  .symptoms { grid-template-columns: 1fr; border-top: 0; }
  .symptom, .symptom + .symptom { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .symptom-n { margin-bottom: 14px; }

  .services, .models { grid-template-columns: 1fr 1fr; }
  .model-start { grid-column: 1 / -1; }
  .industries { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr 1fr; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }

  .ba-headrow { display: none; }
  .ba-row { grid-template-columns: 1fr 1fr; gap: 10px 28px; padding-block: 26px; }
  .ba-topic { grid-column: 1 / -1; }
  .ba-lbl { display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); }
  .ba-after .ba-lbl { color: var(--teal-lt); }
  .ba-before::before, .ba-after::before { display: none; }
  .ba-before, .ba-after { padding-left: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero h1 { font-size: clamp(38px, 10.5vw, 48px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .plate { padding: 16px 14px 12px; }
  .plate-head { flex-direction: column; gap: 8px; }
  .plate-kpis { gap: 6px; }
  .plate-kpis > div { padding: 10px; }
  .plate-kpis .v { font-size: 19px; }
  .plate-kpis .k { font-size: 10.5px; }
  .plate-chart { height: 190px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li, .hero-facts li:nth-child(even) { padding: 18px 0; padding-left: 0; border-left: 0; }
  .hero-facts li + li { border-top: 1px solid var(--on-dark-faint); }
  .hero-facts strong { font-size: 20px; }

  .platforms-list { gap: 8px 22px; }
  .platforms-list li { font-size: 15px; }

  .services, .models, .industries, .principles { grid-template-columns: 1fr; }
  .service { padding: 28px 24px 26px; }
  .model { padding: 30px 24px 26px; }
  .model .btn { align-self: stretch; }
  .industry { padding: 26px 22px; }
  .principles { gap: 32px; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 45px 1fr; column-gap: 20px; padding-bottom: 32px; }
  .step::before { content: ""; position: absolute; left: 22px; top: 48px; bottom: 4px; width: 1.5px; background: var(--line-2); }
  .step:last-child::before { display: none; }
  .step-n { grid-row: 1 / span 5; }
  .step > *:not(.step-n) { grid-column: 2; }
  .step-when { margin-top: 0; padding-top: 4px; }
  .step { display: grid; }
  .step-out { margin-top: 0; }
  .assurance { padding: 22px 20px; }
  .assurance-head { align-items: flex-start; }
  .assurance-list { flex-direction: column; }

  .ba-row { grid-template-columns: 1fr; }
  .ba-topic { font-size: 21px; }

  .cta-band .btn { width: 100%; }
  .faq-a p { padding-right: 0; }
  .frow { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .contact-points div { grid-template-columns: 1fr; gap: 2px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-top > .fcol:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

/* ==========================================================================
   Sub-pages (privacy, 404)
   ========================================================================== */
.subpage .header-cta-sub { display: inline-flex; margin-left: auto; }
.page { min-height: calc(100vh - 120px); padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 112px); }
.page-wrap { max-width: 820px; }
.page h1 { font-family: var(--serif); font-size: clamp(40px, 5vw, 60px); letter-spacing: -.02em; line-height: 1.05; font-variation-settings: "opsz" 72; }
.page-meta { margin-top: 14px; color: var(--faint); font-size: 15px; }
.prose { margin-top: 40px; }
.prose h2 { margin: 40px 0 10px; font-size: 26px; }
.prose p { color: var(--muted); }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.page-back { margin-top: 48px; }
.page-404 .intro { margin-top: 20px; }
.page-404 .hero-actions { margin-top: 36px; }
.footer-slim { padding-top: 0; }
@media (max-width: 980px) { .subpage .header-cta-sub { display: inline-flex; } }
@media (max-width: 420px) { .subpage .header-cta-sub { padding: 9px 12px; font-size: 13.5px; } }
