/* ============================================================
   Forwardline Capital — forwardlinecapital.com
   Velocity system: deep slate, electric blue, forward lean.
   Naming: BEM (block__element--modifier)
   ============================================================ */

:root {
  --slate-0: #10151d;
  --slate-1: #141b26;
  --slate-2: #1a2331;
  --slate-3: #212d3f;
  --edge: rgba(255, 255, 255, 0.08);
  --edge-hot: rgba(93, 155, 255, 0.35);
  --blue: #2f7bff;
  --blue-hot: #5d9bff;
  --blue-deep: #1c53b8;
  --white: #f2f6fc;
  --dim: rgba(213, 226, 242, 0.68);
  --dim-2: rgba(213, 226, 242, 0.5);
  --font-d: 'Sora', 'Avenir Next', sans-serif;
  --font-b: 'Inter', 'Helvetica Neue', sans-serif;
  --glow: 0 22px 60px -18px rgba(47, 123, 255, 0.5);
  --rail: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  background:
    radial-gradient(90% 60% at 78% -5%, rgba(31, 58, 108, 0.5), transparent 60%),
    linear-gradient(180deg, #0d1119 0%, var(--slate-0) 30%);
  background-color: var(--slate-0);
  color: var(--white);
  font-family: var(--font-b);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* film grain over everything — kills the flat-render look */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 950;
  pointer-events: none;
  opacity: 0.045;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--blue); color: #fff; }

img, svg, canvas { display: block; max-width: 100%; }

a { color: var(--blue-hot); text-decoration: none; }
a:hover { color: var(--white); }

:focus-visible {
  outline: 2px solid var(--blue-hot);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- type ---------- */

h1, h2, h3 { font-family: var(--font-d); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-d);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-hot);
}
.kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue));
  transform: skewX(-30deg);
}

.lean { font-style: italic; color: var(--blue-hot); }

/* ---------- scroll progress ---------- */

.progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  z-index: 400;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.progress__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue) 60%, var(--blue-hot));
  box-shadow: 0 0 12px rgba(47, 123, 255, 0.9);
  transform-origin: left;
}

/* ---------- top bar ---------- */

.topbar {
  position: fixed;
  top: 3px;
  left: 0;
  right: 0;
  z-index: 300;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.topbar--solid {
  background: rgba(16, 21, 29, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--edge);
}
.topbar__rail {
  max-width: var(--rail);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  min-height: 44px;
}
.brand:hover { color: var(--white); }
.brand__mark { width: 34px; height: 26px; flex: none; }
.brand__word {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.14em;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}
.brand__word em {
  font-style: normal;
  font-weight: 600;
  font-size: 0.58rem;
  letter-spacing: 0.42em;
  color: var(--blue-hot);
}

.topbar__nav { margin-left: auto; display: flex; align-items: center; gap: 1.7rem; }
.topbar__link {
  color: var(--dim);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.6rem 0.15rem;
  position: relative;
}
.topbar__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.28rem;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0) skewX(-30deg);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.topbar__link:hover { color: var(--white); }
.topbar__link:hover::after { transform: scaleX(1) skewX(-30deg); }

.topbar__burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-d);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  transform: skewX(-6deg);
}
.btn > span { display: inline-block; transform: skewX(6deg); }
.btn--charge {
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
  color: #fff;
  box-shadow: var(--glow);
}
.btn--charge:hover {
  transform: skewX(-6deg) translateY(-2px);
  box-shadow: 0 26px 70px -16px rgba(47, 123, 255, 0.65);
  color: #fff;
}
.btn--wire {
  background: transparent;
  color: var(--white);
  border-color: var(--edge-hot);
}
.btn--wire:hover {
  border-color: var(--blue-hot);
  background: rgba(47, 123, 255, 0.08);
  color: var(--white);
}
.btn--compact { min-height: 42px; padding: 0.45rem 1.15rem; font-size: 0.88rem; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero::before {
  /* atmospheric light-field over the canvas — glow is guaranteed
     even before a single simulated frame */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(44% 32% at 63% 41%, rgba(96, 160, 255, 0.22), transparent 70%),
    radial-gradient(72% 58% at 68% 46%, rgba(47, 110, 230, 0.13), transparent 72%);
}
.hero::after {
  /* readability wash on the text side only — the scene stays lit */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(96deg, rgba(9, 13, 20, 0.62) 0%, rgba(9, 13, 20, 0.28) 38%, rgba(9, 13, 20, 0) 58%),
    linear-gradient(0deg, var(--slate-0) 0%, transparent 16%);
}
.hero__rail {
  max-width: var(--rail);
  width: 100%;
  margin: 0 auto;
  padding: 8.5rem 1.5rem 6rem;
}
.hero__body { max-width: 820px; }
.hero__title {
  font-size: clamp(3.4rem, 7.5vw, 6.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 1.2rem 0 1.6rem;
  text-shadow: 0 2px 40px rgba(6, 10, 17, 0.85), 0 1px 6px rgba(6, 10, 17, 0.6);
}
.hero__sub {
  font-size: 1.18rem;
  color: var(--dim);
  max-width: 54ch;
  margin-bottom: 2.4rem;
  text-shadow: 0 1px 18px rgba(6, 10, 17, 0.8);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  font-size: 0.88rem;
  color: var(--dim-2);
  font-weight: 500;
}
.hero__facts span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__facts svg { width: 14px; height: 14px; color: var(--blue-hot); }

/* ---------- section scaffolding ---------- */

.band {
  position: relative;
  padding: 6.5rem 0;
  background-image:
    radial-gradient(52% 42% at 92% 0%, rgba(47, 123, 255, 0.1), transparent 62%),
    radial-gradient(44% 40% at 0% 100%, rgba(28, 83, 184, 0.12), transparent 60%);
}
.band__rail { max-width: var(--rail); margin: 0 auto; padding: 0 1.5rem; }
.band__head { max-width: 660px; margin-bottom: 3.4rem; }
.band__title { font-size: clamp(2rem, 3.8vw, 3rem); letter-spacing: -0.02em; margin: 1rem 0 1rem; }
.band__lede { color: var(--dim); font-size: 1.08rem; }

.band--lines {
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent 0 26px,
      rgba(47, 123, 255, 0.05) 26px 27px
    ),
    radial-gradient(60% 50% at 84% -6%, rgba(47, 123, 255, 0.13), transparent 62%),
    radial-gradient(46% 42% at 4% 104%, rgba(28, 83, 184, 0.14), transparent 60%);
}
.band--raised {
  background-color: var(--slate-1);
  background-image:
    radial-gradient(64% 58% at 80% -8%, rgba(47, 123, 255, 0.16), transparent 60%),
    radial-gradient(46% 44% at 6% 108%, rgba(28, 83, 184, 0.18), transparent 58%),
    linear-gradient(165deg, #182234 0%, var(--slate-1) 55%, #121a27 100%);
}
.band--slash { clip-path: polygon(0 3.2rem, 100% 0, 100% calc(100% - 3.2rem), 0 100%); padding: 9rem 0; }

/* ---------- products ---------- */

.fleet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.fleet__card {
  position: relative;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(47, 123, 255, 0.12), transparent 55%)
    , linear-gradient(160deg, var(--slate-2), var(--slate-1));
  border: 1px solid var(--edge);
  border-radius: 14px;
  padding: 1.9rem 1.7rem 1.7rem;
  transform: skewY(-2deg);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.fleet__card > * { transform: skewY(2deg); }
.fleet__card:hover {
  transform: skewY(0) translateY(-4px);
  border-color: var(--edge-hot);
  box-shadow: var(--glow);
}
.fleet__card:hover > * { transform: none; }
.fleet__card--lead { border-color: rgba(93, 155, 255, 0.4); }
.fleet__flag {
  position: absolute;
  top: -0.72rem;
  left: 1.4rem;
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
  color: #fff;
  font-family: var(--font-d);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 5px;
  transform: skewX(-8deg);
}
.fleet__name { font-size: 1.18rem; margin-bottom: 0.9rem; }
.fleet__stats {
  display: flex;
  gap: 1.4rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--edge);
}
.fleet__num {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--blue-hot);
  display: block;
}
.fleet__cap {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim-2);
  margin-top: 0.15rem;
}
.fleet__blurb { color: var(--dim); font-size: 0.95rem; flex: 1; }
.fleet__go {
  margin-top: 1.3rem;
  font-family: var(--font-d);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-hot);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
}
.fleet__go svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
.fleet__go:hover svg { transform: translateX(5px); }

/* ---------- ticker ---------- */

.tick {
  position: relative;
  background:
    radial-gradient(60% 130% at 76% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
    repeating-linear-gradient(-18deg, transparent 0 30px, rgba(255, 255, 255, 0.06) 30px 31px),
    linear-gradient(100deg, var(--blue-deep) 0%, var(--blue) 55%, #4a8dff 100%);
  transform: skewY(-2deg);
  margin: 2rem 0;
  overflow: hidden;
  padding: 1.15rem 0;
}
.tick__rail {
  display: flex;
  width: max-content;
  transform: skewY(2deg);
  animation: tick-run 30s linear infinite;
}
.tick:hover .tick__rail { animation-play-state: paused; }
.tick__set {
  display: flex;
  list-style: none;
  gap: 3.2rem;
  padding-right: 3.2rem;
}
.tick__set li {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3.2rem;
}
.tick__set li::after { content: '›››'; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.1em; }
@keyframes tick-run { to { transform: skewY(2deg) translateX(-50%); } }

/* ---------- how it works ---------- */

.path { list-style: none; counter-reset: leg; position: relative; max-width: 780px; }
.path::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue) 0%, rgba(47, 123, 255, 0.12) 100%);
}
.path__leg {
  counter-increment: leg;
  position: relative;
  padding: 0 0 2.6rem 5.4rem;
}
.path__leg:last-child { padding-bottom: 0; }
.path__leg::before {
  content: counter(leg, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -0.35rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue-hot);
  background: var(--slate-1);
  border: 1px solid var(--edge-hot);
  border-radius: 12px;
  transform: skewX(-6deg);
  box-shadow: 0 0 0 6px var(--slate-0);
}
.path__name { font-size: 1.2rem; margin-bottom: 0.35rem; }
.path__note { color: var(--dim); font-size: 0.98rem; max-width: 52ch; }

/* ---------- why us ---------- */

.edge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-bottom: 2.6rem;
}
.edge-grid__cell {
  border: 1px solid var(--edge);
  border-left: 3px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(140deg, rgba(47, 123, 255, 0.07), transparent 55%);
  padding: 1.7rem 1.6rem;
}
.edge-grid__stat {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--white);
  display: block;
  margin-bottom: 0.45rem;
}
.edge-grid__text { color: var(--dim); font-size: 0.97rem; }

.straight {
  border: 1px dashed var(--edge-hot);
  border-radius: 12px;
  padding: 1.5rem 1.7rem;
  color: var(--dim);
  font-size: 0.98rem;
  max-width: 760px;
}
.straight strong { color: var(--white); }

/* ---------- industries ---------- */

.lanes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.lanes__lane {
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background:
    radial-gradient(130% 100% at 0% 0%, rgba(47, 123, 255, 0.09), transparent 55%),
    linear-gradient(150deg, #161f2c, #121926);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.lanes__lane::after {
  content: '';
  position: absolute;
  top: 0;
  right: -30%;
  width: 60%;
  height: 100%;
  background: repeating-linear-gradient(-24deg, transparent 0 10px, rgba(47, 123, 255, 0.06) 10px 11px);
  pointer-events: none;
}
.lanes__lane:hover { border-color: var(--edge-hot); transform: translateY(-3px); }
.lanes__name { font-family: var(--font-d); font-weight: 600; font-size: 1rem; margin-bottom: 0.4rem; display: block; }
.lanes__use { color: var(--dim-2); font-size: 0.88rem; line-height: 1.5; }

/* ---------- faq ---------- */

.faqs { max-width: 780px; }
.faqs__item {
  border-bottom: 1px solid var(--edge);
}
.faqs__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0.2rem;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 1.05rem;
  min-height: 44px;
}
.faqs__q::-webkit-details-marker { display: none; }
.faqs__q::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blue-hot);
  flex: none;
  transition: transform 0.25s ease;
}
.faqs__item[open] .faqs__q::after { transform: rotate(45deg); }
.faqs__a { padding: 0 0.2rem 1.5rem; color: var(--dim); max-width: 66ch; }

/* ---------- CTA band ---------- */

.launch {
  position: relative;
  margin: 5rem 0 0;
  transform: skewY(-2deg);
  background:
    radial-gradient(56% 90% at 82% 6%, rgba(255, 255, 255, 0.2), transparent 58%),
    radial-gradient(40% 70% at 8% 100%, rgba(10, 24, 56, 0.45), transparent 62%),
    repeating-linear-gradient(-18deg, transparent 0 30px, rgba(255, 255, 255, 0.05) 30px 31px),
    linear-gradient(115deg, var(--blue-deep) 0%, var(--blue) 70%, #4a8dff 100%);
  overflow: hidden;
}
.launch__rail {
  max-width: var(--rail);
  margin: 0 auto;
  padding: 5.2rem 1.5rem;
  transform: skewY(2deg);
}
.launch__title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: #fff; max-width: 620px; }
.launch__sub { color: rgba(255, 255, 255, 0.85); margin: 1rem 0 2.2rem; max-width: 56ch; }
.launch .btn--charge { background: #fff; color: var(--blue-deep); box-shadow: 0 22px 60px -18px rgba(9, 20, 40, 0.6); }
.launch .btn--charge:hover { color: var(--blue-deep); }
.launch .btn--wire { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.launch .btn--wire:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.launch__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- footer ---------- */

.footing {
  background:
    radial-gradient(50% 34% at 50% 0%, rgba(47, 123, 255, 0.08), transparent 70%),
    linear-gradient(180deg, #0c1017 0%, #090d13 100%);
  border-top: 1px solid var(--edge);
  padding: 4.5rem 0 2.5rem;
  font-size: 0.93rem;
}
.footing__rail { max-width: var(--rail); margin: 0 auto; padding: 0 1.5rem; }
.footing__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footing__tag { color: var(--dim-2); margin-top: 0.9rem; max-width: 30ch; }
.footing__head {
  font-family: var(--font-d);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim-2);
  margin-bottom: 1.1rem;
}
.footing__list { list-style: none; }
.footing__list li { margin-bottom: 0.55rem; }
.footing__list a { color: var(--dim); display: inline-block; padding: 0.1rem 0; }
.footing__list a:hover { color: var(--blue-hot); }
.footing__contact { color: var(--dim); font-style: normal; line-height: 1.9; }
.footing__contact a { color: var(--dim); }
.footing__contact a:hover { color: var(--blue-hot); }
.footing__legal {
  border-top: 1px solid var(--edge);
  padding-top: 1.8rem;
  color: var(--dim-2);
  font-size: 0.84rem;
  line-height: 1.7;
}
.footing__legal strong { color: var(--dim); }
.footing__copy { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; }

/* ---------- reveals ---------- */

.rv {
  opacity: 0;
  transform: translate(-26px, 26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.rv--go { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }
.rv-d4 { transition-delay: 0.32s; }

/* ---------- forms (apply / unsubscribe) ---------- */

.sheet {
  max-width: 720px;
  background: linear-gradient(160deg, var(--slate-2), var(--slate-1));
  border: 1px solid var(--edge);
  border-radius: 16px;
  padding: 2.4rem 2.2rem;
}
.sheet__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.sheet__grid .field--wide { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field__label { font-weight: 600; font-size: 0.9rem; }
.field__label small { font-weight: 400; color: var(--dim-2); }
.field__input,
.field__select,
.field__area {
  width: 100%;
  background: var(--slate-0);
  border: 1px solid var(--edge);
  border-radius: 9px;
  color: var(--white);
  font: inherit;
  font-size: 0.98rem;
  padding: 0.78rem 0.95rem;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field__area { min-height: 110px; resize: vertical; }
.field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235d9bff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.4rem;
}
.field__input:focus,
.field__select:focus,
.field__area:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 123, 255, 0.22);
}
.field--bad .field__input,
.field--bad .field__select { border-color: #ff5d6c; }
.field__err {
  display: none;
  color: #ff8f9a;
  font-size: 0.84rem;
}
.field--bad .field__err { display: block; }

/* honeypot — never visible to humans */
.field--nectar {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sheet__send { margin-top: 1.8rem; }
.sheet__fine { margin-top: 1.1rem; font-size: 0.84rem; color: var(--dim-2); max-width: 58ch; }

.sheet__done {
  display: none;
  text-align: left;
  padding: 1.5rem 0 0.5rem;
}
.sheet__done--show { display: block; }
.sheet__done svg { width: 46px; height: 46px; color: var(--blue-hot); margin-bottom: 1.2rem; }
.sheet__done h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.sheet__done p { color: var(--dim); max-width: 50ch; }

.mini-steps { list-style: none; counter-reset: ms; display: grid; gap: 1.1rem; max-width: 420px; }
.mini-steps li { counter-increment: ms; position: relative; padding-left: 3rem; color: var(--dim); }
.mini-steps li strong { color: var(--white); display: block; font-family: var(--font-d); font-size: 0.98rem; }
.mini-steps li::before {
  content: counter(ms);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--edge-hot);
  border-radius: 8px;
  transform: skewX(-6deg);
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue-hot);
}

.duo { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3.5rem; align-items: start; }

/* ---------- legal prose ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin: 2.4rem 0 0.8rem; }
.prose p, .prose ul { color: var(--dim); margin-bottom: 1rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.4rem; }
.prose .stamp { font-size: 0.86rem; color: var(--dim-2); }

/* ---------- interior page hero ---------- */

.subhero { padding: 9.5rem 0 3.5rem; position: relative; overflow: hidden; }
.subhero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(-18deg, transparent 0 26px, rgba(47, 123, 255, 0.05) 26px 27px),
    radial-gradient(90% 120% at 85% -20%, rgba(47, 123, 255, 0.16), transparent 60%);
  pointer-events: none;
}
.subhero__rail { max-width: var(--rail); margin: 0 auto; padding: 0 1.5rem; position: relative; }
.subhero__title { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 1rem 0; }
.subhero__sub { color: var(--dim); max-width: 58ch; font-size: 1.08rem; }

/* ---------- 404 ---------- */

.lost {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.lost::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(-18deg, transparent 0 34px, rgba(47, 123, 255, 0.07) 34px 36px),
    radial-gradient(70% 90% at 70% 40%, rgba(47, 123, 255, 0.14), transparent 65%);
}
.lost__rail { max-width: var(--rail); margin: 0 auto; padding: 0 1.5rem; position: relative; }
.lost__code {
  font-family: var(--font-d);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(5rem, 16vw, 11rem);
  line-height: 1;
  background: linear-gradient(115deg, var(--white) 20%, var(--blue-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lost__title { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 1rem 0; }
.lost__sub { color: var(--dim); margin-bottom: 2.2rem; max-width: 48ch; }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .fleet { grid-template-columns: repeat(2, 1fr); }
  .lanes { grid-template-columns: repeat(2, 1fr); }
  .footing__grid { grid-template-columns: 1fr 1fr; }
  .duo { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  body { font-size: 1rem; }
  .topbar__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(13, 17, 24, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--edge);
    padding: 0.8rem 1.5rem 1.4rem;
  }
  .topbar__nav--open { display: flex; }
  .topbar__link { padding: 0.9rem 0.15rem; font-size: 1.05rem; min-height: 44px; display: flex; align-items: center; }
  .topbar__nav .btn { margin-top: 0.9rem; }
  .topbar__burger { display: inline-flex; }
  .hero__rail { padding-top: 7rem; }
  .band { padding: 4.5rem 0; }
  .band--slash { clip-path: polygon(0 1.8rem, 100% 0, 100% calc(100% - 1.8rem), 0 100%); padding: 6.5rem 0; }
  .fleet { grid-template-columns: 1fr; }
  .edge-grid { grid-template-columns: 1fr; }
  .lanes { grid-template-columns: 1fr; }
  .sheet { padding: 1.8rem 1.3rem; }
  .sheet__grid { grid-template-columns: 1fr; }
  .footing__grid { grid-template-columns: 1fr; gap: 2rem; }
  .path::before { left: 21px; }
  .path__leg { padding-left: 4.2rem; }
  .path__leg::before { width: 44px; height: 44px; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .tick__rail { animation: none; }
  .rv { opacity: 1; transform: none; }
  .fleet__card, .fleet__card > * { transform: none; }
}
