/* ==========================================================================
   HxSurg — Marketing site
   Single static stylesheet. Design locked at brief v8.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --navy: #0A3A6B;
  --navy-deep: #042C53;
  --teal: #0F6E56;
  --teal-mid: #1D9E75;
  --teal-light: #5DCAA5;
  --amber: #BA7517;
  --amber-bright: #EF9F27;
  --amber-bg: #FAEEDA;

  /* Section accents */
  --blue: #185FA5;
  --blue-bg: #E6F1FB;
  --purple: #534AB7;
  --purple-bg: #EEEDFE;
  --pink: #993556;
  --pink-bg: #FBEAF0;
  --coral: #993C1D;
  --coral-bg: #FAECE7;
  --teal-bg: #E1F5EE;

  /* Neutrals */
  --ink: #122033;          /* text primary */
  --ink-soft: #5A6B80;     /* text secondary */
  --line: #E9E4DD;         /* hairline borders (warm) */
  --line-soft: #F0ECE6;
  --surface: #FFFFFF;
  --surface-tint: #F7F4F0; /* warm off-white section bg (Accurx-inspired) */
  --tint-mint: #ECF7F2;    /* soft mint band */
  --tint-cream: #FBF3E6;   /* soft cream band */
  --tint-sky: #EEF4FB;     /* soft sky band */
  --blue-on-navy: #B5D4F4;
  --placeholder: #6B7C93;

  /* Type — Accurx-inspired: warm serif display + clean sans body */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
          "Helvetica Neue", sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;

  /* Shape & depth — softer, Accurx-inspired rounding */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(10, 58, 107, .06), 0 1px 3px rgba(10, 58, 107, .08);
  --shadow-md: 0 4px 12px rgba(10, 58, 107, .08), 0 2px 4px rgba(10, 58, 107, .06);
  --shadow-lg: 0 18px 48px rgba(4, 44, 83, .16), 0 6px 16px rgba(4, 44, 83, .10);
  --shadow-phone: 0 40px 80px rgba(4, 44, 83, .30), 0 12px 28px rgba(4, 44, 83, .22);

  /* Layout */
  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(56px, 8vw, 104px);
}

/* ---------- Reset ---------- */
*, *::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-family: var(--sans);
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: var(--navy-deep);
  margin: 0;
  font-optical-sizing: auto;
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint  { background: var(--surface-tint); }
.section--mint  { background: var(--tint-mint); }
.section--cream { background: var(--tint-cream); }
.section--sky   { background: var(--tint-sky); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2 {
  font-size: clamp(28px, 4.4vw, 38px);
  letter-spacing: -0.012em;
  line-height: 1.1;
}
.section-head .sub {
  margin-top: 14px;
  font-size: clamp(16px, 2.2vw, 18px);
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--amber-bright); outline-offset: 2px; }

.btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { background: var(--navy-deep); box-shadow: var(--shadow-lg); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--navy); background: #fff; }

.btn--white {
  background: #fff;
  color: var(--navy-deep);
  box-shadow: var(--shadow-md);
}
.btn--white:hover { background: #F2F7FD; }

.btn--lg { padding: 15px 26px; font-size: 16px; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.nav.is-stuck { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo:hover { text-decoration: none; }
.logo__mark {
  width: 34px; height: 34px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--navy);
  display: grid; place-items: center;
  color: #fff;
}
.logo__mark svg { width: 20px; height: 20px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name {
  font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--navy-deep);
}
.logo__sub { font-size: 10.5px; color: var(--ink-soft); letter-spacing: 0.01em; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); overflow: hidden; }

/* Photo hero: full-bleed clinical photo behind a navy gradient overlay */
.hero--photo { background: var(--navy-deep); }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(105deg, rgba(4,44,83,.96) 0%, rgba(4,44,83,.86) 42%, rgba(10,58,107,.55) 70%, rgba(10,58,107,.35) 100%),
    var(--hero-photo, none);
  background-size: cover;
  background-position: center 28%;
}
.hero__bg::after { /* gentle fade into the next section */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(180deg, rgba(247,244,240,0) 0%, var(--surface-tint) 100%);
}
.hero--photo .wrap { position: relative; z-index: 1; }
.hero--photo h1 { color: #fff; }
.hero--photo .hero__sub { color: var(--blue-on-navy); }
.hero--photo .btn--primary { background: #fff; color: var(--navy-deep); }
.hero--photo .btn--primary:hover { background: #EAF2FB; }
.hero--photo .btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.hero--photo .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.10); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.pills { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; letter-spacing: -0.005em;
  padding: 6px 12px; border-radius: 999px; border: 1px solid transparent;
}
.pill--amber { background: var(--amber-bg); color: var(--amber); border-color: #F0D9AE; }
.pill--blue  { background: var(--blue-bg);  color: var(--blue);  border-color: #CBE0F5; }
.pill--teal  { background: var(--teal-bg);  color: var(--teal);  border-color: #BEE7D6; }

.hero h1 {
  font-size: clamp(38px, 6.4vw, 54px);
  line-height: 1.03;
  letter-spacing: -0.015em;
  max-width: 14ch;
}
.hero__sub {
  margin-top: 18px;
  font-size: clamp(17px, 2.4vw, 20px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 38ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Phone mockup */
.phone-col { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 270px;
  background: #111418;
  border-radius: 44px;
  padding: 11px;
  box-shadow: var(--shadow-phone);
  border: 1px solid #2a2e34;
}
.phone::before { /* side button hint */
  content: ""; position: absolute; right: -2px; top: 132px;
  width: 3px; height: 58px; border-radius: 2px; background: #2a2e34;
}
.phone__screen {
  position: relative;
  width: 100%;
  aspect-ratio: 614 / 1226; /* matches the app screenshot exactly — no letterbox gap */
  border-radius: 34px;
  overflow: hidden;
  background: #F2F2F7; /* iOS system grey — matches the screenshot's Safari chrome */
}
/* Notch hidden: the real iOS Safari screenshot already includes the status bar */
.phone__notch { display: none; }
.phone__track {
  position: absolute; inset: 0; display: flex;
  transition: transform .6s cubic-bezier(.65, .05, .36, 1);
}
.phone__slide { min-width: 100%; height: 100%; }
.phone__slide img { width: 100%; height: 100%; object-fit: cover; object-position: top center; background: #F2F2F7; }
.phone__slide--placeholder {
  display: grid; place-items: center; text-align: center; padding: 30px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--blue-on-navy); font-size: 13px;
}

.phone__dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 4;
}
.phone__dots button {
  width: 7px; height: 7px; padding: 0; border: none; border-radius: 999px;
  background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(0,0,0,.12);
  transition: width .25s ease, background .25s ease;
}
.phone__dots button[aria-current="true"] { width: 20px; background: #fff; }

/* ==========================================================================
   Photo band — "built for clinicians"
   ========================================================================== */
.photo-band {
  position: relative;
  min-height: clamp(320px, 42vw, 460px);
  display: flex; align-items: center;
  background-image:
    linear-gradient(90deg, rgba(4,44,83,.92) 0%, rgba(4,44,83,.74) 45%, rgba(4,44,83,.30) 100%),
    var(--band-photo, none);
  background-size: cover;
  background-position: center 30%;
  color: #fff;
}
.photo-band__inner { max-width: 640px; padding-block: clamp(40px, 6vw, 72px); }
.photo-band .eyebrow { color: var(--teal-light); }
.photo-band h2 { color: #fff; font-size: clamp(26px, 3.8vw, 36px); }
.photo-band p { margin-top: 14px; font-size: clamp(16px, 2.2vw, 19px); line-height: 1.5; color: #DCE9F7; }

/* ==========================================================================
   The workflow (Arc)
   ========================================================================== */
.arc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.arc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease;
}
.arc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.arc-card__num {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-soft);
}
.arc-card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin: 12px 0 16px;
}
.arc-card__icon svg { width: 22px; height: 22px; }
.arc-card__label { font-weight: 600; font-size: 16px; color: var(--navy-deep); letter-spacing: -0.01em; }
.arc-card__sub { font-size: 13.5px; color: var(--ink-soft); margin-top: 5px; line-height: 1.4; }

/* accent variants */
.ac-blue   .arc-card__icon { background: var(--blue-bg);   color: var(--blue); }
.ac-teal   .arc-card__icon { background: var(--teal-bg);   color: var(--teal); }
.ac-coral  .arc-card__icon { background: var(--coral-bg);  color: var(--coral); }
.ac-purple .arc-card__icon { background: var(--purple-bg); color: var(--purple); }
.ac-amber  .arc-card__icon { background: var(--amber-bg);  color: var(--amber); }
.ac-pink   .arc-card__icon { background: var(--pink-bg);   color: var(--pink); }

/* ==========================================================================
   How we're different
   ========================================================================== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.diff-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.diff-card__kicker {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 8px;
}
.diff-card__title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 18px; }
.diff-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.diff-list li {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start;
  font-size: 14.5px; line-height: 1.4;
}
.diff-list li .mk { width: 20px; height: 20px; margin-top: 1px; flex: none; }
.diff-list .yes .mk { color: var(--teal-mid); }
.diff-list .no  { color: var(--ink-soft); }
.diff-list .no .mk { color: #B7C2D0; }

.diff-card--hx {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.diff-card--hx .diff-card__kicker { color: var(--teal-light); }
.diff-card--hx .diff-card__title { color: #fff; }
.diff-card--hx .diff-list li { color: #Eaf2fb; }
.diff-card--hx .diff-list .yes .mk { color: var(--teal-light); }

/* ==========================================================================
   Value for money (ROI) — clean, premium, navy + green-for-savings
   ========================================================================== */
:root { --save: #0F8A55; --save-bg: #ECF8F1; }
.roi { background: #fff; }
.roi__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.roi__lead h2 { font-size: clamp(28px, 4.4vw, 40px); line-height: 1.08; }
.roi__sub { margin-top: 18px; font-size: clamp(17px, 2.2vw, 20px); line-height: 1.5; color: var(--ink-soft); max-width: 42ch; }
.roi__sub strong { color: var(--save); font-weight: 700; }

/* Hero saving card */
.roi__hero {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--save);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(30px, 4vw, 46px);
  text-align: center;
}
.roi__hero-num {
  font-family: var(--display);
  font-size: clamp(52px, 9vw, 76px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--save);
}
.roi__hero-label { margin-top: 12px; font-size: clamp(15px, 2vw, 17px); font-weight: 600; color: var(--navy-deep); }
.roi__hero-note { margin-top: 8px; font-size: 14px; color: var(--ink-soft); line-height: 1.45; }

/* Two supporting cards */
.roi__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(28px, 4vw, 44px); }
.roi-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); padding: clamp(24px, 3vw, 32px);
}
.roi-card__num {
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 46px); font-weight: 600; letter-spacing: -0.03em; line-height: 1;
  color: var(--save);
}
.roi-card__label { margin-top: 12px; font-size: 15.5px; font-weight: 600; color: var(--navy-deep); line-height: 1.35; }
.roi-card__note { margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }

/* Comparison strip */
.roi-compare {
  margin-top: 24px;
  background: var(--surface-tint);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.roi-compare__pair { display: flex; align-items: center; gap: clamp(16px, 3vw, 28px); }
.roi-compare__item { display: flex; flex-direction: column; }
.roi-compare__val { font-size: clamp(24px, 3.4vw, 30px); font-weight: 700; letter-spacing: -0.02em; color: var(--navy-deep); font-variant-numeric: tabular-nums; }
.roi-compare__val--good { color: var(--save); }
.roi-compare__cap { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.roi-compare__vs { font-size: 13px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.roi-compare__line { margin: 0; font-size: 14.5px; color: var(--ink-soft); max-width: 40ch; line-height: 1.45; }

/* Accordion */
.roi-accordion {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
}
.roi-accordion summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px clamp(18px, 3vw, 26px);
  font-size: 15px; font-weight: 600; color: var(--navy-deep);
}
.roi-accordion summary::-webkit-details-marker { display: none; }
.roi-accordion summary:hover { background: var(--surface-tint); }
.roi-accordion__chev { width: 20px; height: 20px; color: var(--ink-soft); transition: transform .2s ease; flex: none; }
.roi-accordion[open] .roi-accordion__chev { transform: rotate(180deg); }
.roi-assump { margin: 0; padding: 4px clamp(18px, 3vw, 26px) 8px; list-style: none; display: grid; gap: 10px; }
.roi-assump li {
  position: relative; padding-left: 22px;
  font-size: 14.5px; color: var(--ink); line-height: 1.5;
}
.roi-assump li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 6px; height: 6px; border-radius: 999px; background: var(--save);
}
.roi-assump strong { color: var(--navy-deep); font-weight: 600; }
.roi-assump__foot { margin: 4px clamp(18px, 3vw, 26px) 20px; font-size: 12.5px; color: var(--ink-soft); }

/* ==========================================================================
   HSJ award strip
   ========================================================================== */
.hsj {
  background: var(--amber-bg);
  border-top: 1px solid var(--amber-bright);
  border-bottom: 1px solid var(--amber-bright);
  padding-block: 26px;
}
.hsj__inner { display: flex; align-items: center; gap: 20px; }
.hsj__tile {
  width: 52px; height: 52px; flex: none; border-radius: 12px;
  background: var(--amber); color: #fff; display: grid; place-items: center;
}
.hsj__tile svg { width: 28px; height: 28px; }
.hsj__big { font-size: clamp(18px, 2.8vw, 22px); font-weight: 600; letter-spacing: -0.02em; color: var(--navy-deep); }
.hsj__small { font-size: 14px; color: var(--amber); margin-top: 2px; }

/* ==========================================================================
   Partners
   ========================================================================== */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.logo-grid--5 { grid-template-columns: repeat(5, 1fr); max-width: 940px; margin-inline: auto; }
.logo-slot {
  aspect-ratio: 16 / 10;
  border: 1.5px dashed #C7D3E0;
  border-radius: var(--r-md);
  background: #fff;
  display: grid; place-content: center; text-align: center; gap: 4px;
  padding: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.logo-slot:hover { border-color: var(--teal-light); box-shadow: var(--shadow-sm); }
.logo-slot__role { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.logo-slot__name { font-size: 13.5px; font-weight: 600; color: var(--navy-deep); letter-spacing: -0.01em; line-height: 1.25; }

/* Slots holding a real logo image: solid border, white card, contained logo */
.logo-slot--img {
  border-style: solid;
  border-color: var(--line);
  gap: 8px;
  padding: 14px 16px;
}
.logo-slot--img:hover { border-color: var(--teal-light); box-shadow: var(--shadow-sm); }
.logo-slot--img img {
  width: 100%;
  max-height: 62px;
  object-fit: contain;
  object-position: center;
}
.logo-slot__cap { font-size: 11.5px; font-weight: 600; color: var(--ink-soft); letter-spacing: -0.005em; line-height: 1.2; }
/* Amber "Finalist" accent — matches the HSJ strip + hero pill so the status is unmistakable */
.logo-slot__role--finalist { color: var(--amber); }
.logo-slot--finalist { border-color: #F0D9AE; background: #FFFCF6; }
.logo-slot--finalist:hover { border-color: var(--amber-bright); }

.founder {
  margin-top: 28px;
  text-align: center;
  font-size: 15px;
  color: var(--ink-soft);
}
.founder strong { color: var(--navy-deep); font-weight: 600; }

/* ==========================================================================
   Roadmap timeline
   ========================================================================== */
.timeline {
  list-style: none; margin: 0; padding: 0;
  position: relative;
  max-width: 760px;
}
/* the vertical spine */
.timeline::before {
  content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(180deg, var(--teal-mid) 0%, var(--teal-light) 60%, var(--line) 100%);
}
.timeline__item {
  position: relative;
  padding: 0 0 clamp(28px, 4vw, 40px) 44px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__marker {
  position: absolute; left: 4px; top: 4px;
  width: 16px; height: 16px; border-radius: 999px;
  background: #fff; border: 3px solid var(--teal-light);
  box-shadow: 0 0 0 4px #fff;
  z-index: 1;
}
.timeline__item.is-now .timeline__marker {
  border-color: var(--teal);
  background: var(--teal);
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--teal-bg);
}
.timeline__when {
  display: inline-block;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 6px;
}
.timeline__item.is-now .timeline__when {
  background: var(--teal); color: #fff;
  padding: 3px 10px; border-radius: 999px; letter-spacing: 0.03em;
}
.timeline__what {
  font-family: var(--display);
  font-size: clamp(19px, 2.6vw, 23px); font-weight: 500; letter-spacing: -0.015em;
  color: var(--navy-deep); margin: 0;
}
.timeline__sub { margin: 5px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.45; }

/* ==========================================================================
   Work with us — photo background, larger icons
   ========================================================================== */
.work { position: relative; overflow: hidden; }
.work__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(4,44,83,.93) 0%, rgba(4,44,83,.86) 100%),
    var(--work-photo, none);
  background-size: cover;
  background-position: center 30%;
}
.work__inner { position: relative; z-index: 1; }
.work .eyebrow { color: var(--teal-light); }
.work .section-head h2 { color: #fff; }
.work .section-head .sub { color: #C9DBF0; }

.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.work-tile {
  text-align: left;
  background: #fff; border: 1px solid transparent; border-radius: var(--r-lg);
  padding: 26px 24px; box-shadow: var(--shadow-md); width: 100%;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .18s ease, box-shadow .2s ease;
}
.work-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-tile__icon {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--teal-bg); color: var(--teal);
}
.work-tile__icon svg { width: 32px; height: 32px; }
.work-tile__title { font-weight: 600; font-size: 16.5px; color: var(--navy-deep); letter-spacing: -0.01em; }
.work-tile__sub { font-size: 14px; color: var(--ink-soft); }

/* ==========================================================================
   CTA / signup
   ========================================================================== */
.cta { background: var(--navy); color: #fff; }
.cta__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.cta .eyebrow { color: var(--teal-light); }
.cta h2 { color: #fff; font-size: clamp(26px, 4vw, 34px); }
.cta__sub { color: var(--blue-on-navy); font-size: 17px; margin-top: 14px; line-height: 1.5; }

.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--blue-on-navy); }
.field__optional { font-weight: 400; opacity: .75; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px;
  background: #fff; color: var(--navy-deep);
  border: 1px solid #D5E1EF; border-radius: var(--r-sm);
  padding: 13px 14px; width: 100%;
  appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 72px; line-height: 1.45; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7C93' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-mid); box-shadow: 0 0 0 3px rgba(29,158,117,.25); }
.form__submit { margin-top: 4px; justify-self: start; }
.form__note { font-size: 12.5px; color: var(--blue-on-navy); opacity: .85; }

/* Consent checkbox */
.field-consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin-top: 2px; }
.field-consent input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px; flex: none;
  accent-color: var(--teal-mid); cursor: pointer;
}
.field-consent label { font-size: 13px; line-height: 1.45; color: var(--blue-on-navy); cursor: pointer; }
.field-consent a { color: #fff; text-decoration: underline; }
.field-consent a:hover { color: var(--teal-light); }
.form__status { font-size: 14px; font-weight: 500; min-height: 1.2em; }
.form__status[data-state="ok"] { color: var(--teal-light); }
.form__status[data-state="err"] { color: #FFC9B5; }

/* ==========================================================================
   Legal page (terms & privacy)
   ========================================================================== */
.legal { padding-block: clamp(40px, 6vw, 72px); }
.legal__wrap { max-width: 760px; }
.legal__h1 { font-size: clamp(30px, 5vw, 42px); margin: 10px 0 6px; line-height: 1.1; }
.legal__meta { color: var(--ink-soft); font-size: 14px; margin: 0 0 28px; }
.legal__h2 {
  font-family: var(--display); font-weight: 500; letter-spacing: -0.015em;
  font-size: clamp(19px, 2.6vw, 23px); color: var(--navy-deep);
  margin: 32px 0 10px;
}
.legal p { font-size: 16px; line-height: 1.6; color: var(--ink); margin: 0 0 14px; }
.legal__list { margin: 0 0 14px; padding-left: 22px; }
.legal__list li { font-size: 16px; line-height: 1.55; color: var(--ink); margin-bottom: 6px; }
.legal a { color: var(--blue); text-decoration: underline; }
.legal strong { color: var(--navy-deep); font-weight: 600; }
.legal__back { margin-top: 36px; font-weight: 600; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy-deep); color: #C7D8EC; padding-block: clamp(40px, 6vw, 56px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.footer__title { color: #fff; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; margin-bottom: 8px; }
.footer__disclaimer { font-size: 14px; line-height: 1.55; color: #9FB6D1; max-width: 56ch; }
.footer__right { display: grid; gap: 6px; align-content: start; }
.footer__right a, .footer__right span { color: var(--teal-light); font-size: 14px; }
.footer__right a:hover { color: #fff; }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .phone__track { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .arc-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .cta__grid { grid-template-columns: 1fr; }
  .roi__top { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .hero__grid { grid-template-columns: 1fr; }
  .phone-col { display: none; }            /* phone hidden < ~700px per brief */
  .diff-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .roi__cards { grid-template-columns: 1fr; }
  .roi-compare { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .arc-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .logo__sub { display: none; }
}

@media (max-width: 420px) {
  .work-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .arc-grid { grid-template-columns: 1fr; }
}
