/* ==========================================================================
   RallyFox — styles.css
   Dark-first design system. See DESIGN_NOTES.md for the direction.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #090A0F;
  --bg-2: #12141A;
  --surface: #1A1D24;
  --surface-2: #14161C;
  --copper: #FF5A1F;
  --copper-2: #FF6B00;
  --metal: #C85A17;
  --amber: #FFB27A;
  --copper-ring: #FF8A5C;
  --ink: #0B0B10;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-hot: rgba(255, 90, 31, 0.45);
  --text: #FFFFFF;
  --text-2: #94A3B8;
  --text-3: #7D8A9E;       /* raised from #64748B for WCAG AA on small text */
  --text-3-deco: #64748B;  /* spec value, non-text details only */

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);

  --r-card: 24px;
  --r-media: 18px;
  --r-inner: 14px;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(88px, 12vw, 168px);
  --nav-h: 72px;

  --grad-copper: linear-gradient(100deg, var(--copper) 0%, var(--copper-2) 42%, var(--amber) 100%);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  background: var(--bg);
  color-scheme: dark;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }

/* Film grain over the whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
p { text-wrap: pretty; }
s { text-decoration-thickness: 1px; }
::selection { background: rgba(255, 90, 31, .35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--copper-ring);
  outline-offset: 3px;
  border-radius: 6px;
}

.i {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--copper);
  color: var(--ink);
  font-weight: 600;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Type ---------- */
.display {
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  font-weight: 620;
  letter-spacing: -0.032em;
  line-height: 1.04;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(1.375rem, 1.8vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.lead {
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 62ch;
  letter-spacing: -0.005em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-2);
  line-height: 1;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--copper);
  box-shadow: 0 0 8px rgba(255, 90, 31, .8);
}
.eyebrow .mono { color: var(--copper); letter-spacing: .04em; }

.grad {
  background: var(--grad-copper);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-inline: .03em;
  margin-inline: -.03em;
}

.text-link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border-hot);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .25s var(--ease), color .25s var(--ease);
}
.text-link:hover { text-decoration-color: var(--copper); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), translate .5s var(--ease);
}
.btn--primary {
  color: var(--ink);
  background: linear-gradient(180deg, #FF7140 0%, var(--copper) 55%, #F24E12 100%);
  box-shadow:
    0 0 0 1px rgba(255, 120, 70, .6),
    0 10px 34px -10px rgba(255, 90, 31, .65),
    inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .9s var(--ease);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 140, 90, .8),
    0 14px 44px -10px rgba(255, 90, 31, .85),
    inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--primary:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .12s; }
.btn__arrow { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--sm { --h: 40px; padding: 0 18px; font-size: .875rem; }
.btn--lg { --h: 56px; padding: 0 26px; font-size: 1rem; }
.btn--xl { --h: 64px; padding: 0 32px; font-size: 1.0625rem; }

.link-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 6px;
  color: var(--text-2);
  font-weight: 500;
  font-size: 1rem;
  transition: color .25s var(--ease);
}
.link-ghost:hover { color: var(--text); }
.link-ghost__arrow { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-ghost:hover .link-ghost__arrow { transform: translateY(3px); }

/* ---------- Pill badge ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-2);
  line-height: 1.2;
}
.pill__dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 10px var(--copper);
  flex: none;
}
.pill__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--copper);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0% { transform: scale(.6); opacity: .9; }
  80%, 100% { transform: scale(1.9); opacity: 0; }
}

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 70;
  pointer-events: none;
}
.progress__bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--metal), var(--copper) 60%, var(--amber));
  box-shadow: 0 0 12px rgba(255, 90, 31, .8);
  transform-origin: 0 50%;
  transform: scaleX(0);
  will-change: transform;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color .45s var(--ease), border-color .45s var(--ease), -webkit-backdrop-filter .45s var(--ease), backdrop-filter .45s var(--ease);
}
.nav.is-scrolled {
  background: rgba(9, 10, 15, .72);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  border-bottom-color: var(--border);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav .brand { flex: 1 1 0; }
.nav__actions {
  flex: 1 1 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}
.nav__links ul { display: flex; gap: 6px; }
.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 8px var(--copper);
  opacity: 0;
  transform: scale(0);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { opacity: 1; transform: scale(1); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.brand__mark { height: 34px; width: auto; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--text);
}
.brand__word > span { color: var(--copper); }

.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, .03);
}
.nav__toggle-line {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .3s var(--ease);
}
.nav__toggle-line:first-child { top: 17px; }
.nav__toggle-line:last-child { top: 25px; }
.nav__toggle:hover .nav__toggle-line:first-child { transform: translateX(-2px); }
.nav__toggle:hover .nav__toggle-line:last-child { transform: translateX(2px); }

/* ---------- Mobile menu (full-screen overlay) ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(9, 10, 15, .9);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 14px var(--gutter) calc(32px + env(safe-area-inset-bottom));
}
.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--nav-h) - 14px);
}
.menu__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
}
.menu__links { margin-top: 32px; }
.menu__links li {
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.menu.is-open .menu__links li { opacity: 1; transform: none; }
.menu.is-open .menu__links li:nth-child(2) { transition-delay: .05s; }
.menu.is-open .menu__links li:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__links li:nth-child(4) { transition-delay: .15s; }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 10vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.menu__links .mono { font-size: .8125rem; color: var(--copper); letter-spacing: .04em; }
.menu__foot {
  margin-top: auto;
  padding-top: 40px;
  display: grid;
  gap: 18px;
  justify-items: start;
}
.menu__email { color: var(--text-2); font-size: .9375rem; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--alt { background: var(--bg-2); }
.section--alt::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .1) 30%, rgba(255, 255, 255, .1) 70%, transparent);
}
.section-head {
  max-width: 54rem;
  margin-bottom: clamp(48px, 6vw, 88px);
  display: grid;
  gap: 22px;
  justify-items: start;
}
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(48px, 9vh, 112px));
  padding-bottom: clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 22%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 22%, #000 0%, transparent 75%);
}
.hero__bg::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -30%;
  width: 1100px;
  height: 900px;
  margin-left: -550px;
  background: radial-gradient(closest-side, rgba(255, 90, 31, .13), transparent 70%);
}
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__title { margin-top: 28px; max-width: 13.5em; }
.hero__sub { margin-top: 28px; max-width: 44rem; }
.hero__ctas {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
}
.trust {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: .875rem;
  color: var(--text-3);
  letter-spacing: .005em;
}
.trust li { display: inline-flex; align-items: center; }
.trust li + li::before {
  content: "";
  width: 1px;
  height: 14px;
  margin-inline: 18px;
  background: var(--border-strong);
}

.hero__media {
  position: relative;
  width: min(1440px, 100%);
  margin: clamp(8px, 2vw, 32px) auto 0;
}
.hero__parallax {
  position: relative;
  will-change: transform;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 68%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 68%, transparent 100%);
  mask-composite: intersect;
}
.hero__img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hero__glow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 4%;
  height: 40%;
  background: radial-gradient(closest-side, rgba(255, 90, 31, .32), transparent 75%);
  pointer-events: none;
}
.hero__media::after {
  /* copper horizon "cut line" */
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
  box-shadow: 0 0 18px 2px rgba(255, 90, 31, .45);
  opacity: .7;
}

/* ---------- Intro (page load) ---------- */
html.js .nav { opacity: 0; transform: translateY(-14px); }
html.js [data-intro] { opacity: 0; }
html.js [data-split] { opacity: 0; }
html.js [data-intro-media] { opacity: 0; }
html.js .fab { opacity: 0; scale: .6; }
/* failsafe: never leave content hidden if JS stalls */
html.js .nav, html.js [data-intro], html.js [data-split], html.js [data-intro-media], html.js .fab {
  animation: failsafe .01s 3.2s forwards;
}
@keyframes failsafe { to { opacity: 1; transform: none; scale: 1; } }

html.intro .nav { animation: navIn .9s var(--ease) .05s both; }
html.intro [data-intro] { animation: riseIn .9s var(--ease) var(--d, 0s) both; }
html.intro [data-split] { animation: none; opacity: 1; }
html.intro [data-intro-media] { animation: mediaIn 1.6s var(--ease) .8s both; }
html.intro .hero__img { animation: heroScale 2.6s var(--ease) .8s both; }
html.intro .fab { animation: fabIn .7s var(--ease-spring) 1.4s both; }

.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line__inner { display: block; transform: translateY(100%); animation: lineUp .85s var(--ease) var(--d, 0s) both; }

@keyframes navIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes mediaIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes heroScale { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes fabIn { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }

/* ---------- Scroll reveals ---------- */
html.js [data-reveal] {
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
html.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(22px); }
/* after the reveal finishes, hover transitions run without the stagger delay */
html.js [data-reveal].is-done {
  transition: opacity .45s var(--ease), transform .45s var(--ease), border-color .45s var(--ease);
  transition-delay: 0s;
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--border);
  padding-block: 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex: none; }
.marquee__list li {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-2);
  white-space: nowrap;
}
.marquee__list li::after {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--copper);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(255, 90, 31, .7);
}
@keyframes marquee { to { transform: translateX(-50%); } }
.is-offscreen .marquee__track,
.is-offscreen *,
.is-offscreen *::before,
.is-offscreen *::after { animation-play-state: paused !important; }

/* ---------- Problem / compare ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 24px;
}
.compare__panel {
  position: relative;
  isolation: isolate;
  border-radius: var(--r-card);
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--border);
}
.compare__panel--old { background: rgba(255, 255, 255, .012); }
.compare__panel--new {
  background:
    linear-gradient(90deg, transparent, rgba(255, 180, 140, .5), transparent) top / 100% 1px no-repeat,
    radial-gradient(120% 80% at 100% 0%, rgba(255, 90, 31, .1), transparent 60%),
    var(--surface);
  border-color: var(--border-hot);
  box-shadow: 0 0 0 1px rgba(255, 90, 31, .1), 0 0 80px -30px rgba(255, 90, 31, .5), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.compare__title {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  margin-bottom: 28px;
}
.compare__panel--old .compare__title { color: var(--text-3); }
.compare__title .brand__word { font-size: inherit; }
.compare__list { display: grid; gap: 4px; }
.compare__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-size: 1.0625rem;
}
.compare__panel--old li { color: var(--text-3); }
.compare__panel--old li .i { color: var(--text-3-deco); width: 18px; height: 18px; }
.compare__panel--old li span { position: relative; }
.compare__panel--old li span::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 55%;
  height: 1px;
  background: var(--text-3);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .8s var(--ease);
}
.compare__panel--old.is-in li span::after { transform: scaleX(1); }
.compare__panel--old.is-in li:nth-child(1) span::after { transition-delay: .5s; }
.compare__panel--old.is-in li:nth-child(2) span::after { transition-delay: .65s; }
.compare__panel--old.is-in li:nth-child(3) span::after { transition-delay: .8s; }
html.no-js .compare__panel--old li span::after { transform: scaleX(1); }
.compare__panel--new li .i {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  color: var(--copper);
  background: rgba(255, 90, 31, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 90, 31, .35);
  stroke-width: 2;
}
.compare__vs {
  align-self: center;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--text-3);
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ---------- Cards + spotlight ---------- */
.card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent) top / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 40%),
    var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: transform .45s var(--ease), border-color .45s var(--ease);
}
.spot::before,
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.spot::before {
  z-index: -1;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 90, 31, .11), transparent 42%);
}
.spot::after {
  z-index: 2;
  padding: 1px;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 120, 60, .85), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
@media (hover: hover) and (pointer: fine) {
  .spot:hover::before, .spot:hover::after { opacity: 1; }
  .card:hover, .tile:hover { transform: translateY(-4px); border-color: var(--border-hot); }
}

.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.marker {
  font-size: .8125rem;
  color: var(--copper);
  letter-spacing: .06em;
}
.card__kicker {
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}
.card__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-top: -6px;
}
.card__body { color: var(--text-2); max-width: 60ch; }
.card__callout {
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.005em;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--text-2);
  font-weight: 500;
  font-size: .9375rem;
  align-self: flex-start;
  transition: color .25s var(--ease);
}
.card__link .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card__link:hover { color: var(--text); }
.card__link:hover .i { transform: translateY(3px); }

.ticks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin-block: 6px 8px;
}
.ticks li {
  position: relative;
  padding-left: 22px;
  font-size: .9375rem;
  color: var(--text);
  line-height: 1.45;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .42em;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid var(--copper);
  border-bottom: 1.5px solid var(--copper);
  transform: rotate(-45deg);
}

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.card--flagship { grid-column: span 7; grid-row: span 2; }
.card--rfq, .card--film { grid-column: span 5; }
.card--flagship .card__media { margin-top: 8px; }
@media (min-width: 1025px) {
  /* flagship spans two rows: let its media fill the remaining height */
  .card--flagship .card__media { flex: 1 1 auto; min-height: 280px; aspect-ratio: auto !important; }
}
.card--film .media { margin-top: auto; }

/* ---------- Media placeholders ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-media);
  border: 1px solid var(--border);
  background:
    radial-gradient(110% 90% at 88% 110%, rgba(255, 90, 31, .16), transparent 55%),
    radial-gradient(80% 60% at 0% 0%, rgba(200, 90, 23, .07), transparent 60%),
    linear-gradient(160deg, #171A21 0%, #0D0F14 100%);
  isolation: isolate;
}
.media::before {
  /* blueprint grid */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
}
.media::after {
  /* registration crop marks */
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  --c: rgba(255, 150, 100, .45);
  background:
    linear-gradient(var(--c), var(--c)) top left / 14px 1px,
    linear-gradient(var(--c), var(--c)) top left / 1px 14px,
    linear-gradient(var(--c), var(--c)) top right / 14px 1px,
    linear-gradient(var(--c), var(--c)) top right / 1px 14px,
    linear-gradient(var(--c), var(--c)) bottom left / 14px 1px,
    linear-gradient(var(--c), var(--c)) bottom left / 1px 14px,
    linear-gradient(var(--c), var(--c)) bottom right / 14px 1px,
    linear-gradient(var(--c), var(--c)) bottom right / 1px 14px;
  background-repeat: no-repeat;
}
.media__label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .02em;
  color: var(--text-3);
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(9, 10, 15, .6);
  border: 1px solid var(--border);
}
.media__label::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--copper);
}
.media__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s var(--ease);
  z-index: 0;
}
.media.is-loaded .media__img { opacity: 1; }
.media.is-loaded::before, .media.is-loaded::after, .media.is-loaded .media__label { display: none; }

/* ---------- RFQ portal demo ---------- */
.rfq {
  position: relative;
  border-radius: var(--r-media);
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, #11131A, #0C0E13);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  font-size: .8125rem;
}
.rfq__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .02);
}
.rfq__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.rfq__bar span { margin-left: 10px; font-size: .6875rem; color: var(--text-3); }
.rfq__body {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 14px;
  transition: opacity .35s var(--ease);
}
.rfq.is-out .rfq__body { opacity: 0; }

.rfq__drop {
  position: relative;
  min-height: 104px;
  display: grid;
  place-items: center;
  border-radius: var(--r-inner);
  border: 1px dashed rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .015);
  overflow: hidden;
}
.rfq__drop::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid var(--border-hot);
  box-shadow: inset 0 0 30px rgba(255, 90, 31, .12);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.rfq__hint { color: var(--text-3); transition: opacity .3s var(--ease); }
.rfq__file {
  position: absolute;
  left: 50%;
  top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6);
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -64px) rotate(-4deg);
  transition: opacity .4s var(--ease), transform .7s var(--ease-spring);
}
.rfq__file .i { width: 18px; height: 18px; color: var(--copper); }
.rfq__fname { color: var(--text); font-size: .75rem; }
.rfq__status { position: relative; display: inline-grid; font-size: .6875rem; min-width: 8.5ch; }
.rfq__status > span { grid-area: 1 / 1; transition: opacity .3s var(--ease); }
.rfq__s1 { color: var(--text-3); }
.rfq__s2 { color: var(--copper); opacity: 0; }
.rfq__progress {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .07);
  overflow: hidden;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.rfq__progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--metal), var(--copper), var(--amber));
  transform-origin: left;
  transform: scaleX(0);
}

.rfq__cal {
  padding: 12px;
  border-radius: var(--r-inner);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .015);
}
.rfq__cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: var(--text-2);
  font-size: .75rem;
  font-weight: 500;
}
.rfq__cal-head .mono { color: var(--text-3); font-size: .6875rem; }
.rfq__days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.rfq__day { display: grid; gap: 5px; }
.rfq__day b { font-weight: 400; font-size: .625rem; color: var(--text-3); text-align: center; text-transform: uppercase; letter-spacing: .06em; }
.rfq__day i {
  position: relative;
  display: block;
  height: 18px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .04);
}
.rfq__day i.is-busy {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 3px, transparent 3px 6px);
}
.rfq__target::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(180deg, #FF7A45, var(--copper));
  box-shadow: 0 0 0 3px rgba(255, 90, 31, .18), 0 0 22px rgba(255, 90, 31, .7);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .4s var(--ease), transform .6s var(--ease-spring);
}

.rfq__toast {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(26, 29, 36, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-hot);
  box-shadow: 0 0 40px -10px rgba(255, 90, 31, .55);
  color: var(--text);
  font-weight: 500;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .6s var(--ease-spring);
}
.rfq__toast .i {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--copper);
  color: var(--ink);
  stroke-width: 2.5;
}

.rfq__review {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--r-inner);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .015);
}
.rfq__review-row { display: grid; gap: 6px; }
.rfq__review-row b { font-weight: 500; font-size: .6875rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.rfq__review-row i {
  position: relative;
  display: block;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .06);
  overflow: hidden;
}
.rfq__review-row i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 90, 31, .9), rgba(255, 178, 122, .7));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .8s var(--ease);
}
.rfq__review-row:nth-child(1) i::after { --w: .62; }
.rfq__review-row:nth-child(2) i::after { --w: .38; transition-delay: .15s; }
.rfq__review-row:nth-child(3) i::after { --w: .8; transition-delay: .3s; }

/* states */
.rfq.is-s1 .rfq__file { opacity: 1; transform: translate(-50%, 0) rotate(0); }
.rfq.is-s1 .rfq__drop::before { opacity: 1; }
.rfq.is-s1 .rfq__hint { opacity: 0; }
.rfq.is-s1 .rfq__progress { opacity: 1; }
.rfq.is-s1 .rfq__progress span { transform: scaleX(1); transition: transform 1.5s var(--ease-io) .35s; }
.rfq.is-s2 .rfq__s1 { opacity: 0; }
.rfq.is-s2 .rfq__s2 { opacity: 1; }
.rfq.is-s2 .rfq__review-row i::after { transform: scaleX(var(--w, .6)); }
.rfq.is-s3 .rfq__target::before { opacity: 1; transform: scale(1); }
.rfq.is-s3 .rfq__toast { opacity: 1; transform: none; }

.rfq--compact { margin-top: auto; }
.rfq--compact .rfq__body { padding-bottom: 68px; }

.rfq--large { font-size: .875rem; }
.rfq--large .rfq__body {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  grid-template-areas: "drop review" "cal cal";
  gap: 14px;
  padding: 18px 18px 84px;
}
.rfq--large .rfq__drop { grid-area: drop; min-height: 170px; }
.rfq--large .rfq__review { grid-area: review; }
.rfq--large .rfq__cal { grid-area: cal; padding: 16px; }
.rfq--large .rfq__day i { height: 26px; }
.rfq--large .rfq__file { top: 40px; }
.rfq--large .rfq__toast { left: auto; right: 18px; bottom: 18px; padding: 13px 18px; }

.rfq-steps { display: grid; gap: 10px; margin-top: 8px; width: 100%; }
.rfq-steps__btn {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 2px;
  align-items: baseline;
  text-align: left;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .015);
  transition: border-color .35s var(--ease), background-color .35s var(--ease);
}
.rfq-steps__btn .mono { grid-row: span 2; font-size: .8125rem; color: var(--text-3); transition: color .35s var(--ease); }
.rfq-steps__btn b { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.015em; }
.rfq-steps__btn span:last-child { color: var(--text-2); font-size: .9375rem; }
.rfq-steps__btn:hover { border-color: var(--border-strong); }
.rfq-steps__btn.is-active { border-color: var(--border-hot); background: rgba(255, 90, 31, .06); }
.rfq-steps__btn.is-active .mono { color: var(--copper); }

/* ---------- Stats / count-up ---------- */
.stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 12px; }
.stat__num {
  display: inline-grid;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 4.75rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__num > span { grid-area: 1 / 1; text-align: left; }
.stat__ghost { visibility: hidden; }
.stat__val {
  background: var(--grad-copper);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.stat__label { color: var(--text-2); font-size: 1.0625rem; }
.stat--compare { align-items: center; }
.stat--compare .i { width: 26px; height: 26px; color: var(--copper); }
.stat__from { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--text-3); letter-spacing: -0.02em; }

/* ---------- Deep dives ---------- */
.dive__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}
.dive--reverse .dive__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
.dive--reverse .dive__visual { position: sticky; top: calc(var(--nav-h) + 40px); }
.dive__copy { display: grid; gap: 22px; justify-items: start; }
.dive__shot { width: 100%; margin-top: 16px; }

.callviz {
  position: relative;
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  padding: clamp(22px, 3vw, 32px);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent) top / 100% 1px no-repeat,
    radial-gradient(90% 70% at 50% 100%, rgba(255, 90, 31, .12), transparent 70%),
    var(--surface);
  overflow: hidden;
}
.callviz__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .8125rem; }
.callviz__head .mono { color: var(--text-3); font-size: .75rem; }
.callviz__live { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-weight: 500; }
.callviz__live i {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 10px var(--copper);
}
.callviz__live i::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--copper);
  animation: ping 2s var(--ease) infinite;
}
.callviz__bars {
  display: flex;
  align-items: flex-end;
  gap: clamp(3px, .5vw, 5px);
  height: clamp(150px, 18vw, 210px);
  margin-block: 30px 26px;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--border);
}
.callviz__bars i {
  flex: 1;
  height: 100%;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(to top, var(--copper), rgba(255, 107, 0, .08));
  transform-origin: 50% 100%;
  transform: scaleY(.25);
  animation: eq 1.8s var(--ease-io) infinite alternate;
}
.callviz__bars i:nth-child(odd) { opacity: .75; }
.callviz__bars i:nth-child(3n) { animation-duration: 1.3s; animation-delay: -.4s; }
.callviz__bars i:nth-child(3n+1) { animation-duration: 2.1s; animation-delay: -1.1s; }
.callviz__bars i:nth-child(4n) { animation-duration: 1.6s; animation-delay: -.8s; }
.callviz__bars i:nth-child(5n) { animation-duration: 2.4s; animation-delay: -1.7s; }
.callviz__bars i:nth-child(7n) { animation-duration: 1.1s; animation-delay: -.2s; }
@keyframes eq {
  0% { transform: scaleY(.18); }
  40% { transform: scaleY(.62); }
  70% { transform: scaleY(.38); }
  100% { transform: scaleY(.92); }
}
.callviz__flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.callviz__flow span {
  position: relative;
  padding: 10px 6px;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-align: center;
  font-size: .8125rem;
  color: var(--text-2);
  white-space: nowrap;
}
.callviz__flow span::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid var(--border-hot);
  background: rgba(255, 90, 31, .1);
  box-shadow: 0 0 24px -6px rgba(255, 90, 31, .6);
  opacity: 0;
  animation: flowLight 6s var(--ease-io) infinite;
}
.callviz__flow span:nth-child(2)::before { animation-delay: 1.5s; }
.callviz__flow span:nth-child(3)::before { animation-delay: 3s; }
.callviz__flow span:nth-child(4)::before { animation-delay: 4.5s; }
@keyframes flowLight {
  0%, 30%, 100% { opacity: 0; }
  8%, 20% { opacity: 1; }
}

/* ---------- Cinematic showcase ---------- */
.showcase { background: #07080C; overflow: hidden; }
.showcase__beam {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1200px, 120%);
  height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 100% at 50% 0%, rgba(255, 170, 120, .09), transparent 70%);
  pointer-events: none;
}
.showcase__main {
  max-width: 1120px;
  margin-inline: auto;
  border-radius: var(--r-card);
  box-shadow: 0 50px 140px -50px rgba(255, 90, 31, .35);
}

/* ---------- How it works / timeline ---------- */
.how__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}
.how__aside { position: sticky; top: calc(var(--nav-h) + 40px); }
.timeline { position: relative; }
.timeline__rail {
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: rgba(255, 255, 255, .08);
  border-radius: 2px;
  overflow: hidden;
}
.timeline__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--amber), var(--copper) 30%, var(--copper-2));
  box-shadow: 0 0 12px rgba(255, 90, 31, .8);
  transform-origin: 50% 0;
  transform: scaleY(var(--p, 0));
}
.timeline__list { display: grid; gap: clamp(56px, 8vw, 96px); }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}
.step__marker {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  color: var(--text-3);
  font-size: .875rem;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.step__marker::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 90, 31, .08), 0 0 30px rgba(255, 90, 31, .5);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.step__body { padding-top: 10px; display: grid; gap: 12px; }
.step__body h3 { color: var(--text-3); transition: color .6s var(--ease); }
.step__body p { color: var(--text-3); max-width: 46ch; transition: color .6s var(--ease); }
.step.is-lit .step__marker { color: var(--copper); border-color: var(--border-hot); }
.step.is-lit .step__marker::after { opacity: 1; }
.step.is-lit .step__body h3 { color: var(--text); }
.step.is-lit .step__body p { color: var(--text-2); }
html.no-js .step__body h3 { color: var(--text); }
html.no-js .step__body p { color: var(--text-2); }

/* ---------- Markets ---------- */
.markets__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent) top / 100% 1px no-repeat,
    var(--surface);
  transition: transform .45s var(--ease), border-color .45s var(--ease);
}
.tile__media { border-radius: 16px; }
.tile__body { padding: 20px 12px 14px; display: grid; gap: 14px; }
.tile__icon { width: 28px; height: 28px; color: var(--copper); stroke-width: 1.5; }
.tile__title { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }

/* ---------- Our model ---------- */
.model__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin-inline: auto;
}
.model__card { padding: clamp(28px, 4vw, 48px); gap: 14px; }
.model__card p { color: var(--text-2); max-width: 42ch; }
.model__card--hot { border-color: var(--border-hot); box-shadow: 0 0 80px -30px rgba(255, 90, 31, .45), inset 0 1px 0 rgba(255, 255, 255, .06); }
.model__icon { width: 34px; height: 34px; color: var(--copper); stroke-width: 1.5; margin-bottom: 10px; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1000px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  border-block: 1px solid var(--border);
}
.principles li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 24px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
}
.principles li + li { border-left: 1px solid var(--border); }
.principles .i { width: 30px; height: 30px; color: var(--copper); stroke-width: 1.5; }
.draw * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.is-in .draw * { stroke-dashoffset: 0; }
html.no-js .draw * { stroke-dashoffset: 0; }

.model__cta { margin-top: clamp(48px, 6vw, 80px); display: grid; justify-items: center; gap: 16px; text-align: center; }
.model__note { color: var(--text-3); font-size: .875rem; }

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.faq__head { position: sticky; top: calc(var(--nav-h) + 40px); margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.35;
  transition: color .25s var(--ease);
  border-radius: 8px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: #fff; }
.faq__icon {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  transition: transform .45s var(--ease), border-color .35s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  margin: -.75px 0 0 -6px;
  border-radius: 2px;
  background: var(--text);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(45deg); border-color: var(--border-hot); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: var(--copper); }
.faq__item.is-closing .faq__icon { transform: none; border-color: var(--border-strong); }
.faq__item.is-closing .faq__icon::before,
.faq__item.is-closing .faq__icon::after { background: var(--text); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 56px 28px 0; color: var(--text-2); max-width: 62ch; }

/* ---------- Final CTA ---------- */
.final {
  position: relative;
  overflow: hidden;
  padding-block: clamp(120px, 16vw, 220px);
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.final__glow { position: absolute; inset: 0; pointer-events: none; }
.final__glow span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(900px, 120vw);
  aspect-ratio: 1;
  margin: calc(min(900px, 120vw) / -2) 0 0 calc(min(900px, 120vw) / -2);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 31, .26), transparent 70%);
  animation: drift1 16s var(--ease-io) infinite alternate;
}
.final__glow span:nth-child(2) {
  background: radial-gradient(closest-side, rgba(255, 107, 0, .16), transparent 70%);
  animation: drift2 21s var(--ease-io) infinite alternate;
}
.final__glow span:nth-child(3) {
  background: radial-gradient(closest-side, rgba(200, 90, 23, .2), transparent 70%);
  animation: drift3 26s var(--ease-io) infinite alternate;
}
@keyframes drift1 { from { transform: translate(-18%, -8%) scale(.85); opacity: .8; } to { transform: translate(14%, 6%) scale(1.1); opacity: 1; } }
@keyframes drift2 { from { transform: translate(22%, -14%) scale(1); } to { transform: translate(-16%, 12%) scale(.8); } }
@keyframes drift3 { from { transform: translate(0, 18%) scale(.7); opacity: .6; } to { transform: translate(-6%, -14%) scale(1.05); opacity: 1; } }
.final__inner { position: relative; display: grid; justify-items: center; }
.final__title {
  font-size: clamp(2.5rem, 5.6vw, 5.25rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.03;
  max-width: 17ch;
  text-wrap: balance;
}
.nowrap { white-space: nowrap; }
.final .lead { margin: 26px auto 44px; max-width: 40rem; }
.final__email {
  margin-top: 22px;
  color: var(--text-3);
  font-size: .875rem;
  font-family: var(--font-mono);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color .25s var(--ease);
}
.final__email:hover { color: var(--text); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding-block: clamp(64px, 8vw, 96px) 40px;
  background: var(--bg);
  font-size: .9375rem;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}
.footer__brand p { margin-top: 16px; color: var(--text-2); max-width: 34ch; }
.footer__nav ul { display: grid; gap: 4px; }
.footer__nav a, .footer__contact a, .footer__bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--text-2);
  transition: color .25s var(--ease);
}
.footer__nav a:hover, .footer__contact a:hover, .footer__bottom a:hover { color: var(--text); }
.footer__contact { display: grid; gap: 10px; align-content: start; justify-items: start; }
.footer__contact .eyebrow { margin-bottom: 6px; }
.footer__muted { color: var(--text-3); }
.footer__bottom {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  color: var(--text-3);
  font-size: .875rem;
  padding-right: 96px; /* keeps the floating email button clear of footer links */
}

/* ---------- Floating email button ---------- */
.fab {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right));
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(160deg, #FF7A45 0%, var(--copper) 50%, #E84A10 100%);
  box-shadow: 0 0 0 1px rgba(255, 140, 90, .55), 0 10px 30px -6px rgba(255, 90, 31, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.fab::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 90, 31, .45);
  animation: fabPulse 3s var(--ease) infinite;
}
@keyframes fabPulse {
  0% { transform: scale(1); opacity: .55; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
.fab__icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.fab:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(255, 160, 110, .8), 0 16px 40px -8px rgba(255, 90, 31, .9), inset 0 1px 0 rgba(255, 255, 255, .4); }
.fab:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 50%; }
.fab__label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(26, 29, 36, .85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(10px, -50%);
  transition: opacity .3s var(--ease), transform .45s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .fab:hover .fab__label, .fab:focus-visible .fab__label { opacity: 1; transform: translate(0, -50%); }
}

/* ---------- Simple pages (404 / privacy) ---------- */
.page-simple { min-height: 100vh; display: flex; flex-direction: column; }
.page-simple main { flex: 1; }
.simple-nav { height: var(--nav-h); display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.notfound {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 96px;
  overflow: hidden;
}
.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(7rem, 22vw, 16rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: .9;
}
.notfound .lead { margin: 20px auto 40px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: center; align-items: center; }
.prose { max-width: 720px; margin-inline: auto; padding-block: clamp(64px, 10vw, 128px); }
.prose h1 { font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 24px; }
.prose h2 { font-size: 1.5rem; margin: 48px 0 14px; }
.prose p, .prose li { color: var(--text-2); }
.prose p + p { margin-top: 14px; }
.prose ul { display: grid; gap: 8px; margin-top: 12px; padding-left: 20px; list-style: disc; }
.notice {
  margin-block: 28px 8px;
  padding: 18px 22px;
  border-radius: var(--r-inner);
  border: 1px solid var(--border-hot);
  background: rgba(255, 90, 31, .06);
  color: var(--text) !important;
  font-weight: 500;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .markets__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .bento .card--flagship { grid-column: span 12; grid-row: auto; }
  .card--rfq, .card--film { grid-column: span 6; }
  .dive__grid, .dive--reverse .dive__grid { grid-template-columns: minmax(0, 1fr); }
  .dive--reverse .dive__copy { order: -1; }
  .dive--reverse .dive__visual { position: static; }
  .how__grid { grid-template-columns: minmax(0, 1fr); }
  .how__aside { position: static; max-width: 520px; }
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}

@media (max-width: 820px) {
  .compare { grid-template-columns: minmax(0, 1fr); }
  .compare__vs { justify-self: center; margin-block: -4px; }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .card--rfq, .card--film { grid-column: span 12; }
  .model__cards { grid-template-columns: minmax(0, 1fr); }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .principles li + li { border-left: 0; border-top: 1px solid var(--border); }
  .rfq--large .rfq__body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "drop" "review" "cal"; }
  .rfq--large .rfq__drop { min-height: 140px; }
}

@media (max-width: 640px) {
  .nav__cta { display: none; }
  .ticks { grid-template-columns: minmax(0, 1fr); }
  .markets__grid { grid-template-columns: minmax(0, 1fr); }
  .trust { flex-direction: column; gap: 8px; }
  .trust li + li::before { display: none; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; }
  .hero__parallax {
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 8%, #000 74%, transparent 100%);
    mask-image:
      linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 8%, #000 74%, transparent 100%);
  }
  .hero__media { width: 140%; margin: -8px 0 0 -20%; }
  .callviz__flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq__a p { padding-right: 0; }
  .btn--xl { --h: 58px; padding: 0 26px; font-size: 1rem; }
  .fab { width: 52px; height: 52px; }
  .fab__icon { width: 22px; height: 22px; }
  .footer { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; padding-right: 0; }
}

@media (max-width: 380px) {
  .pill { font-size: .625rem; letter-spacing: .1em; padding-inline: 12px; }
  .rfq__file { gap: 8px; padding: 8px 10px; }
}

@media (min-width: 1920px) {
  :root { --container: 1360px; }
}

/* ==========================================================================
   Reduced motion: simple fades only
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal], html.js [data-reveal]:not(.is-in) { transform: none; transition: opacity .6s linear; }
  html.intro .nav, html.intro [data-intro], html.intro [data-intro-media], html.intro .fab { animation-name: fadeOnly; animation-duration: .6s; }
  html.intro .hero__img { animation: none; }
  .line__inner { transform: none; animation: fadeOnly .6s linear var(--d, 0s) both; }
  @keyframes fadeOnly { from { opacity: 0; } to { opacity: 1; transform: none; } }
  .hero__parallax { will-change: auto; }
  .marquee__track { animation: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee__list { flex-wrap: wrap; justify-content: center; row-gap: 12px; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .pill__dot::after, .callviz__live i::after, .fab::before { animation: none; opacity: 0; }
  .callviz__bars i { animation: none; transform: scaleY(.55); }
  .callviz__bars i:nth-child(3n) { transform: scaleY(.8); }
  .callviz__bars i:nth-child(4n) { transform: scaleY(.35); }
  .callviz__flow span::before { animation: none; }
  .callviz__flow span:last-child::before { opacity: 1; }
  .final__glow span { animation: none; }
  .btn, .card, .tile, .fab, .rfq__file, .rfq__toast, .rfq__target::before, .btn__arrow { transition-duration: .01ms; }
  .card:hover, .tile:hover, .fab:hover, .btn--primary:hover { transform: none; }
  .btn--primary::after { display: none; }
  .compare__panel--old li span::after { transition: none; }
  .draw * { transition: none; stroke-dashoffset: 0; }
  .menu__links li { transform: none; }
}
