/* Tappa tutvustusleht. Tume sinakas stiil: klaasist kaardid, monospace-sildid, üks hele aktsent.
   Peatuste värvid tulevad rakendusest: korje sinine, mahalaadimine roheline, praam ja paus merevaik. */

@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #04070d;
  --bg-2: #080d18;
  --surface: rgba(17, 26, 43, 0.72);
  --surface-solid: #0e1626;
  --raised: #152036;
  --line: rgba(160, 185, 235, 0.15);
  --line-strong: rgba(160, 185, 235, 0.3);
  --text: #eaf0fb;
  --muted: #a6b3cb;
  --faint: #8d9ab4;
  --ice: #b9d0ff;
  --pickup: #7aa7ff;
  --delivery: #4cc985;
  --pause: #f2a43a;
  --danger: #ff8272;
  --pickup-soft: rgba(122, 167, 255, 0.16);
  --delivery-soft: rgba(76, 201, 133, 0.16);
  --pause-soft: rgba(242, 164, 58, 0.16);
  --danger-soft: rgba(255, 130, 114, 0.16);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --radius: 20px;
  --radius-sm: 12px;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gut: clamp(16px, 4vw, 32px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 860px; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: #fff; color: #05080f; padding: 10px 16px; border-radius: 999px; font-weight: 600; transition: top 0.15s var(--ease); }
.skip:focus { top: 12px; }

.ico { width: 18px; height: 18px; flex: none; }
.label { font-family: var(--mono); font-size: 0.75rem; line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.faint { color: var(--faint); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--delivery); box-shadow: 0 0 0 0 rgba(76, 201, 133, 0.6); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(76, 201, 133, 0); } 100% { box-shadow: 0 0 0 0 rgba(76, 201, 133, 0); } }

/* Nupud */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 500; font-size: 1rem; text-decoration: none; line-height: 1; transition: transform 0.16s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.2s; }
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.btn-light { background: #f3f6fc; color: #060b15; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 10px 40px -8px rgba(185, 208, 255, 0.45); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: var(--line); }
@media (hover: hover) and (pointer: fine) {
  .btn-light:hover { background: #fff; box-shadow: 0 0 0 1px #fff, 0 12px 48px -6px rgba(185, 208, 255, 0.65); }
  .btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: var(--line-strong); }
}

/* Navigatsioon */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(4, 7, 13, 0.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; justify-self: start; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #0f172a; border: 1px solid var(--line-strong); color: #fff; }
.brand-mark svg { width: 17px; height: 17px; }
.brand-name { font-weight: 600; letter-spacing: 0.34em; font-size: 0.9375rem; }
.nav-links { display: flex; gap: clamp(18px, 3vw, 36px); }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9375rem; padding: 10px 2px; transition: color 0.15s; }
@media (hover: hover) { .nav-links a:hover { color: #fff; } }
.nav-cta { display: flex; align-items: center; gap: 10px; justify-self: end; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu-bars, .menu-bars::before { display: block; width: 16px; height: 2px; background: var(--text); border-radius: 2px; position: relative; }
.menu-bars::before { content: ""; position: absolute; top: -5px; }
.menu-panel { position: absolute; right: 0; top: 52px; width: min(280px, 82vw); display: grid; padding: 8px; background: rgba(12, 19, 33, 0.97); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.8); }
.menu-panel a { padding: 14px 14px; text-decoration: none; border-radius: 8px; }
@media (hover: hover) { .menu-panel a:hover { background: rgba(255, 255, 255, 0.06); } }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-in { grid-template-columns: 1fr auto; }
  .menu { display: block; }
}

/* Hero */
.hero { position: relative; padding: clamp(24px, 5vw, 56px) 0 clamp(60px, 8vw, 120px); overflow: hidden; isolation: isolate; text-align: center; }
.hero-glow { position: absolute; inset: -10% -10% auto -10%; height: 760px; z-index: -2; background: radial-gradient(60% 55% at 50% 18%, rgba(110, 150, 255, 0.28), transparent 70%), radial-gradient(35% 30% at 50% 0%, rgba(185, 208, 255, 0.2), transparent 75%); pointer-events: none; }
.hero-floor { position: absolute; left: 50%; bottom: 0; width: 220%; height: 62%; translate: -50% 0; z-index: -1; background:
  radial-gradient(60% 100% at 50% 0%, rgba(150, 175, 235, 0.14), transparent 70%),
  repeating-linear-gradient(90deg, rgba(150, 175, 235, 0.07) 0 1px, transparent 1px 64px),
  repeating-linear-gradient(0deg, rgba(150, 175, 235, 0.07) 0 1px, transparent 1px 64px);
  transform: perspective(520px) rotateX(62deg); transform-origin: 50% 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 55%, transparent 100%); opacity: 0.8; pointer-events: none; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 200px; z-index: -1; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.hero-in { display: flex; flex-direction: column; align-items: center; }
.hero-art { width: min(100%, 1040px); height: auto; overflow: visible; margin-bottom: -4px; }
.art-flow { animation: flow 3.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -400; } }
h1 { font-size: clamp(2.5rem, 7.4vw, 5.5rem); line-height: 1; letter-spacing: -0.04em; font-weight: 500; max-width: 14ch; text-wrap: balance; margin-top: 8px; }
.grad { background: linear-gradient(180deg, #f2f6ff 10%, #8fb0ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 640px; margin-top: 28px; color: var(--muted); font-size: clamp(1.0625rem, 2vw, 1.25rem); line-height: 1.6; text-wrap: pretty; }
.hero-live { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.875rem; color: var(--ice); }
.hero-live a { text-underline-offset: 4px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* Kaardid */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--muted); white-space: nowrap; }
.chip-ok { color: #8fe3b4; border-color: rgba(76, 201, 133, 0.35); background: var(--delivery-soft); }
.chip-warn { color: #f6c27a; border-color: rgba(242, 164, 58, 0.4); background: var(--pause-soft); }
.chip-bad { color: var(--danger); border-color: rgba(255, 130, 114, 0.45); background: var(--danger-soft); }

/* Plaanikaart */
.plan { width: min(100%, 560px); margin-top: clamp(48px, 7vw, 88px); text-align: left; padding: 6px; }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px 12px; }
.plan-body { display: grid; gap: 14px; padding: 4px 12px 12px; }
.plan-field { display: grid; gap: 8px; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); translate: 0 -70%; rotate: 45deg; pointer-events: none; }
.select { appearance: none; width: 100%; min-height: 52px; padding: 0 44px 0 16px; background: rgba(5, 9, 17, 0.6); border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--mono); font-size: 0.9375rem; transition: border-color 0.2s; }
.select:focus-visible { outline-offset: 2px; }
@media (hover: hover) { .select:hover { border-color: var(--line-strong); } }
.select option { background: #0e1626; color: var(--text); }
.plan-orders { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.plan-orders legend { padding: 0 0 8px; }
.order { position: relative; display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 14px; background: rgba(5, 9, 17, 0.5); border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color 0.2s, background-color 0.2s, transform 0.16s var(--ease); }
.order:active { transform: scale(0.99); }
.order input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.order-box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--faint); display: grid; place-items: center; transition: background-color 0.15s, border-color 0.15s; }
.order-box::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #04070d; border-bottom: 2px solid #04070d; rotate: -45deg; translate: 0 -1px; scale: 0; transition: scale 0.15s var(--ease); }
.order input:checked ~ .order-box { background: var(--pickup); border-color: var(--pickup); }
.order input:checked ~ .order-box::after { scale: 1; }
.order:has(input:checked) { border-color: rgba(122, 167, 255, 0.5); background: rgba(122, 167, 255, 0.07); }
.order:has(input:focus-visible) { outline: 2px solid var(--ice); outline-offset: 2px; }
.order-main { display: grid; gap: 2px; min-width: 0; }
.order-t { font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.order-t i { font-style: normal; color: var(--faint); }
.order-m { font-family: var(--mono); font-size: 0.8125rem; color: var(--muted); }
.tag { font-style: normal; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; border: 1px solid; }
.tag-ferry { color: #f6c27a; border-color: rgba(242, 164, 58, 0.45); background: var(--pause-soft); }
.tag-cab { color: var(--danger); border-color: rgba(255, 130, 114, 0.45); background: var(--danger-soft); }
.plan-load { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(5, 9, 17, 0.5); }
.plan-load-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.plan-load-top .mono { font-size: 1.125rem; }
.bar { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #5f8df5, #9bbcff); transition: width 0.4s var(--ease), background-color 0.2s; }
.bar.is-over span { background: linear-gradient(90deg, #ff8272, #ffb0a5); }
.rows { display: grid; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(5, 9, 17, 0.5); overflow: hidden; }
.rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; font-size: 0.9375rem; }
.rows > div + div { border-top: 1px solid var(--line); }
.rows dt { color: var(--muted); }
.rows dd { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
.plan-note { font-size: 0.875rem; color: var(--muted); padding: 0 4px; line-height: 1.5; min-height: 2.8em; }
.plan-note.is-bad { color: var(--danger); }
.plan-link { font-size: 0.8125rem; color: var(--ice); background: rgba(122, 167, 255, 0.1); border: 1px solid rgba(122, 167, 255, 0.35); border-radius: var(--radius-sm); padding: 12px 14px; word-break: break-all; }
.foot-note { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.04em; color: var(--faint); text-align: center; padding: 6px 16px 14px; text-transform: none; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

/* Arvud ja riba */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-top: 8px; overflow: hidden; padding-inline: 0; max-width: calc(1200px - 2 * var(--gut)); }
.stat { display: grid; align-content: start; gap: 6px; padding: 26px 26px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-v { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; margin-top: 4px; }
.stat-t { color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } .stat + .stat { border-left: 0; border-top: 1px solid var(--line); } }
.ticker { margin-top: clamp(28px, 4vw, 48px); border-block: 1px solid var(--line); background: rgba(8, 13, 24, 0.7); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; gap: 44px; padding: 16px 22px; animation: ticker 60s linear infinite; font-family: var(--mono); font-size: 0.8125rem; color: var(--muted); }
.ticker-track span { display: inline-flex; gap: 10px; white-space: nowrap; align-items: center; }
.ticker-track b { color: var(--text); font-weight: 500; }
.ticker-track i { font-style: normal; color: var(--ice); }
.ticker-track em { font-style: normal; padding: 1px 8px; border-radius: 6px; border: 1px solid var(--line); }
.ticker-track .on { color: var(--pickup); border-color: rgba(122, 167, 255, 0.4); }
.ticker-track .ok { color: var(--delivery); border-color: rgba(76, 201, 133, 0.4); }
.ticker-track .fe { color: var(--pause); border-color: rgba(242, 164, 58, 0.45); }
.ticker-track .cab { color: var(--danger); border-color: rgba(255, 130, 114, 0.45); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sektsioonid */
.sec { padding: clamp(72px, 10vw, 144px) 0 0; }
.sec-head { display: grid; gap: 20px; justify-items: start; margin-bottom: clamp(32px, 5vw, 56px); }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(122, 167, 255, 0.08); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ice); }
.pill .dot { background: var(--pickup); animation: none; }
h2 { font-size: clamp(2rem, 4.8vw, 3.5rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500; max-width: 18ch; text-wrap: balance; }
.lead { color: var(--muted); font-size: clamp(1.0625rem, 1.8vw, 1.1875rem); max-width: 62ch; text-wrap: pretty; }
h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.small-note { font-size: 0.875rem; color: var(--faint); margin-top: 18px; line-height: 1.5; }

/* Tabid */
.tablist { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tablist button { display: inline-flex; align-items: center; gap: 9px; flex: none; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--muted); font-size: 0.9375rem; font-weight: 500; transition: color 0.15s, background-color 0.2s, border-color 0.2s, transform 0.16s var(--ease); }
.tablist button:active { transform: scale(0.97); }
@media (hover: hover) { .tablist button:hover { color: #fff; border-color: var(--line-strong); } }
.tablist button[aria-selected="true"] { color: #060b15; background: #eef3fc; border-color: #fff; box-shadow: 0 8px 30px -8px rgba(185, 208, 255, 0.5); }
.panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 12px; animation: panel-in 0.35s var(--ease) both; }
.panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.panel-text { display: grid; gap: 16px; align-content: start; position: sticky; top: 100px; }
.panel-text p { color: var(--muted); }
.ticks { display: grid; gap: 14px; margin-top: 8px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--text); font-size: 0.9688rem; line-height: 1.5; }
.ticks .ico { margin-top: 3px; color: var(--delivery); }
.panel-demo { min-width: 0; }
@media (max-width: 960px) { .panel { grid-template-columns: 1fr; } .panel-text { position: static; } }

/* Kaart */
.map-card { padding: 6px; overflow: hidden; }
.map-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding: 14px 16px 10px; }
.layers { display: flex; flex-wrap: wrap; gap: 6px; }
.tog { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.tog input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tog span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--muted); transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.tog input:checked + span { color: #fff; border-color: rgba(122, 167, 255, 0.6); background: rgba(122, 167, 255, 0.16); }
.tog input:focus-visible + span { outline: 2px solid var(--ice); outline-offset: 2px; }
.tog-big span { min-height: 44px; padding: 0 18px; font-size: 0.8125rem; }
.map-stage { position: relative; border-radius: 14px; overflow: hidden; background: radial-gradient(70% 70% at 50% 40%, #0b1426, #060a14); border: 1px solid var(--line); }
#map { width: 100%; height: auto; aspect-ratio: 5 / 4; }
.m-land { fill: #101a2e; stroke: #22314f; stroke-width: 0.8; stroke-linejoin: round; }
.m-land.hi { fill: #15233f; stroke: #34507f; }
.m-grid { stroke: rgba(150, 175, 235, 0.07); stroke-width: 1; fill: none; }
.m-city { fill: #8fa3c7; }
.m-label { font-family: var(--mono); font-size: 19px; fill: #7f93b8; letter-spacing: 0.08em; }
.m-label.c { fill: #b4c4e2; font-size: 21px; }
.m-country { font-family: var(--mono); font-size: 22px; fill: #46597f; letter-spacing: 0.3em; }
.m-route { fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; transition: opacity 0.25s, stroke-width 0.2s; }
.m-route.sea { stroke-dasharray: 2 9; stroke: var(--pause); }
.m-glow { fill: none; stroke-width: 12; opacity: 0.22; stroke-linecap: round; filter: blur(5px); }
.m-truck { transition: opacity 0.25s; }
.m-truck circle.core { stroke: #04070d; stroke-width: 2; }
.m-truck circle.ring { fill: none; stroke-width: 2; opacity: 0.55; transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(0.6); opacity: 0.8; } to { transform: scale(2.4); opacity: 0; } }
.m-stop { stroke-width: 3; fill: #060a14; }
.m-stop.pick { stroke: var(--pickup); }
.m-stop.drop { stroke: var(--delivery); }
.m-stop.port { stroke: var(--pause); }
.is-dim { opacity: 0.18; }
.fleet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 10px 4px; }
.fleet button { width: 100%; display: grid; gap: 8px; text-align: left; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(5, 9, 17, 0.55); transition: border-color 0.2s, background-color 0.2s, transform 0.16s var(--ease); }
.fleet button:active { transform: scale(0.98); }
@media (hover: hover) { .fleet button:hover { border-color: var(--line-strong); } }
.fleet button[aria-pressed="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); }
.fl-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.fl-plate { font-family: var(--mono); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.fl-plate::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.fl-route { font-size: 0.8125rem; color: var(--muted); line-height: 1.35; }
.fl-bar { height: 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.fl-bar span { display: block; height: 100%; background: var(--c); border-radius: 4px; }
.fleet-detail { padding: 10px 16px 14px; font-size: 0.75rem; color: var(--muted); line-height: 1.55; min-height: 3.6em; }
@media (max-width: 640px) { .fleet { grid-template-columns: 1fr; } .m-label.c { font-size: 30px; } .m-country { font-size: 28px; } .m-label.minor { display: none; } .m-stop { stroke-width: 4; } }

/* Juhi vaade */
.demo-phone { display: grid; justify-items: center; }
.phone { width: min(100%, 392px); background: linear-gradient(180deg, #0c1424, #070c17); border: 1px solid var(--line-strong); border-radius: 38px; padding: 20px 16px 18px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 8px #0a0f1b, 0 0 0 9px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.phone-top { display: flex; justify-content: space-between; gap: 10px; font-size: 0.75rem; color: var(--muted); padding: 4px 6px 12px; }
.phone-prog { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); margin: 0 6px 16px; overflow: hidden; }
.phone-prog span { display: block; height: 100%; width: 0; background: var(--delivery); border-radius: 4px; transition: width 0.4s var(--ease); }
.stops { display: grid; gap: 8px; }
.stop { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 12px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); transition: border-color 0.2s, background-color 0.2s, opacity 0.2s; }
.stop-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; border: 1px solid; }
.stop.pick .stop-n { color: var(--pickup); border-color: rgba(122, 167, 255, 0.5); background: var(--pickup-soft); }
.stop.drop .stop-n { color: var(--delivery); border-color: rgba(76, 201, 133, 0.5); background: var(--delivery-soft); }
.stop-t { font-weight: 500; font-size: 0.9688rem; line-height: 1.3; }
.stop-m { font-size: 0.8125rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.stop-s { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.stop.is-current { border-color: rgba(122, 167, 255, 0.7); background: rgba(122, 167, 255, 0.09); }
.stop.is-current .stop-s { color: var(--pickup); border-color: rgba(122, 167, 255, 0.5); }
.stop.is-here .stop-s { color: var(--pause); border-color: rgba(242, 164, 58, 0.5); }
.stop.is-done { opacity: 0.55; }
.stop.is-done .stop-s { color: var(--delivery); border-color: rgba(76, 201, 133, 0.45); }
.stop.is-blocked { border-color: rgba(255, 130, 114, 0.5); background: var(--danger-soft); }
.stop.is-blocked .stop-s { color: var(--danger); border-color: rgba(255, 130, 114, 0.5); }
.stop-why { grid-column: 1 / -1; font-size: 0.8125rem; color: #ffb0a5; line-height: 1.45; padding-top: 4px; border-top: 1px solid rgba(255, 130, 114, 0.25); }
.phone-act { margin-top: 14px; display: grid; gap: 10px; }
.phone-hint { font-size: 0.8125rem; color: var(--muted); text-align: center; min-height: 2.6em; line-height: 1.45; }

/* Manifest */
.sheet { background: #f4f6fb; color: #101828; border-radius: 16px; padding: clamp(16px, 3vw, 28px); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9); }
.sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-bottom: 16px; border-bottom: 2px solid #101828; }
.sheet-k { display: block; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #475467; }
.sheet-t { font-size: clamp(1.125rem, 2.4vw, 1.4rem); letter-spacing: -0.02em; font-weight: 600; }
.sheet-vehicle { font-size: 0.75rem; color: #475467; text-align: right; line-height: 1.55; }
.sheet-scroll { overflow-x: auto; margin-top: 4px; }
.sheet-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.9375rem; }
.sheet-table th, .sheet-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid #d0d5dd; vertical-align: middle; }
.sheet-table thead th { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: #475467; font-weight: 500; }
.sheet-table .num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sheet-table tbody tr { transition: opacity 0.2s; }
.sheet-table tbody tr.off { opacity: 0.38; }
.sheet-table tfoot th, .sheet-table tfoot td { border-bottom: 0; border-top: 2px solid #101828; font-weight: 600; }
.sheet-table td small { display: block; color: #475467; font-size: 0.8125rem; }
.mf-check { position: relative; display: block; width: 44px; height: 44px; margin: -10px; }
.mf-check input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mf-check span { position: absolute; left: 11px; top: 11px; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #667085; background: #fff; display: grid; place-items: center; transition: background-color 0.15s; }
.mf-check span::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; rotate: -45deg; translate: 0 -1px; scale: 0; transition: scale 0.15s var(--ease); }
.mf-check input:checked + span { background: #1d4ed8; border-color: #1d4ed8; }
.mf-check input:checked + span::after { scale: 1; }
.mf-check input:focus-visible + span { outline: 2px solid #1d4ed8; outline-offset: 2px; }
.sheet-verdict { margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: 0.9375rem; font-weight: 500; background: #dcfae6; color: #05603a; }
.sheet-verdict.is-bad { background: #fee4e2; color: #912018; }
.sign { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.sign span { border-top: 1px solid #667085; padding-top: 6px; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: #475467; }

/* Praam */
.ferry { padding: 6px; overflow: hidden; }
.ferry-photo { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 7; background: #0b1426; }
.ferry-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; filter: saturate(0.9) contrast(1.04); transition: opacity 0.3s; }
.ferry-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4, 7, 13, 0.82)); pointer-events: none; }
.ferry-cap { position: absolute; z-index: 1; left: 16px; bottom: 12px; font-size: 0.75rem; letter-spacing: 0.06em; color: #d5e0f5; }
.ferry-body { display: grid; gap: 18px; padding: 18px 12px 12px; }
.seg { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.seg legend { padding: 0 0 8px; }
.seg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg legend { grid-column: 1 / -1; }
.seg-times { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seg label { position: relative; display: block; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg label span { display: grid; gap: 2px; align-content: center; min-height: 58px; padding: 8px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(5, 9, 17, 0.5); font-weight: 500; font-size: 0.9375rem; transition: border-color 0.2s, background-color 0.2s, transform 0.16s var(--ease); }
.seg label:active span { transform: scale(0.97); }
.seg small { font-family: var(--mono); font-size: 0.6875rem; color: var(--muted); font-weight: 400; letter-spacing: 0.02em; }
.seg input:checked + span { border-color: rgba(122, 167, 255, 0.7); background: rgba(122, 167, 255, 0.11); }
.seg input:focus-visible + span { outline: 2px solid var(--ice); outline-offset: 2px; }
.ferry-out { display: grid; gap: 12px; padding: 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(5, 9, 17, 0.5); }
.ferry-times { display: flex; align-items: center; gap: 16px; }
.ferry-times > div { display: grid; gap: 4px; }
.ferry-times strong { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 400; letter-spacing: -0.02em; }
.ferry-line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--pause) 0 6px, transparent 6px 12px); border-radius: 2px; min-width: 40px; }
.ferry-verdict { font-weight: 500; display: flex; gap: 8px; align-items: center; }
.ferry-verdict.is-ok { color: #8fe3b4; }
.ferry-verdict.is-warn { color: #f6c27a; }
.ferry-after { font-size: 0.8125rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 520px) { .seg-times { grid-template-columns: repeat(2, minmax(0, 1fr)); } .seg { grid-template-columns: 1fr; } .seg-times { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Kabotaaž */
.cab { padding: 6px; }
.cab-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px 6px; }
.cab-help { padding: 0 16px 14px; font-size: 0.875rem; color: var(--muted); }
.days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; padding: 0 10px; }
.day { position: relative; display: grid; gap: 2px; justify-items: center; align-content: center; min-height: 74px; padding: 6px 2px; border-radius: 12px; border: 1px solid var(--line); background: rgba(5, 9, 17, 0.5); font-family: var(--mono); transition: border-color 0.2s, background-color 0.2s, transform 0.16s var(--ease); }
.day:active:not(:disabled) { transform: scale(0.96); }
.day .d-w { font-size: 0.6875rem; letter-spacing: 0.08em; color: var(--faint); text-transform: uppercase; }
.day .d-n { font-size: 1.125rem; font-weight: 500; }
.day .d-s { font-size: 0.625rem; letter-spacing: 0.04em; color: var(--muted); min-height: 1em; text-transform: uppercase; }
.day.in { border-color: rgba(122, 167, 255, 0.7); background: var(--pickup-soft); }
.day.in .d-s { color: var(--pickup); }
.day.win { background: rgba(255, 255, 255, 0.05); }
.day.op { border-color: rgba(255, 130, 114, 0.8); background: var(--danger-soft); }
.day.op .d-s { color: var(--danger); }
.day.cd { background-image: repeating-linear-gradient(-45deg, rgba(242, 164, 58, 0.18) 0 6px, transparent 6px 12px); border-color: rgba(242, 164, 58, 0.5); }
.day.cd .d-s { color: var(--pause); }
.day:disabled { cursor: default; }
.day.out { opacity: 0.5; }
.cab-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 16px 10px; font-family: var(--mono); font-size: 0.6875rem; color: var(--muted); letter-spacing: 0.04em; }
.cab-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg { width: 11px; height: 11px; border-radius: 3px; border: 1px solid; display: inline-block; }
.lg-in { background: var(--pickup-soft); border-color: var(--pickup); }
.lg-op { background: var(--danger-soft); border-color: var(--danger); }
.lg-win { background: rgba(255, 255, 255, 0.08); border-color: var(--line-strong); }
.lg-cd { background: repeating-linear-gradient(-45deg, rgba(242, 164, 58, 0.5) 0 3px, transparent 3px 6px); border-color: var(--pause); }
.cab .rows { margin: 6px 10px 10px; }
.cab-msg { padding: 2px 16px 16px; font-size: 0.9375rem; line-height: 1.5; min-height: 4.2em; }
@media (max-width: 560px) { .days { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Reeglid */
.formula { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 20px 26px; }
.formula-eq { font-size: clamp(1rem, 2.4vw, 1.5rem); color: var(--text); }
.formula-eq b { color: var(--pickup); font-weight: 500; padding: 0 0.25em; }
.parts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.part { padding: 22px 22px 26px; display: grid; gap: 14px; align-content: start; }
.part-top { display: flex; justify-content: space-between; }
.part-v { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 400; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.part p { color: var(--muted); font-size: 0.9688rem; line-height: 1.55; }
@media (max-width: 960px) { .parts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .parts { grid-template-columns: 1fr; } }
.verdict { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; padding: clamp(22px, 4vw, 36px); margin-top: 14px; }
.verdict-v { display: block; font-size: clamp(1.6rem, 3.6vw, 2.5rem); letter-spacing: -0.03em; font-weight: 500; margin: 12px 0 10px; line-height: 1.1; }
.verdict p { color: var(--muted); max-width: 52ch; }
.vd-scale { position: relative; height: 8px; border-radius: 6px; background: linear-gradient(90deg, #ffb0a5, #f6c27a 45%, #8fe3b4); opacity: 0.85; }
.vd-scale span { position: absolute; top: 50%; left: 100%; width: 22px; height: 22px; translate: -50% -50%; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.16), 0 6px 20px rgba(0, 0, 0, 0.5); transition: left 0.45s var(--ease); }
.vd-ends { display: flex; justify-content: space-between; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin: 12px 0 22px; }
.verdict.is-approx .verdict-v { color: #f6c27a; }
@media (max-width: 860px) { .verdict { grid-template-columns: 1fr; } }
.guarantees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.gcard { padding: 26px; display: grid; gap: 12px; align-content: start; }
.gi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(122, 167, 255, 0.12); border: 1px solid rgba(122, 167, 255, 0.3); color: var(--pickup); margin-bottom: 4px; }
.gcard p { color: var(--muted); font-size: 0.9688rem; line-height: 1.55; }
@media (max-width: 860px) { .guarantees { grid-template-columns: 1fr; } }

/* Töövoog */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; position: relative; }
.step { padding: 22px 20px 26px; display: grid; gap: 10px; align-content: start; position: relative; }
.step .ico { width: 26px; height: 26px; color: var(--pickup); }
.step-n { position: absolute; right: 18px; top: 16px; font-size: 0.75rem; color: var(--faint); }
.step p { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.step:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 38px; width: 14px; height: 2px; background: var(--line-strong); z-index: 1; }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, 1fr); } .step:not(:last-child)::after { display: none; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.extra { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 22px 6px; border-top: 1px solid var(--line); }
.extra .ico { width: 24px; height: 24px; color: var(--ice); margin-top: 2px; }
.extra p { color: var(--muted); font-size: 0.9688rem; margin-top: 6px; line-height: 1.55; }
@media (max-width: 860px) { .extras { grid-template-columns: 1fr; } }

/* Võrdlus */
.cmp-scroll { overflow-x: auto; }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare th, .compare td { padding: 20px 26px; text-align: left; border-bottom: 1px solid var(--line); font-size: 1rem; vertical-align: top; }
.compare thead th { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); font-weight: 500; padding-top: 24px; padding-bottom: 18px; }
.compare tbody th { font-weight: 500; width: 22%; }
.compare td { color: var(--muted); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare .cmp-us { background: rgba(122, 167, 255, 0.07); color: var(--text); }
.compare tbody .cmp-us { display: table-cell; }
.compare .cmp-us .ico { display: inline-block; vertical-align: -3px; margin-right: 10px; color: var(--delivery); }
.after-note { margin-top: 22px; color: var(--muted); max-width: 70ch; font-size: 0.9688rem; }

/* Demo CTA ja KKK */
.cta { position: relative; overflow: hidden; text-align: center; padding: clamp(48px, 8vw, 96px) var(--gut); display: grid; justify-items: center; gap: 20px; isolation: isolate; }
.cta h2 { max-width: 16ch; }
.cta p { color: var(--muted); max-width: 54ch; }
.cta-glow { position: absolute; inset: auto -10% -60% -10%; height: 90%; z-index: -1; background: radial-gradient(50% 60% at 50% 100%, rgba(110, 150, 255, 0.4), transparent 70%); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 68px; padding: 18px 4px; font-size: 1.125rem; font-weight: 500; cursor: pointer; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); font-family: var(--mono); font-size: 1.125rem; color: var(--muted); transition: rotate 0.25s var(--ease), background-color 0.2s; }
.faq details[open] summary::after { rotate: 45deg; background: rgba(255, 255, 255, 0.06); }
.faq p { padding: 0 4px 24px; color: var(--muted); max-width: 66ch; }

/* Jalus */
.foot { margin-top: clamp(72px, 10vw, 144px); padding: 44px 0 36px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(110, 150, 255, 0.05)); overflow: hidden; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.foot-links a { color: var(--muted); text-decoration: none; padding: 10px 0; }
@media (hover: hover) { .foot-links a:hover { color: #fff; } }
.foot-word { font-weight: 600; letter-spacing: 0.04em; line-height: 0.9; font-size: clamp(5rem, 24vw, 19rem); text-align: center; margin: 32px 0 20px; background: linear-gradient(180deg, rgba(185, 208, 255, 0.28), rgba(185, 208, 255, 0.02) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.foot-credits { display: grid; gap: 10px; color: var(--faint); font-size: 0.8125rem; line-height: 1.6; max-width: 900px; }
.foot-credits a { color: var(--muted); text-underline-offset: 3px; }

/* Ilmumine */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.hero-in > * { animation: rise 0.8s var(--ease) both; }
.hero-in > :nth-child(1) { animation-delay: 0.05s; }
.hero-in > :nth-child(2) { animation-delay: 0.14s; }
.hero-in > :nth-child(3) { animation-delay: 0.22s; }
.hero-in > :nth-child(4) { animation-delay: 0.3s; }
.hero-in > :nth-child(5) { animation-delay: 0.38s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
  .art-flow { animation: none; }
}
@media print { .nav, .hero-floor, .hero-glow, .ticker { display: none; } body { background: #fff; color: #000; } }

@media (max-width: 640px) {
  .art-labels text { font-size: 34px; letter-spacing: 1px; }
  .hero-art { margin-inline: -8px; width: calc(100% + 16px); }
}
@media (min-width: 561px) and (max-width: 1000px) { .step:last-child:nth-child(odd) { grid-column: 1 / -1; } }
