/* ============================================================
   Wingless — UAV Engineering · shared stylesheet
   ============================================================ */
:root {
  --paper: #EEF1F5;
  --paper-2: #E7EBF1;
  --surface: #FFFFFF;
  --ink: #0B0E14;
  --ink-2: #3A4250;
  --muted: #6A7382;
  --line: #DDE3EC;
  --line-2: #CDD5E0;
  --accent: #1F54E6;
  --accent-deep: #133BB0;
  --accent-soft: #E6EDFF;
  --cyan: #11A8C4;
  --dark: #0C0F16;
  --dark-2: #141925;
  --radius: 6px;
  --radius-lg: 14px;
  --max: 1200px;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --shadow: 0 30px 70px -30px rgba(11, 14, 20, .28);
  --shadow-sm: 0 14px 36px -22px rgba(11, 14, 20, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

/* ---- mono label ---- */
.mono {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.mono.dim { color: var(--muted); }

/* ---- nav ---- */
.nav {
  position: fixed; z-index: 40; top: 0; left: 0; right: 0;
  background: rgba(238, 241, 245, .82);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-color: var(--line); background: rgba(238, 241, 245, .92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 24px; }

.brand { display: inline-flex; align-items: baseline; gap: 9px; }
.brand .wm { font-weight: 800; font-size: 20px; letter-spacing: .26em; text-transform: uppercase; padding-right: .26em; }
.brand .tick { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--accent); transform: translateY(-2px); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-links > a:not(.button), .nav-item > a {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-2); font-weight: 500; transition: color .2s ease;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}
.nav-links > a:not(.button):hover, .nav-item:hover > a, .nav-item:focus-within > a { color: var(--accent); }
.nav-item > a .caret { width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s ease; }
.nav-item:hover > a .caret, .nav-item:focus-within > a .caret { transform: translateY(0) rotate(225deg); }

/* nav dropdown */
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 16px; opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; }
.dropdown .dd { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 8px; min-width: 284px; display: grid; gap: 2px; transform: translateY(6px); transition: transform .2s ease; }
.nav-item:hover .dd, .nav-item:focus-within .dd { transform: translateY(0); }
.dropdown a { display: block; padding: 11px 14px; border-radius: 8px; font-family: var(--sans); text-transform: none; letter-spacing: normal; transition: background .15s ease; }
.dropdown a:hover { background: var(--paper); }
.dropdown a .k { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 5px; white-space: nowrap; }
.dropdown a .t { display: block; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: normal; text-transform: none; color: var(--ink); line-height: 1.2; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; white-space: nowrap;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: var(--accent);
  border: 1px solid var(--accent); border-radius: var(--radius); cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.button:hover { background: var(--accent-deep); border-color: var(--accent-deep); transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(31, 84, 230, .6); }
.button .arr { transition: transform .2s ease; }
.button:hover .arr { transform: translateX(4px); }
.button.ghost { color: var(--ink); background: transparent; border-color: var(--line-2); }
.button.ghost:hover { background: var(--surface); border-color: var(--accent); color: var(--accent); box-shadow: none; }
.nav .button { min-height: 42px; }

@media (max-width: 980px) { .nav-links > a:not(.button), .nav-item:not(.cta-item) { display: none; } }

/* ---- hero ---- */
.hero { position: relative; padding: 168px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(120% 100% at 78% 30%, #000 30%, transparent 76%);
  opacity: .5;
}
.hero .wrap { position: relative; }
.hero-art {
  position: absolute; z-index: 1; pointer-events: none;
  right: -30px; top: 50%; transform: translateY(-50%);
  width: min(58%, 660px); aspect-ratio: 1 / 1;
}
.hero-art svg { width: 100%; height: 100%; overflow: visible; }
.hero-art .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.loaded .hero-art .draw { animation: draw 1.6s cubic-bezier(.45,.05,.2,1) forwards; }
.loaded .hero-art .draw.d2 { animation-delay: .2s; }
.loaded .hero-art .draw.d3 { animation-delay: .4s; }
.loaded .hero-art .draw.d4 { animation-delay: .6s; }
.hero-art .path-flow { stroke-dasharray: 6 9; animation: flow 1.7s linear infinite; }
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { margin: 22px 0 24px; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; }
.hero h1 .em { color: var(--accent); }
.hero-sub { max-width: 560px; color: var(--ink-2); font-size: clamp(17px, 1.6vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes flow { to { stroke-dashoffset: -30; } }
@media (max-width: 980px) { .hero-art { right: -26%; width: 128%; opacity: .3; } .hero-inner { max-width: 100%; } }

/* ---- capability strip ---- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.strip-track { display: flex; width: max-content; animation: marq 38s linear infinite; }
.strip span { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--ink-2); padding: 15px 0; white-space: nowrap; }
.strip i { color: var(--accent); margin: 0 22px; font-style: normal; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---- sections ---- */
section { padding: clamp(72px, 9vw, 120px) 0; }
.head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 60px); }
.head h2 { margin-top: 16px; font-size: clamp(30px, 4vw, 50px); line-height: 1.05; letter-spacing: -.025em; font-weight: 800; }
.head p { margin-top: 18px; color: var(--ink-2); font-size: 18px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1); }
.stagger.visible > * { opacity: 1; transform: none; }
.stagger.visible > *:nth-child(2) { transition-delay: .06s; }
.stagger.visible > *:nth-child(3) { transition-delay: .12s; }
.stagger.visible > *:nth-child(4) { transition-delay: .18s; }
.stagger.visible > *:nth-child(5) { transition-delay: .24s; }
.stagger.visible > *:nth-child(6) { transition-delay: .30s; }
.stagger.visible > *:nth-child(7) { transition-delay: .36s; }

/* ---- Marktbedarf (comparison) ---- */
.bedarf-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 40px; }
.bedarf-head h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.025em; font-weight: 800; }
.bedarf-head p { color: var(--ink-2); font-size: 17px; }
@media (max-width: 880px) { .bedarf-head { grid-template-columns: 1fr; gap: 18px; } }

.compare { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.compare-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.1fr); }
.compare-row + .compare-row { border-top: 1px solid var(--line); }
.compare-row > div { padding: 22px 24px; }
.compare-row .dim { font-weight: 700; font-size: 15.5px; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.compare-row .dim .n { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.compare-row .std { color: var(--muted); font-size: 15px; border-left: 1px solid var(--line); }
.compare-row .wl { color: var(--ink-2); font-size: 15px; background: linear-gradient(90deg, rgba(31,84,230,.05), rgba(31,84,230,.02)); border-left: 2px solid var(--accent); }
.compare-row .wl b { color: var(--ink); font-weight: 700; }
.compare-head { background: var(--paper); }
.compare-head > div { padding: 16px 24px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.compare-head .wl { color: var(--accent); background: var(--accent-soft); border-left: 2px solid var(--accent); }
.compare-head .std { border-left: 1px solid var(--line); }
@media (max-width: 880px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > div { padding: 16px 20px; }
  .compare-row .std, .compare-row .wl { border-left: 0; }
  .compare-row .std::before { content: "Von der Stange — "; color: var(--ink); font-weight: 700; }
  .compare-row .wl::before { content: "Mit Wingless — "; color: var(--accent); font-weight: 700; }
  .compare-row .std { border-top: 1px solid var(--line); }
  .compare-head { display: none; }
}

/* ---- Ablauf timeline ---- */
.timeline { position: relative; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 18px; width: 2px; border-radius: 2px; top: var(--line-top, 19px); pointer-events: none; z-index: 0; }
.timeline::before { height: var(--line-len, calc(100% - 38px)); background: var(--line-2); }
.timeline::after { height: var(--line-fill, 0px); background: var(--accent); transition: height .15s linear; }
.tl { position: relative; padding: 0 0 36px 0; }
.tl:last-child { padding-bottom: 0; }
.tl-head { display: flex; align-items: center; gap: 18px; }
.tl .node {
  position: relative; z-index: 1; flex: 0 0 auto;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--accent);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--accent);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.tl .node.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.tl h3 { font-size: clamp(20px, 2.1vw, 24px); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; transition: color .25s ease; }
.tl p { margin-top: 14px; padding-left: 56px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 74ch; }
.tl:hover .node { background: var(--accent); color: #fff; }
.tl:hover h3 { color: var(--accent); }
@media (max-width: 560px) { .tl p { padding-left: 0; } }


/* ---- use cases (linked tiles) ---- */
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.use {
  display: flex; flex-direction: column; padding: 26px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.use:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.use .tag {
  display: inline-block; align-self: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: var(--accent); background: var(--accent-soft); padding: 6px 10px; border-radius: 4px; margin-bottom: 18px;
}
.use h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.use p { color: var(--muted); font-size: 15px; flex-grow: 1; }
.use .more {
  margin-top: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  color: var(--accent); display: inline-flex; align-items: center; gap: 7px; opacity: .65;
  transition: opacity .25s ease, gap .25s ease;
}
.use:hover .more { opacity: 1; gap: 11px; }

/* ---- vehicles ---- */
.veh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.veh {
  padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.veh:hover { border-color: var(--line-2); transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.veh .frame {
  position: relative; height: 120px; margin-bottom: 20px;
  border: 1px dashed var(--line-2); border-radius: var(--radius);
  background: linear-gradient(var(--paper), var(--surface)); display: grid; place-items: center; overflow: hidden;
}
.veh .frame::before { content: attr(data-id); position: absolute; top: 7px; left: 9px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--muted); }
.veh svg { width: 78%; height: 78%; color: var(--ink); }
.veh:hover svg .hl { color: var(--accent); stroke: var(--accent); }
.veh h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.veh p { color: var(--muted); font-size: 14px; }

/* ---- why (typographic statements w/ substance) ---- */
.why { background: var(--dark); color: #EAEEF6; }
.why .head h2 { color: #fff; }
.why .head p { color: rgba(234, 238, 246, .68); }
.why .mono { color: var(--cyan); }
.why-statements { display: grid; }
.why-line {
  display: grid; grid-template-columns: 84px minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; align-items: start;
  padding: 30px 0; border-top: 1px solid rgba(255,255,255,.1);
}
.why-line:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.why-line .num { font-family: var(--mono); font-size: 28px; font-weight: 700; color: var(--cyan); line-height: 1.1; }
.why-line h3 { font-size: clamp(19px, 2.1vw, 26px); font-weight: 700; line-height: 1.18; letter-spacing: -.02em; color: #fff; }
.why-line p { font-size: 16px; line-height: 1.6; color: rgba(234, 238, 246, .66); }
@media (max-width: 820px) {
  .why-line { grid-template-columns: 52px 1fr; gap: 14px 16px; }
  .why-line p { grid-column: 2; }
}

/* ---- tiers (Einstiegsmodelle) ---- */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: visible; background: var(--surface); }
.tiers > .tier:first-child { border-top-left-radius: var(--radius-lg); border-bottom-left-radius: var(--radius-lg); }
.tiers > .tier:last-child { border-top-right-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); }
.tier { position: relative; padding: 28px 24px; border-right: 1px solid var(--line); transition: background .25s ease; }
.tier:last-child { border-right: 0; }
.tier:hover { background: var(--paper); }
.tier .step-no { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: .1em; }
.tier h3 { font-size: 19px; font-weight: 700; margin: 12px 0 16px; }
.tier ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.tier li { position: relative; padding-left: 18px; color: var(--muted); font-size: 14px; }
.tier li::before { content: "+"; position: absolute; left: 0; top: 1px; color: var(--accent); font-family: var(--mono); }
@media (max-width: 880px) {
  .tiers { grid-template-columns: 1fr; }
  .tier { border-right: 0; border-bottom: 1px solid var(--line); }
  .tier:last-child { border-bottom: 0; }
}

/* ---- contact ---- */
.contact { background: var(--dark); color: #EAEEF6; }
.contact .head h2 { color: #fff; }
.contact .head p { color: rgba(234, 238, 246, .7); }
.contact .mono { color: var(--cyan); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(380px, 1fr); gap: 40px; align-items: start; }
.contact-aside h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.06; letter-spacing: -.025em; font-weight: 800; color: #fff; margin: 16px 0 18px; }
.contact-aside p { color: rgba(234, 238, 246, .72); font-size: 17px; }
.info-card { margin-top: 26px; padding: 22px; background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); }
.info-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.info-card p { font-size: 14.5px; color: rgba(234,238,246,.66); }

form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 26px; background: var(--surface); border-radius: var(--radius-lg); color: var(--ink); }
label { display: grid; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
input, select, textarea {
  width: 100%; min-height: 46px; padding: 12px 13px; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31, 84, 230, .14); }
textarea { min-height: 116px; resize: vertical; line-height: 1.5; }
.wide { grid-column: 1 / -1; }
.form-note { font-family: var(--sans); font-size: 13px; color: var(--muted); text-transform: none; letter-spacing: 0; }
.submit { min-height: 50px; }
.form-status { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--accent-deep); min-height: 18px; }

/* ---- footer ---- */
footer { background: #07090D; color: rgba(234,238,246,.6); padding: 56px 0 40px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-brand .wm { font-weight: 800; font-size: 20px; letter-spacing: .26em; color: #fff; text-transform: uppercase; }
.foot-brand p { margin-top: 16px; max-width: 360px; font-size: 14.5px; color: rgba(234,238,246,.55); }
.foot-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin: 0 0 16px; font-weight: 500; }
.foot-col a { display: block; font-size: 14.5px; color: rgba(234,238,246,.66); margin-bottom: 10px; transition: color .2s ease; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 26px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: rgba(234,238,246,.4); }

/* ============================================================
   Sub-pages (case studies)
   ============================================================ */
.subhero { position: relative; padding: 132px 0 50px; overflow: hidden; }
.subhero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(110% 80% at 18% 0%, #000 28%, transparent 72%); opacity: .5;
}
.subhero .wrap { position: relative; z-index: 1; }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); margin-bottom: 24px; }
.crumb a { color: var(--accent); }
.crumb a:hover { text-decoration: underline; }
.subhero .tag { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 4px; }
.subhero h1 { margin: 18px 0 18px; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; max-width: 20ch; }
.subhero .lead { max-width: 660px; color: var(--ink-2); font-size: clamp(17px, 1.7vw, 21px); }
.subhero .note { margin-top: 22px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--muted); }

/* result headline metrics */
.kpi-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 22px; }
.kpi .v { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; color: var(--accent); line-height: 1; }
.kpi .l { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
@media (max-width: 880px) { .kpi-bar { grid-template-columns: repeat(2, 1fr); } }

.case-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, .56fr); gap: 56px; align-items: start; }
.case-main > section, .case-main { padding: 0; }
.cs-block { padding: 0; margin-bottom: 52px; }
.cs-block:last-child { margin-bottom: 0; }
.cs-block .mono { display: block; margin-bottom: 12px; }
.cs-block h2 { font-size: clamp(23px, 2.6vw, 32px); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; margin: 0 0 18px; }
.cs-block p { color: var(--ink-2); font-size: 17px; line-height: 1.65; margin-bottom: 16px; }
.cs-block p:last-child { margin-bottom: 0; }
.cs-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.cs-list li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.cs-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border: 1.5px solid var(--accent); border-radius: 2px; }
.cs-list li b { color: var(--ink); }

/* phased solution steps */
.cs-steps { display: grid; gap: 14px; margin-top: 20px; }
.cs-step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.cs-step .s { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--accent); }
.cs-step h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.cs-step p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.55; }

/* quote */
.cs-quote { margin-top: 26px; padding: 28px 30px; background: var(--paper); border-left: 3px solid var(--accent); border-radius: var(--radius); }
.cs-quote blockquote { margin: 0; font-size: clamp(19px, 2.1vw, 24px); line-height: 1.4; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.cs-quote .by { margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }

/* ---- editorial: lead paragraph ---- */
.cs-block p.cs-lead { font-size: 19px; line-height: 1.6; color: var(--ink); font-weight: 500; }
.cs-block h3.cs-sub { font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin: 30px 0 12px; }
.cs-block p + h3.cs-sub { margin-top: 34px; }

/* ---- editorial: figure / statistic callout ---- */
.cs-fig { display: grid; grid-template-columns: minmax(96px, auto) 1fr; gap: 24px; align-items: baseline; margin: 26px 0; padding: 24px 26px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); }
.cs-fig .n { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.025em; color: var(--accent); line-height: 1; }
.cs-fig .c { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.cs-fig .c b { color: var(--ink); font-weight: 700; }
.cs-fig .src { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .02em; color: var(--muted); }
@media (max-width: 560px) { .cs-fig { grid-template-columns: 1fr; gap: 8px; } }

/* ---- editorial: source citation inline ---- */
.cs-block cite { font-style: normal; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.cs-note { margin-top: 28px; padding: 18px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.cs-note b { color: var(--ink-2); }

/* sidebar */
.case-aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.spec h3 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; font-weight: 500; }
.spec dl { margin: 0; display: grid; gap: 0; }
.spec .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.spec .row:last-child { border-bottom: 0; }
.spec dt { font-size: 13.5px; color: var(--muted); }
.spec dd { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--ink); text-align: right; }
.aside-cta { background: var(--dark); color: #EAEEF6; border-radius: var(--radius-lg); padding: 26px; }
.aside-cta h3 { font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.aside-cta p { font-size: 14.5px; color: rgba(234,238,246,.7); margin-bottom: 18px; }

.related { border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

@media (max-width: 980px) {
  .case-grid2 { grid-template-columns: 1fr; gap: 36px; }
  .case-aside { position: static; }
  .related-grid { grid-template-columns: 1fr; }
}

/* ---- legal pages ---- */
.legal { max-width: 800px; }
.legal-note { margin: 0 0 36px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line-2); border-left: 3px solid var(--accent); border-radius: var(--radius); font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.legal h2 { font-size: clamp(20px, 2.3vw, 27px); font-weight: 800; letter-spacing: -.02em; margin: 44px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.legal p { color: var(--ink-2); font-size: 16px; line-height: 1.7; margin-bottom: 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin-bottom: 7px; }
.legal a { color: var(--accent); }
.legal .ph { color: var(--accent-deep); background: var(--accent-soft); padding: 1px 7px; border-radius: 4px; font-family: var(--mono); font-size: .85em; }
.legal address { font-style: normal; color: var(--ink-2); line-height: 1.7; }

/* ---- responsive (global) ---- */
@media (max-width: 1080px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .veh-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .tier:nth-child(2) { border-right: 0; }
  .tier:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .kpi-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav-inner { min-height: 62px; }
  .brand .wm { font-size: 17px; letter-spacing: .2em; }
  .nav .button { min-height: 40px; padding: 0 16px; font-size: 11.5px; letter-spacing: .04em; }
  .nav .button .arr { display: none; }
  .brand .tick { display: none; }
  .hero { padding-top: 120px; }
  .use-grid, .veh-grid, form { grid-template-columns: 1fr; }
}
