/* ============================================================
   Tradeverifyd — "Intelligence terminal" redesign
   Dark, precise, brand-orange as the single accent.
   Britanica (display/body) + system mono (data/labels).
   ============================================================ */

@font-face {
  font-family: "Britanica";
  src: url("assets/fonts/britanica-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Britanica";
  src: url("assets/fonts/britanica-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --ink: #0A0C0F;          /* deepest background */
  --ink-2: #0E1116;        /* section background */
  --surface: #14181E;      /* elevated cards / console */
  --surface-2: #1A1F27;
  --line: rgba(245,247,250,.10);
  --line-strong: rgba(245,247,250,.18);
  --text: #F5F7FA;
  --muted: #9AA0AA;
  --muted-2: #6E747E;
  --ember: #F2460D;        /* brand orange — the only accent */
  --ember-2: #FF7A45;      /* gradient partner */
  --ink-light: #F5F5F2;    /* light section bg */

  --font: "Britanica", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, "Cascadia Mono", Consolas, monospace;

  --wrap: 1200px;
  --pad: 40px;
  --nav-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }

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

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--ember); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-family: var(--mono); font-size: 13px;
}
.skip-link:focus { left: 16px; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
}
.eyebrow--light { color: var(--ember-2); }

.section-title {
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-title--light { color: var(--text); }
.ask .section-title, .section--light .section-title { color: var(--ink); }
.section--light .section-sub { color: #3B3E44; }
.section-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 620px;
}

.section { padding: clamp(72px, 9vw, 132px) 0; position: relative; }
.section__head { margin-bottom: 56px; }
.section__head--center { text-align: center; }
.section__head--center .eyebrow { display: inline-flex; }
.section__head--center .section-sub { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 15px; line-height: 1;
  border-radius: 10px; padding: 15px 24px; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: background .18s ease, color .18s ease, transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, border-color .18s ease;
}
.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--orange {
  color: #fff;
  background-image: linear-gradient(120deg, var(--ember), #ff6a34 55%, var(--ember));
  background-size: 200% 100%; background-position: 0 0;
}
.btn--orange:hover { background-position: 100% 0; box-shadow: 0 12px 34px rgba(242,70,13,.42); transform: translateY(-2px); }
.btn--light { background: var(--ink-light); color: var(--ink); }
.btn--light:hover { background: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.3); transform: translateY(-2px); }
.btn--ghost-light { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost-light:hover { border-color: var(--text); background: rgba(245,247,250,.06); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--ember), var(--ember-2));
  z-index: 120; will-change: transform;
}

/* ============================================================
   NAV
   ============================================================ */
.sitenav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.sitenav.is-stuck {
  background: rgba(10,12,15,.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.sitenav__inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.sitenav__links { display: flex; gap: 34px; }
.sitenav__links a {
  font-size: 15px; color: var(--muted);
  position: relative; padding: 4px 0;
  transition: color .18s ease;
}
.sitenav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--ember); transition: width .25s ease;
}
.sitenav__links a:hover { color: var(--text); }
.sitenav__links a:hover::after { width: 100%; }
.sitenav__cta { padding: 11px 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { display: block; height: 26px; width: auto; }
.brand--footer .brand__logo { height: 40px; }
/* legacy text/mark brand (still used by hand-authored hero, if any) */
.brand__word { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--text); }
.brand__mark { display: inline-flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(40px, 5vw, 72px);
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(242,70,13,.10), transparent 55%),
    var(--ink);
}
.hero__glow {
  position: absolute; left: 50%; bottom: -34%; transform: translateX(-50%);
  width: 1200px; height: 900px; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(242,70,13,.5), rgba(242,70,13,.14) 44%, transparent 70%);
  filter: blur(8px);
}
.hero__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; min-height: 560px;
}
.hero__title {
  font-weight: 700;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02; letter-spacing: -0.03em;
  color: var(--text); max-width: 1060px;
}
.hero__title-accent { color: var(--muted); }
.hero__prompt {
  margin-top: auto; align-self: flex-end;
  width: 360px; max-width: 100%;
  padding-left: 24px; border-left: 1px solid var(--ember);
}
.hero__question {
  font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; color: var(--text);
  min-height: 2.4em; transition: opacity .4s ease, transform .4s ease;
}
.hero__actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn--dark { background: #0b0d10; color: var(--text); border-color: rgba(245,247,250,.28); }
.btn--dark:hover { background: #161a20; border-color: rgba(245,247,250,.45); }

/* Signature: ask console */
.console {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, var(--surface), #0f1319);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 40px 90px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
}
.console__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.console__dot { width: 10px; height: 10px; border-radius: 50%; background: #2c313a; }
.console__dot:first-child { background: #3a2018; }
.console__name { font-family: var(--mono); font-size: 12px; color: var(--muted-2); margin-left: 8px; letter-spacing: .04em; }
.console__body { padding: 26px 26px 30px; font-family: var(--mono); font-size: 15px; line-height: 1.7; }
.console__q { color: var(--text); word-break: break-word; }
.console__prompt { color: var(--ember); font-weight: 700; }
.console__caret {
  display: inline-block; width: 9px; height: 1.05em; vertical-align: text-bottom;
  background: var(--ember); margin-left: 2px; animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.console__out { margin-top: 16px; display: flex; flex-direction: column; gap: 7px; }
.console__line { color: var(--muted); font-size: 14px; }
.console__glyph { display: inline-block; width: 1.2em; font-weight: 700; }
.console__line--ok { color: #cfd2d7; } .console__line--ok .console__glyph { color: #46d18b; }
.console__line--flag { color: #f0c9b8; } .console__line--flag .console__glyph { color: var(--ember-2); }
.console__line--dim { color: var(--muted-2); }
.console__line--go { color: var(--text); } .console__line--go .console__glyph { color: var(--ember); }

/* Coverage marquee */
.coverage {
  position: relative; z-index: 1;
  margin-top: clamp(48px, 6vw, 84px);
  display: flex; align-items: center; gap: 28px;
  border-top: 1px solid var(--line); padding-top: 26px;
}
.coverage__label { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; flex: 0 0 auto; }
.coverage__viewport { position: relative; overflow: hidden; flex: 1 1 auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.coverage__track { display: flex; gap: 40px; width: max-content; animation: marquee 34s linear infinite; }
.coverage__track span { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.coverage:hover .coverage__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   ANTICIPATE / EXPANDING PANELS
   ============================================================ */
.anticipate { background: var(--ink); }

.panels { }
.panels__row { display: flex; gap: 14px; height: 480px; }
.panel {
  position: relative; flex: 1 1 0; min-width: 0; padding: 0; border: none;
  background: #0b0d10; cursor: pointer; border-radius: 16px; overflow: hidden; outline: none;
  font-family: var(--font); /* <button> doesn't inherit font-family — set it so the caption uses Britanica */
  transition: flex-grow .6s cubic-bezier(.2,.7,.2,1);
}
.panel.is-active { flex-grow: 6; cursor: default; }
.panel img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.panel:not(.is-active):hover img { transform: scale(1.05); }
.panel__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,10,13,.94) 6%, rgba(8,10,13,.4) 46%, rgba(8,10,13,.05));
  transition: background .5s ease;
}
.panel:not(.is-active) .panel__veil { background: rgba(8,10,13,.5); }
.panel:not(.is-active):hover .panel__veil { background: rgba(8,10,13,.3); }
.panel__index {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  font-family: var(--mono); font-size: 13px; letter-spacing: .1em;
  color: var(--text); opacity: .8;
}
.panel__cap {
  position: absolute; left: 0; right: 0; top: 0; padding: 34px;
  text-align: left; color: var(--text);
  opacity: 0; transform: translateY(-8px);
  transition: opacity .45s ease .12s, transform .45s ease .12s; pointer-events: none;
}
.panel.is-active .panel__cap { opacity: 1; transform: none; }
.panel__cap h3 { font-weight: 700; font-size: 26px; margin-bottom: 10px; white-space: nowrap; }
.panel__cap p { font-size: 16px; line-height: 1.45; color: #C9CCD2; max-width: 520px; }

/* ============================================================
   ASK ANYTHING
   ============================================================ */
/* Full-bleed background slideshow: 4 backgrounds fill the section, one at a
   time, each paired with its quote (backgrounds are orange-on-white). */
.ask { position: relative; overflow: hidden; display: flex; align-items: stretch; min-height: clamp(560px, 72vh, 740px); background: #f4f2ee; color: var(--ink); }
.ask .section-title { color: var(--ink); }
.ask .eyebrow { color: var(--ember); }
.ask__bg { position: absolute; inset: 0; background: var(--bg) center/cover no-repeat; opacity: 0; transition: opacity .8s ease; }
.ask__bg.is-active { opacity: 1; }
.ask__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244,242,238,.95) 0%, rgba(244,242,238,.7) 34%, rgba(244,242,238,.15) 55%, transparent 68%); }
.ask__inner { position: relative; z-index: 2; text-align: left; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.ask__top, .ask__bottom { max-width: 540px; }
.ask__lede { margin-top: 18px; max-width: 460px; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.55; color: #45484F; }
.ask__quote { min-height: 118px; }
.ask__quote h3 { font-weight: 700; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 12px; transition: opacity .4s ease, transform .4s ease; }
.ask__quote p { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.5; color: #45484F; transition: opacity .4s ease; }
.ask__dots { display: flex; gap: 8px; margin-top: 30px; }
.ask__dots button { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: rgba(10,12,15,.25); cursor: pointer; transition: width .25s ease, border-radius .25s ease, background .25s ease; }
.ask__dots button[aria-current="true"] { width: 22px; border-radius: 4px; background: var(--ember); }

/* ============================================================
   PROOF / STATS
   ============================================================ */
.proof { background: var(--ink); overflow: hidden; }
.proof__bg {
  position: absolute; top: -8%; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 1100px; z-index: 0;
  background: url("assets/img/stats-globe.jpg") center/cover no-repeat; opacity: .5;
}
.proof__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(10,12,15,0) 38%, rgba(10,12,15,.9) 82%); }
.proof__inner { position: relative; z-index: 1; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ember); border-radius: 18px; overflow: hidden;
  background: rgba(255,255,255,.015); backdrop-filter: blur(2px);
}
.stat-card {
  padding: 48px 32px; text-align: center;
  border-right: 1px solid rgba(242,70,13,.35);
  transition: background .3s ease;
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: rgba(242,70,13,.08); }
.stat-card__num {
  font-family: var(--mono); font-weight: 400;
  font-size: clamp(44px, 5vw, 68px); line-height: 1; color: var(--text);
  display: block; letter-spacing: -0.02em;
}
.stat-card__unit { display: block; margin-top: 8px; font-family: var(--mono); font-size: 14px; color: var(--ember-2); letter-spacing: .04em; }
.stat-card__label { display: block; margin-top: 14px; font-size: 15px; color: var(--muted); }
.proof__statement {
  text-align: center; margin: clamp(56px,7vw,96px) auto 0; max-width: 760px;
  font-weight: 700; font-size: clamp(24px, 2.8vw, 38px); line-height: 1.28; letter-spacing: -0.01em;
  color: var(--text);
}
.proof__statement { text-wrap: balance; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--ink-2); }
.process__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.process__left .section-title { color: var(--text); }
.process__cta { display: inline-flex; margin-top: 26px; }
.steps { list-style: none; display: flex; flex-direction: column; }
.step {
  display: grid; grid-template-columns: auto auto 1fr; align-items: start; gap: 24px;
  padding: 32px 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font-family: var(--mono); font-size: 14px; color: var(--muted-2); padding-top: 6px; letter-spacing: .06em; }
.step__icon { display: inline-flex; }
.step__icon svg { transition: transform .3s ease; }
.step:hover .step__icon svg { transform: scale(1.12) rotate(-3deg); }
.step__body h3 { font-weight: 700; font-size: 24px; color: var(--text); margin-bottom: 8px; }
.step__body p { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 520px; }

/* ============================================================
   THESIS
   ============================================================ */
.testimonials { background: var(--ink); text-align: center; }
.testimonials__inner { max-width: 940px; margin-inline: auto; }
.testimonial { margin: 0; }
.testimonial__quote { font-weight: 700; font-size: clamp(24px, 3.2vw, 42px); line-height: 1.24; letter-spacing: -0.02em; color: var(--text); text-wrap: balance; }
.testimonial__quote::before { content: "“"; color: var(--ember); }
.testimonial__quote::after { content: "”"; color: var(--ember); }
.testimonial__by { margin-top: 28px; display: flex; flex-direction: column; gap: 4px; }
.testimonial__name { font-weight: 700; font-size: 16px; color: var(--text); }
.testimonial__role { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.testimonial__nav { display: flex; gap: 12px; justify-content: center; margin-top: 34px; }
.testimonial__nav .carousel-btn:not(.carousel-btn--active) { background: rgba(245,247,250,.1); color: var(--text); border: 1px solid var(--line-strong); }
.testimonial__nav .carousel-btn:not(.carousel-btn--active):hover { background: rgba(245,247,250,.2); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--ink-2); }
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq__head .section-title { color: var(--text); }
.faq details { border-top: 1px solid var(--line); padding: 26px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer;
  font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--text);
  transition: color .18s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ember-2); }
.faq summary::after {
  content: "+"; flex: 0 0 auto; width: 34px; height: 34px;
  display: grid; place-items: center; font-size: 22px; line-height: 0;
  border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--text);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .3s ease;
}
.faq details[open] summary::after { content: "\2212"; background: var(--ember); border-color: var(--ember); color: #fff; }
.faq__answer { overflow: hidden; transition: height .38s cubic-bezier(.4,0,.2,1); }
.faq__answer { padding-top: 18px; max-width: 640px; font-size: 17px; line-height: 1.55; color: var(--muted); }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative; padding: clamp(88px,11vw,150px) 0; text-align: center;
  background: url("assets/img/cta-smokestacks.jpg") center 32%/cover no-repeat;
}
.cta__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,15,.55), rgba(10,12,15,.68)); }
.cta__inner { position: relative; z-index: 1; }
.cta .eyebrow { justify-content: center; display: inline-flex; }
.cta__title { font-weight: 700; font-size: clamp(32px,4.4vw,58px); line-height: 1.08; letter-spacing: -0.02em; color: var(--text); margin-bottom: 18px; text-wrap: balance; }
.cta__sub { font-size: 18px; color: rgba(245,247,250,.9); margin-bottom: 36px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; background: var(--ink); overflow: hidden; padding: clamp(64px,7vw,88px) 0 52px; border-top: 1px solid var(--line); }
.footer__glow { position: absolute; left: -160px; bottom: -280px; width: 820px; height: 620px; z-index: 0; background: radial-gradient(closest-side, rgba(242,70,13,.5), rgba(242,70,13,.12) 52%, transparent 74%); filter: blur(6px); }
.footer__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px 48px; align-items: start; }
.brand--footer { gap: 16px; }
.brand--footer .brand__word { font-size: clamp(34px,4vw,50px); letter-spacing: -0.03em; }
.footer__tag { margin-top: 18px; font-family: var(--mono); font-size: 13px; color: var(--muted-2); letter-spacing: .03em; }
.footer__cols { display: flex; gap: 56px; justify-content: flex-end; flex-wrap: wrap; }
.footer__cols ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer__head { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.footer__cols a { font-size: 15px; color: #C9CCD2; transition: color .18s ease; }
.footer__cols a:hover { color: var(--text); }
.footer__icons { flex-direction: row !important; gap: 16px !important; align-items: center; }
.footer__icons a { color: var(--text); display: inline-flex; transition: color .2s ease, transform .2s ease; }
.footer__icons a:hover { color: var(--ember); transform: translateY(-2px); }
.footer__legal { grid-column: 1 / -1; margin-top: 24px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer__copy { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.footer__links { list-style: none; display: flex; gap: 30px; }
.footer__links a { font-size: 13px; color: #C9CCD2; }
.footer__links a:hover { color: var(--text); }

/* ============================================================
   PORTED PAGES — shared components
   ============================================================ */
/* Sub-hero (inner pages) */
.subhero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 104px));
  padding-bottom: clamp(48px, 7vw, 96px);
  background: radial-gradient(120% 90% at 78% -20%, rgba(242,70,13,.12), transparent 55%), var(--ink);
}
.subhero__glow { position: absolute; right: 4%; top: -30%; width: 620px; height: 620px; z-index: 0;
  background: radial-gradient(closest-side, rgba(242,70,13,.28), transparent 70%); filter: blur(12px); pointer-events: none; }
.subhero__inner { position: relative; z-index: 1; max-width: 900px; }
.subhero__title { font-weight: 700; font-size: clamp(34px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.03em; color: var(--text); }
.subhero__sub { margin-top: 22px; max-width: 640px; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; color: var(--muted); }
.subhero .hero__actions { margin-top: 34px; }
.subhero--article .subhero__inner, .subhero--legal .subhero__inner { max-width: 820px; }
.subhero__title--article { font-size: clamp(30px, 4vw, 50px); }

/* Feature grid */
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.fcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 30px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.fcard__kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ember); margin-bottom: 14px; }
.fcard h3 { font-weight: 700; font-size: 21px; color: var(--text); margin-bottom: 12px; line-height: 1.2; }
.fcard p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.fcard--link { display: flex; flex-direction: column; }
.fcard--link:hover { transform: translateY(-4px); border-color: rgba(242,70,13,.5); box-shadow: 0 24px 55px rgba(0,0,0,.4); }
.fcard__go { margin-top: auto; padding-top: 18px; font-family: var(--mono); font-size: 13px; color: var(--ember); }

/* Check bullets */
.checks { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.checks li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--ember); font-weight: 700; }

/* Challenge / solution split rows */
.splits { display: flex; flex-direction: column; gap: 0; }
.split { display: grid; grid-template-columns: auto 1fr 1.1fr; gap: 32px; align-items: start; padding: 36px 0; border-top: 1px solid var(--line); }
.split:last-child { border-bottom: 1px solid var(--line); }
.split__num { font-family: var(--mono); font-size: 14px; color: var(--muted-2); padding-top: 4px; }
.split__main h3 { font-weight: 700; font-size: clamp(20px, 2vw, 27px); line-height: 1.2; color: var(--text); }
.split__main p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.split__cs p { font-size: 15px; line-height: 1.55; margin-bottom: 16px; padding-left: 16px; border-left: 2px solid var(--line-strong); }
.split__cs span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 5px; }
.split__challenge { color: var(--muted); } .split__challenge span { color: var(--muted-2); }
.split__solution { color: var(--text); border-left-color: var(--ember) !important; } .split__solution span { color: var(--ember); }

/* Cross-sell reuses fgrid/fcard */
.crosssell { background: var(--ink-2); }

/* Prose (articles + legal) */
.article__wrap { max-width: 780px; margin-inline: auto; }
.prose { color: var(--muted); }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); color: var(--text); margin-top: 44px; line-height: 1.2; letter-spacing: -0.01em; }
.prose h3 { font-weight: 700; font-size: 21px; color: var(--text); margin-top: 32px; }
.prose h4 { font-weight: 700; font-size: 17px; color: var(--text); margin-top: 26px; }
.prose p { font-size: 17px; line-height: 1.7; color: #C4C8CF; }
.prose .checks { margin-top: 8px; }
.prose--center { text-align: center; }
.prose--center .checks { display: inline-flex; text-align: left; }
.prose--legal p { font-size: 15px; line-height: 1.65; color: var(--muted); }
.prose--legal h2 { font-size: 22px; }

/* Resources card list */
.cardlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.rcard { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.rcard:hover { transform: translateY(-4px); border-color: rgba(242,70,13,.5); box-shadow: 0 24px 55px rgba(0,0,0,.4); }
.rcard__cat { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ember); }
.rcard h3 { font-weight: 700; font-size: 20px; line-height: 1.28; color: var(--text); }
.rcard__meta { margin-top: auto; font-family: var(--mono); font-size: 12px; color: var(--muted-2); }

/* Roles */
.rolelist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.role { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: clamp(18px,2vw,24px); color: var(--text); transition: padding-left .25s ease, color .2s ease; }
.role:hover { padding-left: 16px; color: var(--ember-2); }
.role__go { font-family: var(--mono); font-size: 13px; color: var(--ember); font-weight: 400; }

/* Request-a-demo */
.demostats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.demostat { text-align: center; padding: 32px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.015); }
.demostat__n { display: block; font-family: var(--mono); font-size: clamp(36px, 4vw, 54px); color: var(--text); line-height: 1; }
.demostat__l { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }
.demoform { max-width: 620px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(28px,4vw,44px); }
.demoform h2 { font-weight: 700; font-size: 26px; color: var(--text); margin-bottom: 10px; }
.demoform > p { color: var(--muted); font-size: 15px; line-height: 1.5; margin-bottom: 26px; }
.demoform__fields { display: flex; flex-direction: column; gap: 18px; }
.demoform label { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.demoform input, .demoform textarea { font-family: var(--font); font-size: 16px; color: var(--text); background: var(--ink); border: 1px solid var(--line-strong); border-radius: 10px; padding: 13px 14px; }
.demoform input:focus, .demoform textarea:focus { outline: none; border-color: var(--ember); }
.demoform .btn { align-self: flex-start; }
.demoform__note { font-family: var(--mono); font-size: 11px; color: var(--muted-2); text-transform: none; letter-spacing: 0; }
.demoform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.req { color: var(--ember); }
.demoform__err { font-family: var(--mono); font-size: 11px; letter-spacing: 0; text-transform: none; color: #ff7a5c; min-height: 0; }
.demoform input.is-invalid { border-color: #ff5a37; }
.demoform label.demoform__consent { flex-direction: row; align-items: flex-start; gap: 10px; font-family: var(--font); font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--muted); line-height: 1.4; }
.demoform__consent input { width: 18px; height: 18px; margin-top: 1px; flex: 0 0 auto; accent-color: var(--ember); }
.demoform__success { text-align: center; padding: 24px 12px; }
.demoform__check { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; background: rgba(242,70,13,.12); border: 1px solid rgba(242,70,13,.4); }
.demoform__success h2 { font-weight: 700; font-size: 26px; color: var(--text); margin-bottom: 10px; }
.demoform__success p { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 420px; margin: 0 auto; }
.demoform__success:focus { outline: none; }

/* Inner CTA (no photo) */
.cta--inner { background: var(--ink-2); overflow: hidden; }
.cta--inner .cta__glow { position: absolute; left: 50%; bottom: -60%; transform: translateX(-50%); width: 900px; height: 700px; z-index: 0;
  background: radial-gradient(closest-side, rgba(242,70,13,.34), transparent 68%); filter: blur(10px); pointer-events: none; }

/* Wide footer (multi-page) */
.footer__inner--wide { grid-template-columns: 1.1fr 2.2fr; }
.footer__inner--wide .footer__cols { flex-wrap: wrap; gap: 40px 48px; }

/* ============================================================
   TRANSCRIPT UPDATES (Jess Endl review, 2026-07-13)
   ============================================================ */


/* Light backgrounds (transcript) */
.process { background: var(--ink-light); }
.process__left .section-title, .process .step__body h3 { color: var(--ink); }
.process .step__body p { color: #45484F; }
.process .step { border-top-color: rgba(10,12,15,.12); }
.process .step:last-child { border-bottom-color: rgba(10,12,15,.12); }
.process .step__n { color: #8b9099; }

.section.faq { background: #ffffff; }
.section.faq .section-title { color: var(--ink); }
.section.faq details { border-top-color: rgba(10,12,15,.14); }
.section.faq details:last-child { border-bottom-color: rgba(10,12,15,.14); }
.section.faq summary { color: var(--ink); }
.section.faq summary:hover { color: var(--ember); }
.section.faq summary::after { border-color: rgba(10,12,15,.3); color: var(--ink); }
.section.faq .faq__answer { color: #45484F; }

/* Final CTA keeps its "stack" image + dark overlay (2026-07-16 review) —
   the base .cta rule already applies assets/img/cta-smokestacks.jpg. */

/* Moderate the orange gradients (keep the hero glow) */
.footer__glow { opacity: .32; }
.subhero__glow { opacity: .5; }
.cta--inner .cta__glow { opacity: .45; }

/* Testimonial logos marquee */
.logos { border-block: 1px solid var(--line); padding: 30px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__track { display: flex; gap: 72px; width: max-content; align-items: center; animation: marquee 32s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__track span { font-family: var(--font); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; color: var(--muted); white-space: nowrap; }

/* Strategic-partners logo band on white — replaces the testimonial
   placeholder; keeps the process → partners → FAQ half reading together. */
.section.testimonials { background: #ffffff; text-align: center; padding-block: clamp(48px, 6vw, 84px); }
.partners__label { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #6E747E; margin-bottom: 34px; }
.section.testimonials .logos { border-color: rgba(10,12,15,.12); }
.section.testimonials .logos__track { gap: 84px; }
.section.testimonials .logos__track img { height: 52px; width: auto; object-fit: contain; opacity: .82; filter: brightness(0); transition: opacity .25s ease, filter .25s ease; }
.section.testimonials .logos__track img:hover { opacity: 1; filter: none; }
/* GS1 is a solid-disc mark with knocked-out detail — brightness(0) flattens it to
   a black blob, so keep its own dark disc + white knockout instead of inverting. */
.section.testimonials .logos__track img[src*="gs1"] { filter: none; }

/* Mobile nav dropdown */
.sitenav__toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; }
.sitenav__toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.sitenav.is-open .sitenav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sitenav.is-open .sitenav__toggle span:nth-child(2) { opacity: 0; }
.sitenav.is-open .sitenav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sitenav__mobile { display: flex; flex-direction: column; gap: 6px; padding: 12px var(--pad) 22px; background: rgba(10,12,15,.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.sitenav__mobile[hidden] { display: none; }
.sitenav__mobile nav { display: flex; flex-direction: column; }
.sitenav__mobile a { padding: 13px 4px; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--line); }
.sitenav__mobile .btn { margin-top: 14px; justify-content: center; }
@media (max-width: 960px) {
  .sitenav__toggle { display: flex; }
  .sitenav__cta { display: none; }
}

/* ============================================================
   MOTION — scroll reveal (progressive; see enhance.js)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  :root { --pad: 28px; }
  .sitenav__links { display: none; }
  .hero__inner { min-height: 480px; }
  .hero__prompt { align-self: flex-start; margin-top: 44px; width: 100%; }
  .process__inner, .faq__inner { grid-template-columns: 1fr; gap: 40px; }
  .ask { min-height: auto; }
  .ask__scrim { background: linear-gradient(180deg, rgba(244,242,238,.72), rgba(244,242,238,.86)); }
}

@media (max-width: 680px) {
  :root { --pad: 20px; }
  .coverage { flex-direction: column; align-items: flex-start; gap: 16px; }
  .coverage__viewport { width: 100%; }
  .panels__row { flex-direction: column; height: auto; }
  .panel { flex: none; height: 84px; transition: height .5s cubic-bezier(.2,.7,.2,1); }
  .panel.is-active { height: 320px; }
  .panel__cap { padding: 24px; } .panel__cap h3 { white-space: normal; font-size: 22px; }
  .ask__bg { background-position: 75% center; }
  .stats { grid-template-columns: 1fr; }
  .stat-card { border-right: none; border-bottom: 1px solid rgba(242,70,13,.35); }
  .stat-card:last-child { border-bottom: none; }
  .step { grid-template-columns: auto 1fr; }
  .step__n { grid-column: 1 / -1; padding-top: 0; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { justify-content: flex-start; }
  .footer__legal { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer__links { flex-wrap: wrap; gap: 18px; }
}

/* Form status + footer newsletter */
.demoform__status { font-family: var(--mono); font-size: 12px; color: #ff7a5c; letter-spacing: 0; text-transform: none; min-height: 0; }
.footer__news { margin-top: 30px; max-width: 340px; }
.footer__news .footer__head { margin-bottom: 12px; }
.footer__newsrow { display: flex; gap: 8px; }
.footer__newsrow input { flex: 1 1 auto; min-width: 0; font-family: var(--font); font-size: 15px; color: var(--text); background: var(--ink); border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; }
.footer__newsrow input:focus { outline: none; border-color: var(--ember); }
.footer__newsrow input.is-invalid { border-color: #ff5a37; }
.footer__newsrow .btn { padding: 12px 18px; flex: 0 0 auto; }
.footer__consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 12.5px; color: var(--muted-2); line-height: 1.4; }
.footer__consent input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--ember); flex: 0 0 auto; }
.footer__status { font-family: var(--mono); font-size: 11px; color: #ff7a5c; margin-top: 8px; }
.footer__newssuccess { margin-top: 30px; font-size: 15px; color: var(--text); }
.footer__newssuccess[hidden] { display: none; }
.footer__linkbtn { background: none; border: none; padding: 0; font: inherit; font-size: 13px; color: #C9CCD2; cursor: pointer; }
.footer__linkbtn:hover { color: var(--text); }

/* Ported-component responsive */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 14px; }
  .split__num { display: none; }
  .footer__inner--wide { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .demostats { grid-template-columns: 1fr; }
  .demoform__row { grid-template-columns: 1fr; }
  .prose p { font-size: 16px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .coverage__track { animation: none; }
  .console__caret { animation: none; }
  .scroll-progress { display: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
