/* TORBO website. Tokens from Huisstijl/Torbo Huisstijl.html */
:root {
  --asfalt: #0A0A0A;
  --carbon: #141414;
  --paneel: #1C1C1C;
  --lijn: #2A2A2A;
  --grijs: #8C8C8C;
  --wit: #FFFFFF;
  --rood: #E30613;
  --rood-heet: #FF4A3A;
  --oranje: #FF8A00;
  --groen: #3DDC84;
  --f-display: 'Michroma', sans-serif;
  --f-body: 'Saira', system-ui, sans-serif;
  --skew: -11deg;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--asfalt);
  color: var(--wit);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Display type: Michroma, caps, spaced, 11 degrees skewed */
.display, h1, h2, h3, .eyebrow, .btn, .nav a {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 400;
}
h1, h2, h3 { transform: skewX(var(--skew)); transform-origin: left bottom; }
h1 { font-size: clamp(34px, 6.4vw, 76px); line-height: 1.05; letter-spacing: 1px; }
h2 { font-size: clamp(26px, 4vw, 44px); line-height: 1.1; letter-spacing: 1px; margin-bottom: 18px; }
h3 { font-size: 17px; letter-spacing: 2px; margin-bottom: 10px; }
.eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: 4px; color: var(--rood-heet);
  transform: skewX(var(--skew)); margin-bottom: 16px;
}
.lead { font-size: clamp(17px, 2vw, 20px); color: #d6d6d6; max-width: 640px; }
.muted { color: var(--grijs); }
.num { font-family: var(--f-body); font-style: italic; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Buttons: parallelogram, like the red O */
.btn {
  --bg: var(--paneel); --fg: var(--wit); --bd: var(--lijn);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; font-size: 13px; letter-spacing: 2px; text-decoration: none;
  color: var(--fg); background: var(--bg); border: 1px solid var(--bd);
  transform: skewX(var(--skew)); transition: background .15s, box-shadow .15s, border-color .15s;
}
.btn > span { transform: skewX(calc(var(--skew) * -1)); display: inline-flex; align-items: center; gap: 10px; }
.btn:hover { border-color: var(--grijs); }
.btn.primary { --bg: var(--rood); --bd: var(--rood); }
.btn.primary:hover { --bg: var(--rood-heet); --bd: var(--rood-heet); box-shadow: 0 0 28px rgba(255, 74, 58, .45); }
.btn[aria-disabled="true"] { cursor: default; }
.btn small { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--grijs); }
.btn.primary small { color: rgba(255,255,255,.8); }
.btns { display: flex; flex-wrap: wrap; gap: 16px 20px; margin-top: 32px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 64px;
  background: linear-gradient(rgba(10,10,10,.92), rgba(10,10,10,.75));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lijn);
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav .brand img { height: 30px; width: auto; }
.nav .links { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: 11px; letter-spacing: 2px; text-decoration: none; color: #cfcfcf; }
.nav a:hover { color: var(--wit); }
.nav .lang { border: 1px solid var(--lijn); padding: 6px 10px; transform: skewX(var(--skew)); }
.nav .btn { min-height: 38px; padding: 0 18px; font-size: 11px; }
@media (max-width: 900px) { .nav .links { display: none; } .nav .lang { margin-left: auto; } }
@media (max-width: 480px) { .nav .btn { display: none; } }

/* Hero */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end; padding: 120px 0 72px; overflow: hidden; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.65) 45%, rgba(10,10,10,.25) 100%),
    linear-gradient(0deg, var(--asfalt) 0%, rgba(10,10,10,0) 40%);
}
.hero .logo { width: min(520px, 86vw); margin-bottom: 36px; }
.hero h1 { max-width: 900px; }
.hero .lead { margin-top: 22px; }
.hero .ship { margin-top: 18px; font-size: 14px; }

/* Sections */
section { padding: clamp(72px, 10vw, 128px) 0; }
section.alt { background: var(--carbon); border-block: 1px solid var(--lijn); }
.head { margin-bottom: 48px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--paneel); border: 1px solid var(--lijn); padding: 28px; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--f-body); font-style: italic; font-weight: 800; font-size: 46px; line-height: 1;
  color: var(--rood); display: block; margin-bottom: 14px;
}
.step p { color: #cfcfcf; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--lijn); overflow: hidden; }
.video img, .video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video .play {
  position: absolute; inset: 0; display: grid; place-items: center; text-decoration: none;
  background: rgba(10,10,10,.15); transition: background .2s;
}
.video .play:hover { background: rgba(10,10,10,0); }
.video .play span {
  width: 96px; height: 64px; background: var(--rood); transform: skewX(var(--skew));
  display: grid; place-items: center; box-shadow: 0 0 40px rgba(227,6,19,.5);
}
.video .play span::after {
  content: ""; border-left: 22px solid var(--wit); border-block: 13px solid transparent;
  transform: skewX(11deg); margin-left: 6px;
}

/* Engines */
.engines { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.engine { background: var(--paneel); border: 1px solid var(--lijn); padding: 22px 22px 24px; position: relative; overflow: hidden; }
.engine .cyl { font-family: var(--f-body); font-style: italic; font-weight: 800; font-size: 40px; line-height: 1; color: var(--wit); }
.engine .cyl em { font-style: inherit; color: var(--rood); }
.engine h3 { margin: 12px 0 6px; font-size: 14px; }
.engine p { font-size: 15px; color: var(--grijs); }
.engine.featured { border-color: var(--rood); }
.engine .tag {
  position: absolute; top: 16px; right: -4px; background: var(--rood); color: var(--wit);
  font-family: var(--f-display); font-size: 9px; letter-spacing: 2px; padding: 5px 12px; transform: skewX(var(--skew));
}
.cluster-shot { margin-top: 40px; border: 1px solid var(--lijn); background: var(--carbon); }

/* Side-by-side comparison */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.vs > article {
  background: var(--paneel); border: 1px solid var(--lijn); padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column;
}
.vs > article.pick { border-color: var(--rood); box-shadow: 0 0 0 1px var(--rood) inset; }
.vs .shot { margin: -1px -1px 24px; border-bottom: 1px solid var(--lijn); background: var(--carbon); aspect-ratio: 4 / 3; overflow: hidden; }
.vs .shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 84%; }
.vs .price { font-family: var(--f-body); font-style: italic; font-weight: 800; font-size: 44px; line-height: 1; margin: 6px 0 4px; }
.vs .price small { font-size: 15px; font-weight: 500; color: var(--grijs); }
.vs ul { list-style: none; margin: 20px 0 28px; display: grid; gap: 10px; }
.vs li { padding-left: 26px; position: relative; color: #d6d6d6; }
.vs li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 8px;
  background: var(--rood); transform: skewX(var(--skew));
}
.vs li.no { color: var(--grijs); }
.vs li.no::before { background: var(--lijn); }
.vs .btns { margin-top: auto; }
.vs .note { font-size: 14px; margin-top: 14px; }
@media (max-width: 820px) { .vs { grid-template-columns: 1fr; } }

/* Spec rows (gearbox) */
.specs { display: grid; gap: 0; margin: 4px 0 8px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--lijn); font-size: 15px; }
.specs dt { color: var(--grijs); }
.specs dd { text-align: right; }

/* Shift buttons */
.shift { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.shift > div { background: var(--paneel); border: 1px solid var(--lijn); padding: 20px; }
.shift .mode {
  display: inline-grid; place-items: center; width: 48px; height: 44px; margin-bottom: 12px;
  font-family: var(--f-display); background: var(--carbon); border: 1px solid var(--lijn); transform: skewX(var(--skew));
}
.shift .mode.on { background: var(--rood); border-color: var(--rood); box-shadow: 0 0 18px rgba(227,6,19,.5); }
.shift p { font-size: 15px; color: #cfcfcf; }
@media (max-width: 760px) { .shift { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--paneel); border: 1px solid var(--lijn); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-family: var(--f-display); color: var(--rood-heet); font-size: 20px;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 22px; color: #cfcfcf; }

/* Footer */
footer { border-top: 1px solid var(--lijn); padding: 48px 0 56px; color: var(--grijs); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
footer img { height: 34px; width: auto; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-decoration: none; color: #cfcfcf; }
footer a:hover { color: var(--wit); }

/* Legal pages */
.page { padding: 140px 0 96px; }
.page .wrap { max-width: 780px; }
.page h2 { font-size: 22px; margin: 48px 0 14px; }
.page p, .page li { color: #cfcfcf; margin-bottom: 12px; }
.page ul { padding-left: 22px; }
.page a { color: var(--rood-heet); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero video { display: none; }
}

/* Latency badge in the setup comparison */
.latency {
  margin: 18px 0 2px; padding: 14px 16px; border: 1px solid var(--lijn); background: var(--carbon);
  color: #cfcfcf; font-size: 15px; line-height: 1.35;
}
.latency .num { display: block; font-size: 30px; line-height: 1.1; color: var(--oranje); }
.latency small { display: block; color: var(--grijs); font-size: 13px; margin-top: 4px; }
.latency.fast { border-color: rgba(61, 220, 132, .45); }
.latency.fast .num { color: var(--groen); }

/* Engines that need the Node */
.engine .lock {
  display: inline-block; margin-top: 14px; padding: 4px 10px; font-size: 12px; color: #cfcfcf;
  border: 1px solid var(--lijn); background: var(--carbon); transform: skewX(var(--skew));
}
.vs .price.small { font-size: 22px; color: #cfcfcf; margin: 10px 0 4px; }
