/* Microdyno — "Prüfstandsblatt" design system (see docs/design/microdyno-design-system.md) */
@import url('fonts/fonts.css');

:root {
  --paper: #fbfbf9;
  --paper-2: #f1f2ee;
  --grid: rgba(39, 87, 214, 0.10);
  --grid-strong: rgba(39, 87, 214, 0.22);
  --ink: #171a20;
  --ink-2: #4b515c;
  --ink-3: #7c828d;
  --rule: #d9dbd6;
  --red: #d9261c;
  --red-deep: #a81c14;
  --blue: #2757d6;
  --amber: #d98b0f;
  --green: #1e9e5a;
  --wire-red: #d9261c;
  --wire-grey: #9aa0aa;
  --display: 'Bricolage Grotesque', 'Archivo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --max: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--display); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); line-height: 1; letter-spacing: -0.02em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(46px, 7.6vw, 96px); font-variation-settings: 'opsz' 96, 'wdth' 88; }
h2 { font-size: clamp(32px, 4.4vw, 56px); font-variation-settings: 'opsz' 60, 'wdth' 90; }
h3 { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; color: var(--ink); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 56ch; line-height: 1.5; }
.small { font-size: 15px; }
.muted { color: var(--ink-2); }
code, .mono { font-family: var(--mono); font-size: 0.92em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(64px, 8vw, 120px) 0; }
section + section { border-top: 2px solid var(--ink); }
.alt { background: var(--paper-2); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); margin-bottom: clamp(36px, 5vw, 64px); align-items: start; }
.section-head .lede { margin-top: 6px; }
.section-head.solo { grid-template-columns: 1fr; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

/* Graph paper ------------------------------------------------------- */
.paper {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
  background-position: -1px -1px;
}

/* Navigation -------------------------------------------------------- */
.nav { background: var(--paper); border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 40; }
.nav .wrap { display: flex; align-items: center; height: 66px; gap: 28px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.nav-links { margin-left: auto; display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--red); text-decoration: none; }
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; }
.lang { display: flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.lang a { padding: 3px 11px; font-size: 13px; font-weight: 700; color: var(--ink); }
.lang a:hover { text-decoration: none; color: var(--ink); }
.lang a.on { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--ink); border-radius: 8px; width: 42px; height: 38px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 66px; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 2px solid var(--ink); padding: 8px 0 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px var(--gutter); width: 100%; font-size: 17px; }
  .nav-links a.btn { width: auto; margin: 8px var(--gutter) 0; }
  .nav-links .lang { margin: 10px var(--gutter) 0; }
  .nav-links .lang a { width: auto; padding: 3px 11px; font-size: 13px; }
}

/* Buttons ----------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1; border: 2px solid var(--ink); color: var(--ink); background: var(--paper); white-space: nowrap; cursor: pointer; }
.btn:hover { text-decoration: none; background: var(--ink); color: var(--paper); }
.btn-primary, .btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover, .btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.btn-ghost { background: var(--paper); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero -------------------------------------------------------------- */
.hero { padding: clamp(56px, 8vw, 120px) 0 clamp(48px, 6vw, 96px); border-bottom: 2px solid var(--ink); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero.single .wrap { display: block; }
.hero.single h1 { font-size: clamp(40px, 6vw, 76px); margin-bottom: 20px; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lede { margin-bottom: 30px; }
.hero.single .lede { margin-bottom: 0; }
.hero-note { margin-top: 20px; color: var(--ink-3); font-size: 15px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; align-items: start; } }

/* Chart on paper */
.chart { position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .axis { stroke: var(--ink); stroke-width: 1.5; }
.chart .tick { fill: var(--ink-2); font: 500 12px var(--mono); }
.chart .ps { stroke: var(--red); fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .nm { stroke: var(--blue); fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .peak { fill: var(--red); }
.chart .peak-label { fill: var(--ink); font: 700 13px var(--mono); }
.chart-caption { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); border-top: 1.5px solid var(--ink); padding-top: 10px; }
.chart-caption b { color: var(--ink); font-weight: 600; }
.chart-caption .r { color: var(--red); } .chart-caption .b { color: var(--blue); } .chart-caption .a { color: var(--amber); }
.draw .ps, .draw .nm { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.6s cubic-bezier(.4,0,.2,1) forwards; }
.draw .nm { animation-delay: .2s; }
.draw .peak, .draw .peak-label { opacity: 0; animation: fadein .4s ease 1.7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .draw .ps, .draw .nm { animation: none; stroke-dashoffset: 0; } .draw .peak, .draw .peak-label { animation: none; opacity: 1; } }

/* Comparison table -------------------------------------------------- */
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 18px 20px 18px 0; border-top: 1.5px solid var(--ink); vertical-align: top; }
.compare thead th { border-top: 0; padding-top: 0; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.01em; }
.compare thead th small { display: block; font-size: 14px; font-weight: 600; margin-top: 6px; }
.compare th.mic small { color: var(--blue); } .compare th.sen small { color: var(--red); }
.compare tbody th { color: var(--ink-3); font-weight: 600; font-size: 14px; width: 160px; padding-top: 22px; }
.compare td { color: var(--ink-2); width: 40%; }
.compare td b { color: var(--ink); font-weight: 700; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 1.5px solid var(--ink); }
@media (max-width: 640px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tbody th { border-top: 1.5px solid var(--ink); padding-bottom: 6px; }
  .compare td { border-top: 0; padding: 6px 0 10px; }
  .compare td::before { content: attr(data-l); display: block; font-size: 13px; font-weight: 700; margin-bottom: 2px; }
  .compare td.mic::before { color: var(--blue); } .compare td.sen::before { color: var(--red); }
  .compare tr:last-child td:last-child { border-bottom: 1.5px solid var(--ink); }
}

/* Feature rail ------------------------------------------------------ */
.rail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 72px); }
.rail-item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; border-top: 1.5px solid var(--ink); }
.rail-item .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.rail-item .ico svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.red { background: var(--red); } .ico.blue { background: var(--blue); } .ico.amber { background: var(--amber); } .ico.green { background: var(--green); } .ico.ink { background: var(--ink); }
.rail-item h3 { margin-bottom: 6px; }
.rail-item p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .rail { grid-template-columns: 1fr; } }

/* Simple feature list (sensor page) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); }
.feature { border-top: 3px solid var(--ink); padding: 20px 0 24px; }
.feature.c-ps, .feature.c-coral { border-color: var(--red); }
.feature.c-nm, .feature.c-teal { border-color: var(--blue); }
.feature.c-rpm { border-color: var(--amber); }
.feature.c-green { border-color: var(--green); }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 800px) { .features { grid-template-columns: 1fr; } }

/* Big numbers ------------------------------------------------------- */
.proof { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.bignums { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.bignum { border-top: 2px solid var(--ink); padding: 18px 0 0; }
.bignum .k { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.bignum .v { font-size: clamp(48px, 6vw, 76px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variation-settings: 'wdth' 85; }
.bignum .v small { font-size: 0.36em; font-weight: 600; margin-left: 6px; color: var(--ink-2); letter-spacing: 0; }
.bignum .s { font-family: var(--mono); font-size: 13px; color: var(--ink-3); margin-top: 10px; }
@media (max-width: 800px) { .proof { grid-template-columns: 1fr; } }

/* Cards: sensors / products ----------------------------------------- */
.sensors, .products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sensor, .product { border: 2px solid var(--ink); border-radius: 18px; padding: clamp(24px, 3vw, 36px); padding-left: clamp(36px, 3vw + 12px, 48px); background: var(--paper); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.sensor .stripe, .product .stripe { position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--ink); }
.sensor.rpm .stripe, .product.rpm .stripe { background: var(--amber); }
.sensor.lambda .stripe, .product.lambda .stripe { background: var(--green); }
.sensor h3, .product h3 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 10px; }
.kicker, .badge { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.sensor p, .product p { color: var(--ink-2); }
.sensor dl, .product dl { margin: 18px 0 0; display: grid; grid-template-columns: 130px 1fr; gap: 8px 14px; font-size: 15px; }
.sensor dt, .product dt { color: var(--ink-3); font-weight: 600; }
.sensor dd, .product dd { margin: 0; color: var(--ink); }
.product .facts { margin: 18px 0 0; padding: 0; list-style: none; }
.product .facts li { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 8px 0; font-size: 15px; color: var(--ink); border-top: 1.5px solid var(--rule); }
.product .facts li b { color: var(--ink-3); font-weight: 600; }
.sensor .actions, .product .actions { margin-top: auto; padding-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) { .sensors, .products { grid-template-columns: 1fr; } }

/* Chapter tiles ----------------------------------------------------- */
.chapters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.chapter-tile { border: 1.5px solid var(--ink); border-radius: 14px; padding: 18px 18px 20px; color: var(--ink); display: block; background: var(--paper); }
.chapter-tile:hover { text-decoration: none; background: var(--ink); color: var(--paper); }
.chapter-tile .n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.chapter-tile:hover .n { color: var(--paper); opacity: .7; }
.chapter-tile .t { display: block; font-weight: 700; font-size: 17px; margin-top: 8px; line-height: 1.25; }
@media (max-width: 900px) { .chapters { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .chapters { grid-template-columns: 1fr; } }

/* FAQ --------------------------------------------------------------- */
.faq { max-width: 780px; }
.faq details { border-top: 1.5px solid var(--ink); }
.faq details:last-child { border-bottom: 1.5px solid var(--ink); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font-weight: 800; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--ink-2); padding-bottom: 20px; }

/* Stores / footer --------------------------------------------------- */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; border: 2px solid var(--ink); border-radius: 14px; color: var(--ink); background: var(--paper); }
.store:hover { text-decoration: none; background: var(--ink); color: var(--paper); }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store .t { display: block; font-size: 12px; opacity: .7; line-height: 1.1; }
.store .n { display: block; font-size: 17px; font-weight: 700; line-height: 1.2; }
footer { border-top: 2px solid var(--ink); padding: 32px 0 48px; font-size: 14px; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer a { color: var(--ink); font-weight: 600; }
footer .spacer { flex: 1; }

/* Guide (manual) ---------------------------------------------------- */
.guide-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 86px; font-size: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: block; padding: 7px 0; color: var(--ink-2); font-weight: 600; border-top: 1.5px solid var(--rule); }
.toc li:first-child a { border-top: 0; }
.toc a::before { content: counter(toc) '  '; font-family: var(--mono); color: var(--ink-3); font-size: 12px; font-weight: 500; }
.toc a:hover, .toc a.on { color: var(--red); text-decoration: none; }
@media (max-width: 860px) { .guide-layout { grid-template-columns: 1fr; } .toc { position: static; border: 1.5px solid var(--ink); border-radius: 14px; padding: 14px 18px; } }
.guide h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 0 0 16px; scroll-margin-top: 90px; }
.guide h3 { margin: 40px 0 10px; scroll-margin-top: 90px; }
.guide h4 { margin: 28px 0 8px; }
.guide .chapter { padding: 0 0 clamp(48px, 6vw, 80px); margin-bottom: clamp(48px, 6vw, 80px); border-bottom: 2px solid var(--ink); }
.guide .chapter:last-child { border-bottom: 0; }
.guide .chapter-num { font-family: var(--mono); font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.guide p, .guide li { color: var(--ink-2); }
.guide ol, .guide ul { padding-left: 22px; margin: 0 0 1em; max-width: 62ch; }
.guide li { margin-bottom: 6px; }
.guide li b, .guide p b { color: var(--ink); font-weight: 700; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; max-width: none; }
.steps > li { counter-increment: step; position: relative; display: block; padding: 16px 0 16px 50px; border-top: 1.5px solid var(--ink); margin: 0; max-width: 66ch; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 16px; font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; width: 32px; height: 32px; display: grid; place-items: center; }
.steps > li:last-child { border-bottom: 1.5px solid var(--ink); }
.steps b { display: block; color: var(--ink); margin-bottom: 4px; font-weight: 700; }
.callout { border-left: 3px solid var(--amber); background: rgba(217, 139, 15, 0.08); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 20px 0; max-width: 64ch; }
.callout.danger { border-color: var(--red); background: rgba(217, 38, 28, 0.08); }
.callout.info { border-color: var(--blue); background: rgba(39, 87, 214, 0.08); }
.callout p { margin: 0; color: var(--ink); font-size: 15.5px; }
.callout p + p { margin-top: 8px; }
.videos { display: flex; gap: 20px; flex-wrap: wrap; margin: 18px 0 8px; }
.videos figure { margin: 0; max-width: 280px; }
.videos video { border: 1.5px solid var(--ink); border-radius: 14px; background: #000; }
.videos figcaption { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0 24px; max-width: 720px; }
.spec th, .spec td { text-align: left; padding: 10px 12px 10px 0; border-top: 1.5px solid var(--ink); vertical-align: top; }
.spec th { color: var(--ink-3); font-weight: 600; width: 190px; }
.spec td { color: var(--ink); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1.5px solid var(--ink); }

/* Wiring diagrams --------------------------------------------------- */
.wiring { background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; padding: 16px; margin: 22px 0; max-width: 760px; }
.wiring.paper { background-color: var(--paper); }
.wiring svg { width: 100%; height: auto; }
.wiring text { font-family: var(--display); font-size: 13px; fill: var(--ink); font-weight: 600; }
.wiring text.k { fill: var(--ink-3); font-size: 11.5px; font-weight: 500; }
.wiring text.m { font-family: var(--mono); font-size: 11px; fill: var(--ink-2); font-weight: 500; }
.wiring .box { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.5; }
.wiring .box-sensor { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.wiring .wire { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.wiring .w-red { stroke: var(--red); }
.wiring .w-black { stroke: var(--ink); }
.wiring .w-halo { stroke: none; }
.wiring .w-ac { stroke: #9aa0aa; }
.wiring .w-lsu { stroke: #5b6270; stroke-width: 9; }
.wiring .pin { fill: var(--ink); }
.wiring .plus { fill: var(--red); font-weight: 800; }
.wiring .minus { fill: var(--ink); font-weight: 800; }
.wiring-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink-2); margin-top: 12px; padding-top: 12px; border-top: 1.5px solid var(--ink); }
.wiring-legend i { display: inline-block; width: 22px; height: 4px; border-radius: 2px; vertical-align: middle; margin-right: 8px; }

/* Lambda state timeline --------------------------------------------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 22px 0; max-width: 760px; border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; }
.timeline > div { padding: 16px 16px 18px; border-left: 1.5px solid var(--ink); }
.timeline > div:first-child { border-left: 0; }
.timeline .st { font-family: var(--mono); font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.timeline .st.standby { color: var(--ink-3); }
.timeline .st.heat { color: var(--amber); }
.timeline .st.meas { color: var(--green); }
.timeline .st.after { color: var(--blue); }
.timeline .st::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 8px; }
.timeline .when { font-size: 13px; color: var(--ink-3); margin-bottom: 4px; font-weight: 600; }
.timeline .what { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 700px) { .timeline { grid-template-columns: 1fr 1fr; } .timeline > div:nth-child(3) { border-left: 0; } .timeline > div:nth-child(n+3) { border-top: 1.5px solid var(--ink); } }
@media (max-width: 420px) { .timeline { grid-template-columns: 1fr; } .timeline > div { border-left: 0; } .timeline > div + div { border-top: 1.5px solid var(--ink); } }

/* LED indicator */
.led { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--green); vertical-align: middle; margin-right: 8px; }
.led.slow { animation: blink 2s steps(1) infinite; }
.led.fast { animation: blink 0.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }
@media (prefers-reduced-motion: reduce) { .led { animation: none; } }

/* Legal ------------------------------------------------------------- */
.legal { max-width: 720px; }
.legal h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin: 36px 0 10px; }
.legal h3 { font-size: 18px; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 22px; }
.legal address { font-style: normal; color: var(--ink); line-height: 1.6; margin-bottom: 1em; }

/* Notify box (shop standby) ----------------------------------------- */
.notify { border: 2px solid var(--ink); border-radius: 18px; padding: clamp(24px, 3vw, 40px); background: var(--paper); max-width: 720px; }
.notify h3 { margin-bottom: 10px; }
