/* MotorUSB – donker, industrieel. Layout: smalle kolom voor tekst, brede grids voor kaarten. */
:root {
  --bg: #0e0f11;
  --bg-2: #15171a;
  --surface: #1a1c20;
  --surface-2: #23262b;
  --line: #2e3238;
  --text: #eceae6;
  --muted: #9a9ea6;
  --accent: #ff6a1a;
  --accent-2: #ffb347;
  --accent-ink: #120a04;
  --accent-soft: rgba(255,106,26,.12);
  --ok: #46c98a;
  --warn: #f2b84b;
  --warn-soft: rgba(242,184,75,.10);
  --plus: #ff4d4d;
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --radius: 14px;
  --max: 1140px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 18px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
img, svg { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; letter-spacing: .005em; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); margin: 0 0 1rem; text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 3rem 0 1rem; text-transform: uppercase; }
h3 { font-size: 1.45rem; margin: 1.6rem 0 .5rem; font-weight: 600; }
h1 .hl, h2 .hl { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 780px; }
p { margin: 0 0 1rem; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(14,15,17,.82); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 1.5rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; color: var(--text); text-decoration: none; }
.logo:hover { color: var(--text); }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 0 18px rgba(255,106,26,.35); }
.logo em { font-style: normal; color: var(--accent); }
nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .15s, background .15s; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.menu-toggle { display: none; background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 7px 12px; font: 600 .95rem var(--font-body); }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  nav.open { display: block; }
  nav ul { flex-direction: column; }
}

/* hero */
.hero {
  position: relative; overflow: hidden;
  padding-block: 64px 56px;
  background:
    radial-gradient(600px 300px at 80% 30%, rgba(255,106,26,.16), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .25;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero p.lead { font-size: 1.22rem; color: var(--muted); max-width: 560px; margin: 0 0 1.8rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 1rem; padding: 7px 10px; border: 1px solid rgba(255,106,26,.35); border-radius: 99px; background: var(--accent-soft); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.hero-stats div { font-size: .85rem; color: var(--muted); }
.hero-stats strong { display: block; font: 600 1.5rem/1.1 var(--font-mono); color: var(--text); }
.hero-art { position: relative; }
.hero-art svg { width: 100%; display: block; filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin-inline: auto; order: -1; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #ff8a3d); color: var(--accent-ink);
  font: 700 1rem/1 var(--font-body); text-decoration: none; border: 0;
  box-shadow: 0 6px 20px rgba(255,106,26,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { color: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,106,26,.35); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* sections */
.section { padding-block: 24px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.section-head p { color: var(--muted); max-width: 520px; margin: 0 0 1rem; }
.kicker { font: 600 .75rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 4rem 0 0; }
.kicker + h2, .kicker + .section-head h2 { margin-top: .6rem; }

/* cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  position: relative; background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.card > .btn { margin-top: auto; align-self: flex-start; }
.card h3 { margin-top: 0; }
.card p { color: var(--muted); }
.card .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.card .tag { display: inline-block; align-self: flex-start; font: 600 .7rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); margin-bottom: 12px; }
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card.lift:hover { transform: translateY(-3px); border-color: rgba(255,106,26,.55); box-shadow: 0 14px 40px rgba(0,0,0,.4); color: inherit; }
a.card .more { margin-top: auto; color: var(--accent); font-weight: 600; font-size: .95rem; }

/* product */
.product-list { display: grid; gap: 18px; }
.product { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; }
.product > div { min-width: 0; }
.product .num { width: 64px; height: 64px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; font: 700 2rem/1 var(--font-display); color: var(--accent); }
.product ul { margin: .4rem 0 1rem; padding-left: 1.1rem; color: var(--muted); }
.product .btn { font-size: .95rem; padding: 11px 18px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: .4rem 0 1.2rem; font-size: .95rem; }
.pros-cons div { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.pros-cons strong { display: block; font: 600 .72rem/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.pros-cons .pro strong { color: var(--ok); }
.pros-cons .con strong { color: var(--warn); }
@media (max-width: 600px) { .product { grid-template-columns: 1fr; } .pros-cons { grid-template-columns: 1fr; } }

/* callouts */
.note, .warn { border-radius: 12px; padding: 16px 18px; margin: 1.4rem 0; border: 1px solid; }
.note { background: var(--accent-soft); border-color: rgba(255,106,26,.35); }
.warn { background: var(--warn-soft); border-color: rgba(242,184,75,.35); }
.note p, .warn p { margin: 0; }

/* steps */
ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 1.4rem 0; position: relative; }
ol.steps > li { counter-increment: s; position: relative; padding: 0 0 1.6rem 60px; }
ol.steps > li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -2px; width: 42px; height: 42px; border-radius: 10px; background: var(--surface); border: 1px solid var(--accent); color: var(--accent); font: 700 1rem/42px var(--font-mono); text-align: center; }
ol.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 6px; width: 1px; background: var(--line); }
ol.steps > li strong:first-child { display: block; font: 600 1.3rem/1.2 var(--font-display); margin-bottom: 4px; }
ol.steps > li { color: var(--muted); }
ol.steps > li strong:first-child { color: var(--text); }

/* table */
.table-wrap { overflow-x: auto; margin: 1.2rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-2); font: 600 .72rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: var(--surface-2); }
td .mono, .mono { font-family: var(--font-mono); font-size: .88rem; }

/* comparison */
table.compare { min-width: 760px; }
table.compare td:first-child { font-weight: 600; color: var(--text); }
table.compare td:first-child small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.dots { display: inline-flex; gap: 3px; vertical-align: middle; }
.dots i { width: 9px; height: 9px; border-radius: 2px; background: var(--surface-2); border: 1px solid var(--line); }
.dots i.on { background: var(--accent); border-color: var(--accent); }
.yes { color: var(--ok); font-weight: 600; }
.no { color: var(--muted); }
.partial { color: var(--warn); font-weight: 600; }
table.compare a.small-btn { display: inline-block; white-space: nowrap; padding: 7px 11px; border-radius: 8px; border: 1px solid var(--accent); color: var(--accent); text-decoration: none; font-weight: 600; font-size: .85rem; }
table.compare a.small-btn:hover { background: var(--accent); color: var(--accent-ink); }

/* diagram */
figure.diagram { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 1.6rem 0; overflow-x: auto; }
figure.diagram figcaption { color: var(--muted); font-size: .92rem; margin-top: 10px; }
.diagram svg { min-width: 520px; }
.diagram svg text { fill: var(--text); font: 13px var(--font-body); }
.diagram svg .muted { fill: var(--muted); }
.diagram svg .box { fill: var(--surface-2); stroke: var(--line); }
.diagram svg .acc { fill: var(--accent-soft); stroke: var(--accent); }
.diagram svg .wire-pos { stroke: var(--plus); }
.diagram svg .wire-neg { stroke: var(--muted); }
.diagram svg .wire-sw { stroke: var(--accent); stroke-dasharray: 6 4; }

/* faq */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 10px 0; transition: border-color .15s; }
details[open] { border-color: rgba(255,106,26,.45); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 600 1.3rem/1 var(--font-mono); color: var(--accent); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: .7rem 0 0; color: var(--muted); }

/* misc */
.disclosure { font-size: .82rem; color: var(--muted); border: 1px dashed var(--line); border-radius: 10px; padding: 9px 13px; margin: 0 0 1.6rem; }
main { padding-bottom: 72px; }
article.wrap { padding-top: 8px; }
.breadcrumbs { font: 500 .78rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: 28px; padding-bottom: 12px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.updated { color: var(--muted); font: 500 .8rem/1.4 var(--font-mono); letter-spacing: .02em; }
article ul { padding-left: 1.2rem; }
article li { margin-bottom: .35rem; }
.cta-band { margin-top: 3.5rem; padding: 32px; border-radius: var(--radius); border: 1px solid rgba(255,106,26,.35); background: radial-gradient(500px 200px at 100% 0%, rgba(255,106,26,.18), transparent 70%), var(--surface); display: flex; gap: 20px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 .3rem; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-band p { margin: 0; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); color: var(--muted); font-size: .9rem; padding-block: 36px; }
.site-footer .wrap { display: grid; gap: 14px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 0; margin: 0; }
.site-footer .logo { font-size: 1.2rem; }

/* motion */
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
@keyframes glow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes flow { to { stroke-dashoffset: -40; } }
.hero-copy > * { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .06s; }
.hero-copy > *:nth-child(3) { animation-delay: .12s; }
.hero-copy > *:nth-child(4) { animation-delay: .18s; }
.hero-copy > *:nth-child(5) { animation-delay: .24s; }
.hero-art .led { animation: glow 2.4s ease-in-out infinite; }
.hero-art .current { stroke-dasharray: 6 14; animation: flow 1.2s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
