:root {
  --bg: #050506;
  --bg-soft: #0a0b0d;
  --panel: #101216;
  --panel-strong: #15181d;
  --line: #292d34;
  --red: #e0191d;
  --red-bright: #ff2a30;
  --text: #f5f6f7;
  --muted: #a6abb3;
  --silver: #dce0e5;
  --success: #44bd78;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 90% -10%, rgba(224, 25, 29, .18), transparent 32rem),
    linear-gradient(180deg, #070708 0, var(--bg) 35rem);
  color: var(--text);
  font: 16px/1.65 "Segoe UI Variable", "Segoe UI", sans-serif;
}
a { color: inherit; }
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(7, 8, 10, .92);
  backdrop-filter: blur(18px);
}
.header-inner,
.section,
.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { width: 220px; height: 58px; object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.nav a:hover,
.nav a[aria-current="page"],
.footer-links a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--red);
  border-radius: 6px;
  padding: 10px 17px;
  background: var(--red);
  color: white;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: var(--red-bright); }
.button.secondary { border-color: var(--line); background: transparent; color: var(--silver); }
.button.disabled,
.button[aria-disabled="true"] {
  border-color: var(--line);
  background: var(--panel);
  color: #747a83;
  cursor: not-allowed;
}
.mobile-menu { display: none; }

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  align-items: center;
  gap: 72px;
  padding-top: 80px;
  padding-bottom: 80px;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--red-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; font-family: Bahnschrift, "Segoe UI", sans-serif; line-height: 1.08; }
h1 { margin-bottom: 24px; font-size: clamp(44px, 6vw, 78px); letter-spacing: -.035em; }
h2 { margin-bottom: 18px; font-size: clamp(32px, 4vw, 50px); letter-spacing: -.02em; }
h3 { margin-bottom: 10px; font-size: 21px; }
.accent { color: var(--red-bright); }
.lead { max-width: 760px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(224, 25, 29, .22), transparent 42%),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,255,255,.035) 40px),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,.035) 40px),
    var(--panel);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38);
}
.ecu {
  position: absolute;
  inset: 82px 58px;
  border: 2px solid #555b64;
  border-radius: 16px;
  background: linear-gradient(145deg, #24282f, #0c0e11);
  transform: perspective(700px) rotateY(-9deg) rotateX(4deg);
}
.ecu::before {
  content: "MS TORQUE · ECU / TCU WORKFLOW";
  position: absolute;
  inset: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #3e444d;
  color: #c8ccd2;
  font: 700 14px/1 Bahnschrift;
  letter-spacing: .14em;
}
.ecu::after {
  content: "";
  position: absolute;
  left: -32px;
  right: -32px;
  bottom: 38px;
  height: 42px;
  background: repeating-linear-gradient(90deg, #8b929b 0 7px, transparent 7px 15px);
  opacity: .7;
}
.signal {
  position: absolute;
  right: 20px;
  top: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 18px var(--success);
}

.section { padding-top: 100px; padding-bottom: 100px; }
.section.compact { padding-top: 68px; padding-bottom: 68px; }
.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading p { color: var(--muted); font-size: 18px; }
.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(12, 14, 17, .78);
}
.grid { display: grid; gap: 18px; }
.grid.services { grid-template-columns: repeat(3, 1fr); }
.grid.audiences { grid-template-columns: repeat(3, 1fr); }
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  background: linear-gradient(145deg, var(--panel-strong), var(--bg-soft));
}
.card p { margin-bottom: 0; color: var(--muted); }
.card .status { display: inline-block; margin-top: 16px; color: #e7b563; font-size: 13px; }
.icon {
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 42, 48, .45);
  border-radius: 9px;
  background: rgba(224, 25, 29, .09);
  color: var(--red-bright);
  font: 800 15px Bahnschrift;
}

.steps { counter-reset: workflow; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.step { counter-increment: workflow; min-height: 210px; padding: 28px; background: var(--panel); }
.step::before {
  content: "0" counter(workflow);
  display: block;
  margin-bottom: 28px;
  color: var(--red-bright);
  font: 800 13px Bahnschrift;
  letter-spacing: .12em;
}
.step p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line); color: var(--silver); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--red-bright); font-weight: 800; }
.notice { border-left: 3px solid var(--red); padding: 18px 22px; background: var(--panel); color: var(--muted); }
.trust-strip {
  width: min(var(--max), calc(100% - 48px));
  margin: -24px auto 76px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15, 17, 20, .94);
}
.trust-strip div { padding: 22px 26px; border-right: 1px solid var(--line); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { margin-bottom: 5px; font-family: Bahnschrift, "Segoe UI", sans-serif; }
.trust-strip span { color: var(--muted); font-size: 14px; }
.journey { counter-reset: workflow; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.journey .step { min-height: 190px; }
.kicker { color: var(--red-bright) !important; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.callout { box-shadow: 0 24px 80px rgba(0, 0, 0, .3); }
.legal-warning {
  margin: 28px 0;
  padding: 18px 22px;
  border: 1px solid #69501f;
  border-left: 4px solid #e7b563;
  border-radius: 8px;
  background: rgba(231, 181, 99, .08);
  color: #f2d7a8;
  font-weight: 700;
}
.legal-index { grid-template-columns: repeat(2, 1fr); }
.legal-index a { text-decoration: none; }
.legal-index a:hover { border-color: var(--red); }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.check-row { grid-template-columns: auto 1fr; align-items: start; }
.check-row input { width: auto; margin-top: 5px; }

.page-hero { padding-top: 105px; padding-bottom: 72px; }
.page-hero h1 { max-width: 900px; font-size: clamp(42px, 5vw, 66px); }
.page-hero .lead { max-width: 850px; }
.legal { max-width: 840px; }
.legal h2 { margin-top: 46px; font-size: 28px; }
.legal p, .legal li { color: var(--muted); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 7px; color: var(--silver); font-size: 14px; }
label.full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  background: #0a0c0f;
  color: var(--text);
  font: inherit;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 1px solid var(--red-bright); border-color: var(--red-bright); }
.form-note { color: var(--muted); font-size: 14px; }

.site-footer { border-top: 1px solid var(--line); background: #07080a; }
.footer-inner { padding-top: 44px; padding-bottom: 44px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.footer-brand img { width: 190px; }
.footer-brand p { max-width: 520px; color: var(--muted); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; align-content: start; }
.copyright { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); color: #767c84; font-size: 13px; }

@media (max-width: 980px) {
  .nav { display: none; }
  .header-actions .secondary { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { min-height: 360px; }
  .grid.services, .grid.audiences { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .header-inner, .section, .footer-inner { width: min(100% - 30px, var(--max)); }
  .header-inner { flex-wrap: wrap; gap: 6px 16px; padding: 8px 0 10px; }
  .brand img { width: 174px; }
  .nav {
    order: 3;
    display: flex;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding: 6px 0 3px;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: 0 0 auto; white-space: nowrap; }
  .header-actions .button { padding: 9px 12px; font-size: 13px; }
  .hero, .section { padding-top: 68px; padding-bottom: 68px; }
  .hero { gap: 38px; }
  .hero-visual { min-height: 300px; }
  .ecu { inset: 62px 38px; }
  .grid.services, .grid.audiences, .steps, .journey, .split, .form-grid, .footer-inner, .choice-grid, .legal-index, .trust-strip { grid-template-columns: 1fr; }
  .trust-strip { width: min(100% - 30px, var(--max)); margin-top: -20px; }
  .trust-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip div:last-child { border-bottom: 0; }
  .footer-links { grid-template-columns: 1fr; }
  .copyright { grid-column: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .card, .button { transition: transform .2s ease, border-color .2s ease, background .2s ease; }
  .card:hover { transform: translateY(-3px); border-color: #4b5059; }
}
