/* site.css - the one stylesheet (plans/archive/website-redesign-plan.md sections 2.2 and 2.3): the app's palette in both
   schemes as tokens, mobile first, two breakpoints (600 px, 1024 px) and a wider gutter at 1440 px. Dark is the default
   when the system states no preference; the CSS also honours :root[data-theme="light|dark"] so a gate can force either.
   No web font, no icon font, no third-party fetch; the images the tokens name are the site's own. */

:root {
  --bg: #1C1B24;
  --surface: #2A2835;
  --card: rgba(255, 255, 255, 0.06);
  --text: #F5F4F8;
  --muted: #A9A7B8;
  --accent: #22CE96;
  --accent-ink: #1C1B24;
  --accent-fill: rgba(48, 209, 88, 0.5);
  --free-fill: rgba(255, 66, 69, 0.3);
  --blue: #4A8FE8;
  --store-blue: #1E6BD0;
  --store-blue-text: #6BA6F5;
  --map-dot: rgba(169, 167, 184, 0.35);
  --line: rgba(245, 244, 248, 0.12);
  --shadow: none;
  --control-label: #FFFFFF;
  --picker-fill: rgba(142, 142, 147, 0.3);
  --stars: url(/assets/img/brand/stars-512.png);
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%2322CE96'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 2.5rem; --s6: 3rem; --s7: 3.5rem; --s8: 4rem;
  --gutter: 16px;
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F0EFF5; --surface: #FFFFFF; --card: #F2F2F7; --text: #1D1D1F; --muted: #5E5C6B; --accent: #0F7355; --accent-ink: #FFFFFF;
    --accent-fill: rgba(52, 199, 89, 0.5); --free-fill: rgba(255, 56, 60, 0.3); --blue: #0A5BC4; --store-blue: #0A5BC4; --store-blue-text: #0A5BC4;
    --map-dot: rgba(94, 92, 107, 0.3); --line: rgba(29, 29, 31, 0.12); --shadow: 0 8px 24px rgba(29, 29, 31, 0.08);
    --control-label: #1D1D1F; --picker-fill: rgba(142, 142, 147, 0.3);
    --stars: none;
    --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%230F7355'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F0EFF5; --surface: #FFFFFF; --card: #F2F2F7; --text: #1D1D1F; --muted: #5E5C6B; --accent: #0F7355; --accent-ink: #FFFFFF;
  --accent-fill: rgba(52, 199, 89, 0.5); --free-fill: rgba(255, 56, 60, 0.3); --blue: #0A5BC4; --store-blue: #0A5BC4; --store-blue-text: #0A5BC4;
  --map-dot: rgba(94, 92, 107, 0.3); --line: rgba(29, 29, 31, 0.12); --shadow: 0 8px 24px rgba(29, 29, 31, 0.08);
  --control-label: #1D1D1F; --picker-fill: rgba(142, 142, 147, 0.3);
  --stars: none;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%230F7355'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color-scheme: light;
}

/* the two-scheme pairs: Apple's black badge on the light scheme, the white one on dark; the app's Dark / Any backdrop
   and disc in the phone (literal declarations per scheme, image-set() after its url() fallback) */
.on-light { display: none; }
.screen { background-image: url(/assets/img/app/backdrop-dark.png); }
.screen { background-image: image-set(url(/assets/img/app/backdrop-dark.webp) type("image/webp"), url(/assets/img/app/backdrop-dark.png) type("image/png")); }
.disc { background-image: url(/assets/img/app/disc-dark.png); }
.disc { background-image: image-set(url(/assets/img/app/disc-dark.webp) type("image/webp"), url(/assets/img/app/disc-dark.png) type("image/png")); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .on-light { display: inline; }
  :root:not([data-theme="dark"]) .on-dark { display: none; }
  :root:not([data-theme="dark"]) .screen { background-image: url(/assets/img/app/backdrop-light.png); }
  :root:not([data-theme="dark"]) .screen { background-image: image-set(url(/assets/img/app/backdrop-light.webp) type("image/webp"), url(/assets/img/app/backdrop-light.png) type("image/png")); }
  :root:not([data-theme="dark"]) .disc { background-image: url(/assets/img/app/disc-light.png); }
  :root:not([data-theme="dark"]) .disc { background-image: image-set(url(/assets/img/app/disc-light.webp) type("image/webp"), url(/assets/img/app/disc-light.png) type("image/png")); }
}
:root[data-theme="light"] .on-light { display: inline; }
:root[data-theme="light"] .on-dark { display: none; }
:root[data-theme="light"] .screen { background-image: url(/assets/img/app/backdrop-light.png); }
:root[data-theme="light"] .screen { background-image: image-set(url(/assets/img/app/backdrop-light.webp) type("image/webp"), url(/assets/img/app/backdrop-light.png) type("image/png")); }
:root[data-theme="light"] .disc { background-image: url(/assets/img/app/disc-light.png); }
:root[data-theme="light"] .disc { background-image: image-set(url(/assets/img/app/disc-light.webp) type("image/webp"), url(/assets/img/app/disc-light.png) type("image/png")); }

/* ---- base ---------------------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.cjk { line-height: 1.7; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
body.cjk h1, body.cjk h2, body.cjk h3 { letter-spacing: 0; line-height: 1.3; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); margin-bottom: var(--s3); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 var(--s2); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -4rem; padding: .5rem 1rem; background: var(--accent); color: var(--accent-ink); border-radius: 999px; z-index: 20; }
.skip:focus { top: var(--s2); }
.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap.narrow { max-width: 44rem; }
section { padding: var(--s6) 0; }
section h2 { text-align: center; }
.section-lede { text-align: center; color: var(--muted); max-width: 40rem; margin: calc(var(--s3) * -1) auto var(--s4); }
.text-link { font-weight: 600; }
.text-link::after { content: " \2192"; }

/* ---- header -------------------------------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 10; background: var(--bg); background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: var(--s2); min-height: 60px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); font-weight: 700; font-size: 1.125rem; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.nav-wide { display: none; gap: var(--s3); }
.nav-wide a { color: var(--text); font-weight: 500; padding: .5rem 0; }
.site-header .badge-header { display: none; }
.nav-menu { position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--text); }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu[open] summary { background: var(--card); }
.nav-menu nav {
  position: absolute; right: 0; top: calc(100% + .5rem); min-width: 12rem; display: grid; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .5rem; z-index: 11;
}
.nav-menu nav a { display: block; padding: .75rem 1rem; color: var(--text); border-radius: 10px; min-height: 44px; }
.nav-menu nav a:hover { background: var(--card); text-decoration: none; }

/* ---- hero ---------------------------------------------------------------------------------------------------- */
.hero { padding-top: var(--s5); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; background: var(--stars) center / 640px repeat; opacity: .5; pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: var(--s5); align-items: center; }
.eyebrow { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8125rem; margin-bottom: var(--s2); }
body.cjk .eyebrow { letter-spacing: .04em; }
.lede { font-size: 1.25rem; color: var(--muted); max-width: 32rem; margin: var(--s3) 0 var(--s4); }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.badge { display: inline-block; line-height: 0; border-radius: 8px; }
.badge img { height: 50px; width: auto; transition: transform .12s ease; }
.badge:hover img { transform: translateY(-1px); }
.store-notice { flex-basis: 100%; margin: 0; padding: .6rem .9rem; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: .9375rem; }
.store-notice[hidden] { display: none; }
.qr { display: none; margin: var(--s4) 0 0; align-items: center; gap: var(--s2); color: var(--muted); font-size: .9375rem; }
.qr img { width: 96px; height: 96px; padding: 6px; background: #fff; border-radius: 10px; }

/* the phone: the app's main screen composed from its own artwork (Views/Home/_PhoneFrame.cshtml) */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  --ph: clamp(190px, 60vw, 280px);
  width: calc(var(--ph) + 20px); padding: 10px; border-radius: calc(var(--ph) * .16); background: #101018;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 0 0 2px #2c2c36;
}
.screen {
  position: relative; width: var(--ph); height: calc(var(--ph) * 2.164); border-radius: calc(var(--ph) * .13); overflow: hidden;
  display: flex; flex-direction: column; align-items: center; color: var(--control-label);
  background-position: center; background-size: cover; background-repeat: no-repeat;
  font-size: calc(var(--ph) * .043);
}
.screen::before {
  content: ""; position: absolute; top: calc(var(--ph) * .04); left: 50%; transform: translateX(-50%);
  width: calc(var(--ph) * .33); height: calc(var(--ph) * .085); border-radius: 999px; background: #101018;
}
.statusbar { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: calc(var(--ph) * .045) calc(var(--ph) * .085) 0; font-weight: 600; font-size: calc(var(--ph) * .05); }
.sb-icons { display: flex; gap: 5px; align-items: center; }
.sb-icons svg { height: calc(var(--ph) * .04); width: auto; }
.picker {
  margin-top: calc(var(--ph) * .085); width: calc(var(--ph) * .66); height: calc(var(--ph) * .1); border-radius: 999px;
  background: var(--picker-fill); display: flex; align-items: center; gap: calc(var(--ph) * .03); padding: 0 calc(var(--ph) * .035);
  font-weight: 500;
}
.picker img { width: calc(var(--ph) * .1); height: calc(var(--ph) * .075); border-radius: 2px; }
.picker span { flex: 1; }
.picker svg { width: calc(var(--ph) * .05); height: calc(var(--ph) * .05); }
.disc { position: relative; width: calc(var(--ph) * .6); height: calc(var(--ph) * .6); margin: auto 0 0; background-position: center; background-size: 100% 100%; background-repeat: no-repeat; }
.disc img { position: absolute; inset: 0; width: 100%; height: 100%; }
.app-status { margin: calc(var(--ph) * .05) 0 auto; min-height: calc(var(--ph) * .12); padding: 0 calc(var(--ph) * .08); text-align: center; font-weight: 600; font-size: calc(var(--ph) * .043); }
.app-button {
  width: calc(var(--ph) * .41); height: calc(var(--ph) * .2); margin-bottom: calc(var(--ph) * .05 + var(--ph) * .18); border-radius: calc(var(--ph) * .04);
  background: var(--free-fill); display: grid; place-items: center; font-weight: 700; font-size: calc(var(--ph) * .043); text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

/* ---- features ------------------------------------------------------------------------------------------------ */
.cards { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); box-shadow: var(--shadow); }
.card .icon { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: var(--s2); }
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; color: var(--muted); }

/* ---- how it works -------------------------------------------------------------------------------------------- */
.steps { display: grid; gap: var(--s3); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 3rem 1fr; column-gap: var(--s2); align-items: start; }
.steps .num { grid-row: 1 / span 2; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--blue); color: var(--blue); font-weight: 700; font-size: 1.25rem; }
.steps h3 { align-self: center; }
.steps p { margin: 0; color: var(--muted); }

/* ---- countries ----------------------------------------------------------------------------------------------- */
.countries { background: var(--surface); }
.wrap-map { padding: 0; max-width: none; }
.map { width: 100%; }
.world { width: 100%; height: auto; display: block; }
.world .land { stroke: var(--map-dot); stroke-linecap: round; fill: none; }
.world .land-on { stroke: var(--accent); stroke-linecap: round; fill: none; }
.world .pin-disc { fill: var(--surface); stroke: var(--line); stroke-width: 1; }
.world .leader { stroke: var(--muted); stroke-width: 1; }
.world .pin-label { display: none; font-family: var(--font); font-size: 15px; font-weight: 600; fill: var(--text); paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: var(--s3); }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .8rem .4rem .5rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .9375rem; min-height: 40px; }
.chip img { width: 24px; height: 18px; border-radius: 2px; }
.vip-mark { color: var(--accent); font-size: .8em; }
.legend { text-align: center; color: var(--muted); font-size: .9375rem; margin: var(--s2) 0 0; }

/* ---- plans --------------------------------------------------------------------------------------------------- */
.plans-grid { display: grid; gap: var(--s3); align-items: start; }
.plan-free { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); box-shadow: var(--shadow); }
.plan-free h3 { font-size: 1.5rem; }
.plan-price { color: var(--muted); margin-bottom: var(--s2); }
.ticks li { position: relative; padding-left: 1.75rem; margin-bottom: .5rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.1rem; height: 1.1rem; background: var(--tick) center / contain no-repeat; }
.plan-free .badge { margin-top: var(--s2); }
.plan-free .badge img { height: 45px; }
.plan-free .store-notice { margin-top: var(--s2); }

/* the store block - the app's paywall (Views/Home/_Store.cshtml); the app's radii, its blue */
.store { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4) var(--s2) var(--s2); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; }
.store-badge { width: 66px; height: 46px; border-radius: 13px; background: var(--store-blue); color: #fff; display: grid; place-items: center; margin-bottom: var(--s2); }
.store h3 { font-size: 1.75rem; text-align: center; margin-bottom: var(--s3); }
.store-features { width: 100%; max-width: 26rem; display: grid; gap: .875rem; margin-bottom: var(--s3); }
.store-features li { display: flex; gap: .625rem; align-items: flex-start; }
.store-features .check { flex: none; width: 22px; height: 22px; color: var(--store-blue); margin-top: .1rem; }
.store-features strong { display: block; font-size: .9375rem; }
.store-features small { display: block; color: var(--muted); font-size: .8125rem; }
.plan-cards { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: .75rem 0 .875rem; }
@media (max-width: 359px) { .plan-cards { grid-template-columns: 1fr; gap: 1.25rem; } }
.plan-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: .75rem .625rem; min-width: 0; }
.plan-card.selected { border: 2px solid var(--store-blue); padding: calc(.75rem - 1px) calc(.625rem - 1px); }
.plan-card p { margin: 0; }
.plan-name { font-weight: 700; font-size: .9375rem; }
.plan-card.selected .plan-name { color: var(--store-blue-text); }
.plan-per-month { font-weight: 700; font-size: 1rem; margin: .375rem 0 .25rem !important; white-space: nowrap; }
.plan-caption { color: var(--muted); font-size: .8125rem; }
.plan-saving { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; margin-top: .375rem !important; font-size: .8125rem; color: var(--muted); }
.plan-saving .save, .ribbon { background: var(--store-blue); color: #fff; font-weight: 700; font-size: .6875rem; border-radius: 999px; padding: .2rem .5rem; white-space: nowrap; }
.ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: .25rem .625rem; }
.purchase { width: 100%; text-align: center; }
.button-primary { display: block; width: 100%; min-height: 50px; padding: .8rem 1.25rem; border-radius: 999px; background: var(--store-blue); color: #fff; font-weight: 600; font-size: 1.0625rem; text-align: center; transition: filter .12s ease, transform .12s ease; }
.button-primary:hover { text-decoration: none; filter: brightness(1.08); transform: translateY(-1px); }
.purchase .terms { color: var(--muted); font-size: .875rem; margin: .875rem 0 0; }
.purchase .store-notice { margin-top: .75rem; text-align: left; }
.store-links { display: flex; gap: .875rem; font-size: .8125rem; margin: var(--s3) 0 var(--s2); color: var(--muted); }
.store-links a { color: var(--store-blue-text); }
.storefront-note { color: var(--muted); font-size: .8125rem; text-align: center; margin: 0; max-width: 26rem; }

/* ---- privacy ------------------------------------------------------------------------------------------------- */
.privacy { background: var(--surface); }
.privacy .ticks { margin-bottom: var(--s2); }

/* ---- footer -------------------------------------------------------------------------------------------------- */
.site-footer { padding: var(--s5) 0 var(--s6); border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
.site-footer .wrap { display: grid; gap: var(--s2); justify-items: center; text-align: center; }
.footer-links, .languages { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); justify-content: center; }
.site-footer a { color: var(--text); padding: .25rem 0; }
.languages a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.copyright { margin: 0; }

/* ---- the legal pages ----------------------------------------------------------------------------------------- */
.legal-text { padding: var(--s5) var(--gutter) var(--s6); }
.legal-text h1 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); margin-bottom: var(--s3); }
.legal-text h2 { font-size: 1.375rem; text-align: left; margin: var(--s4) 0 var(--s2); }
.legal-text h3 { margin: var(--s3) 0 var(--s2); }
.legal-text ul { list-style: disc; padding-left: 1.5rem; margin-bottom: var(--s2); }
.legal-text li { margin-bottom: .375rem; }

/* ---- motion -------------------------------------------------------------------------------------------------- */
.reveal.pre { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
.map.pre .pin { opacity: 0; }
.map.in .pin { transform-box: fill-box; transform-origin: center; animation: pin-rise .5s ease-out both; }
.map.in .pin:nth-child(1) { animation-delay: .05s } .map.in .pin:nth-child(2) { animation-delay: .1s } .map.in .pin:nth-child(3) { animation-delay: .15s } .map.in .pin:nth-child(4) { animation-delay: .2s }
.map.in .pin:nth-child(5) { animation-delay: .25s } .map.in .pin:nth-child(6) { animation-delay: .3s } .map.in .pin:nth-child(7) { animation-delay: .35s } .map.in .pin:nth-child(8) { animation-delay: .4s }
.map.in .pin:nth-child(9) { animation-delay: .45s } .map.in .pin:nth-child(10) { animation-delay: .5s } .map.in .pin:nth-child(11) { animation-delay: .55s } .map.in .pin:nth-child(12) { animation-delay: .6s }
.map.in .pin:nth-child(13) { animation-delay: .65s } .map.in .pin:nth-child(14) { animation-delay: .7s } .map.in .pin:nth-child(15) { animation-delay: .75s } .map.in .pin:nth-child(16) { animation-delay: .8s }
@keyframes pin-rise { from { opacity: 0; transform: translateY(6px) scale(.8); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal.pre, .map.pre .pin { opacity: 1; transform: none; }
  .reveal.in, .map.in .pin { transition: none; animation: none; }
  .badge img, .button-primary { transition: none; }
}
[id] { scroll-margin-top: 72px; }

/* ---- tablet (600 px) ----------------------------------------------------------------------------------------- */
@media (min-width: 600px) {
  body { font-size: 1.125rem; }
  section { padding: var(--s8) 0; }
  .nav-wide { display: flex; }
  .nav-menu { display: none; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
  .steps li { grid-template-columns: 1fr; row-gap: .5rem; }
  .steps .num { grid-row: auto; }
  .world .pin-label { display: block; }
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .store { padding: var(--s4) var(--s3) var(--s3); }
  .plan-card { padding: .875rem; }
  .plan-card.selected { padding: calc(.875rem - 1px); }
  .plan-per-month { font-size: 1.25rem; }
}

/* ---- desktop (1024 px) --------------------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .site-header .badge-header { display: inline-block; }
  .badge-header img { height: 40px; }
  .hero { min-height: 70vh; display: flex; align-items: center; }
  .hero-grid { grid-template-columns: 1.2fr .8fr; gap: var(--s8); }
  .qr { display: flex; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .world .pin-label { font-size: 13px; }
  .plans-grid { grid-template-columns: 1fr 2fr; }
  .plan-cards { max-width: 34rem; }
}
@media (min-width: 1440px) { :root { --gutter: 40px; } }

/* ---- print --------------------------------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer nav, .phone-wrap, .qr, .badges, .hero::before, .map, .badge { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .plan-free, .store, .countries, .privacy { background: none; box-shadow: none; border-color: #ccc; }
}
