/* ============================================================
   OnSiteInvo — premium marketing site
   Brand kept intact: logo navy leads, logo orange as the accent
   "dimension mark". Type: Barlow Semi Condensed (display) + Barlow.
   ============================================================ */

:root {
  /* Brand (unchanged) */
  --ink: #0e1822;
  --navy: #1a2a38;
  --slate: #4d5b69;
  --muted: #6b7784;
  --steel: #8fb1d1;
  --steel-deep: #5a89b4;
  --mark: #f0933b;

  /* Elevated supporting shades, derived from the brand */
  --line: #e4e9ed;
  --line-strong: #d4dbe2;
  --paper: #f4f6f8;
  --surface: #ffffff;
  --haze: #eef2f6;
  --mark-soft: #fff1e2;
  --ok: #1ca34a;

  /* Dark-section palette (built from ink/navy) */
  --d-bg: #0c141d;
  --d-surface: #16222e;
  --d-line: #22323f;
  --d-text: #c3cfda;
  --d-muted: #8695a3;

  --display: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --text: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
  --nav-h: 72px;
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font: 400 18px/1.62 var(--text);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--steel-deep); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; line-height: 1.02; margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1320px; }
.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 12px; }

/* Shared type helpers */
.eyebrow { font: 600 14px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--mark); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--mark); }
.lede { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; color: var(--slate); max-width: 40ch; }
.fine { font-size: 15px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 0 26px; border-radius: 12px; font: 600 17px/1 var(--text); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .18s var(--ease), background-color .18s, border-color .18s, box-shadow .18s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 1px 2px rgba(14,24,34,.2), 0 10px 22px -12px rgba(14,24,34,.5); }
.btn-primary:hover { background: var(--ink); color: #fff; transform: translateY(-2px); box-shadow: 0 1px 2px rgba(14,24,34,.2), 0 18px 30px -14px rgba(14,24,34,.55); }
.btn-accent { background: var(--mark); color: #241403; box-shadow: 0 1px 2px rgba(120,70,10,.25), 0 12px 26px -12px rgba(240,147,59,.7); }
.btn-accent:hover { color: #241403; transform: translateY(-2px); filter: brightness(1.04); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--slate); transform: translateY(-2px); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 15px; background: var(--navy); color: #fff; border-radius: 10px; }
.btn-small:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.btn.is-soon { background: var(--paper); color: var(--slate); border-color: var(--line); cursor: default; box-shadow: none; }
.on-dark .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.on-dark .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.text-link { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.text-link::after { content: "\2192"; transition: transform .18s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Navigation: floating glass capsule ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; justify-content: center; padding: 16px var(--gutter); pointer-events: none; }
.nav-inner { pointer-events: auto; width: 100%; max-width: 1080px; display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 10px 0 22px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.4));
  backdrop-filter: blur(26px) saturate(1.9); -webkit-backdrop-filter: blur(26px) saturate(1.9);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(255,255,255,.12),
              0 1px 1px rgba(14,24,34,.05), 0 16px 40px -16px rgba(14,24,34,.38);
  transition: background .3s, box-shadow .3s, max-width .3s var(--ease), height .3s var(--ease); }
.nav.is-scrolled .nav-inner { max-width: 940px; height: 54px;
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.66));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 1px 2px rgba(14,24,34,.08), 0 18px 40px -16px rgba(14,24,34,.45); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 23px/1 var(--display); letter-spacing: -.01em; }
.brand img { transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-6deg); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { color: var(--slate); text-decoration: none; font-weight: 500; font-size: 16px; transition: color .15s; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { display: inline-flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); z-index: 70; }
.nav-toggle svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* page padding so fixed nav doesn't overlap (light pages); dark hero handles its own) */
main { display: block; }

/* Full-screen mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 65; background: var(--ink); color: #fff; display: flex; flex-direction: column; padding: calc(var(--nav-h) + 20px) var(--gutter) 40px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a:not(.btn) { color: #fff; text-decoration: none; font: 700 34px/1.1 var(--display); padding: 16px 0; border-bottom: 1px solid var(--d-line); letter-spacing: -.01em; }
.mobile-menu .btn { margin-top: 28px; }

/* ---------- Reveal animations (progressive enhancement) ----------
   Content is visible by default. Only once JS confirms it is running
   (html.js) do we hide-then-reveal on scroll, so a JS failure, a stale
   cache or a blocked script can never leave the page blank. */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }

/* Hero entrance: pure CSS, never depends on JS */
.hero-copy > *, .hero-device { animation: heroUp .8s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .06s; }
.hero-copy > *:nth-child(3) { animation-delay: .12s; }
.hero-copy > *:nth-child(4) { animation-delay: .18s; }
.hero-copy > *:nth-child(5) { animation-delay: .22s; }
.hero-device { animation-delay: .12s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-copy > *, .hero-device { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.section-paper { background: var(--paper); }
.section-haze { background: linear-gradient(180deg, var(--surface), var(--haze)); }
.section-dark { background: var(--d-bg); color: var(--d-text); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--d-text); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 68px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(36px, 5.2vw, 68px); line-height: .98; margin: 18px 0 0; }
.section-head p { margin-top: 20px; font-size: clamp(18px, 2vw, 21px); color: var(--slate); }
.section-dark .section-head p { color: var(--d-text); }

/* ---------- Device frames ---------- */
/* The screenshots are pre-framed iPhone/iPad mockups (the device frame is baked into the PNG,
   like the Mossbit page). So we just show the image; drop-shadow follows the device silhouette. */
.device-phone { position: relative; width: 100%; max-width: 300px; margin: 0 auto; }
.device-phone img { display: block; width: 100%; height: auto; filter: drop-shadow(0 26px 44px rgba(14,24,34,.26)); }
.device-tablet { position: relative; width: 100%; max-width: 900px; margin: 0 auto; }
.device-tablet img { display: block; width: 100%; height: auto; filter: drop-shadow(0 34px 60px rgba(14,24,34,.28)); }
.section-dark .device-phone img, .section-dark .device-tablet img { filter: drop-shadow(0 30px 55px rgba(0,0,0,.55)); }

/* Promo video */
.video-wrap { max-width: 1000px; margin: 44px auto 0; border-radius: 22px; overflow: hidden; background: #0a1118;
  box-shadow: 0 2px 4px rgba(14,24,34,.1), 0 44px 90px -46px rgba(14,24,34,.55); }
.video-wrap video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* Placeholder screens (until real screenshots are dropped in) */
.screen-ph { position: relative; width: 100%; overflow: hidden; background: radial-gradient(120% 70% at 50% 0%, #ffffff, var(--paper)); }
.ph-phone { aspect-ratio: 1320 / 2868; border-radius: 38px; }
.ph-tablet { aspect-ratio: 2064 / 2752; border-radius: 15px; }
.screen-ph::before { content: ""; position: absolute; inset: 0; background: url('/assets/img/logo.svg') no-repeat center 38%; background-size: 60px; opacity: .14; }
.ph-tablet::before { background-size: 92px; }
.ph-label { position: absolute; left: 50%; bottom: 13%; transform: translateX(-50%); font: 600 12px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, .88); border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; white-space: nowrap; }

/* ============================================================
   App-screen mockups, built in HTML/CSS. Sizes use container
   units (cqw) so everything scales to the device width and never
   stretches. The .mk element is the clipped "screen".
   ============================================================ */
.mk { position: relative; width: 100%; overflow: hidden; background: #eef1f4; color: var(--ink); font-family: var(--text); container-type: inline-size; }
.mk-phone { aspect-ratio: 1320 / 2868; border-radius: 38px; }
.mk-tablet { aspect-ratio: 2064 / 2752; border-radius: 15px; background: #eef1f4; }
.mk-status { display: flex; justify-content: space-between; align-items: center; padding: 5cqw 7cqw 0; }
.mk-status span:first-child { font-weight: 700; font-size: 4cqw; }
.mk-dots { display: inline-flex; gap: 1.4cqw; }
.mk-dots i { width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: var(--ink); opacity: .85; }
.mk-pad { padding: 4cqw 7cqw 7cqw; }

.mk-kicker { font-size: 4cqw; color: var(--muted); }
.mk-h1 { font-family: var(--display); font-weight: 700; font-size: 9cqw; line-height: 1; margin-top: .5cqw; letter-spacing: -.01em; }
.mk-h2 { font-family: var(--display); font-weight: 700; font-size: 7cqw; line-height: 1; margin-top: 3cqw; }
.mk-h3 { font-family: var(--display); font-weight: 700; font-size: 5cqw; }
.mk-muted { font-size: 3.6cqw; color: var(--muted); margin-top: 1cqw; }
.mk-label { font-size: 3.6cqw; color: var(--muted); }
.mk-sub { font-size: 3.4cqw; color: var(--muted); margin-top: 1cqw; }
.mk-section { font-family: var(--display); font-weight: 700; font-size: 5.4cqw; margin: 5cqw 0 2cqw; }

.mk-card { background: #fff; border-radius: 5cqw; padding: 5cqw; margin-top: 4cqw; box-shadow: 0 1cqw 3cqw rgba(14, 24, 34, .06); }
.mk-big { font-family: var(--display); font-weight: 700; font-size: 12cqw; line-height: 1; margin-top: 1cqw; letter-spacing: -.02em; }
.mk-paid { color: var(--ok); }
.mk-figs { display: flex; gap: 3cqw; margin-top: 4cqw; padding-top: 3.5cqw; border-top: 1px solid var(--line); }
.mk-figs div { flex: 1; }
.mk-figs span { display: block; font-size: 3cqw; color: var(--muted); margin-bottom: .6cqw; }
.mk-figs b { font-size: 4.4cqw; }
.mk-btn { margin-top: 4cqw; background: var(--ink); color: #fff; border-radius: 4cqw; text-align: center; padding: 4.2cqw; font-size: 4.4cqw; font-weight: 600; }
.mk-row { display: flex; align-items: center; gap: 3cqw; padding: 3cqw 0; border-bottom: 1px solid var(--line); font-size: 3.9cqw; }
.mk-row-t { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mk-ic { width: 7.5cqw; height: 7.5cqw; border-radius: 2.6cqw; flex: none; }
.mk-ic-ok { background: rgba(28, 163, 74, .16); }
.mk-ic-warn { background: rgba(214, 69, 61, .15); }
.mk-amt { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.mk-top { display: flex; justify-content: space-between; align-items: center; gap: 3cqw; }
.mk-top-t { font-family: var(--display); font-weight: 700; font-size: 5.2cqw; }
.mk-chip { font-size: 3.2cqw; font-weight: 700; padding: 1.4cqw 3cqw; border-radius: 999px; white-space: nowrap; }
.mk-chip-ok { color: var(--ok); background: rgba(28, 163, 74, .14); }
.mk-chip-dark { color: #fff; background: var(--ink); }

.mk-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 3cqw; overflow: hidden; margin-top: 4cqw; }
.mk-specs div { background: #fff; padding: 3cqw; }
.mk-specs span { display: block; font-size: 2.9cqw; color: var(--muted); margin-bottom: .6cqw; }
.mk-specs b { font-size: 3.9cqw; }
.mk-lines { margin-top: 4cqw; }
.mk-lines p { display: flex; justify-content: space-between; font-size: 3.7cqw; padding: 2.6cqw 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.mk-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4cqw; }
.mk-total span { font-family: var(--display); font-weight: 700; font-size: 5cqw; }
.mk-total b { font-family: var(--display); font-weight: 700; font-size: 8cqw; letter-spacing: -.02em; }

.mk-card-sign { display: flex; align-items: center; justify-content: center; padding: 7cqw 5cqw; min-height: 26cqw; }
.mk-sig { width: 72%; height: auto; }
.mk-kv { display: flex; justify-content: space-between; padding: 2.8cqw 0; border-bottom: 1px solid var(--line); font-size: 3.7cqw; }
.mk-kv span { color: var(--muted); }

.mk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; margin-top: 4cqw; }
.mk-tile { position: relative; aspect-ratio: 4 / 3; border-radius: 3cqw; overflow: hidden; background: linear-gradient(#bcd6ea, #e3edf4 54%, #6f9e5e 54%, #578049); }
.mk-roof { position: absolute; left: 50%; top: 26%; width: 62%; height: 36%; transform: translateX(-50%); background: #3a4753; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.mk-cap { position: absolute; left: 2cqw; bottom: 2cqw; right: 2cqw; font-size: 2.7cqw; color: #fff; background: rgba(0, 0, 0, .45); padding: 1.2cqw 2cqw; border-radius: 99px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.mk-tl-wrap { margin-top: 2cqw; position: relative; }
.mk-tl { display: flex; align-items: center; gap: 3.5cqw; padding: 2.6cqw 0; font-size: 3.8cqw; position: relative; }
.mk-tl-dot { width: 4.4cqw; height: 4.4cqw; border-radius: 50%; border: .6cqw solid var(--steel-deep); background: #fff; flex: none; }
.mk-tl.paid .mk-tl-dot { background: var(--ok); border-color: var(--ok); }

/* iPad: three columns. Smaller cq units because the tablet is wider. */
.mk-pad-i { display: grid; grid-template-columns: 24% 30% 1fr; height: 100%; }
.mk-side { background: #f7f9fb; border-right: 1px solid var(--line); padding: 3cqw 2cqw; }
.mk-brand { font-family: var(--display); font-weight: 700; font-size: 2.6cqw; margin-bottom: 2.5cqw; padding: 0 1.5cqw; }
.mk-nav-item { font-size: 2.3cqw; color: var(--slate); padding: 2cqw 2cqw; border-radius: 2cqw; }
.mk-nav-item.on { background: #e7ecf1; color: var(--ink); font-weight: 600; }
.mk-mid { padding: 3cqw 2.4cqw; border-right: 1px solid var(--line); background: #fff; }
.mk-mid .mk-h2 { font-size: 4cqw; margin: 0 0 2cqw; }
.mk-search { height: 4.5cqw; border-radius: 2cqw; background: #eef1f4; margin-bottom: 2.5cqw; }
.mk-person { display: flex; align-items: center; gap: 2cqw; padding: 2cqw; border-radius: 2.4cqw; }
.mk-person.on { background: var(--ink); color: #fff; }
.mk-person.on .mk-person-n { color: #fff; }
.mk-person-n { font-size: 2.4cqw; font-weight: 600; flex: 1; }
.mk-av { width: 6cqw; height: 6cqw; border-radius: 50%; background: #d4dbe2; color: var(--ink); display: grid; place-items: center; font-size: 2.2cqw; font-weight: 700; flex: none; }
.mk-person.on .mk-av { background: rgba(255,255,255,.2); color: #fff; }
.mk-av-lg { width: 9cqw; height: 9cqw; font-size: 3cqw; }
.mk-det { padding: 3.5cqw 3cqw; background: #eef1f4; overflow: hidden; }
.mk-det-head { display: flex; align-items: center; gap: 2.5cqw; margin-bottom: 3cqw; }
.mk-figs-2 { gap: 2cqw; }
.mk-card2 { background: #fff; border-radius: 2.6cqw; padding: 3cqw; margin-top: 2.5cqw; }
.mk-card2 .mk-section { font-size: 2.8cqw; margin: 0 0 1.5cqw; }
.mk-row2 { display: flex; justify-content: space-between; align-items: center; padding: 1.6cqw 0; font-size: 2.5cqw; border-top: 1px solid var(--line); }
.mk-row2:first-of-type { border-top: 0; }
.mk-tablet .mk-muted { font-size: 2.2cqw; }
.mk-tablet .mk-figs span { font-size: 2cqw; } .mk-tablet .mk-figs b { font-size: 3cqw; }
.mk-tablet .mk-chip { font-size: 2cqw; padding: 1cqw 2cqw; }

/* ---------- HERO ---------- */
.hero { position: relative; background: radial-gradient(120% 90% at 50% -10%, #1d3042 0%, #0f1b26 45%, #0a1118 100%); color: #fff; padding: calc(var(--nav-h) + 40px) 0 clamp(44px, 5vw, 76px); overflow: hidden; border-bottom: 3px solid var(--mark); }
.hero::after { content: ""; position: absolute; left: 50%; top: -10%; width: 900px; height: 900px; transform: translateX(-50%); background: radial-gradient(circle, rgba(143,177,209,.18), transparent 60%); pointer-events: none; }
/* Split hero: copy on the left, a single iPhone peeking in on the right */
.hero-grid { position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-copy { text-align: left; }
.hero .eyebrow { color: var(--steel); justify-content: flex-start; }
.hero .eyebrow::before { background: var(--steel); }
.hero h1 { font-size: clamp(42px, 5vw, 74px); line-height: .98; letter-spacing: -.025em; margin: 18px 0 0; }
.hero h1 .accent { color: var(--mark); }
.hero-sub { margin: 22px 0 0; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--d-text); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-start; margin-top: 30px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; }
.hero-points li { position: relative; padding-left: 24px; font-size: 15px; color: var(--d-text); }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 50%; width: 15px; height: 15px; margin-top: -8px; border-radius: 50%; background: var(--mark); }
.hero-points li::after { content: ""; position: absolute; left: 5px; top: 50%; width: 4px; height: 7px; margin-top: -5px; border: solid #0e1822; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hero-note { margin-top: 20px; font-size: 14.5px; color: var(--d-muted); }

.hero-device { position: relative; align-self: center; }
.hero-device .device-phone { max-width: 284px; width: 100%; margin: 0 auto; }
.hero-fade { display: none; }

/* ---------- Trust bar ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); padding: 44px 0; }
.trust p { text-align: center; color: var(--muted); font-size: 15px; letter-spacing: .02em; margin-bottom: 20px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.trust-row span { font: 700 clamp(18px, 2.4vw, 26px)/1 var(--display); color: var(--navy); letter-spacing: .01em; opacity: .85; }

/* ---------- Problem / transformation ---------- */
.shift { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.shift-col { }
.shift-list { list-style: none; margin: 18px 0 0; padding: 0; }
.shift-list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; font-size: 17px; margin-bottom: 10px; }
.shift-before li { background: var(--paper); color: var(--slate); border: 1px solid var(--line); }
.shift-before li .tick { color: var(--muted); }
.shift-after { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 26px; box-shadow: 0 40px 70px -40px rgba(14,24,34,.6); }
.shift-after h3 { color: #fff; font-size: 24px; margin-bottom: 6px; }
.shift-after .brand-tag { color: var(--steel); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.shift-after li { background: transparent; border: 0; border-bottom: 1px solid var(--d-line); color: #e7edf3; padding: 13px 0; }
.shift-after li:last-child { border-bottom: 0; }
.shift-after .tick { color: var(--ok); }
.tick { flex: none; width: 20px; height: 20px; }
.shift-arrow { color: var(--mark); }
.shift-arrow svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ---------- How a job moves (split: image left, feature grid right) ---------- */
.hjm { background: var(--paper, #eef1f4); }
.hjm-grid { display: grid; grid-template-columns: 42% 58%; align-items: stretch; max-width: 1200px; margin: 0 auto; }
.hjm-media { background: var(--ink, #0e1822); position: relative; display: flex; align-items: center; justify-content: center; padding: clamp(40px, 5vw, 64px) 24px; overflow: hidden; }
.hjm-media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 20%, rgba(240,147,59,.22), transparent 60%); }
.hjm-media .device-phone { max-width: 262px; position: relative; z-index: 1; }
.hjm-body { padding: clamp(40px, 5vw, 72px) clamp(28px, 5vw, 72px); }
.hjm-eyebrow { display: block; font: 700 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--mark); }
.hjm-body h2 { font: 800 clamp(28px, 3vw, 40px)/1.12 var(--display); color: var(--ink); margin: 12px 0 14px; max-width: none; }
.hjm-lead { font-size: 17px; line-height: 1.55; color: var(--slate); max-width: 46ch; }
.hjm-rule { height: 1px; background: var(--line, #d6dbe0); margin: 30px 0; }
.hjm-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; }
.hjm-box { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.hjm-ic { width: 48px; height: 48px; border-radius: 13px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px -10px rgba(14,24,34,.35); }
.hjm-ic svg { width: 24px; height: 24px; stroke: var(--mark); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hjm-box h3 { font: 700 18px/1.2 var(--display); color: var(--ink); }
.hjm-box p { margin-top: 5px; color: var(--slate); font-size: 14.5px; line-height: 1.5; }
.hjm-tag { display: inline-block; font: 700 12px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--mark); margin-bottom: 8px; }
@media (max-width: 860px) { .hjm-grid { grid-template-columns: 1fr; }
  .hjm-media { padding: 40px 24px; }
  .hjm-boxes { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Feature spotlight (split: copy + big device) ---------- */
.spot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.spot.reverse .spot-copy { order: 2; }
.spot.reverse .spot-media { order: 1; }
.spot-copy h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1; margin-top: 18px; }
.spot-copy p { margin-top: 20px; color: var(--slate); font-size: 19px; }
.section-dark .spot-copy p { color: var(--d-text); }
.spot-copy .btn, .spot-copy .text-link { margin-top: 28px; }
.spot-media { display: flex; justify-content: center; }
.spot-media .device-phone { max-width: 300px; }

/* Signature: two-device connection */
.sign-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; }
.sign-card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; box-shadow: 0 40px 80px -50px rgba(14,24,34,.5); max-width: 420px; }
.sign-card .k { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sign-card .amount { font: 700 clamp(40px, 6vw, 64px)/1 var(--display); margin: 8px 0 18px; }
.sign-approve { display: inline-flex; width: 100%; justify-content: center; background: var(--ink); color: #fff; border-radius: 12px; padding: 16px; font-weight: 600; }
.sign-done { margin-top: 20px; border-top: 1px dashed var(--line-strong); padding-top: 18px; }
.sign-done .badge { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 700; }
.sign-done .badge svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.sign-done .who { margin-top: 10px; font-weight: 600; }
.sign-done .when { color: var(--muted); font-size: 15px; }

/* ---------- Activity timeline ---------- */
.timeline-wrap { max-width: 560px; margin: 0 auto; }
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--d-line); }
.section-dark .tl::before { background: var(--d-line); }
.tl li { position: relative; display: flex; align-items: baseline; gap: 20px; padding: 16px 0 16px 56px; }
.tl .dot { position: absolute; left: 10px; top: 18px; width: 20px; height: 20px; border-radius: 50%; background: var(--d-surface); border: 2px solid var(--steel-deep); display: grid; place-items: center; }
.tl li.paid .dot { background: var(--ok); border-color: var(--ok); }
.tl li.paid .dot::after { content: ""; width: 7px; height: 7px; background: #fff; border-radius: 50%; }
.tl .label { font-weight: 600; color: #fff; font-size: 18px; }
.tl .time { margin-left: auto; color: var(--d-muted); font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Trades (horizontal scroll) ---------- */
.trades-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 340px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 28px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
.trades-scroll::-webkit-scrollbar { display: none; }
.trade-card { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; min-height: 340px; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.trade-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(14,24,34,.45); border-color: var(--line-strong); }
.trade-card h3 { font-size: clamp(30px, 3vw, 40px); letter-spacing: .01em; }
.trade-card .num { font: 600 14px/1 var(--text); color: var(--mark); letter-spacing: .1em; margin-bottom: auto; }
.trade-card ul { list-style: none; margin: 22px 0 0; padding: 0; }
.trade-card li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--slate); font-size: 16px; }
.trade-hint { text-align: center; color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ---------- Facts / privacy ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 12px; }
.facts .icon { width: 30px; height: 30px; fill: none; stroke: var(--steel); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.facts h3 { font-size: 23px; color: #fff; margin-bottom: 8px; }
.facts p { color: var(--d-text); font-size: 16px; }

/* ---------- Pricing teaser ---------- */
.price-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(28px, 4vw, 44px); box-shadow: 0 50px 90px -60px rgba(14,24,34,.55); }
.toggle { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 26px; }
.toggle button { border: 0; background: transparent; font: 600 15px/1 var(--text); color: var(--slate); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: color .2s; }
.toggle button.is-active { background: var(--ink); color: #fff; }
.toggle .save { color: var(--ok); font-weight: 700; margin-left: 4px; }
.price-amt { display: flex; align-items: baseline; gap: 2px; }
.price-amt .cur { font: 700 36px/1 var(--display); align-self: flex-start; margin-top: 8px; }
.price-amt .val { font: 700 clamp(60px, 9vw, 92px)/1 var(--display); letter-spacing: -.02em; }
.price-amt .per { font: 500 18px/1 var(--text); color: var(--muted); margin-left: 10px; }
.price-sub { color: var(--slate); margin: 10px 0 24px; }
.price-list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.price-list li { display: flex; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--slate); }
.price-list svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ok); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Final CTA ---------- */
.final { position: relative; background: radial-gradient(120% 120% at 50% 0%, #1d3042, #0c141d 60%); color: #fff; text-align: center; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(240,147,59,.16), transparent 55%); }
.final-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.final h2 { font-size: clamp(40px, 7vw, 88px); line-height: .96; }
.final p { margin: 22px auto 0; color: var(--d-text); font-size: clamp(18px, 2vw, 22px); max-width: 48ch; }
.final .hero-actions { margin-top: 40px; }

/* ---------- Count-up stat tiles ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.stat { text-align: center; }
.stat .n { font: 700 clamp(40px, 6vw, 68px)/1 var(--display); letter-spacing: -.02em; }
.stat .l { color: var(--muted); font-size: 15px; margin-top: 8px; }
.section-dark .stat .n { color: #fff; } .section-dark .stat .l { color: var(--d-muted); }

/* ============================================================
   Inner-page components (kept + restyled)
   ============================================================ */
.page-head { background: linear-gradient(180deg, var(--paper), var(--surface)); border-bottom: 1px solid var(--line); padding: calc(var(--nav-h) + 56px) 0 64px; }
.page-head h1 { font-size: clamp(42px, 6vw, 76px); line-height: .98; margin: 16px 0 0; max-width: 16ch; }
.page-head .lede { margin-top: 22px; }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 64px; }
.feature-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; color: var(--navy); }
.feature-head .icon { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-head h2 { font-size: 30px; color: var(--ink); }
.feature ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--slate); }

.nots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.nots p { color: var(--slate); }
.nots strong { display: block; color: var(--ink); font: 700 22px/1.2 var(--display); margin-bottom: 6px; }

.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.split-head p { font-size: 19px; color: var(--slate); }
.split-head .section-title { margin: 0; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { border-top: 2px solid var(--ink); padding-top: 20px; }
.step-num { display: block; font: 700 18px/1 var(--display); color: var(--mark); margin-bottom: 14px; }
.steps h3 { font-size: 28px; margin-bottom: 10px; }
.steps p { color: var(--slate); }
.spec-sheet { margin: 0; border-top: 2px solid var(--ink); }
.spec-sheet div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec-sheet dt { font: 700 22px/1.2 var(--display); }
.spec-sheet dd { margin: 0; color: var(--slate); }
.price-strip { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.price-strip p { color: var(--slate); font-size: 19px; max-width: 34em; }
.price-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; justify-self: end; }

/* legacy plan (pricing page) */
.plan { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
.plan-price { border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: 0 40px 80px -60px rgba(14,24,34,.5); }
.price { font: 700 72px/1 var(--display); letter-spacing: -.02em; display: flex; align-items: baseline; gap: 2px; }
.price .currency { font-size: 36px; align-self: flex-start; margin-top: 8px; }
.price .per { font: 500 18px/1 var(--text); color: var(--muted); margin-left: 10px; letter-spacing: 0; }
.alt-price { color: var(--slate); margin: 10px 0 24px; }
.plan-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.plan-list li { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.plan-list svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 36px 22px 0; position: relative; font: 700 22px/1.25 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--slate); max-width: 44em; }

.legal h2 { font-size: 28px; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--slate); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0; padding-left: 22px; }
.legal li { margin: 6px 0; }

.icon { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Footer ---------- */
.footer { background: var(--d-bg); color: var(--d-text); padding: 72px 0 44px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 44px; border-bottom: 1px solid var(--d-line); }
.footer .brand { color: #fff; font-size: 22px; }
.footer-brand p { margin-top: 12px; font-size: 15px; color: var(--d-muted); max-width: 30ch; }
.footer-col h4 { font: 600 13px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--d-muted); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--d-text); text-decoration: none; padding: 7px 0; font-size: 16px; }
.footer-col a:hover { color: #fff; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 14px; color: var(--d-muted); }
.footer-legal a { color: var(--d-text); text-decoration: none; }

/* Legacy section + showcase helpers (used by inner pages) */
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.showcase-head { max-width: 680px; margin: 0 0 56px; }
.showcase-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.showcase-head p { color: var(--slate); font-size: 19px; margin-top: 16px; }
.phone-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; align-items: start; }
.phone-row .device-phone { max-width: 240px; margin-inline: auto; }
.shot { margin: 0; }
.shot figcaption { margin-top: 20px; font: 600 17px/1.35 var(--text); color: var(--ink); text-align: center; }
.shot figcaption span { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 3px; }
.showcase-tablet { margin-top: 80px; }

/* ---------- Utility helpers (CSP blocks inline styles, so classes it is) ---------- */
.center .eyebrow, .final .eyebrow { justify-content: center; }
.section-darker { background: #0a1017; }
.sign-media { justify-content: flex-end; }
.sign-media .device-phone { max-width: 290px; }
.price-lead { margin-top: 20px; color: var(--slate); font-size: 19px; max-width: 34ch; }
.price-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; max-width: 420px; }
.price-cta { margin-top: 26px; }
.fine-center { font-size: 15px; color: var(--muted); margin-top: 14px; text-align: center; }
@media (max-width: 560px) { .price-stats { grid-template-columns: 1fr; } }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: clamp(28px, 7vw, 48px); text-align: center; }
  .hero-copy { text-align: center; order: 1; }
  .hero-device { order: 2; }
  .hero .eyebrow, .hero-actions { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav .nav-cta .btn-small { display: none; }
  .shift { grid-template-columns: 1fr; }
  .shift-arrow { transform: rotate(90deg); justify-self: center; }
  .spot, .spot.reverse { grid-template-columns: 1fr; }
  .spot.reverse .spot-copy, .spot.reverse .spot-media { order: 0; }
  .sign-stage { grid-template-columns: 1fr; }
  .price-wrap { grid-template-columns: 1fr; }
  .facts, .nots, .steps, .feature-list, .stat-row { grid-template-columns: 1fr; }
  .split-head, .price-strip, .plan { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .phone-row { grid-template-columns: 1fr; gap: 56px; max-width: 320px; margin: 0 auto; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .hero-device .device-phone { max-width: 280px; }
  .footer-top { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 28px; }
}
