/* POWER TECH S.R.L. — Metropolitana wayfinding system */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  /* Station ground */
  --ground: #e2dfd7;
  --ground-2: #d6d3ca;
  --paper: #fbfaf7;
  --ink: #161616;
  --ink-2: #45443f;
  --ink-3: #5c5a54;
  --rule: #c2beb4;
  --night: #141414;
  --night-2: #1f1f1e;
  --night-ink: #f1efe8;
  --night-ink-2: #b9b6ac;

  /* Lines */
  --red: #e2231a;
  --red-deep: #b5170f;
  --green: #00843d;
  --green-deep: #006a31;
  --yellow: #ffcd00;
  --yellow-deep: #9c7c00;
  --blue: #005fa8;
  --blue-deep: #004a83;
  --lilac: #83529f;
  --lilac-deep: #663d7e;

  --line: var(--red);
  --line-deep: var(--red-deep);
  --on-line: #ffffff;

  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 4px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 112px;
}

body[data-line="green"] { --line: var(--green); --line-deep: var(--green-deep); }
body[data-line="yellow"] { --line: var(--yellow); --line-deep: #6e5700; --on-line: var(--ink); }
body[data-line="blue"] { --line: var(--blue); --line-deep: var(--blue-deep); }
body[data-line="lilac"] { --line: var(--lilac); --line-deep: var(--lilac-deep); }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: var(--ink-3) var(--ground-2);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: lining-nums;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--line); color: var(--on-line); }

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
}
a:hover { text-decoration-color: var(--line); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-line :focus-visible, .band :focus-visible, .site-footer :focus-visible { outline-color: currentColor; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  font-weight: 700;
  border-radius: var(--radius);
}
.skip:focus { top: 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ───────── Icons ───────── */
.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: square; stroke-linejoin: miter; }

/* ───────── Buttons ───────── */
.btn {
  --b-bg: var(--ink);
  --b-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid var(--b-bg);
  border-radius: var(--radius);
  background: var(--b-bg);
  color: var(--b-fg);
  font: 700 1rem/1 var(--font);
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn .i { transition: transform 0.3s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn:hover { --b-bg: var(--line-deep); }
.btn--line { --b-bg: var(--line); --b-fg: var(--on-line); }
.btn--line:hover { --b-bg: var(--line-deep); --b-fg: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { --b-bg: #fff; --b-fg: var(--ink); }
.btn--light:hover { --b-bg: var(--ink); --b-fg: #fff; border-color: var(--ink); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ───────── Header ───────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  margin-right: auto;
  white-space: nowrap;
}
.brand__mark { width: 36px; height: 36px; }
.brand__legal { font-weight: 500; color: var(--ink-3); font-size: 0.8125rem; letter-spacing: 0.02em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.975rem;
  text-decoration: none;
  border-radius: var(--radius);
}
.nav a:hover { background: var(--ground); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
}
.nav .btn { margin-left: 12px; min-height: 44px; padding: 0 18px; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  font: 700 0.95rem/1 var(--font);
  cursor: pointer;
}

/* Signature: the page as a line strip */
.strip {
  height: 40px;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.strip[hidden] { display: none; }
.strip__inner {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}
.strip__track {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: 50%;
  height: 6px;
  margin-top: -3px;
  background: var(--ground-2);
  border-radius: 3px;
  overflow: hidden;
}
.strip__progress {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--line);
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
}
.strip__stops {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.strip__stop a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
}
.strip__stop a::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--ground-2);
  box-sizing: border-box;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.strip__stop a span { background: var(--paper); padding-right: 6px; }
.strip__stop.is-passed a::before { border-color: var(--line); }
.strip__stop.is-current a { color: var(--ink); }
.strip__stop.is-current a::before { border-color: var(--ink); background: var(--line); transform: scale(1.35); }
.strip__stop a:hover { color: var(--ink); }
.strip__here {
  display: none;
  position: absolute;
  right: var(--gutter);
  background: var(--paper);
  padding-left: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
}

/* ───────── Station band ───────── */
.band {
  position: relative;
  background: var(--line);
  color: var(--on-line);
  overflow: hidden;
}
.band__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: clamp(140px, 15vw, 200px);
  padding-block: clamp(24px, 3vw, 36px);
}
.band__name {
  font-size: clamp(2.75rem, 9.4vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.band__side {
  flex: none;
  text-align: right;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.4;
  padding-bottom: 6px;
}
.band__side .band__mark { width: 56px; height: 56px; margin: 0 0 12px auto; }
.band::after {
  /* the continuous rule running under a Milan station band */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 10px;
  background: rgb(0 0 0 / 0.16);
}
.band--tri { background: var(--red); padding-bottom: 28px; }
.band--tri::after {
  height: 28px;
  background: linear-gradient(var(--green) 0 50%, var(--yellow) 50% 100%);
}

/* ───────── Sections ───────── */
.section { padding-block: clamp(72px, 10vw, 136px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--paper { background: var(--paper); }
.section--night { background: var(--night); color: var(--night-ink); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head p { margin-top: 20px; font-size: 1.1875rem; color: var(--ink-2); max-width: 62ch; }
.section--night .section__head p { color: var(--night-ink-2); }
.lede { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.5; color: var(--ink-2); max-width: 58ch; }

/* ───────── Home hero ───────── */
.hero {
  padding-block: clamp(36px, 4.5vw, 64px) clamp(64px, 8vw, 112px);
  /* Metro wall: square ceramic tiles, grouted */
  background-color: var(--ground);
  background-image:
    linear-gradient(to right, #d2cec4 1px, transparent 1px),
    linear-gradient(to bottom, #d2cec4 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.125rem, 3.2vw, 2.875rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero__title em { font-style: normal; color: var(--red); }
.hero .lede { margin-top: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.netmap { width: 100%; height: auto; overflow: visible; }
.netmap--v { display: none; }
.netmap text { font-family: var(--font); fill: var(--ink); }
.netmap .lbl-station { font-size: 17px; font-weight: 700; }
.netmap .lbl-sub { font-size: 13px; font-weight: 500; fill: var(--ink-3); }
.netmap .lbl-term { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.netmap .trk { fill: none; stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.netmap .trk--case { stroke: var(--yellow-deep); stroke-width: 17; }
.netmap .xchg { fill: #fff; stroke: var(--ink); stroke-width: 4; }
.netmap .stop { fill: #fff; stroke: var(--ink); stroke-width: 4; }
.netmap .train { fill: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .js .netmap .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .netmap.is-live .draw { animation: draw 1.6s var(--ease) forwards; }
  .js .netmap.is-live .draw.d2 { animation-delay: 0.18s; }
  .js .netmap.is-live .draw.d3 { animation-delay: 0.36s; }
  .js .netmap .pop { opacity: 0; transform: scale(0.6); transform-box: fill-box; transform-origin: center; }
  .js .netmap.is-live .pop { animation: pop 0.6s var(--ease) forwards; animation-delay: calc(0.7s + var(--i, 0) * 0.09s); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; transform: none; } }

/* ───────── Lines (product bands) ───────── */
.lines { display: grid; }
.line {
  --lc: var(--red);
  --lc-deep: var(--red-deep);
  --lfg: #fff;
  --lfg-2: rgb(255 255 255 / 0.86);
  background: var(--lc);
  color: var(--lfg);
  position: relative;
}
.line--green { --lc: var(--green); --lc-deep: var(--green-deep); }
.line--lilac { --lc: var(--lilac); --lc-deep: var(--lilac-deep); }
.line--yellow { --lc: var(--yellow); --lc-deep: var(--yellow-deep); --lfg: var(--ink); --lfg-2: #3b3200; }
.line__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 80px);
  padding-block: clamp(48px, 6vw, 88px);
  align-items: start;
}
.line__id { display: flex; align-items: flex-start; gap: 20px; }
.roundel {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: var(--lfg);
  color: var(--lc);
  font-weight: 800;
  font-size: 2.125rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.line--yellow .roundel { color: var(--yellow); }
.app-icon {
  flex: none;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  border: 3px solid rgb(255 255 255 / 0.92);
  box-shadow: 0 10px 24px -12px rgb(0 0 0 / 0.45);
}
.line--yellow .app-icon { border-color: var(--ink); }
.line__name {
  font-size: clamp(2.75rem, 6.6vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.line__genre { margin-top: 12px; font-weight: 600; font-size: 1.0625rem; color: var(--lfg-2); }
.line__body p { font-size: 1.1875rem; line-height: 1.5; max-width: 52ch; }
.line__body .more { margin-top: 28px; }
.line a.link-arrow { color: var(--lfg); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 3px;
}
.link-arrow .i { transition: transform 0.3s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* Horizontal stop strip used inside lines */
.stops {
  --sc: currentColor;
  display: flex;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  position: relative;
}
.stops::before {
  content: "";
  position: absolute;
  left: 9px; right: 9px; top: 7px;
  height: 6px;
  background: var(--sc);
  border-radius: 3px;
  opacity: 0.9;
}
.stops li {
  position: relative;
  flex: 1;
  padding-top: 30px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
}
.stops li:last-child { flex: 0 0 auto; text-align: right; }
.stops li::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--lc, #fff);
  border: 4px solid var(--sc);
  box-sizing: border-box;
}
.stops li:last-child::before { left: auto; right: 0; }
.stops li small { display: block; font-weight: 500; font-size: 0.8125rem; opacity: 0.82; margin-top: 2px; }

/* ───────── Route (stepped model diagram) ───────── */
.route {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}
.route::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  right: 0;
  height: 10px;
  background:
    linear-gradient(var(--red) 0 33.4%, var(--green) 33.4% 66.7%, var(--yellow) 66.7% 100%);
  border-radius: 5px;
}
.route li { position: relative; padding: 68px 28px 0 0; }
.route li::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 46px; height: 46px;
  border-radius: 23px;
  background: #fff;
  border: 5px solid var(--ink);
  box-sizing: border-box;
}
.section--night .route li::before { background: var(--night-ink); border-color: var(--night-ink); box-shadow: inset 0 0 0 5px var(--night); }
.route h3 { margin-bottom: 12px; }
.route p { color: var(--ink-2); font-size: 1rem; max-width: 34ch; }
.section--night .route p { color: var(--night-ink-2); }

/* ───────── Registry plate ───────── */
.plate {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.plate__sign {
  background: var(--blue);
  color: #fff;
  border-radius: 6px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 18px 40px -18px rgb(0 40 80 / 0.55), 0 2px 6px rgb(0 0 0 / 0.12);
}
.plate__sign .brand__mark { width: 48px; height: 48px; margin-bottom: 28px; }
.plate__sign h3 { font-size: clamp(1.75rem, 3vw, 2.375rem); letter-spacing: -0.03em; }
.plate__sign dl { margin: 28px 0 0; display: grid; gap: 0; }
.plate__sign dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgb(255 255 255 / 0.28);
}
.plate__sign dt { font-size: 0.875rem; font-weight: 600; color: rgb(255 255 255 / 0.8); }
.plate__sign dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }

/* ───────── Closing band ───────── */
.closing {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.closing__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-block: clamp(56px, 8vw, 104px);
}
.closing h2 { font-size: clamp(2.25rem, 5.4vw, 4.5rem); max-width: 16ch; }
.closing h2 span { color: var(--yellow); font-size: inherit; line-height: inherit; }
.closing p { margin-top: 16px; color: #c9c6bd; font-size: 1.125rem; max-width: 46ch; }
.closing__rail {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 16px;
  background: linear-gradient(90deg, var(--red) 0 33.4%, var(--green) 33.4% 66.7%, var(--yellow) 66.7% 100%);
}

/* ───────── Products page ───────── */
.product { scroll-margin-top: calc(var(--header-h) + 8px); }
.product__head {
  background: var(--lc);
  color: var(--lfg);
}
.product__head .line__inner { align-items: end; }
.product__body { padding-block: clamp(56px, 7vw, 96px); }
.product__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 24px; padding: 20px 0; border-top: 1px solid var(--rule); }
.facts div:last-child { border-bottom: 1px solid var(--rule); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--ink-2); }

.journey { margin-top: 48px; }
.journey h3 { margin-bottom: 8px; }
.journey > p { color: var(--ink-2); }
.vstops {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  position: relative;
}
.vstops::before {
  content: "";
  position: absolute;
  left: 11px; top: 12px; bottom: 12px;
  width: 8px;
  border-radius: 4px;
  background: var(--lc);
}
.line--yellow .vstops::before { box-shadow: 0 0 0 1.5px var(--yellow-deep); }
.vstops li { position: relative; padding: 0 0 26px 52px; }
.vstops li:last-child { padding-bottom: 0; }
.vstops li::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--ink);
  box-sizing: border-box;
}
.vstops strong { display: block; font-size: 1.125rem; line-height: 30px; }
.vstops span { display: block; color: var(--ink-2); max-width: 46ch; }

/* Illustrative device screens */
.screen {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.device {
  width: min(100%, 320px);
  margin-inline: auto;
  aspect-ratio: 9 / 18.5;
  border-radius: 28px;
  background: var(--night);
  padding: 10px;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.12);
}
.device__screen {
  position: relative;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  line-height: 1.35;
}
.caption { margin-top: 16px; text-align: center; font-size: 0.8125rem; color: var(--ink-3); }

.scr-reel { background: #2a0907; color: #fff; }
.scr-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scr-reel__frame > :not(.scr-fill) { position: relative; }
.scr-reel__frame::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgb(20 4 3 / 0.85)); }
.scr-reel__frame > span { z-index: 1; }
.scr-reel__frame {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #5a100b;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  gap: 8px;
}
.scr-reel__ep { font-weight: 700; font-size: 12px; letter-spacing: 0.02em; color: #ffd9d6; }
.scr-reel__title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.scr-reel__bar { height: 4px; border-radius: 2px; background: rgb(255 255 255 / 0.25); overflow: hidden; }
.scr-reel__bar i { display: block; height: 100%; width: 72%; background: var(--red); }
.scr-reel__gate { background: #fff; color: var(--ink); padding: 16px; display: grid; gap: 8px; }
.scr-reel__gate b { font-size: 15px; }
.scr-btn { display: block; text-align: center; padding: 11px; border-radius: 8px; font-weight: 700; font-size: 13px; }
.scr-btn--red { background: var(--red); color: #fff; }
.scr-btn--line { border: 1.5px solid var(--ink); }

.scr-sweep { background: #f4f7f5; color: var(--ink); padding: 22px 18px; gap: 16px; }
.scr-sweep__ring { width: 150px; height: 150px; margin: 8px auto 0; }
.scr-sweep__ring text { font-family: var(--font); }
.scr-sweep__rows { display: grid; gap: 10px; }
.scr-sweep__row { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 10px; padding: 11px 12px; font-weight: 600; }
.scr-sweep__row span:last-child { font-variant-numeric: tabular-nums; color: var(--ink-3); }
.scr-btn--green { background: var(--green); color: #fff; margin-top: auto; }

.scr-learn { background: #fffbea; color: var(--ink); padding: 22px 18px; gap: 14px; }
.scr-learn__top { display: flex; justify-content: space-between; font-weight: 700; font-size: 12px; }
.scr-learn__video { aspect-ratio: 16/10; border-radius: 12px; background: var(--ink); position: relative; display: grid; place-items: center; overflow: hidden; }
.scr-learn__video::after { content: ""; position: relative; z-index: 1; width: 46px; height: 46px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 46'%3E%3Ccircle cx='23' cy='23' r='23' fill='%23161616' fill-opacity='.85'/%3E%3Cpath d='M18 13l14 10-14 10z' fill='%23ffcd00'/%3E%3C/svg%3E") no-repeat center / contain; }
.scr-learn__q { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.scr-learn__opt { background: #fff; border: 1.5px solid #e6dfc2; border-radius: 10px; padding: 10px 12px; font-weight: 600; }
.scr-learn__opt.is-right { border-color: var(--ink); background: var(--yellow); }

/* ───────── Model page ───────── */
.station {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 5vw, 80px);
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--rule);
}
.station:first-of-type { border-top: 0; }
.station__name { display: flex; align-items: center; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.station__name::before {
  content: "";
  flex: none;
  width: 40px; height: 40px;
  border-radius: 20px;
  background: #fff;
  border: 6px solid var(--ink);
  box-sizing: border-box;
}
.station__name h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.station__body > p { font-size: 1.1875rem; max-width: 60ch; color: var(--ink-2); }
.station__body > p + p { margin-top: 16px; }
.ticks { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 62ch; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; }
.ticks .i { margin-top: 3px; color: var(--line-deep); }
.ticks b { display: block; }

.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border-top: 2px solid var(--night-ink);
}
.partners > div { padding: 28px 28px 28px 0; border-bottom: 1px solid #3a3a38; }
.partners h3 { font-size: 1.375rem; margin-bottom: 10px; }
.partners p { color: var(--night-ink-2); font-size: 1rem; }

/* ───────── Company page ───────── */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose-lg p { font-size: 1.1875rem; color: var(--ink-2); max-width: 62ch; }
.prose-lg p + p { margin-top: 18px; }
.principles { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.principles li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid var(--rule); }
.principles li:last-child { border-bottom: 1px solid var(--rule); }
.principles .dot { width: 28px; height: 28px; border-radius: 50%; margin-top: 4px; }
.principles h3 { font-size: 1.375rem; margin-bottom: 8px; }
.principles p { color: var(--ink-2); max-width: 58ch; }

/* ───────── Forms ───────── */
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 700; font-size: 0.9375rem; }
.field .opt { font-weight: 500; color: var(--ink-3); }
.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid #b9b6ab;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: 500 1rem/1.4 var(--font);
  caret-color: var(--line);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.textarea { min-height: 160px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.input::placeholder, .textarea::placeholder { color: #75736b; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--line) 35%, transparent); }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--red-deep); }
.field__error { display: none; color: var(--red-deep); font-size: 0.875rem; font-weight: 600; }
.field.is-invalid .field__error { display: flex; gap: 6px; align-items: center; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 0.9375rem; color: var(--ink-2); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.form__status { display: none; padding: 16px 18px; border-radius: var(--radius); background: #e4f2ea; color: #0b3d22; font-weight: 600; }
.form__status.is-shown { display: block; }
.form__note { font-size: 0.875rem; color: var(--ink-3); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.panel { background: var(--paper); border-radius: 6px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 12px 32px -18px rgb(0 0 0 / 0.25); }
.direct { display: grid; gap: 0; margin: 0; }
.direct div { padding: 18px 0; border-top: 1px solid var(--rule); }
.direct div:first-child { border-top: 0; padding-top: 0; }
.direct dt { font-size: 0.875rem; font-weight: 700; color: var(--ink-3); margin-bottom: 4px; }
.direct dd { margin: 0; font-weight: 600; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.direct dd a { text-decoration-color: var(--rule); }

/* ───────── Legal / Read mode ───────── */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(48px, 6vw, 88px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc__title { font-weight: 800; font-size: 0.9375rem; margin-bottom: 16px; }
.toc ol { margin: 0; padding: 0; list-style: none; position: relative; }
.toc ol::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 4px; background: var(--ground-2); border-radius: 2px; }
.toc li a {
  position: relative;
  display: block;
  padding: 7px 0 7px 30px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-2);
  line-height: 1.35;
}
.toc li a::before { content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; border-radius: 50%; background: var(--ground); border: 4px solid #c3c0b6; box-sizing: border-box; transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease); }
.toc li a:hover { color: var(--ink); }
.toc li a.is-current { color: var(--ink); font-weight: 700; }
.toc li a.is-current::before { border-color: var(--ink); background: var(--blue); }
.toc li a.is-passed::before { border-color: var(--blue); }

.prose { max-width: 70ch; }
.prose .meta { color: var(--ink-3); font-size: 0.9375rem; margin-bottom: 32px; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 56px 0 16px; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: 1.1875rem; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 14px 0; display: grid; gap: 8px; }
.prose li::marker { color: var(--blue); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose a { color: var(--blue-deep); }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--ink); }
.prose td { color: var(--ink-2); }
.table-scroll { overflow-x: auto; }
.callout { background: var(--paper); border-radius: 6px; padding: 20px 22px; margin: 20px 0; box-shadow: 0 1px 2px rgb(0 0 0 / 0.06); }
.callout p { color: var(--ink); }
.ph { background: #fff2b3; color: #3b3200; padding: 0 4px; border-radius: 3px; font-weight: 600; }

/* ───────── Footer ───────── */
.site-footer { background: var(--night); color: var(--night-ink); }
.site-footer__rail { height: 16px; background: linear-gradient(90deg, var(--red) 0 20%, var(--green) 20% 40%, var(--yellow) 40% 60%, var(--lilac) 60% 80%, var(--blue) 80% 100%); }
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr));
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(56px, 7vw, 88px) 40px;
}
.site-footer .brand { color: #fff; }
.site-footer__company { margin-top: 20px; color: var(--night-ink-2); font-size: 0.9375rem; line-height: 1.7; font-variant-numeric: tabular-nums; }
.site-footer h2 { font-size: 0.9375rem; letter-spacing: 0; font-weight: 700; margin-bottom: 14px; color: #fff; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.site-footer li a, .site-footer li button {
  display: inline-block;
  padding: 5px 0;
  color: var(--night-ink-2);
  text-decoration: none;
  font: 500 0.9375rem/1.4 var(--font);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.site-footer li a:hover, .site-footer li button:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--yellow); }
.site-footer__base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 24px 32px;
  border-top: 1px solid #333330;
  font-size: 0.8125rem;
  color: #9d9a90;
}
.dot-red { background: var(--red); }
.dot-green { background: var(--green); }
.dot-yellow { background: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--yellow-deep); }
.dot-blue { background: var(--blue); }
.dot-lilac { background: var(--lilac); }

/* ───────── Marketing ───────── */
.channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.channel { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 32px 32px 32px 0; border-bottom: 1px solid var(--rule); }
.channel:nth-child(odd) { border-right: 1px solid var(--rule); }
.channel:nth-child(even) { padding-left: 32px; }
.channel .roundel { background: var(--lilac); color: #fff; font-size: 1.25rem; letter-spacing: -0.02em; }
.channel h3 { margin-bottom: 8px; }
.channel p { color: var(--ink-2); }
.channel ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.channel li { font-size: 0.8125rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--ground-2); }

.loop { margin: 0; padding: 0; list-style: none; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.loop::before { content: ""; position: absolute; top: 18px; left: 18px; right: 18px; height: 10px; border-radius: 5px; background: var(--lilac); }
.loop li { position: relative; padding: 68px 24px 0 0; }
.loop li::before { content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 23px; background: #fff; border: 5px solid var(--ink); box-sizing: border-box; }
.loop li:last-child::before { background: var(--lilac); }
.loop h3 { font-size: 1.375rem; margin-bottom: 10px; }
.loop p { color: var(--ink-2); font-size: 0.975rem; }
.loop-return { display: flex; align-items: center; gap: 12px; margin-top: 36px; font-weight: 700; color: var(--lilac-deep); }
.loop-return svg { width: 72px; height: 28px; }
.section--night .loop li::before { background: var(--night-ink); border-color: var(--night-ink); box-shadow: inset 0 0 0 5px var(--night); }
.section--night .loop li:last-child::before { background: var(--lilac); }
.section--night .loop p { color: var(--night-ink-2); }

.console { background: var(--night); color: var(--night-ink); border-radius: 8px; overflow: hidden; box-shadow: 0 40px 70px -40px rgb(0 0 0 / 0.6); font-size: 0.875rem; }
.console__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #333330; font-weight: 700; }
.console__bar span:last-child { font-weight: 500; color: var(--night-ink-2); font-size: 0.8125rem; }
.console table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.console th, .console td { text-align: left; padding: 11px 18px; border-bottom: 1px solid #2a2a28; white-space: nowrap; }
.console th { font-weight: 600; color: var(--night-ink-2); font-size: 0.8125rem; }
.console td.num, .console th.num { text-align: right; }
.console .src { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.console .src i { width: 10px; height: 10px; border-radius: 50%; background: var(--lilac); }
.console .up { color: #7fd6a2; }
.console .hold { color: var(--yellow); }
.console__foot { padding: 12px 18px; color: #8f8c83; font-size: 0.75rem; }
.console-wrap { overflow-x: auto; }
@media (max-width: 960px) {
  .channels { grid-template-columns: 1fr; }
  .channel:nth-child(odd) { border-right: 0; }
  .channel:nth-child(even) { padding-left: 0; }
  .loop { grid-template-columns: 1fr; row-gap: 28px; }
  .loop::before { top: 18px; bottom: 18px; left: 18px; right: auto; width: 10px; height: auto; }
  .loop li { padding: 4px 0 0 72px; }
}

/* ───────── Cookie consent ───────── */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  max-width: 620px;
  margin-left: auto;
  background: var(--night);
  color: var(--night-ink);
  border-radius: 8px;
  box-shadow: 0 24px 60px -20px rgb(0 0 0 / 0.55), 0 4px 12px rgb(0 0 0 / 0.2);
  overflow: hidden;
}
.consent[hidden] { display: none; }
.consent__rail { height: 6px; background: var(--blue); }
.consent__body { padding: 22px 24px 24px; }
.consent h2 { font-size: 1.25rem; letter-spacing: -0.015em; margin-bottom: 8px; color: #fff; }
.consent p { font-size: 0.9375rem; color: var(--night-ink-2); }
.consent p a { color: #fff; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.consent__actions .btn { min-height: 46px; padding: 0 18px; flex: 1 1 auto; justify-content: center; }
.consent .btn--ghost { color: #fff; border-color: #6d6a62; }
.consent .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.consent__prefs { display: grid; gap: 0; margin-top: 16px; }
.consent__prefs[hidden] { display: none; }
.pref { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid #333330; }
.pref b { display: block; color: #fff; font-size: 0.9375rem; }
.pref span { font-size: 0.8125rem; color: var(--night-ink-2); }
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 14px; background: #4a4843; transition: background-color 0.2s var(--ease); }
.switch i::after { content: ""; position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.25s var(--ease); }
.switch input:checked + i { background: var(--green); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:disabled + i { opacity: 0.6; }
.switch input:focus-visible + i { outline: 3px solid #fff; outline-offset: 2px; }

/* ───────── 404 ───────── */
.lost { min-height: 60vh; display: grid; align-content: center; gap: 24px; padding-block: 96px; }
.lost h1 { font-size: clamp(2.5rem, 7vw, 5rem); letter-spacing: -0.035em; max-width: 14ch; }

/* ───────── Responsive ───────── */
@media (max-width: 1080px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 104px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 24px 40px -24px rgb(0 0 0 / 0.35);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 0; font-size: 1.25rem; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .nav a:hover { background: none; }
  .nav a[aria-current="page"]::after { left: auto; right: 0; top: 50%; bottom: auto; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; }
  .nav .btn { margin: 20px 0 0; justify-content: center; border-bottom: 0; border-radius: var(--radius); min-height: 52px; }
  .brand__legal { display: none; }
  .strip { height: 32px; }
  .strip__stop a span { display: none; }
  .strip__here { display: block; }
  .strip__stops { width: auto; gap: 18px; }

  .hero__grid, .plate, .split, .product__grid, .contact-grid, .station { grid-template-columns: 1fr; }
  .netmap--h { display: none; }
  .netmap--v { display: block; max-width: 460px; margin-inline: auto; }
  .line__inner { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .route::before { display: none; }
  .route li { padding-top: 64px; }
  .route li::after { content: ""; position: absolute; top: 18px; left: 40px; right: 0; height: 10px; border-radius: 5px; background: var(--route-c, var(--red)); }
  .route li:nth-child(2) { --route-c: var(--green); }
  .route li:nth-child(3) { --route-c: var(--yellow); }
  .route li:nth-child(4) { --route-c: var(--blue); }
  .screen { position: static; }
  .station__name { position: static; }
  .legal { grid-template-columns: 1fr; }
  .toc { position: static; background: var(--paper); border-radius: 6px; padding: 20px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand { font-size: 1rem; }
  .band__inner { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .band__side { text-align: left; display: flex; align-items: center; gap: 12px; }
  .band__side .band__mark { margin: 0; width: 40px; height: 40px; }
  .form__row { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 6px; }
  .route { grid-template-columns: 1fr; }
  .stops { flex-direction: column; gap: 18px; }
  .stops::before { left: 7px; right: auto; top: 10px; bottom: 10px; width: 6px; height: auto; }
  .stops li, .stops li:last-child { padding: 0 0 0 36px; text-align: left; flex: none; }
  .stops li::before, .stops li:last-child::before { left: 0; right: auto; top: 1px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .consent { left: 8px; right: 8px; bottom: 8px; }
  .consent__actions .btn { flex: 1 1 100%; }
  .plate__sign dl div { flex-direction: column; gap: 2px; }
  .plate__sign dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-header, .consent, .site-footer, .closing, .toc { display: none !important; }
  body { background: #fff; }
  .band { background: none !important; color: #000; }
  .legal { display: block; }
}
