@font-face {font-family: 'Golos Text';font-style: normal;font-weight: 400 700;font-display: swap;src: url(/assets/fonts/golostext-cyrillic-ext.woff2) format('woff2');unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face {font-family: 'Golos Text';font-style: normal;font-weight: 400 700;font-display: swap;src: url(/assets/fonts/golostext-cyrillic.woff2) format('woff2');unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face {font-family: 'Golos Text';font-style: normal;font-weight: 400 700;font-display: swap;src: url(/assets/fonts/golostext-latin-ext.woff2) format('woff2');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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Golos Text';font-style: normal;font-weight: 400 700;font-display: swap;src: url(/assets/fonts/golostext-latin.woff2) format('woff2');unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Jura';font-style: normal;font-weight: 600;font-display: swap;src: url(/assets/fonts/jura-cyrillic-ext.woff2) format('woff2');unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face {font-family: 'Jura';font-style: normal;font-weight: 600;font-display: swap;src: url(/assets/fonts/jura-cyrillic.woff2) format('woff2');unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face {font-family: 'Jura';font-style: normal;font-weight: 600;font-display: swap;src: url(/assets/fonts/jura-greek-ext.woff2) format('woff2');unicode-range: U+1F00-1FFF;}
@font-face {font-family: 'Jura';font-style: normal;font-weight: 600;font-display: swap;src: url(/assets/fonts/jura-greek.woff2) format('woff2');unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;}
@font-face {font-family: 'Jura';font-style: normal;font-weight: 600;font-display: swap;src: url(/assets/fonts/jura-latin-ext.woff2) format('woff2');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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Jura';font-style: normal;font-weight: 600;font-display: swap;src: url(/assets/fonts/jura-latin.woff2) format('woff2');unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* 3GO marketing site — tokens from DESIGN.md ("Контур") */
:root {
  --primary: #00736e;
  --primary-hover: #005d59;
  --on-primary: #fff;
  --surface: #f7faf7;
  --bg: #e8eeea;
  --text: #102c30;
  --muted: #405853;
  --accent: #f04e23;
  --warning: #d89412;
  --border: #aabbb2;
  --rule: #c9d5ce;
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 12px;
  --gutter: 20px;
  --max: 1200px;
  --display: "Jura", "Golos Text", system-ui, sans-serif;
  --body: "Golos Text", system-ui, -apple-system, "Segoe UI", "Noto Sans", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans Devanagari", "Noto Sans CJK SC", sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.5 var(--body);
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; border-radius: var(--r-sm); }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, .display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-wrap: balance;
}
:lang(ar) :is(h1, h2, .display), :lang(he) :is(h1, h2, .display), :lang(hi) :is(h1, h2, .display),
:lang(zh) :is(h1, h2, .display), :lang(ja) :is(h1, h2, .display), :lang(ko) :is(h1, h2, .display) { letter-spacing: 0; line-height: 1.25; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
p { text-wrap: pretty; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: 8px; top: -64px; background: var(--text); color: #fff; padding: 12px 16px; z-index: 50; }
.skip:focus { top: 8px; color: #fff; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 1.6rem/1 var(--display); letter-spacing: -0.04em; color: var(--text); text-decoration: none; }
.logo::before { content: ""; width: 14px; height: 14px; background: var(--accent); }
.nav { display: flex; gap: 4px; margin-inline-start: 16px; }
.nav a { display: inline-flex; align-items: center; min-height: 48px; padding-inline: 12px; color: var(--text); text-decoration: none; font-weight: 500; white-space: nowrap; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--border); }
.nav a[aria-current="page"] { border-bottom-color: var(--primary); color: var(--primary); }
.header-tools { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding-inline: 12px; border: 1px solid var(--border); border-radius: var(--r-sm); cursor: pointer; font-weight: 500; background: var(--surface); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 7px; height: 7px; border-inline-end: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); }
.lang[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.lang-panel {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 30;
  width: min(560px, calc(100vw - 2 * var(--gutter)));
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: 0 12px 32px rgb(16 44 48 / 0.16);
  padding: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 2px;
  max-height: min(70vh, 520px); overflow: auto;
}
.lang-panel a { display: flex; align-items: center; min-height: 44px; padding-inline: 10px; color: var(--text); text-decoration: none; border-radius: var(--r-sm); }
.lang-panel a:hover { background: var(--bg); }
.lang-panel a[aria-current="true"] { font-weight: 600; color: var(--primary); box-shadow: inset 3px 0 0 var(--primary); }
[dir="rtl"] .lang-panel a[aria-current="true"] { box-shadow: inset -3px 0 0 var(--primary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 24px; border-radius: var(--r-sm); font: 600 1rem/1.2 var(--body); text-decoration: none; text-align: center; border: 2px solid var(--primary); transition: background-color 80ms ease-out; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--on-primary); }
.btn-secondary { background: transparent; color: var(--primary); min-height: 48px; }
.btn-secondary:hover { background: var(--surface); }
.header .btn { min-height: 48px; padding: 8px 16px; }

/* Hero */
.hero { border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; padding-block: 64px 72px; }
.hero-lead { font-size: 1.1875rem; color: var(--muted); max-width: 34em; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.status { display: flex; gap: 12px; align-items: flex-start; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--rule); max-width: 34em; color: var(--muted); font-size: 0.875rem; }
.status b { flex: none; color: var(--text); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.status b::before { content: ""; width: 10px; height: 10px; border-radius: 9999px; background: var(--warning); }
.eyebrow { font-size: 0.875rem; font-weight: 600; color: var(--primary); margin-bottom: 16px; display: block; }

.map { position: relative; border: 1px solid var(--border); background: var(--surface); min-height: 440px; overflow: hidden; }
.map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tiles { position: relative; display: grid; gap: 12px; padding: 20px; min-height: 440px; align-content: space-between; justify-items: start; }
.tile { background: var(--surface); border: 1px solid var(--text); border-radius: var(--r-lg); padding: 14px 18px 16px; box-shadow: 0 6px 18px rgb(16 44 48 / 0.12); min-width: 208px; max-width: 78%; }
.tile:nth-child(2) { justify-self: end; }
.tile:nth-child(3) { justify-self: center; }
.tile-label { font-size: 0.875rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; align-items: baseline; min-width: 0; }
.tile-value { font: 600 2.5rem/1.05 var(--display); letter-spacing: -0.04em; margin-top: 6px; direction: ltr; unicode-bidi: isolate; text-align: start; }
.tile-meta { font-size: 0.875rem; margin-top: 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.plate { border: 1px solid var(--text); border-radius: var(--r-sm); padding: 1px 6px; font-weight: 600; direction: ltr; unicode-bidi: isolate; }
.demo { font-size: 0.75rem; font-weight: 600; border: 1px dashed var(--muted); border-radius: var(--r-sm); padding: 0 6px; color: var(--muted); white-space: nowrap; }
.tile--accent { border-color: var(--primary); }
.tile--accent .tile-value { color: var(--primary); }

/* Sections */
.section { padding-block: 72px; border-bottom: 1px solid var(--border); }
.section--surface { background: var(--surface); }
.section-head { max-width: 46em; margin-bottom: 40px; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.0625rem; }
.answer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px 48px; align-items: start; }
.answer p { font-size: 1.1875rem; line-height: 1.6; border-inline-start: 4px solid var(--primary); padding-inline-start: 24px; }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--text); }
.service { padding: 28px 28px 32px; border-inline-end: 1px solid var(--rule); display: flex; flex-direction: column; gap: 12px; }
.service:first-child { padding-inline-start: 0; }
.service:last-child { border-inline-end: 0; padding-inline-end: 0; }
.service svg { width: 44px; height: 44px; color: var(--primary); }
.service h3 { font: 600 1.75rem/1.1 var(--display); letter-spacing: -0.03em; }
.service p { color: var(--muted); flex: 1; }
.more { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 48px; gap: 8px; }
.more::after { content: "→"; }
[dir="rtl"] .more::after { content: "←"; }
.more:hover { text-decoration: underline; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--text); padding-top: 16px; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 600 2.5rem/1 var(--display); letter-spacing: -0.04em; color: var(--accent); display: block; margin-bottom: 16px; }
.steps p, .points p { color: var(--muted); margin-top: 8px; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 48px; }
.points > div { border-top: 1px solid var(--border); padding-block: 20px 24px; }

.faq { max-width: 54em; border-top: 2px solid var(--text); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 64px; padding-block: 16px; font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: inherit; }
.faq summary::after { content: "+"; flex: none; font: 400 1.75rem/1 var(--body); color: var(--primary); width: 28px; text-align: center; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 24px; max-width: 46em; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { margin-bottom: 24px; }
.after-faq { margin-top: 24px; }

.cta { background: var(--text); color: #fff; padding-block: 72px; }
.cta p { color: #c9d5ce; margin-top: 16px; max-width: 40em; font-size: 1.0625rem; }
.cta .hero-actions .btn-primary { border-color: #fff; background: #fff; color: var(--text); }
.cta .hero-actions .btn-primary:hover { background: var(--bg); }
.cta .btn-secondary { color: #fff; border-color: #6f8a85; }
.cta .btn-secondary:hover { background: rgb(255 255 255 / 0.08); }

.page-head { padding-block: 40px 56px; border-bottom: 1px solid var(--border); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; color: var(--muted); margin-bottom: 28px; }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; color: var(--border); }
.crumbs a { color: var(--muted); }
.page-head h1 { max-width: 18em; }
.page-head .hero-lead { max-width: 40em; }
.doc-updated { color: var(--muted); font-size: 0.875rem; margin-top: 12px; }
.doc { max-width: 46em; }
.doc p + p { margin-top: 12px; }
.doc-list { margin: 12px 0 0; padding-left: 1.25em; }
.doc-list li + li { margin-top: 8px; }

/* Footer */
.footer { padding-block: 48px 32px; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer h2 { font: 600 0.875rem/1.3 var(--body); letter-spacing: 0; color: var(--muted); margin-bottom: 8px; }
.footer li a { display: inline-flex; align-items: center; min-height: 40px; color: var(--text); text-decoration: none; }
.footer li a:hover { text-decoration: underline; }
.footer-tagline { color: var(--muted); margin-top: 12px; max-width: 24em; }
.footer-note { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.875rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-langs { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.875rem; }
.footer-langs a { color: var(--muted); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.footer-langs a:hover { color: var(--primary); text-decoration: underline; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 40px 48px; gap: 32px; }
  .answer { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .service, .service:first-child, .service:last-child { padding-inline: 0; border-inline-end: 0; border-bottom: 1px solid var(--rule); }
  .service:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .section, .cta { padding-block: 48px; }
}
@media (max-width: 760px) {
  .header-row { flex-wrap: wrap; row-gap: 0; }
  .nav { order: 3; width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); padding-inline: calc(var(--gutter) - 12px); overflow-x: auto; border-top: 1px solid var(--rule); scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .header .btn { display: none; }
  html { scroll-padding-top: 128px; }
  .map, .tiles { min-height: 400px; }
  .tile { min-width: 0; max-width: 88%; }
  .tile-value { font-size: 2.125rem; }
  .hero-actions .btn { width: 100%; }
  .answer p { font-size: 1.0625rem; padding-inline-start: 16px; }
}
/* Seller details (D-S2) and a fade on the scrollable phone/tablet menu so hidden items read as "more" (D-S3). */
.footer-legal { margin-top: 12px; color: var(--muted); font-size: 0.8125rem; overflow-wrap: anywhere; }
.footer-legal a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; }
.footer-consent { font: inherit; color: inherit; background: none; border: 0; padding: 0; min-height: 44px; text-decoration: underline; cursor: pointer; }
@media (max-width: 960px) {
  .nav { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); }
  [dir="rtl"] .nav { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 32px), transparent); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media print { .header, .cta, .lang, .map { display: none; } body { background: #fff; } }
@media (max-width: 760px) { .status { flex-direction: column; gap: 6px; } }
/* Tablet widths: long nav labels (e.g. Slovak) need the second header row too. */
@media (max-width: 960px) {
  .header-row { flex-wrap: wrap; row-gap: 0; }
  .nav { order: 3; width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); padding-inline: calc(var(--gutter) - 12px); overflow-x: auto; border-top: 1px solid var(--rule); scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  html { scroll-padding-top: 128px; }
}

/* ---------- infographics and motion ---------- */
.scene { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-md); overflow: hidden; }
.section--surface .scene, .page-head .scene { background: var(--surface); }
.scene-svg { width: 100%; height: auto; display: block; }
.service--scene { padding-top: 24px; }
.service--scene .scene { margin-bottom: 8px; }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 40px; align-items: center; }
.scene--head { max-width: 420px; justify-self: end; width: 100%; }

.g-route { stroke-dashoffset: 0; animation: g-route 1.6s linear infinite; }
@keyframes g-route { to { stroke-dashoffset: -20; } }
.g-ring { animation: g-ring 8s linear infinite; }
@keyframes g-ring { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 119.4; } }
.g-hand { transform-box: view-box; transform-origin: 29px 46px; animation: g-spin 8s linear infinite; }
@keyframes g-spin { to { transform: rotate(360deg); } }
.g-ping, .g-beam { animation: g-blink 2.4s ease-in-out infinite; }
@keyframes g-blink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.g-lane { animation: g-lane 0.9s linear infinite; }
@keyframes g-lane { to { stroke-dashoffset: -32; } }
.g-pop { transform-box: fill-box; transform-origin: center; animation: g-pop 2.4s ease-in-out infinite; }
@keyframes g-pop { 0%, 35% { transform: scale(0); } 50%, 90% { transform: scale(1); } 100% { transform: scale(0); } }
.g-scan { animation: g-scan 2.6s ease-in-out infinite; }
@keyframes g-scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(60px); } }
.g-data { transform-box: fill-box; transform-origin: left center; animation: g-data 5s ease-in-out infinite; }
@keyframes g-data { 0% { transform: scaleX(0.05); } 60%, 100% { transform: scaleX(1); } }
.g-wave { opacity: 0.15; animation: g-wave 1.8s ease-in-out infinite; }
.g-wave2 { animation-delay: 0.3s; }
.g-wave3 { animation-delay: 0.6s; }
@keyframes g-wave { 0%, 100% { opacity: 0.15; } 40% { opacity: 1; } }

.flow { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: center; }
.phone-demo { display: flex; justify-content: center; }
.pd-frame { position: relative; width: 236px; height: 440px; border: 3px solid var(--text); border-radius: 32px; background: var(--bg); overflow: hidden; box-shadow: 0 18px 40px rgb(16 44 48 / 0.18); }
.pd-notch { position: absolute; top: 12px; left: 50%; width: 64px; height: 6px; margin-left: -32px; border-radius: 3px; background: var(--text); z-index: 2; }
.pd-screen { position: absolute; inset: 0; padding: 48px 18px 20px; display: flex; flex-direction: column; gap: 14px; opacity: 0; animation: pd-show 16s infinite; }
.pd-s2 { animation-delay: 4s; }
.pd-s3 { animation-delay: 8s; }
.pd-s4 { animation-delay: 12s; }
@keyframes pd-show { 0% { opacity: 0; transform: translateY(12px); } 3%, 23% { opacity: 1; transform: none; } 26%, 100% { opacity: 0; transform: translateY(-12px); } }
.pd-title { font-weight: 600; font-size: 0.9375rem; line-height: 1.25; }
.pd-plate { border: 2px solid var(--text); border-radius: var(--r-md); background: #fff; padding: 10px 12px; font: 600 1.5rem/1 var(--display); letter-spacing: 0.02em; direction: ltr; min-height: 48px; }
.pd-type { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; width: 0; border-right: 2px solid var(--accent); animation: pd-type 16s steps(8, end) infinite; }
@keyframes pd-type { 0%, 3% { width: 0; } 16%, 100% { width: 8.4ch; } }
.pd-car { margin-top: auto; opacity: 0.9; }
.pd-row { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); font-weight: 600; }
.pd-row svg { width: 24px; height: 24px; flex: none; color: var(--primary); }
.pd-row--on { animation: pd-pick 16s infinite 4s; }
@keyframes pd-pick { 0%, 8% { background: var(--surface); color: var(--text); } 11%, 25% { background: var(--primary); color: #fff; border-color: var(--primary); } 26%, 100% { background: var(--surface); color: var(--text); } }
.pd-row--on svg { animation: pd-pick-icon 16s infinite 4s; }
@keyframes pd-pick-icon { 0%, 8% { color: var(--primary); } 11%, 25% { color: #fff; } 26%, 100% { color: var(--primary); } }
.pd-price { font: 600 2.75rem/1 var(--display); letter-spacing: -0.04em; direction: ltr; }
.pd-card { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); padding: 14px 12px; }
.pd-card span { height: 8px; border-radius: 4px; background: var(--rule); }
.pd-card span:last-child { width: 55%; }
.pd-check { align-self: center; margin-top: auto; width: 72px; height: 72px; transform: scale(0); animation: pd-check 16s infinite 8s; }
@keyframes pd-check { 0%, 10% { transform: scale(0); } 14% { transform: scale(1.15); } 16%, 25% { transform: scale(1); } 26%, 100% { transform: scale(0); } }
.pd-time { font: 600 3.75rem/1 var(--display); letter-spacing: -0.04em; color: var(--primary); direction: ltr; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.875rem; }
.pd-bar { margin-top: auto; height: 10px; border-radius: 5px; background: var(--rule); overflow: hidden; direction: ltr; }
.pd-bar span { display: block; height: 100%; width: 100%; background: var(--primary); animation: pd-bar 16s linear infinite 12s; }
@keyframes pd-bar { 0% { width: 100%; } 25%, 100% { width: 45%; } }

/* The step that the phone is showing lights up in the list. */
.steps--flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps--flow li { animation: pd-step 16s infinite; }
.steps--flow li:nth-child(2) { animation-delay: 4s; }
.steps--flow li:nth-child(3) { animation-delay: 8s; }
.steps--flow li:nth-child(4) { animation-delay: 12s; }
@keyframes pd-step { 0%, 24% { border-top-color: var(--accent); box-shadow: 0 -3px 0 var(--accent); } 26%, 100% { border-top-color: var(--text); box-shadow: none; } }

@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr; gap: 32px; }
  .page-head-grid { grid-template-columns: 1fr; gap: 24px; }
  .scene--head { justify-self: start; max-width: 360px; }
  .service--scene .scene { max-width: 360px; }
}
@media (max-width: 520px) { .steps--flow { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .g-route, .g-ring, .g-hand, .g-ping, .g-beam, .g-lane, .g-pop, .g-scan, .g-data, .g-wave, .pd-screen, .pd-type, .pd-row--on, .pd-row--on svg, .pd-check, .pd-bar span, .steps--flow li { animation: none; }
  .g-wave { opacity: 1; }
  .g-marker { display: none; }
  .pd-s4 { opacity: 1; }
  .pd-bar span { width: 60%; }
}
@media print { .phone-demo, .scene { display: none; } }

.service .scene-svg { width: 100%; height: auto; color: inherit; }
.points--icons > div { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.points--icons .pict { grid-row: 1 / span 2; width: 48px; height: 48px; color: var(--primary); margin-top: 2px; }
.points--icons p { grid-column: 2; }

/* Service cards: equal columns separated by space, so the three scenes are the same size and the titles line up. */
@media (min-width: 961px) {
  .services { column-gap: 40px; }
  .service, .service:first-child, .service:last-child { padding-inline: 0; border-inline-end: 0; }
}
/* A card stretched to its row's height keeps the title next to its text. */
.points--icons > div { grid-template-rows: auto 1fr; }
@media (min-width: 1100px) { #platforms .points { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; } }
/* No orphan cards: five steps sit in one row on wide screens, four notes form a 2 × 2 block. */
@media (min-width: 1100px) { .steps:not(.steps--flow):has(> li:nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 700px) { .points:not(.points--icons):has(> div:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Tablet: the scene sits beside its text instead of leaving half the row empty. */
@media (min-width: 620px) and (max-width: 960px) {
  .service--scene { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); column-gap: 32px; row-gap: 10px; align-content: center; padding-block: 28px; }
  .service--scene .scene { grid-column: 1; grid-row: 1 / span 3; margin-bottom: 0; align-self: center; }
  .service--scene > :not(.scene) { grid-column: 2; }
  .service--scene h3 { align-self: end; }
  .service--scene p { flex: none; }
  .service--scene .more { align-self: start; }
}

/* ================= 3D stage (owner request: selling, three-dimensional motion) =================
   Pure CSS transforms; a small script only feeds pointer and scroll position into custom properties.
   Without the script, on touch devices and under prefers-reduced-motion the scene is static. */
.hero { overflow: hidden; }
.map { border: 0; background: none; overflow: visible; perspective: 1500px; perspective-origin: 50% 35%; --mx: 0; --my: 0; --sc: 0; }
.map::before { content: ''; position: absolute; inset: 22% -6% -4%; background: radial-gradient(closest-side, rgb(0 115 110 / 0.26), rgb(0 115 110 / 0) 72%); filter: blur(10px); transform: translateY(calc(var(--sc) * 30px)); pointer-events: none; }
.map > svg {
  inset: 2% -4% -2%; width: 108%; height: 100%;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 1px 0 #b9c8c0, 0 2px 0 #b3c3ba, 0 3px 0 #adbeb5, 0 4px 0 #a7b9af, 0 5px 0 #a1b4aa, 0 6px 0 #9bafa5, 0 7px 0 #95aaa0, 0 8px 0 #8fa59b, 0 34px 50px rgb(16 44 48 / 0.28);
  transform-origin: 50% 60%;
  transform: translateY(calc(var(--sc) * -26px)) rotateX(calc(54deg - var(--my) * 5deg + var(--sc) * 10deg)) rotateZ(calc(-22deg + var(--mx) * 7deg - var(--sc) * 8deg)) scale(1.04);
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
  animation: board-in 1100ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  will-change: transform;
}
@keyframes board-in { from { opacity: 0; transform: translateY(60px) rotateX(78deg) rotateZ(-46deg) scale(0.7); } }
.tiles { transform-style: preserve-3d; }
.tile {
  --depth: 1; --float: 9px;
  box-shadow: 0 18px 34px rgb(16 44 48 / 0.2), 0 2px 0 rgb(16 44 48 / 0.08);
  transform: translate3d(calc(var(--mx) * var(--depth) * -14px), calc(var(--my) * var(--depth) * -10px - var(--sc) * var(--depth) * 26px), 0) rotateX(calc(var(--my) * -4deg)) rotateY(calc(var(--mx) * 6deg));
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
  animation: tile-in 700ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards, tile-float 6s ease-in-out infinite;
  will-change: transform, translate;
}
.tile:nth-child(1) { --depth: 1.6; animation-delay: 350ms, 1050ms; }
.tile:nth-child(2) { --depth: 1; --float: 7px; animation-delay: 520ms, 1900ms; animation-duration: 700ms, 7s; }
.tile:nth-child(3) { --depth: 2.2; --float: 11px; animation-delay: 690ms, 2600ms; animation-duration: 700ms, 5.4s; }
@keyframes tile-in { from { opacity: 0; transform: translate3d(0, -46px, 0) rotateX(-28deg) scale(0.9); } }
@keyframes tile-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 calc(var(--float) * -1); } }
.tile-value { animation: value-pop 600ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards 900ms; }
@keyframes value-pop { from { opacity: 0; transform: translateY(10px); } }

/* Phone: a solid object that turns to face the reader as the section scrolls into the middle of the screen. */
.phone-demo { perspective: 1200px; --mx: 0; --my: 0; --sc: 0; }
.pd-frame {
  transform: rotateY(calc(-22deg + var(--sc) * 22deg + var(--mx) * 8deg)) rotateX(calc(8deg - var(--sc) * 8deg - var(--my) * 6deg)) translateZ(0);
  transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
  box-shadow: 1px 0 0 #0b2024, 2px 1px 0 #0b2024, 3px 1px 0 #0b2024, 4px 2px 0 #0b2024, 5px 2px 0 #0b2024, 6px 3px 0 #0b2024, 7px 3px 0 #0b2024, 8px 4px 0 #0b2024, 30px 40px 60px rgb(16 44 48 / 0.28);
  will-change: transform;
}

/* Service cards: the picture lifts off the page and tilts toward the pointer. */
.service--scene { perspective: 900px; }
.service--scene .scene { --rx: 0deg; --ry: 0deg; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 220ms ease-out; transform-style: preserve-3d; will-change: transform; }
.service--scene:hover .scene { box-shadow: 0 22px 36px rgb(16 44 48 / 0.18); }
.service--scene:hover .scene-svg { transform: translateZ(26px) scale(1.03); }
.service--scene .scene-svg { transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1); }

/* Blocks rise into place as they are reached (only when the script is running). */
.js .reveal { opacity: 0; transform: translateY(34px) scale(0.975); transform-origin: 50% 100%; transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Final call: a road in perspective runs toward the reader. */
.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta { padding-bottom: 150px; }
.cta::before {
  content: ''; position: absolute; z-index: -1; left: -40%; right: -40%; bottom: -6%; height: 210%;
  background:
    linear-gradient(0deg, rgb(247 250 247 / 0.85) 50%, transparent 50%) 50% 0 / 9px 150px repeat-y,
    linear-gradient(90deg, transparent calc(50% - 232px), rgb(240 78 35 / 0.75) calc(50% - 232px), rgb(240 78 35 / 0.75) calc(50% - 226px), transparent calc(50% - 226px), transparent calc(50% + 226px), rgb(240 78 35 / 0.75) calc(50% + 226px), rgb(240 78 35 / 0.75) calc(50% + 232px), transparent calc(50% + 232px)),
    repeating-linear-gradient(0deg, rgb(201 213 206 / 0.22) 0 2px, transparent 2px 150px),
    repeating-linear-gradient(90deg, rgb(201 213 206 / 0.14) 0 2px, transparent 2px 150px);
  -webkit-mask-image: linear-gradient(0deg, #000 0%, rgb(0 0 0 / 0.5) 30%, transparent 62%); mask-image: linear-gradient(0deg, #000 0%, rgb(0 0 0 / 0.5) 30%, transparent 62%);
  transform: perspective(420px) rotateX(66deg); transform-origin: 50% 100%;
  animation: road 1.5s linear infinite;
}
@keyframes road { to { background-position: 50% 150px, 0 0, 0 150px, 0 0; } }
.cta .wrap { position: relative; }

@media (max-width: 960px) {
  .map { perspective: 1100px; }
  .map > svg { inset: 0 -2% 0; width: 104%; transform: translateY(calc(var(--sc) * -18px)) rotateX(calc(50deg + var(--sc) * 8deg)) rotateZ(calc(-16deg - var(--sc) * 6deg)) scale(0.9); }
  .tile { transform: none; }
  .tiles .tile { --float: 4px; }
  .pd-frame { transform: rotateY(calc(-16deg + var(--sc) * 16deg)) rotateX(calc(6deg - var(--sc) * 6deg)); }
}
@media (prefers-reduced-motion: reduce) {
  .map > svg, .tile, .tile-value, .cta::before { animation: none; transition: none; }
  .map > svg { transform: rotateX(54deg) rotateZ(-22deg) scale(0.94); }
  .tile { transform: none; }
  .pd-frame { transform: none; transition: none; }
  .service--scene .scene, .service--scene .scene-svg { transition: none; transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
@media print { .map::before, .cta::before { display: none; } }

/* Blog articles: readable measure, headings with air, tables that scroll inside their own box on phones. */
.article h2 { margin: 36px 0 12px; }
.article h2:first-child { margin-top: 0; }
.article p { margin-top: 12px; }
.article .faq { margin-top: 8px; }
.article a:not(.more) { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.table-wrap { overflow-x: auto; margin: 16px 0 0; border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table-wrap th, .table-wrap td { padding: 10px 14px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--rule); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap :is(td, th):lang(ja), .table-wrap :is(td, th):lang(zh), .table-wrap :is(td, th):lang(ko) { word-break: keep-all; } /* "12.80ユーロ" stays on one line; the wrapper scrolls if needed */
.table-wrap th { font-weight: 600; color: var(--muted); font-size: .875rem; background: var(--bg); }
.service h2 a, .service h3 a { color: inherit; text-decoration: none; }
.service h2 a:hover, .service h3 a:hover { color: var(--primary); text-decoration: underline; }
/* Landing motion (2026-11-17, docs/DECISIONS.md): a slow CSS 3D sway on the page-head scene and
   scroll-linked entrances (rise 10px) where the browser supports view timelines. No JS, no WebGL.
   Off under prefers-reduced-motion; browsers without view() simply show the content. */
.scene--3d { perspective: 900px; }
.scene--3d .scene-svg { transform-style: preserve-3d; animation: s-sway 9s ease-in-out infinite; will-change: transform; }
@keyframes s-sway { 0%, 100% { transform: rotateY(-7deg) rotateX(3deg); } 50% { transform: rotateY(7deg) rotateX(-2deg); } }
@supports (animation-timeline: view()) {
  .section .section-head, .section .answer, .section .services, .section .faq-group, .section .points, .section .steps {
    animation: s-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%;
  }
  @keyframes s-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .scene--3d .scene-svg, .section .section-head, .section .answer, .section .services, .section .faq-group, .section .points, .section .steps { animation: none !important; transform: none !important; opacity: 1 !important; }
}

/* Visually hidden text: gives "Learn more" links a descriptive accessible name (Lighthouse link-text). */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
