/* ==========================================================================
   Curfox — landing page
   Type:  Archivo (display, wide) · IBM Plex Sans (body) · IBM Plex Mono (data)
   ========================================================================== */

/* --- Tokens: light (default) ---------------------------------------------- */
:root {
  --paper:      #F2F5F9;
  --surface:    #FFFFFF;
  --surface-2:  #E8EEF6;
  --line:       #D5DEE9;
  --line-soft:  #E3EAF3;

  --ink:        #0C2340;
  --ink-muted:  #56698A;

  --brand:      #16487D;
  --brand-soft: #E6EEF7;

  --hivis:      #FF9016;
  --hivis-deep: #E07A00;
  --on-hivis:   #21160A;

  --ok:         #189E6B;
  --alert:      #DC4A45;
  --info:       #2D8FEE;

  /* Inverse (navy) bands — used for hero, form, footer */
  --inv-bg:     #0A1E36;
  --inv-bg-2:   #10294A;
  --inv-line:   #1E3E63;
  --inv-ink:    #EDF3FA;
  --inv-muted:  #92A9C6;

  --shadow-sm:  0 1px 2px rgba(12, 35, 64, .06), 0 2px 8px rgba(12, 35, 64, .05);
  --shadow-md:  0 2px 4px rgba(12, 35, 64, .06), 0 12px 32px rgba(12, 35, 64, .10);
  --shadow-lg:  0 24px 70px rgba(4, 16, 32, .45);

  --maxw:       1160px;
  --radius:     14px;
  --radius-sm:  8px;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* --- Tokens: dark ---------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:      #071626;
    --surface:    #0C2137;
    --surface-2:  #122C46;
    --line:       #1E3B59;
    --line-soft:  #16304B;

    --ink:        #E9F1F9;
    --ink-muted:  #9CB3CE;

    --brand:      #62A2E0;
    --brand-soft: #102A46;

    --hivis:      #FF9E33;
    --hivis-deep: #FFB25C;
    --on-hivis:   #21160A;

    --ok:         #35BC86;
    --alert:      #F0665F;
    --info:       #58A6F2;

    --inv-bg:     #05121F;
    --inv-bg-2:   #0B2540;
    --inv-line:   #1A3555;
    --inv-ink:    #E9F1F9;
    --inv-muted:  #8FA6C2;

    --shadow-sm:  0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md:  0 2px 4px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .45);
    --shadow-lg:  0 24px 70px rgba(0, 0, 0, .6);
  }
}

:root[data-theme="dark"] {
  --paper:      #071626;
  --surface:    #0C2137;
  --surface-2:  #122C46;
  --line:       #1E3B59;
  --line-soft:  #16304B;

  --ink:        #E9F1F9;
  --ink-muted:  #9CB3CE;

  --brand:      #62A2E0;
  --brand-soft: #102A46;

  --hivis:      #FF9E33;
  --hivis-deep: #FFB25C;
  --on-hivis:   #21160A;

  --ok:         #35BC86;
  --alert:      #F0665F;
  --info:       #58A6F2;

  --inv-bg:     #05121F;
  --inv-bg-2:   #0B2540;
  --inv-line:   #1A3555;
  --inv-ink:    #E9F1F9;
  --inv-muted:  #8FA6C2;

  --shadow-sm:  0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md:  0 2px 4px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .45);
  --shadow-lg:  0 24px 70px rgba(0, 0, 0, .6);
}

/* --- Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* height:auto is required — the width/height attributes would otherwise hold
   the intrinsic height while max-width shrinks the width, distorting the image */
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -.018em;
  line-height: 1.06;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }

a { color: inherit; }

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.band { padding-block: clamp(72px, 9vw, 116px); }
.band--paper   { background: var(--paper); }
.band--surface { background: var(--surface); }

/* Eyebrow: mono operational label, hi-vis tick */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--hivis);
  flex: none;
}
.eyebrow--inv { color: var(--inv-muted); }

.section-head { max-width: 660px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head p {
  margin-top: 18px;
  color: var(--ink-muted);
  font-size: 18px;
  max-width: 60ch;
}

/* --- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  padding: 17px 28px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--hivis);
  color: var(--on-hivis);
  box-shadow: 0 8px 22px rgba(255, 144, 22, .28);
}
.btn--primary:hover { background: var(--hivis-deep); }

.btn--ghost {
  background: transparent;
  color: var(--inv-ink);
  border-color: var(--inv-line);
}
.btn--ghost:hover { border-color: var(--inv-muted); }

.btn--sm { padding: 12px 20px; font-size: 15px; }

/* --- Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--inv-bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--inv-line);
  background: var(--inv-bg);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}
.site-header__logo img { height: 25px; width: auto; }

.site-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}
.site-nav a {
  color: var(--inv-muted);
  text-decoration: none;
  transition: color .16s ease;
}
.site-nav a:hover { color: var(--inv-ink); }

/* --- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--inv-bg);
  color: var(--inv-ink);
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 104px) clamp(64px, 8vw, 96px);
}
.hero::before {
  /* soft brand wash behind the device mockup */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 78% 28%, color-mix(in srgb, var(--brand) 42%, transparent), transparent 70%),
    radial-gradient(50% 60% at 6% 92%, color-mix(in srgb, var(--brand) 24%, transparent), transparent 70%);
  pointer-events: none;
}
/* Route line lives in the right half only — it must never cross the copy */
.hero__route {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  min-width: 520px;
  height: 100%;
  pointer-events: none;
  opacity: .55;
}
.hero .wrap { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(37px, 4.8vw, 58px);
  letter-spacing: -.026em;
  max-width: 15ch;
  margin-bottom: 22px;
}
.hero h1 .rank {
  color: var(--hivis);
  font-variant-numeric: tabular-nums;
}
.hero__sub {
  font-size: clamp(18px, 1.5vw, 21px);
  color: var(--inv-muted);
  max-width: 34ch;
  line-height: 1.5;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__art {
  position: relative;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .5));
}
.hero__art img {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
}
/* Let the mockup run out past the container toward the viewport edge so it
   reads at close to full size instead of being boxed into half the grid. */
@media (min-width: 1200px) {
  .hero__art { margin-right: calc((var(--maxw) - 100vw) / 2 + 4px); }
}

/* Trust strip */
.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--inv-line);
  max-width: 560px;
}
.trust__n {
  font-family: var(--mono);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--inv-ink);
  display: block;
  line-height: 1.1;
}
.trust__l {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--inv-muted);
}

/* --- Problem --------------------------------------------------------------- */
.problems {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.problem {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  box-shadow: var(--shadow-sm);
}
.problem__tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--alert);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.problem__tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--alert);
}
.problem h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
}
.problem p {
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.55;
}

/* --- Product proof --------------------------------------------------------- */
/* Two real screens: the courier's device mockup and the merchant's flat capture */
.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.shot { margin: 0; }
.shot__device img {
  width: 100%;
  filter: drop-shadow(0 18px 34px rgba(12, 35, 64, .22));
}
.shot__frame {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.shot__frame img { width: 100%; display: block; }
.shot figcaption {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-muted);
}
.shot figcaption strong {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 7px;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 30px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: var(--shadow-md);
}
.feature__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 18px;
}
.feature__icon svg { width: 21px; height: 21px; }
.feature h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 9px;
}
.feature p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.platform__more { margin-top: 36px; }
.platform__more a {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.platform__more a::after {
  content: "→";
  transition: transform .16s ease;
}
.platform__more a:hover::after { transform: translateX(4px); }

/* --- Social proof ---------------------------------------------------------- */
.social__inner {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.clients {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.client {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
/* Client marks are dark-on-transparent, so they keep a white tile in both themes */
.client__logo {
  width: 98px;
  height: 58px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 12px;
}
.client__logo img {
  max-height: 38px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.client__name {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 108%;
  font-size: 18px;
  letter-spacing: -.01em;
}
.client__meta {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.social__lede {
  border-left: 3px solid var(--hivis);
  padding-left: clamp(20px, 2.5vw, 30px);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.45;
  color: var(--ink-muted);
  max-width: 44ch;
}

/* Video testimonials: a local poster stands in until the visitor asks to play,
   so nothing loads from YouTube on page view. */
.videos {
  margin-top: clamp(40px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 38px);
}
.vid { margin: 0; }
.vid__thumb,
.vid__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
}
.vid__thumb {
  padding: 0;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.vid__thumb:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
}
.vid__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vid__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--hivis);
  color: var(--on-hivis);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .38);
  transition: transform .18s ease, background-color .18s ease;
}
.vid__play svg { width: 27px; height: 27px; margin-left: 3px; }
.vid__thumb:hover .vid__play { transform: scale(1.08); background: var(--hivis-deep); }
.vid__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.vid h3 {
  font-size: clamp(18px, 1.6vw, 20px);
  font-weight: 700;
  letter-spacing: -.012em;
  margin-top: 18px;
}
.vid__meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.vid__meta a { color: var(--brand); text-decoration: none; }
.vid__meta a:hover { text-decoration: underline; }

/* --- Recognition ----------------------------------------------------------- */
.awards {
  background: var(--inv-bg);
  color: var(--inv-ink);
  border-top: 1px solid var(--inv-line);
}
.awards__head {
  max-width: 620px;
  margin-bottom: clamp(40px, 5vw, 58px);
}
.awards__head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.awards__head p {
  margin-top: 16px;
  color: var(--inv-muted);
  font-size: 17px;
}
.awards__photo {
  margin: 0 0 clamp(36px, 4.5vw, 54px);
  max-width: 1000px;
}
.awards__photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--inv-line);
  box-shadow: var(--shadow-lg);
}
.awards__photo figcaption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--inv-muted);
}
.awards__strip {
  width: 100%;
  max-width: 1000px;
  height: auto;
  opacity: .93;
}

/* --- Demo form ------------------------------------------------------------- */
.demo {
  background: var(--inv-bg);
  color: var(--inv-ink);
  position: relative;
  overflow: hidden;
}
.demo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 90% at 88% 10%, color-mix(in srgb, var(--brand) 40%, transparent), transparent 68%);
  pointer-events: none;
}
.demo .wrap { position: relative; z-index: 1; }
.demo__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}
.demo h2 { font-size: clamp(30px, 3.8vw, 44px); }
.demo__lede {
  margin-top: 18px;
  color: var(--inv-muted);
  font-size: 18px;
  max-width: 42ch;
}
.demo__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.demo__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--inv-muted);
  font-size: 16px;
}
.demo__list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--hivis); }

/* Calendly inline scheduler */
.booking { position: relative; }
.calendly-inline-widget {
  min-width: 320px;
  width: 100%;
  height: 700px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--inv-line);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

/* Shown only when the third-party scheduler fails to load */
.booking__fallback {
  background: var(--inv-bg-2);
  border: 1px solid var(--inv-line);
  border-radius: var(--radius);
  padding: clamp(34px, 4vw, 52px) clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.booking__fallback svg {
  width: 44px;
  height: 44px;
  color: var(--hivis);
  margin: 0 auto 20px;
}
.booking__fallback h3 { font-size: 24px; margin-bottom: 12px; }
.booking__fallback p {
  color: var(--inv-muted);
  font-size: 16px;
  max-width: 34ch;
  margin: 0 auto;
}
.booking__fallback .btn { margin-top: 26px; }
.booking__fallback--static { display: block; }

/* Call-now path for visitors who won't use a scheduler */
.demo__call {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--inv-line);
}
.demo__call-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--inv-muted);
  margin-bottom: 12px;
}
.demo__call-nums {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.demo__call-nums a {
  font-family: var(--mono);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  color: var(--inv-ink);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--hivis) 55%, transparent);
  padding-bottom: 2px;
}
.demo__call-nums a:hover { color: var(--hivis); border-bottom-color: var(--hivis); }

/* --- Features page --------------------------------------------------------- */
.fhero {
  position: relative;
  background: var(--inv-bg);
  color: var(--inv-ink);
  overflow: hidden;
  padding-block: clamp(60px, 7vw, 92px) clamp(48px, 6vw, 72px);
}
.fhero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(58% 80% at 82% 18%, color-mix(in srgb, var(--brand) 40%, transparent), transparent 70%);
  pointer-events: none;
}
.fhero .wrap { position: relative; z-index: 1; }
.fhero h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  letter-spacing: -.026em;
  max-width: 18ch;
  margin-bottom: 20px;
}
.fhero__sub {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--inv-muted);
  max-width: 56ch;
}

/* Jump links to the five groups */
.fnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.fnav a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--inv-muted);
  text-decoration: none;
  padding: 10px 16px;
  border: 1px solid var(--inv-line);
  border-radius: 100px;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
.fnav a:hover {
  color: var(--on-hivis);
  background: var(--hivis);
  border-color: var(--hivis);
}

.fcards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.fcard {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.fcard:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: var(--shadow-md);
}
.band--paper .fcard { background: var(--surface); }
.band--surface .fcard { background: var(--paper); }
.fcard h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.012em;
  margin-bottom: 10px;
}
.fcard p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* Sub-capabilities, listed as the operator would name them */
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
}
.chips li {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 4px;
  padding: 5px 9px;
}

.fcta {
  background: var(--inv-bg);
  color: var(--inv-ink);
  border-top: 1px solid var(--inv-line);
}
.fcta__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  align-items: center;
  justify-content: space-between;
}
.fcta h2 { font-size: clamp(26px, 3.2vw, 38px); }
.fcta p {
  margin-top: 14px;
  color: var(--inv-muted);
  font-size: 17px;
  max-width: 46ch;
}
.fcta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.fcta__call { margin-top: 0 !important; font-size: 15px; }
.fcta__call a {
  font-family: var(--mono);
  color: var(--inv-ink);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid color-mix(in srgb, var(--hivis) 55%, transparent);
}
.fcta__call a:hover { color: var(--hivis); }

/* --- About page ------------------------------------------------------------ */
.ahero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.ahero__media { margin: 0; }
.ahero__media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--inv-line);
  box-shadow: var(--shadow-lg);
}

.astats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 56px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--inv-line);
}
.astats .trust__n { color: var(--inv-ink); }
.astats .trust__l { color: var(--inv-muted); }

/* Two long-form passages side by side */
.story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 72px);
}
.story__item h2 {
  font-size: clamp(25px, 2.8vw, 33px);
  margin-bottom: 16px;
}
.story__item p {
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.62;
}

.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.person { margin: 0; }
.person img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.person h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.012em;
  margin-top: 20px;
}
.person p {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.bigquote {
  margin: 26px 0 0;
  /* px, not ch — ch here resolves against the body font, not the display size */
  max-width: 780px;
  border-left: 3px solid var(--hivis);
  padding-left: clamp(24px, 3vw, 40px);
}
.bigquote blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-stretch: 104%;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.42;
  letter-spacing: -.012em;
}
.bigquote figcaption {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.bigquote figcaption strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 5px;
}

/* --- Footer ---------------------------------------------------------------- */
.site-footer {
  background: var(--inv-bg);
  color: var(--inv-muted);
  border-top: 1px solid var(--inv-line);
  padding-block: 56px 44px;
}
.footer__reassure {
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 106%;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.35;
  color: var(--inv-ink);
  letter-spacing: -.012em;
  max-width: 30ch;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--inv-line);
}
.footer__logo img { height: 54px; width: auto; opacity: .92; }
.footer__mid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 72px;
  padding: 34px 0 30px;
  border-bottom: 1px solid var(--inv-line);
}
.footer__h {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  font-stretch: normal;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--inv-muted);
  margin-bottom: 14px;
}
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer__contact a {
  font-family: var(--mono);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  color: var(--inv-ink);
  text-decoration: none;
}
.footer__contact a:hover { color: var(--hivis); }

.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--inv-line);
  color: var(--inv-muted);
  transition: color .16s ease, border-color .16s ease, transform .16s ease;
}
.socials a:hover {
  color: var(--hivis);
  border-color: var(--hivis);
  transform: translateY(-2px);
}
.socials svg { width: 19px; height: 19px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
}
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--inv-ink); }

/* --- Reveal on scroll ------------------------------------------------------ */
/* Only hide for the animation when JS is actually running to bring it back */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.22, .61, .36, 1), transform .6s cubic-bezier(.22, .61, .36, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
  .shot { max-width: 620px; }
}

@media (max-width: 820px) {
  .videos { grid-template-columns: minmax(0, 1fr); }
  .social__lede { max-width: none; }
  /* Calendly stacks date picker above time slots on narrow screens */
  .calendly-inline-widget { height: 1020px; }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .ahero__grid { grid-template-columns: minmax(0, 1fr); }
  .story { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bigquote { max-width: none; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  /* copy stays first — the headline must clear the fold before the mockup */
  .hero__art { max-width: 560px; margin-inline: auto; }
  .hero h1 { max-width: none; }
  .hero__sub { max-width: 46ch; }
  .trust { max-width: none; }
  .demo__grid { grid-template-columns: minmax(0, 1fr); }
  .social__inner { grid-template-columns: minmax(0, 1fr); }
  .problems { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .fcards { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: minmax(0, 1fr); }
  .astats { gap: 18px 32px; }
  .trust { grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: none; }
  .trust > div { display: flex; align-items: baseline; gap: 12px; }
  .trust__l { margin-top: 0; }
  /* full-width only where the button is the section's action — not in the header */
  .hero__actions .btn { width: 100%; }
  .hero__actions { gap: 12px; }
  .site-header .wrap { gap: 16px; }
  .site-header__logo img { height: 21px; }
}

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