/* ==========================================================================
   Offchox marketing site, v2 (dark). Hand-written CSS, no build step.
   Tokens first, then layout, then components. Colours are aligned with the
   Offchox application's dark mode.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b1222;           /* page */
  --bg-2: #0f172a;         /* app dark background */
  --band: #111a2e;         /* alternate section band */
  --surface: #162238;      /* raised surface */
  --surface-2: #1b2a44;
  --line: #26344d;
  --line-soft: rgba(255, 255, 255, .08);
  --text: #eef2f8;
  --body: #cbd5e4;         /* long-form copy */
  --muted: #a5b3c8;        /* 8.6:1 on --bg */
  --faint: #8b9ab2;        /* 6.3:1 on --bg, small print only */
  --yellow: #fde92a;       /* Offchox brand: CTAs and accents */
  --yellow-hover: #fff27a;
  --ink: #0b1222;          /* text on yellow */
  --cyan: #67e8f9;
  --danger: #ff8a8a;
  --success: #6ee7b7;

  --max: 1240px;
  --gutter: 32px;
  --header-h: 80px;
  --radius: 12px;
  --radius-sm: 8px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); text-underline-offset: 3px; }
a:hover { color: var(--yellow-hover); }
h1, h2, h3, h4 { color: #fff; margin: 0; letter-spacing: -0.025em; line-height: 1.1; }
h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 740; }
h2 + .lead, h2 + p { margin-top: 22px; }
h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
strong { color: var(--text); font-weight: 650; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--yellow); color: var(--ink);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font: 600 16px/1.2 var(--font); letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn .icon { width: 18px; height: 18px; stroke-width: 2; }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-hover); color: var(--ink); }
.btn-secondary { color: #fff; border-color: rgba(255, 255, 255, .3); background: transparent; }
.btn-secondary:hover { color: #fff; border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .05); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .btn-primary .icon { transition: transform .15s ease; }
  .btn-primary:hover .icon { transform: translateX(3px); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11, 18, 34, .92);
  border-bottom: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color .2s ease, border-color .2s ease;
}
/* Transparent over the hero only when JS can turn it solid on scroll */
.js .site-header.is-top { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { height: 36px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; }
.site-nav a {
  display: block; padding: 6px 0; color: #c6d1e2; text-decoration: none; white-space: nowrap;
  font-size: 15px; font-weight: 500; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="true"] { color: #fff; border-bottom-color: var(--yellow); }
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: #fff; cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; stroke-width: 2; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1199px) { /* 8 nav links + CTA need about 1200px on one line */
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px; display: none;
  }
  .site-nav.is-open { display: block; }
  .js .site-header.is-top:has(.site-nav.is-open) { background: var(--bg); }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line-soft); }
  .site-nav a[aria-current="true"] { border-bottom-color: var(--line-soft); color: var(--yellow); }
}

/* ---------- Section scaffolding ---------- */
main { display: block; }
.section { padding: clamp(80px, 10vw, 128px) 0; position: relative; }
.section-band { background: var(--band); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: 13px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--yellow); }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--body); }
.muted { color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin-bottom: 20px; }
.section-head .lead { margin: 0; }

/* ---------- Photo bands ---------- */
.photo-bg { position: absolute; inset: 0; overflow: hidden; }
.photo-bg img { width: 100%; height: 100%; object-fit: cover; }
.photo-bg::after { content: ""; position: absolute; inset: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 840px; overflow-x: clip; z-index: 1; }
.hero .photo-bg img { object-position: 50% 58%; }
.hero .photo-bg::after {
  background:
    linear-gradient(90deg, rgba(11,18,34,.96) 0%, rgba(11,18,34,.86) 30%, rgba(11,18,34,.35) 55%, rgba(11,18,34,.08) 100%),
    linear-gradient(180deg, rgba(11,18,34,.6) 0%, rgba(11,18,34,0) 20%, rgba(11,18,34,0) 62%, var(--bg) 100%);
}
.hero-inner {
  position: relative; z-index: 2; padding-top: calc(var(--header-h) + 90px);
  display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); column-gap: 56px; row-gap: 0;
  grid-template-areas: "copy shot" "proof shot"; grid-template-rows: auto 1fr;
}
.hero-copy { grid-area: copy; }
.hero-inner > .hero-shot { grid-area: shot; }
.hero-inner > .proof { grid-area: proof; align-self: start; }
.hero h1 { font-size: clamp(40px, 5.2vw, 62px); line-height: 1.04; font-weight: 760; letter-spacing: -0.03em; margin-bottom: 26px; }
.hero h1 .accent { display: block; color: var(--yellow); }
.hero .lead { max-width: 510px; margin-bottom: 34px; }
.proof {
  list-style: none; margin: 46px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line-soft);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
  font-size: 14px; line-height: 1.45; color: var(--muted);
}
.proof li + li { border-left: 1px solid var(--line-soft); padding-left: 22px; }
.proof strong { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.shot.hero-shot { margin-top: 300px; margin-bottom: -170px; margin-right: -300px; align-self: start; }
@media (min-width: 960px) {
  .shot.hero-shot:has(.shot-stack) { margin-top: 240px; margin-right: -220px; } /* desktop only: keep all three layers mostly in view */
}
.hero + .section { padding-top: 230px; }

/* ---------- Screenshots ---------- */
.shot { margin: 0; position: relative; }
.shot-frame {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10;
  border-radius: var(--radius); background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .04);
}
.shot-frame > img, .shot-frame > picture, .shot-frame > picture > img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
/* A real screenshot keeps its own proportions (width/height attributes reserve the space, so no layout
   shift). Placeholders keep the 16:10 frame. Older browsers without :has() fall back to a top-left crop. */
.shot-frame:has(> img) { aspect-ratio: auto; }
.shot-frame:has(> img) > img { height: auto; }

/* Layered screenshots: several partial views overlapping like open windows. Gives a sense of the product
   without exposing a whole screen (and covers areas we don't want to feature). Layer positions are
   tuned to these specific captures; change them together with the images. */
.shot-stack { position: relative; }
.shot-stack > .shot-frame { position: absolute; aspect-ratio: auto; box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .05); }
.shot-stack > .shot-frame > img { height: auto; }
.shot-stack--dash { aspect-ratio: 100 / 63; }
.shot-stack--dash .layer-1 { left: 0; top: 0; width: 76%; z-index: 1; }
.shot-stack--dash .layer-2 { left: 44%; top: 4.5%; width: 56%; z-index: 2; }
.shot-stack--dash .layer-3 { left: 10%; top: 46.5%; width: 64%; z-index: 3; }
.shot-stack--phones { aspect-ratio: 100 / 142; }
.shot-stack > .shot-frame.phone { border-radius: 22px; border: 4px solid #24324b; }
.shot-stack--phones .layer-1 { left: 0; top: 16%; width: 52%; z-index: 1; }   /* menu, back left */
.shot-stack--phones .layer-2 { left: 48%; top: 16%; width: 52%; z-index: 2; }  /* activity, back right */
.shot-stack--phones .layer-3 { left: 18%; top: 0; width: 64%; z-index: 3; }    /* home, front */
.shot-stack--whatif { aspect-ratio: 100 / 52; }
.shot-stack--whatif .layer-1 { left: 0; top: 0; width: 86%; z-index: 1; }
.shot-stack--whatif .layer-2 { left: 30%; top: 72%; width: 70%; z-index: 2; }
.shot--phone .shot-frame { aspect-ratio: 390 / 844; border-radius: 28px; border-width: 6px; border-color: #24324b; }
.shot-tag {
  position: absolute; left: 22px; bottom: -14px; z-index: 2;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
  font-size: 12.5px; line-height: 1; padding: 8px 12px; border-radius: 999px; white-space: nowrap;
}
/* Placeholder until a genuine Demo screenshot is supplied (see CLAUDE.md "Screenshots") */
.shot-pending {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 24px;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(ellipse at 50% 40%, #16223a 0%, var(--bg-2) 70%);
  color: var(--muted); font-size: 15px;
}
.shot-pending .icon { width: 34px; height: 34px; color: var(--yellow); stroke-width: 1.5; }
.shot-pending strong { color: #fff; font-size: 16px; }
.shot-pending small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }

/* ---------- Challenge ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.numbered { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); counter-reset: n; }
.numbered li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); counter-increment: n; }
.numbered li::before { content: counter(n, decimal-leading-zero); font-size: 13px; font-weight: 650; color: var(--yellow); padding-top: 3px; }
.numbered h3 { margin-bottom: 4px; }
.numbered p { margin: 0; font-size: 16px; color: var(--muted); }

/* ---------- Platform ---------- */
.platform-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.outcomes { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.outcomes li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.outcomes li:last-child { border-bottom: 1px solid var(--line); }
.outcomes .icon-box {
  width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(253, 233, 42, .08); border: 1px solid rgba(253, 233, 42, .25); color: var(--yellow);
}
.outcomes h3 { margin-bottom: 4px; }
.outcomes p { margin: 0; font-size: 16px; color: var(--muted); }

/* ---------- Leave Cap ---------- */
.leave-cap { overflow: hidden; }
.leave-cap .photo-bg { bottom: auto; height: 760px; }
.leave-cap .photo-bg img { object-position: 60% 42%; }
.leave-cap .photo-bg::after {
  background:
    linear-gradient(90deg, rgba(11,18,34,.96) 0%, rgba(11,18,34,.86) 40%, rgba(11,18,34,.38) 72%, rgba(11,18,34,.25) 100%),
    linear-gradient(180deg, rgba(11,18,34,.45) 0%, rgba(11,18,34,0) 25%, rgba(11,18,34,.2) 60%, var(--bg) 100%);
}
.leave-cap .container { position: relative; }
.leave-cap .section-head { max-width: 860px; }
.cap-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: clamp(48px, 6vw, 72px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(15, 23, 42, .78); }
.cap-split > div { padding: 30px 32px; }
.cap-split > div + div { border-left: 1px solid var(--line); }
.cap-split .label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.cap-split h3 { font-size: 22px; margin-bottom: 10px; }
.cap-split p { margin: 0; font-size: 16px; color: var(--muted); }
.cap-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 72px); align-items: center; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.ticks .icon { color: var(--yellow); width: 22px; height: 22px; margin-top: 2px; }
.ticks strong { display: block; color: #fff; }
.ticks span { color: var(--muted); font-size: 16px; }

/* ---------- What-if ---------- */
.whatif { overflow: hidden; }
.whatif::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 420px at 92% 12%, rgba(103, 232, 249, .06), transparent 70%);
}
.whatif .container { position: relative; }
.whatif-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 72px); align-items: start; }
.whatif h2 { margin-bottom: 24px; max-width: 580px; }
.whatif .lead { max-width: 560px; }
.whatif .note { font-size: 16px; color: var(--muted); max-width: 540px; margin-bottom: 36px; }
.measures { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.measure { padding: 22px 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.measure .icon { color: var(--yellow); margin-bottom: 14px; }
.measure h3 { font-size: 17px; margin-bottom: 6px; }
.measure p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.audience-notes { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; }
.audience-notes li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.audience-notes strong { display: block; color: #fff; margin-bottom: 2px; }
.whatif .cta-row { margin-top: 32px; }
.fine { font-size: 13px; color: var(--faint); margin: 14px 0 0; }

/* ---------- Audiences ---------- */
.audiences { overflow: hidden; }
.audiences .photo-bg img { object-position: 50% 45%; }
.audiences .photo-bg::after { background: linear-gradient(180deg, rgba(11,18,34,.80) 0%, rgba(11,18,34,.93) 45%, var(--bg) 100%); }
.audiences .container { position: relative; }
.audience-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 300px; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(15, 23, 42, .82); }
.audience { padding: 36px 34px; }
.audience + .audience { border-left: 1px solid var(--line); }
.audience-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.audience-head .icon { width: 26px; height: 26px; color: var(--yellow); }
.audience-head h3 { font-size: 22px; }
.audience ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.audience li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; color: var(--muted); }
.audience li .icon { width: 18px; height: 18px; color: var(--cyan); margin-top: 4px; stroke-width: 2.25; }
.audience li strong { color: #fff; }
.audience-phone { padding: 28px 28px 28px 0; display: flex; align-items: center; }
.audience-phone .shot { width: 100%; }
.audience-phone .shot-tag { left: 50%; transform: translateX(-50%); }
.shared-facts { margin-top: 40px; max-width: 820px; font-size: 17px; color: var(--muted); }
.shared-facts strong { color: #fff; }

/* ---------- How it fits ---------- */
.steps { list-style: none; margin: 0 0 clamp(56px, 7vw, 80px); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; position: relative; }
.steps li { counter-increment: s; padding: 0 24px 0 0; position: relative; }
.steps li::before {
  content: counter(s); display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 20px; position: relative; z-index: 1;
  background: var(--bg); border: 2px solid var(--yellow); color: var(--yellow); font-weight: 700; font-size: 15px;
}
.steps li::after { content: ""; position: absolute; top: 20px; left: 40px; right: 0; height: 2px; background: linear-gradient(90deg, rgba(253,233,42,.5), rgba(253,233,42,.08)); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 8px; }
/* Who does each step: the airline (uploads, approves) or offchox (interprets, automates). */
.step-actor { display: block; margin-bottom: 8px; line-height: 20px; font-size: 12.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.step-actor--offchox { color: var(--yellow); text-transform: none; letter-spacing: .02em; font-size: 14px; }
.steps p { margin: 0; font-size: 16px; color: var(--muted); }
.fits { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 72px); align-items: center; padding-top: clamp(48px, 6vw, 64px); border-top: 1px solid var(--line); }
.fits h3 { font-size: 26px; margin-bottom: 14px; letter-spacing: -0.02em; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.flow-col { display: grid; gap: 10px; }
.flow-node {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line); color: #fff; font-size: 15px; font-weight: 550;
}
.flow-node .icon { width: 18px; height: 18px; color: var(--cyan); }
.flow-core {
  width: 150px; padding: 26px 16px; border-radius: 18px; text-align: center;
  background: linear-gradient(160deg, #1b2a44, #0f172a); border: 1px solid rgba(253, 233, 42, .35);
  color: var(--muted); font-size: 13px; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.flow-core img { width: 104px; height: auto; }
.flow-label { grid-column: 1 / -1; margin: 0 0 2px; font-size: 13px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.flow-caption { grid-column: 1 / -1; font-size: 13px; color: var(--faint); margin: 6px 0 0; }

/* ---------- Business case ---------- */
.value-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.value-list li { padding: 26px 26px 0 0; }
.value-list li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.value-list .icon { color: var(--yellow); margin-bottom: 14px; }
.value-list h3 { margin-bottom: 8px; }
.value-list p { margin: 0; font-size: 16px; color: var(--muted); }

/* ---------- Forms (enquiry) ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field label, .field legend { font-size: 14.5px; font-weight: 600; color: var(--text); padding: 0; }
.field .hint { font-size: 13px; color: var(--faint); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 16px/1.4 var(--font); color: #fff;
  background: var(--bg-2); border: 1px solid #3a4a66; border-radius: var(--radius-sm);
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--bg-2); color: #fff; }
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7e8da6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(253, 233, 42, .22);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 138, 138, .18);
}
.field-error { display: none; font-size: 13.5px; font-weight: 600; color: var(--danger); }
.field-error.is-visible { display: flex; align-items: center; gap: 6px; }
.field-error::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: var(--danger); color: var(--ink); font-size: 11px; font-weight: 800; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--yellow); }
.check label { font-weight: 450; font-size: 15px; color: var(--body); }
.honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Security ---------- */
.security-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.security-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.security-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.security-list li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.security-list .icon { color: var(--cyan); width: 20px; height: 20px; margin-top: 3px; }
.security-list strong { display: block; color: #fff; margin-bottom: 2px; font-size: 16px; }
.security-list span { font-size: 15px; color: var(--muted); }
.security-note { margin-top: 22px; font-size: 14px; color: var(--faint); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.about-statement { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; font-weight: 600; color: #fff; letter-spacing: -0.015em; border-left: 3px solid var(--yellow); padding-left: 26px; margin: 0 0 28px; }
.expertise { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.expertise li { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; color: #fff; font-weight: 550; font-size: 16px; }
.expertise li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.expertise .icon { color: var(--yellow); width: 20px; height: 20px; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact .photo-bg img { object-position: 50% 50%; }
.contact .photo-bg::after { background: linear-gradient(90deg, rgba(11,18,34,.95) 0%, rgba(11,18,34,.86) 45%, rgba(11,18,34,.72) 100%), linear-gradient(180deg, var(--bg) 0%, rgba(11,18,34,0) 25%, rgba(11,18,34,0) 75%, var(--bg) 100%); }
.contact .container { position: relative; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact h2 { margin-bottom: 22px; }
.contact-direct { margin-top: 28px; font-size: 15px; color: var(--muted); }
.form-card { background: rgba(22, 34, 56, .94); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.form-card h3 { font-size: 22px; margin-bottom: 8px; }
.form-intro { margin: 0 0 6px; color: var(--body); }
.form-required-note { font-size: 14px; color: var(--muted); margin: 0 0 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-status { margin: 0; font-size: 15px; font-weight: 600; color: var(--text); }
.form-status.is-error { color: var(--danger); }
.form-success { text-align: center; padding: 32px 8px; }
.form-success .icon { width: 56px; height: 56px; color: var(--success); margin: 0 auto 16px; display: block; }
.form-success h3 { font-size: 24px; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: #080e1b; border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 15px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p { margin: 0 0 10px; max-width: 420px; }
.site-footer h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 650; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--body); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--body); cursor: pointer; text-align: left; }
.link-button:hover { color: var(--yellow); text-decoration: underline; }
.footer-bottom .link-button { color: inherit; }
/* Copyright left; company line right-aligned beside the Back to top arrow. Below 960px the two text lines
   stack on the left and the arrow stays on the right. */
.footer-company { text-align: right; }
.back-to-top {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--yellow); color: var(--yellow);
}
.site-footer .back-to-top:hover { background: var(--yellow); color: var(--ink); text-decoration: none; }
.back-to-top .icon { width: 18px; height: 18px; stroke-width: 2.25; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--faint); }
.footer-bottom--split { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px 20px; }
@media (max-width: 959px) {
  .footer-bottom--split { grid-template-columns: 1fr auto; }
  .footer-company { grid-column: 1; text-align: left; }
  .back-to-top { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- Legal pages ---------- */
.legal { padding: calc(var(--header-h) + 64px) 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 750; margin-bottom: 12px; }
.legal h2 { font-size: 22px; margin: 2em 0 .6em; }
.legal p, .legal li { color: var(--body); }
.legal li { margin-bottom: .4em; }
.legal .updated { color: var(--muted); margin-bottom: 2em; }
.legal code { color: var(--text); background: var(--surface); padding: 1px 6px; border-radius: 4px; font-size: .9em; }

/* ---------- Analytics cookie banner (consent.js) ---------- */
.consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 880px; margin: 0 auto; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .45);
}
.consent-banner[hidden] { display: none; }
.consent-inner { display: flex; align-items: center; gap: 20px; }
.consent-text { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--body); }
.consent-text strong { color: var(--text); }
.consent-text a { color: var(--yellow); }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent-actions .btn[aria-pressed="true"] { border-color: var(--yellow); }
@media (max-width: 767px) {
  .consent-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .consent-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .consent-actions { flex-wrap: wrap; }
  .consent-actions .btn { flex: 1 1 120px; padding: 0 12px; }
}

/* ---------- Reveal on scroll (JS + motion allowed only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .audience-phone { grid-column: 1 / -1; padding: 0 34px 40px; justify-content: center; border-top: 1px solid var(--line); padding-top: 36px; }
  .audience-phone .shot { max-width: 340px; }
  .value-list { grid-template-columns: 1fr 1fr; }
  .value-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .value-list li { padding-bottom: 26px; }
  .flow { grid-template-columns: 1fr; justify-items: stretch; }
  .flow-core { margin: 0 auto; width: 100%; max-width: 260px; flex-direction: row; justify-content: center; }
}
@media (max-width: 959px) {
  .hero { min-height: 0; }
  /* Below desktop: copy, then the app screenshot, then the proof points (brings the product into view sooner). */
  .hero-inner { grid-template-columns: 1fr; grid-template-areas: "copy" "shot" "proof"; grid-template-rows: auto; gap: 0; }
  .shot.hero-shot { margin: 40px 0 0; }
  .hero + .section { padding-top: 96px; }
  .two-col, .platform-grid, .cap-grid, .whatif-grid, .security-grid, .about-grid, .contact-grid, .fits { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; --header-h: 68px; }
  body { font-size: 16px; }
  .brand img { height: 30px; }
  .header-cta { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .hero .photo-bg { bottom: auto; height: 520px; }
  .hero .photo-bg img { object-position: 72% 60%; }
  .hero .photo-bg::after { background: linear-gradient(180deg, rgba(11,18,34,.55) 0%, rgba(11,18,34,.15) 30%, rgba(11,18,34,.45) 62%, var(--bg) 100%); }
  .hero-inner { padding-top: calc(var(--header-h) + 28px); }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero h1 { margin-bottom: 16px; }
  .hero .lead { margin-bottom: 22px; }
  .cta-row .btn { width: 100%; }
  .proof { grid-template-columns: 1fr; gap: 12px; margin-top: 34px; padding-top: 20px; }
  .proof li + li { border-left: 0; padding-left: 0; }
  .shot.hero-shot { margin: 28px 0 0; }
  .leave-cap .photo-bg { height: 560px; }
  .leave-cap .photo-bg img { object-position: 62% 45%; }
  .leave-cap .photo-bg::after { background: linear-gradient(180deg, rgba(11,18,34,.55) 0%, rgba(11,18,34,.78) 40%, var(--bg) 100%); }
  .hero + .section { padding-top: 80px; }
  .measures, .cap-split, .audience-grid, .security-list, .expertise, .value-list, .form-grid { grid-template-columns: 1fr; }
  .cap-split > div + div, .audience + .audience { border-left: 0; border-top: 1px solid var(--line); }
  .cap-split > div, .audience { padding: 26px 22px; }
  .audience-phone { padding: 28px 22px 34px; }
  .security-list li:nth-child(even), .expertise li:nth-child(even) { padding-left: 0; border-left: 0; }
  .value-list li, .value-list li + li { padding: 22px 0; border-left: 0; }
  .value-list li + li { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 0; }
  .steps li::before { margin: 0; grid-row: span 2; }
  .steps li::after { top: 44px; left: 19px; right: auto; bottom: -24px; width: 2px; height: auto; background: linear-gradient(180deg, rgba(253,233,42,.5), rgba(253,233,42,.08)); }
  .steps li:nth-child(2)::after { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .shot-tag { font-size: 11.5px; }
}
