/* Local design concept. All interface colors have light/dark roles. */
:root {
  color-scheme: light dark;
  --bg: #fafbfd;
  --text: #172538;
  --muted: #58687d;
  --surface: #ffffff;
  --soft: #eef3fa;
  --line: #dbe3ee;
  --control-line: #8090a6;
  --accent: #235ad2;
  --accent-soft: #e8efff;
  --action: #235ad2;
  --on-action: #ffffff;
  --map-ground: #eaf0f5;
  --block: #dbe4ed;
  --park: #d2e3d9;
  --road: #ffffff;
  --river: #b6d6ef;
  --reward: #88601b;
  --reward-soft: #fcf3df;
  --success: #1b7442;
  --success-soft: #e3f4ea;
  --shadow: 0 22px 65px -28px #294d7b38;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101722;
    --text: #edf2fa;
    --muted: #afbed2;
    --surface: #192332;
    --soft: #202e42;
    --line: #34445a;
    --control-line: #71839e;
    --accent: #9bbdff;
    --accent-soft: #243757;
    --action: #9bbdff;
    --on-action: #14243e;
    --map-ground: #202d3d;
    --block: #2c3c50;
    --park: #2a4540;
    --road: #435269;
    --river: #294d6b;
    --reward: #f0cb7d;
    --reward-soft: #3a3225;
    --success: #7bd9a2;
    --success-soft: #1f3a2d;
    --shadow: 0 22px 65px -28px #000000aa;
  }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 "Segoe UI", system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.icon-definitions { position: absolute; overflow: hidden; pointer-events: none; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 32px 16px; }
.lang { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 650; letter-spacing: .4px; line-height: 1.4; text-decoration: none; }
.lang:hover { color: var(--accent); border-color: var(--accent); }
.lang svg { width: 16px; height: 16px; flex: 0 0 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border-radius: 13px; display: block; }
.brand-copy { font-size: 21px; font-weight: 750; line-height: 1.3; letter-spacing: -.7px; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: .1px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(40px, 4.35vw, 59px); line-height: 1.08; letter-spacing: -2.5px; font-weight: 750; margin-bottom: 26px; }
h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.19; letter-spacing: -1.4px; font-weight: 700; margin-bottom: 22px; }
h3 { font-size: 19px; line-height: 1.4; letter-spacing: -.3px; margin-bottom: 9px; }
p { margin-bottom: 16px; }
.accent { color: var(--accent); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--accent); font-size: 12px; letter-spacing: 1.2px; font-weight: 650; text-transform: uppercase; }
.hero { display: grid; grid-template-columns: 1fr 1.02fr; align-items: center; gap: 54px; padding: 62px 0 92px; }
.hero > div { min-width: 0; }
.hero .eyebrow { font-size: 11px; letter-spacing: 1.4px; }
.lead { max-width: 470px; font-size: 17px; line-height: 1.8; color: var(--muted); }
.actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 49px; padding: 12px 19px; border: 1px solid var(--control-line); border-radius: 11px; background: var(--surface); color: var(--text); font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; white-space: nowrap; transition: transform .16s ease, box-shadow .16s ease; }
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.button.primary { background: var(--action); color: var(--on-action); border-color: var(--action); box-shadow: 0 5px 14px -8px var(--accent); }
.button:disabled { color: var(--muted); background: var(--soft); border-color: var(--line); cursor: default; transform: none; box-shadow: none; }
.store-icon { width: 19px; height: 19px; flex: 0 0 19px; }
.note { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 14px; margin-bottom: 0; }
.platform { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.platform .note { margin: 0; }
.preview { margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--surface); }
.map-preview { box-shadow: var(--shadow); padding: 8px; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 17px 20px; font-size: 14px; }
.preview-heading strong { letter-spacing: -.2px; }
.map { display: block; width: 100%; height: auto; border-radius: 17px; }
.map-ground { fill: var(--map-ground); }
.map-blocks { fill: var(--block); }
.map-park { fill: var(--park); }
.map-road { stroke: var(--road); stroke-width: 19; fill: none; }
.map-river { stroke: var(--river); stroke-width: 30; fill: none; }
.map-route { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 5 6; opacity: .5; }
.map-marker { color: var(--on-action); }
.map-marker circle { fill: var(--action); stroke: var(--surface); stroke-width: 3; }
.map-marker .marker-halo { fill: var(--accent); opacity: .15; stroke: none; }
.map-label { fill: var(--text); font-size: 12px; font-weight: 600; paint-order: stroke; stroke: var(--map-ground); stroke-width: 4px; stroke-linejoin: round; }
.map-detail { display: flex; align-items: center; gap: 14px; margin: -13px 18px 16px; padding: 17px; position: relative; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow); font-size: 14px; }
.map-detail p { margin: 3px 0 0; font-size: 12px; color: var(--muted); }
.badge { display: inline-grid; place-items: center; width: 52px; height: 52px; flex: 0 0 52px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); }
.badge svg { width: 28px; height: 28px; }
.section { padding-block: 76px; border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 88px; }
.split > * { min-width: 0; }
.split p:not(.eyebrow) { color: var(--muted); }
.split > div > p:last-child { margin-bottom: 0; }
.section-number { display: inline-grid; place-items: center; width: 29px; height: 29px; border: 1px solid var(--line); border-radius: 9px; font-size: 11px; letter-spacing: 0; background: var(--surface); }
#map > div { grid-column: 2; grid-row: 1; }
#map > figure { grid-column: 1; grid-row: 1; }
.start { padding-block: 48px 60px; border: 0; text-align: center; }
.start .actions { margin-top: 0; justify-content: center; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 26px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer strong { font-weight: 650; color: var(--text); }
.footer div { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { text-decoration-color: var(--line); }
.footer a:hover { color: var(--accent); }
.skip { position: absolute; top: -100px; left: 16px; padding: 10px 16px; background: var(--surface); z-index: 1; }
.skip:focus { top: 10px; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 28px; }
  .split { gap: 40px; }
  h1 { font-size: 46px; }
  .button { padding-inline: 14px; }
}
@media (max-width: 800px) {
  .wrap { width: min(600px, calc(100% - 40px)); }
  .header { padding-block: 24px 12px; }
  .hero, .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero { padding-block: 35px 52px; }
  .hero .lead { max-width: 530px; }
  h1 { font-size: clamp(38px, 7vw, 52px); letter-spacing: -1.7px; }
  h2 { font-size: 34px; }
  .section { padding-block: 48px; }
  #map > div, #map > figure { grid-column: auto; grid-row: auto; }
  .start { padding-block: 36px 44px; }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 32px); }
  .brand-copy { font-size: 19px; }
  .brand img { width: 40px; height: 40px; }
  h1 { font-size: 37px; letter-spacing: -1.8px; }
  h2 { font-size: 30px; }
  .lead { font-size: 16px; line-height: 1.7; }
  .actions { gap: 7px; }
  .button { gap: 7px; padding: 11px 13px; font-size: 13px; min-height: 46px; }
  .store-icon { width: 17px; height: 17px; flex-basis: 17px; }
  .map-preview { padding: 5px; border-radius: 19px; }
  .preview-heading { padding: 14px; font-size: 13px; }
  .map-detail { margin: -8px 10px 14px; padding: 12px; gap: 10px; }
  .map-detail p { font-size: 11px; }
  .footer { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:hover { transform: none; }
}

/* Illustration scenes share the map detail card's look. */
.scene { display: grid; gap: 12px; padding: 22px 18px; border-radius: 17px; background: var(--map-ground); }
.scene .map-detail { margin: 0; }
.progress { padding: 4px 10px; border-radius: 20px; background: var(--success-soft); color: var(--success); font-size: 12px; font-weight: 650; }
.received-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.received { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--success); border-radius: 15px; background: var(--surface); box-shadow: 0 0 0 3px var(--success-soft), 0 10px 26px -16px var(--success); font-size: 14px; }
.received strong { flex: 1; min-width: 0; font-weight: 600; }
.received .badge { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; background: var(--success-soft); color: var(--success); }
.received .badge svg { width: 22px; height: 22px; }
.status { display: inline-flex; align-items: center; gap: 5px; color: var(--success); font-size: 12px; font-weight: 650; white-space: nowrap; }
.status svg { width: 16px; height: 16px; }
.final-card { margin-top: 6px; border-color: var(--reward); box-shadow: 0 0 0 4px var(--reward-soft), var(--shadow); }
.final-card .badge { background: var(--reward-soft); color: var(--reward); }
.final-card strong { font-size: 15px; }
@media (max-width: 420px) {
  .scene { padding: 14px 10px; gap: 10px; }
  .received { gap: 10px; padding: 9px 10px; font-size: 13px; }
  .status { font-size: 11px; }
}
