/* TopOff Fleet Intel home: the film journey and the gauges beneath it.
   Brand tokens: petrol ground, lime accent, teal instrument lines. */
:root {
  --tf-bg: #0e1218; --tf-panel: #121a20; --tf-line: #1f2a30; --tf-ink: #e9edf3;
  --tf-muted: #98a2b4; --tf-lime: #c4f23a; --tf-teal: #43d6c2; --tf-paper: #10171c;
  --tf-sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --tf-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --tf-radius: 12px; --tf-nav-h: 68px; --tf-black: #07090c;
  --tf-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { background: var(--tf-bg); color: var(--tf-ink); scroll-behavior: smooth; scroll-padding-top: var(--tf-nav-h); }
body { margin: 0; background: var(--tf-bg); color: var(--tf-ink); font: 16px/1.5 var(--tf-sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; }
.tf-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.tf-eyebrow { font-family: var(--tf-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--tf-teal); margin: 0 0 18px; }
.tf-h2 { font-size: clamp(34px, 5vw, 60px); line-height: .98; letter-spacing: -.03em; font-weight: 700; margin: 0; max-width: 14ch; }
.tf-sub { color: var(--tf-muted); font-size: 18px; line-height: 1.55; max-width: 58ch; margin: 22px 0 0; }

/* nav */
.tf-nav { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--tf-nav-h); display: flex; align-items: center; background: linear-gradient(to bottom, rgba(14,18,24,.86), rgba(14,18,24,0)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tf-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.tf-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--tf-ink); text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.tf-brand img { width: 28px; height: 28px; border-radius: 8px; }
.tf-nav__links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.tf-navlink { position: relative; color: var(--tf-muted); text-decoration: none; font-size: 14px; padding: 6px 0; }
.tf-navlink::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--tf-teal); transition: right .35s cubic-bezier(.2,.8,.2,1); }
.tf-navlink:hover, .tf-navlink:focus-visible { color: var(--tf-ink); }
.tf-navlink:hover::after, .tf-navlink:focus-visible::after { right: 0; }
.tf-navcta { color: var(--tf-black); background: var(--tf-lime); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; transition: background .2s; white-space: nowrap; }
.tf-navcta:hover, .tf-navcta:focus-visible { background: #d7ff6a; }
.tf-nav__toggle { display: none; width: 44px; height: 44px; margin-left: auto; margin-right: 10px; border: 0; background: transparent; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.tf-nav__toggle span { display: block; height: 2px; border-radius: 2px; background: var(--tf-ink); transition: transform .25s, opacity .2s; }
.tf-nav[data-open] .tf-nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tf-nav[data-open] .tf-nav__toggle span:nth-child(2) { opacity: 0; }
.tf-nav[data-open] .tf-nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 720px) {
  .tf-nav__inner { gap: 0; }
  .tf-nav__toggle { display: flex; }
  .tf-nav__links { display: none; position: absolute; top: var(--tf-nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 18px; background: rgba(14,18,24,.97); border-bottom: 1px solid rgba(255,255,255,.08); }
  .tf-nav[data-open] { background: rgba(14,18,24,.97); }
  .tf-nav[data-open] .tf-nav__links { display: flex; }
  .tf-nav__links li { border-top: 1px solid rgba(255,255,255,.06); }
  .tf-nav__links li:first-child { border-top: 0; }
  .tf-navlink { display: block; padding: 14px 0; font-size: 16px; color: var(--tf-ink); }
  .tf-navlink::after { display: none; }
  .tf-nav__cta { padding-top: 14px; }
  .tf-navcta { display: block; text-align: center; padding: 12px 14px; font-size: 15px; }
}


/* sections */
.tf-section { padding: clamp(72px, 10vw, 128px) 0; border-top: 1px solid var(--tf-line); }
.tf-calc { background: linear-gradient(90deg, var(--tf-line) 1px, transparent 1px) 0 0 / 25% 100% no-repeat, var(--tf-bg); }
.tf-calc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.tf-field label { display: block; font-family: var(--tf-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--tf-muted); margin-bottom: 10px; }
.tf-field output { display: block; font-family: var(--tf-mono); font-size: 28px; color: var(--tf-ink); margin-bottom: 10px; }
.tf-field input[type="range"] { width: 100%; accent-color: var(--tf-teal); }
.tf-field small { display: flex; justify-content: space-between; font-family: var(--tf-mono); font-size: 11px; color: var(--tf-muted); margin-top: 6px; }
.tf-calc__result { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--tf-line); }
.tf-calc__num { font-family: var(--tf-mono); font-weight: 700; font-size: clamp(56px, 11vw, 132px); line-height: .95; letter-spacing: -.04em; color: var(--tf-lime); }
.tf-calc__unit { font-size: .18em; letter-spacing: .14em; color: var(--tf-muted); margin-left: .5em; vertical-align: middle; }
.tf-calc__split { display: flex; flex-wrap: wrap; gap: 32px 56px; margin-top: 32px; font-family: var(--tf-mono); font-size: 14px; color: var(--tf-muted); }
.tf-calc__split b { display: block; color: var(--tf-ink); font-size: 20px; font-weight: 600; margin-top: 4px; }
@media (max-width: 720px) { .tf-calc__grid { grid-template-columns: 1fr; gap: 24px; } }
.tf-verify { background: var(--tf-panel); text-align: center; }
.tf-verify .tf-h2, .tf-verify .tf-sub { margin-left: auto; margin-right: auto; }
.tf-timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 72px 0 0; padding: 0; list-style: none; text-align: left; }
.tf-timeline::before { content: ""; position: absolute; left: 0; right: -10vw; top: 9px; height: 1px; background: linear-gradient(90deg, var(--tf-teal), var(--tf-teal) 70%, transparent); }
.tf-node { position: relative; padding-top: 34px; border-left: 1px solid var(--tf-line); padding-left: 20px; }
.tf-node::before { content: ""; position: absolute; left: -7px; top: 3px; width: 13px; height: 13px; border-radius: 50%; background: var(--tf-lime); }
.tf-node__idx { font-family: var(--tf-mono); font-size: 12px; color: var(--tf-teal); letter-spacing: .12em; }
.tf-node h3 { font-size: 24px; margin: 10px 0 8px; letter-spacing: -.02em; }
.tf-node p { color: var(--tf-muted); line-height: 1.55; margin: 0; max-width: 34ch; }
@media (max-width: 720px) { .tf-timeline { grid-template-columns: 1fr; } .tf-timeline::before { display: none; } }
.tf-report { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.tf-report__list { list-style: none; margin: 0; padding: 0; font-family: var(--tf-mono); font-size: 13px; color: var(--tf-muted); }
.tf-report__list li { padding: 18px 0; border-top: 1px solid var(--tf-line); }
.tf-report__list b { display: block; color: var(--tf-teal); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.tf-report__frame { border: 1px solid var(--tf-line); border-radius: var(--tf-radius); padding: clamp(28px, 4vw, 56px); background: var(--tf-paper) url("/assets/plates/paper.jpg") center / cover; }
.tf-report__frame::before { content: ""; display: block; width: 72px; height: 2px; background: var(--tf-lime); margin-bottom: 28px; }
.tf-tag { display: inline-flex; align-items: center; gap: 14px; margin-top: 36px; padding: 14px 20px; background: var(--tf-ink); color: var(--tf-bg); font-family: var(--tf-mono); font-size: 14px; text-decoration: none; border-radius: 3px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); transition: transform .12s, background .2s; }
.tf-tag:active { transform: translateY(2px) skewX(-1deg); }
.tf-tag:hover, .tf-tag:focus-visible { background: var(--tf-lime); }
@media (max-width: 860px) { .tf-report { grid-template-columns: 1fr; } }
.tf-app__deck { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 56px 0 40px; padding: 0; perspective: 1400px; list-style: none; }
.tf-app__deck img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--tf-line); background: var(--tf-panel); transform: rotateY(-6deg); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.tf-app__deck li:nth-child(2) img { transform: rotateY(-3deg); } .tf-app__deck li:nth-child(3) img { transform: rotateY(3deg); } .tf-app__deck li:nth-child(4) img { transform: rotateY(6deg); }
.tf-app__deck li:hover img { transform: rotateY(0) translateY(-6px); }
.tf-app__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.tf-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--tf-ink); border-radius: 10px; color: var(--tf-ink); text-decoration: none; font-size: 14px; line-height: 1.1; transition: background .2s, color .2s; }
.tf-badge small { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--tf-muted); }
.tf-badge:hover, .tf-badge:focus-visible { background: var(--tf-ink); color: var(--tf-bg); } .tf-badge:hover small, .tf-badge:focus-visible small { color: var(--tf-bg); }
.tf-view { position: relative; display: inline-block; padding: 12px 18px; color: var(--tf-ink); font: inherit; font-size: 14px; background: none; border: 0; cursor: pointer; }
.tf-view::before, .tf-view::after { content: ""; position: absolute; width: 12px; height: 12px; border: 1px solid var(--tf-teal); transition: all .3s; }
.tf-view::before { left: 0; top: 0; border-right: 0; border-bottom: 0; } .tf-view::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.tf-view:hover::before, .tf-view:focus-visible::before { left: -6px; top: -6px; } .tf-view:hover::after, .tf-view:focus-visible::after { right: -6px; bottom: -6px; }
.tf-app__video { margin-top: 40px; border-radius: var(--tf-radius); overflow: hidden; border: 1px solid var(--tf-line); background: var(--tf-panel); }
.tf-app__video[hidden] { display: none; }
.tf-app__video video { display: block; width: 100%; height: auto; }
.tf-app__note { color: var(--tf-muted); font-size: 14px; margin: 18px 0 0; }
@media (max-width: 860px) { .tf-app__deck { grid-template-columns: repeat(2, 1fr); } }
.tf-footer { padding: 48px 0 40px; border-top: 1px solid var(--tf-line); color: var(--tf-muted); font-size: 14px; }
.tf-footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.tf-footer a { color: var(--tf-ink); text-decoration: none; border-bottom: 1px solid var(--tf-line); }
.tf-footer a:hover { border-color: var(--tf-lime); }

/* ---- hero: the slipstream. Threads of light across the whole first screen,
   a black glass sphere, the copy inside the field. The engine is in home.js. ---- */
.tf-hero { position: relative; min-height: 100dvh; overflow: hidden; background: var(--tf-black); }
.tf-hero__flow { position: absolute; inset: 0; touch-action: pan-y; }
.tf-hero__flow canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tf-hero__orb { position: absolute; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; will-change: transform; --rx: 14px; --ry: 0px; --glow: 0; background: radial-gradient(circle at 36% 30%, #222a33, #0b0f14 55%, #05070a 75%); box-shadow: inset var(--rx) var(--ry) 36px rgba(196,242,58,.18), inset -18px -20px 50px rgba(0,0,0,.9), 0 30px 90px rgba(0,0,0,.6), 0 0 calc(40px + 90px * var(--glow)) rgba(196,242,58,calc(.06 + .3 * var(--glow))); }
.tf-hero__orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 1px 0 0 rgba(196,242,58,.35), inset -1px -1px 0 rgba(255,255,255,.04); }
.tf-hero__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7,9,12,.82) 0%, rgba(7,9,12,.55) 34%, rgba(7,9,12,0) 60%), linear-gradient(180deg, rgba(7,9,12,.55), transparent 16%, transparent 84%, var(--tf-bg)); }
.tf-hero__inner { position: relative; z-index: 2; min-height: 100dvh; display: flex; align-items: center; padding-top: var(--tf-nav-h); }
.tf-hero__copy { max-width: 600px; padding: 56px 0; }
.tf-hero__pill { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: var(--tf-ink); text-decoration: none; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 6px 12px 6px 9px; background: rgba(255,255,255,.04); }
.tf-hero__pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--tf-lime); box-shadow: 0 0 12px var(--tf-lime); }
.tf-hero__pill span { color: var(--tf-muted); }
.tf-hero__title { font-size: clamp(44px, 5.9vw, 84px); line-height: .97; letter-spacing: -.035em; font-weight: 700; margin: 26px 0 0; max-width: 11ch; }
.tf-hero__title em { font-family: var(--tf-serif); font-style: italic; font-weight: 400; color: var(--tf-lime); letter-spacing: -.01em; }
.tf-hero__sub { color: var(--tf-muted); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; max-width: 46ch; margin: 22px 0 0; }
.tf-hero__actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.tf-btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; padding: 13px 20px; border-radius: 999px; transition: background .2s, border-color .2s; }
.tf-btn--primary { background: var(--tf-lime); color: var(--tf-black); }
.tf-btn--primary:hover, .tf-btn--primary:focus-visible { background: #d7ff6a; }
.tf-btn--ghost { color: var(--tf-ink); border: 1px solid rgba(255,255,255,.16); }
.tf-btn--ghost:hover, .tf-btn--ghost:focus-visible { border-color: rgba(255,255,255,.4); }
.tf-hero__proof { display: flex; gap: 28px; margin-top: 40px; font-family: var(--tf-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--tf-muted); }
.tf-hero__proof b { display: block; color: var(--tf-ink); font-size: 17px; letter-spacing: 0; margin-bottom: 3px; font-weight: 600; text-transform: none; }
.tf-hero__hint { display: inline-flex; align-items: center; gap: 8px; margin: 28px 0 0; font-family: var(--tf-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tf-muted); }
.tf-hero__hint i { width: 6px; height: 6px; border-radius: 50%; background: var(--tf-teal); box-shadow: 0 0 10px var(--tf-teal); }
@media (max-width: 900px) {
  .tf-hero__inner { align-items: flex-end; padding-bottom: 24px; }
  .tf-hero__copy { padding: 40dvh 0 20px; }
  .tf-hero__title { font-size: clamp(38px, 10.5vw, 50px); max-width: none; }
  .tf-hero__proof { gap: 16px 22px; flex-wrap: wrap; }
  .tf-hero__scrim { background: linear-gradient(180deg, rgba(7,9,12,.35) 0%, transparent 22%, rgba(7,9,12,.42) 50%, rgba(7,9,12,.62) 80%, rgba(7,9,12,.86) 94%, var(--tf-bg) 100%); }
  .tf-hero__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tf-navlink::after, .tf-app__deck img, .tf-view::before, .tf-view::after, .tf-tag, .tf-badge, .tf-navcta, .tf-btn { transition: none; }
}
