/* SIMochka storefront — paper, ink, and a little room to travel. */
:root {
    color-scheme: light;
    --cobalt: #2424e8; --paper: #fffdf5; --ink: #15151b; --lime: #dfff80;
    --muted: #5d5c65; --line: #dddad0; --subtle: #f0eee5; --danger: #a92332;
    --radius: 4px; --border: 2px solid var(--ink); --shadow: 4px 4px 0 var(--ink);
    --max-width: 1200px; --motion: 180ms; --ease-out: cubic-bezier(.2, .75, .25, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--cobalt); scroll-behavior: smooth; scroll-padding-top: 24px; scrollbar-gutter: stable; }
body { margin: 0; color: var(--paper); background: var(--cobalt); font-size: 16px; line-height: 1.5; min-width: 280px; min-height: 100svh; transition: background-color 480ms ease; }
body:has(.desktop-nav [href="#orders"][aria-current="page"]) { background-color: #2820c9; }
body:has(.desktop-nav [href="#account"][aria-current="page"]) { background-color: #3223cd; }
body:has(dialog[open]) { overflow: hidden; }
html:has(dialog[open]) { background: #16165e; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select, textarea, a { touch-action: manipulation; }
button:disabled, input:disabled, select:disabled { cursor: not-allowed; }
button:disabled { opacity: .55; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--paper); }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 850; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }
svg { display: block; flex-shrink: 0; }
svg:not([fill]) { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
img { max-width: 100%; height: auto; }
input, textarea { min-width: 0; }
.page-width { width: min(calc(100% - 64px), var(--max-width)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 12px 18px; border: var(--border); background: var(--lime); color: var(--ink); transform: translateY(-180%); font-weight: 750; }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid #fffdf533; }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 30px; font-weight: 850; letter-spacing: -1.5px; text-decoration: none; white-space: nowrap; }
.brand-dot { color: var(--lime); }
.desktop-nav { display: flex; align-items: center; gap: 8px; }
.desktop-nav a { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border: 2px solid transparent; border-radius: var(--radius); font-weight: 750; text-decoration: none; transition: background var(--motion), color var(--motion); }
.desktop-nav a[aria-current="page"], .desktop-nav a.is-active { background: var(--paper); color: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.language-switcher { display: flex; gap: 2px; flex-shrink: 0; border: 1px solid #fffdf573; border-radius: var(--radius); padding: 3px; }
.language-switcher button { border: 0; color: var(--paper); background: transparent; padding: 8px 10px; min-height: 44px; min-width: 44px; font-size: 12px; font-weight: 800; border-radius: 2px; }
.language-switcher button[aria-pressed="true"], .language-switcher button.is-active { color: var(--ink); background: var(--lime); }
.catalog-hero { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 20px; padding-block: 52px 56px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; line-height: 1.45; margin-bottom: 22px; }
.eyebrow-dot { width: 8px; height: 8px; background: var(--lime); }
.hero-copy h1 { font-size: clamp(2.8rem, 5.8vw, 5rem); line-height: .99; letter-spacing: -.065em; }
.hero-title-accent { color: var(--lime); }
.hero-description { max-width: 490px; margin-top: 22px; font-size: 17px; line-height: 1.6; color: #fffdf5d9; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.hero-button { flex-shrink: 0; }
.hero-note { font-size: 12px; line-height: 1.5; max-width: 130px; color: #fffdf5bd; }
.hero-art { width: 100%; max-width: 400px; justify-self: end; }
.travel-globe { width: 100%; height: auto; }
.app-view { min-height: 300px; padding-bottom: 24px; outline: none; }
.catalog-hero[hidden] + .app-view { padding-top: 32px; }
.app-view > * + * { margin-top: 28px; }
.app-view:not(:has(.catalog-panel)) { scroll-margin-top: 24px; }
.neo-card { background: var(--paper); color: var(--ink); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; min-width: 0; }
.neo-card > h2 + p, .neo-card > h3 + p { margin-top: 12px; }
.neo-card .neo-card { box-shadow: none; }
.button, .button-secondary, .button-quiet, .button-danger, .icon-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 20px;
    border: var(--border); border-radius: var(--radius); background: var(--lime); color: var(--ink);
    font-size: 15px; line-height: 1.3; font-weight: 750; text-align: center; text-decoration: none; box-shadow: var(--shadow);
    transition: transform 100ms, box-shadow 100ms, background var(--motion); white-space: normal;
}
.button svg, .button-secondary svg, .button-quiet svg, .button-danger svg, .icon-button svg { width: 21px; height: 21px; }
.button-secondary, .icon-button { background: var(--paper); }
.button-quiet { background: transparent; box-shadow: none; border-color: transparent; color: inherit; }
.button-danger { background: #fff0ed; color: var(--danger); border-color: var(--danger); box-shadow: 3px 3px 0 var(--danger); }
.button:active:not(:disabled), .button-secondary:active:not(:disabled), .button-danger:active:not(:disabled), .icon-button:active:not(:disabled) { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.button:disabled, .button-secondary:disabled, .button-danger:disabled { box-shadow: none; }
.button[aria-busy="true"], .button-secondary[aria-busy="true"] { cursor: wait; }
.button-block, .full-width { width: 100%; }
.button-small { min-height: 44px; padding: 9px 14px; font-size: 13px; }
.icon-button { min-width: 48px; min-height: 48px; padding: 11px; box-shadow: none; }
.link-button { border: 0; background: transparent; color: inherit; padding: 12px 0; min-height: 44px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.section-heading > div { min-width: 0; }
.section-heading p, .section-description { margin-top: 8px; color: #fffdf5c4; font-size: 15px; }
.neo-card .section-heading p, .neo-card .section-description { color: var(--muted); }
.section-heading .eyebrow { margin-bottom: 10px; }
.catalog-panel .section-heading .eyebrow { color: var(--muted); }
.popular-heading { margin-bottom: 16px; font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: 0; }
.results-count { font-size: 13px; line-height: 1.5; color: #fffdf5cf; }
.more-plans { display: flex; justify-content: center; margin-top: 32px; }
.compatibility-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; padding-block: 22px; box-shadow: none; }
.compatibility-card .cluster { flex-wrap: nowrap; gap: 12px; }
.compatibility-card .cluster svg { width: 25px; height: 25px; color: var(--cobalt); }
.compatibility-card h3 { font-size: 17px; }
.compatibility-card p { font-size: 13px; line-height: 1.6; }
.compatibility-card .link-button { font-size: 13px; text-align: start; max-width: 160px; }
.faq-section { padding-top: 16px; }
.faq-section > h2 { margin-bottom: 24px; }
.faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.faq-grid .neo-card { padding: 22px; box-shadow: none; }
summary { cursor: pointer; font-weight: 750; line-height: 1.45; min-height: 44px; padding-block: 10px; }
summary::marker { color: var(--cobalt); font-size: .8em; }
.faq-grid details > p { margin-top: 12px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-small { display: flex; flex-direction: column; gap: 12px; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.spread { justify-content: space-between; }
.align-start { align-items: flex-start; }
.muted, .field-help, .caption { color: var(--muted); }
.caption, .field-help { font-size: 13px; line-height: 1.5; }
.text-center { text-align: center; }
.text-right { text-align: end; }
.text-ltr { direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; }
.divider { border: 0; border-top: 1px solid var(--line); margin-block: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-label, .field > label { font-size: 13px; font-weight: 750; line-height: 1.4; }
.input, .select, .field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 15px; border: var(--border); border-radius: var(--radius); background: #fff; color: var(--ink); font-size: 16px; line-height: 1.4; }
.input::placeholder, .field input::placeholder { color: #777680; opacity: 1; }
.field select, .select { padding-inline-end: 36px; }
.field input[type="checkbox"], .field input[type="radio"] { width: 22px; min-height: 22px; accent-color: var(--cobalt); }
.field-error, .error-text { color: var(--danger); font-size: 14px; line-height: 1.5; }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.search-field { position: relative; }
.search-field svg { position: absolute; width: 20px; height: 20px; inset-inline-start: 16px; top: 16px; color: var(--muted); }
.search-field .input { padding-inline-start: 48px; }
.catalog-panel, .country-panel { padding: 28px; }
.catalog-toolbar, .filter-row { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.catalog-toolbar > .field { flex: 1 1 200px; }
.country-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.country-card { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 68px; padding: 14px 16px; background: var(--paper); color: var(--ink); border: var(--border); border-radius: var(--radius); font-weight: 750; font-size: 15px; text-align: start; text-decoration: none; transition: background var(--motion), transform 100ms; }
.country-card:hover, .country-card[aria-selected="true"] { background: var(--lime); }
.country-card:active { transform: translateY(2px); }
.country-card img, .country-flag { width: 32px; flex-shrink: 0; }
.country-flag { font-size: 26px; line-height: 1.2; }
.country-card > span:not(.country-flag) { min-width: 0; overflow-wrap: anywhere; }
.country-card > svg { width: 18px; height: 18px; margin-inline-start: auto; }
.country-button { display: flex; justify-content: space-between; min-height: 64px; min-width: min(320px, 100%); }
.filter-group + .filter-group { margin-top: 24px; }
.filter-fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.filter-fieldset legend { padding: 0; margin-bottom: 12px; font-size: 13px; font-weight: 750; line-height: 1.5; }
.chip-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; padding: 0 3px 3px 0; }
.filter-group > h3, .filter-label { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 750; }
.segmented, .chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip, .segmented button { border: var(--border); background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 11px 16px; min-height: 48px; font-size: 14px; line-height: 1.35; font-weight: 700; transition: background var(--motion), transform 100ms; }
.chip[aria-pressed="true"], .chip.is-active, .segmented [aria-pressed="true"], .segmented .is-active { background: var(--lime); box-shadow: 2px 2px 0 var(--ink); }
.filter-summary { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 14px; line-height: 1.5; }
.plan-grid, .order-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-right: 4px; }
.plan-card { display: flex; flex-direction: column; align-items: stretch; min-width: 0; border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper); color: var(--ink); padding: 24px; position: relative; }
.plan-card.is-recommended, .plan-card.recommended { border-color: var(--ink); }
.plan-card .badge { align-self: flex-start; margin-bottom: 20px; }
.plan-tag { display: inline-flex; align-items: center; min-height: 27px; margin-bottom: 20px; font-size: 11px; line-height: 1.35; font-weight: 700; color: var(--muted); }
.badge-lime { background: var(--lime); }
.plan-card:not(.is-recommended) > .button { background: var(--paper); }
.plan-card .link-button { font-size: 13px; min-height: 44px; margin-top: -8px; }
.provider-notes { white-space: pre-line; overflow-wrap: anywhere; font-size: 14px; line-height: 1.65; }
.fair-use { border-inline-start: 3px solid var(--ink); padding-inline-start: 12px; margin-block-start: 14px; min-width: 0; }
.fair-use-summary { font-size: 14px; line-height: 1.55; font-weight: 650; overflow-wrap: anywhere; }
.fair-use-reset { font-size: 13px; line-height: 1.55; color: var(--muted); margin-block-start: 8px; }
.fair-use-terms { margin-block-start: 8px; }
.fair-use-terms summary { cursor: pointer; display: flex; align-items: center; min-height: 44px; padding-block: 8px; font-size: 13px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.fair-use-terms[open] summary { margin-block-end: 4px; }
.fair-use-terms .provider-notes { max-height: 20rem; overflow: auto; padding-inline-end: 8px; }
.plan-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.plan-data, .plan-allowance { display: block; font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 850; line-height: 1.05; letter-spacing: -.06em; }
.plan-data small, .plan-allowance small { font-size: .44em; font-weight: 750; letter-spacing: -.025em; margin-inline-start: 3px; }
.plan-duration { color: var(--muted); margin-top: 10px; font-size: 15px; }
.plan-meta { font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 18px; }
.plan-price { display: block; font-size: 30px; font-weight: 800; line-height: 1.2; letter-spacing: -.04em; }
.plan-price small { font-size: 12px; letter-spacing: 0; color: var(--muted); font-weight: 500; }
.plan-card-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 28px; }
.plan-card > .button, .plan-card > .button-secondary { margin-top: 24px; }
.plan-card > p + .plan-price { margin-top: 24px; }
.badge, .status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; width: fit-content; border: 1.5px solid var(--ink); border-radius: 2px; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 800; line-height: 1.35; letter-spacing: .025em; }
.status { background: var(--subtle); }
.status-success, .status.is-success { background: var(--lime); }
.status-pending, .status.is-pending { background: #ffeaaa; }
.status-error, .status.is-error { background: #ffe5e0; color: var(--danger); border-color: var(--danger); }
.empty-state, .loading-state, .error-state { text-align: center; padding: clamp(28px, 5vw, 64px); }
.empty-state > svg, .error-state > svg { width: 44px; height: 44px; margin: 0 auto 20px; }
.empty-state h2, .empty-state h3, .error-state h2 { margin-bottom: 12px; }
.empty-state p, .error-state p { max-width: 480px; margin-inline: auto; color: var(--muted); }
.empty-state .button, .error-state .button, .error-state .button-secondary { margin-top: 24px; }
.empty-state .field-help { margin-top: 20px; }
.empty-icon { display: grid; place-items: center; width: 64px; height: 64px; border: var(--border); background: var(--lime); margin: 0 auto 24px; transform: rotate(-4deg); }
.empty-icon svg { width: 30px; height: 30px; }
.app-view > .error-state { background: var(--paper); color: var(--ink); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.loading-mark { display: inline-block; width: 24px; height: 24px; border: 3px solid var(--ink); background: var(--lime); box-shadow: 4px 4px 0 var(--ink); margin-bottom: 20px; }
.error-banner, .notice { padding: 16px 18px; border: 1px solid var(--line); border-inline-start: 4px solid var(--cobalt); border-radius: var(--radius); background: var(--subtle); font-size: 14px; line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }
.error-banner { border-color: #dba7a4; border-inline-start-color: var(--danger); background: #fff0ed; color: #86222d; }
.checkout-grid, .account-grid, .detail-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 28px; align-items: start; }
.checkout-summary { position: sticky; top: 24px; }
.checkout-payment-fields { min-width: 0; }
.checkout-grid:has([data-checkout]) { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.checkout-grid:has([data-checkout]) > section:first-child { position: sticky; top: 24px; }
[data-checkout="cardForm"] > h2, [data-checkout="pendingTitle"] { font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.16; }
[data-checkout="quantityControls"] { align-self: flex-start; }
[data-checkout="quantityControls"] button { min-width: 48px; min-height: 48px; border: 0; border-radius: 0; box-shadow: none; padding: 8px; }
[data-checkout="quantityControls"] button:hover, [data-checkout="quantityControls"] button:active { transform: none; box-shadow: none; }
[data-checkout="quantityControls"] output { border-inline: 1px solid var(--line); }
[data-checkout="total"] { font-size: 32px; line-height: 1.15; letter-spacing: -.04em; }
[data-checkout="sbpSection"], [data-checkout="promoSection"], [data-checkout="newAttemptControls"] { border-top: 1px solid var(--line); padding-top: 18px; }
[data-checkout="promoForm"] { margin-top: 12px; padding-bottom: 4px; }
[data-checkout="quoteInfo"]:empty { display: none; }
[data-checkout="captchaArea"] { border: var(--border); background: #fff; padding: 16px; border-radius: var(--radius); }
[data-checkout="captchaWidget"] { min-width: 0; max-width: 100%; overflow-x: auto; }
[data-checkout="previous"]:not([hidden]) { border-top: 1px solid var(--line); padding-top: 16px; }
[data-checkout="previous"] > button { justify-content: flex-start; padding-inline: 0; text-align: start; font-size: 13px; }
[data-checkout="cardLoading"], [data-checkout="pendingDetail"] { font-size: 14px; line-height: 1.65; color: var(--muted); }
.checkout-total { border-top: var(--border); margin-top: 24px; padding-top: 22px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-weight: 750; }
.checkout-total strong { font-size: 32px; line-height: 1.1; letter-spacing: -.04em; }
.quantity-control { display: inline-flex; align-items: center; border: var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.quantity-control button { min-width: 48px; min-height: 48px; font-size: 23px; background: var(--paper); border: 0; color: var(--ink); }
.quantity-control button:not(:disabled):hover { background: var(--lime); }
.quantity-control output, .quantity-control span, .quantity-control input { min-width: 48px; max-width: 70px; border: 0; border-inline: 1px solid var(--line); text-align: center; padding: 10px; font-weight: 750; background: transparent; }
.details-list { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(0, 1fr); gap: 14px 24px; margin: 0; font-size: 14px; }
.details-list dt { color: var(--muted); }
.details-list dd { margin: 0; text-align: end; font-weight: 650; overflow-wrap: anywhere; }
.details-list > div { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(100px, 1fr) minmax(0, 1fr); align-items: baseline; gap: 20px; padding-top: 20px; border-top: var(--border); }
.details-list + .button { margin-top: 24px; }
.account-email { font-size: clamp(18px, 2.5vw, 25px); line-height: 1.4; font-weight: 750; overflow-wrap: anywhere; direction: ltr; unicode-bidi: isolate; }
.account-avatar { display: grid; place-items: center; width: 56px; height: 56px; border: var(--border); background: var(--lime); color: var(--ink); margin-bottom: 20px; }
.account-avatar svg { width: 28px; height: 28px; }
.account-avatar { font-size: 25px; font-weight: 800; margin-bottom: 0; }
.account-link { display: flex; align-items: center; gap: 12px; min-height: 52px; padding-block: 12px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 700; }
.account-link:last-child { border-bottom: 0; }
.account-link > span { display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; font-size: 22px; color: var(--cobalt); }
.account-link > svg { width: 18px; height: 18px; margin-inline-start: auto; }
.account-grid > .neo-card { align-items: stretch; }
.account-grid a { overflow-wrap: anywhere; }
.account-links { display: flex; flex-direction: column; }
.account-links > a, .account-links > button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 0; min-height: 60px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font-weight: 700; text-align: start; text-decoration: none; }
.account-links > :last-child { border-bottom: 0; }
.account-links svg { width: 20px; height: 20px; }
.order-card { display: flex; flex-direction: column; gap: 18px; }
.order-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.order-card .caption { margin-top: 4px; }
.order-card > h3 { font-size: 22px; line-height: 1.3; }
.order-card > .button { margin-top: auto; }
.order-card > .link-button { font-size: 13px; }
.order-card .badge:not(.badge-lime), .order-summary .badge:not(.badge-lime) { background: var(--subtle); }
.order-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.order-summary h3 { font-size: 24px; }
.attempt-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-block: 16px; border-top: 1px solid var(--line); }
.attempt-row p { margin-top: 4px; }
.archive-note { color: #fffdf5cf; font-size: 13px; line-height: 1.6; max-width: 720px; }
.usage-value { margin-block: 8px 16px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.04em; font-weight: 800; }
progress { appearance: none; display: block; width: 100%; height: 12px; overflow: hidden; border: var(--border); border-radius: 2px; background: var(--subtle); }
progress::-webkit-progress-bar { background: var(--subtle); }
progress::-webkit-progress-value { background: var(--cobalt); }
progress::-moz-progress-bar { background: var(--cobalt); }
.manual-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 8px; }
.manual-details > div { padding-block: 8px 16px; }
.manual-details .details-list { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.manual-details .details-list dd { text-align: start; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; user-select: all; background: #fff; border: 1px solid var(--line); border-radius: 2px; padding: 12px; margin-bottom: 10px; }
.privacy-note { border-inline-start: 3px solid var(--ink); padding-inline-start: 12px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.qr-card { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-block: 6px; }
#esim-qr { width: min(300px, 100%); max-width: 100%; background: #fff; border: var(--border); padding: 8px; }
#esim-qr img { display: block; width: 100%; height: auto; }
.order-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; }
.usage-bar { height: 12px; border: var(--border); border-radius: 2px; background: var(--subtle); overflow: hidden; }
.usage-bar > span { display: block; height: 100%; background: var(--cobalt); max-width: 100%; }
.qr-code, .qr-image { display: block; width: min(240px, 100%); height: auto; margin: 20px auto; padding: 12px; background: #fff; border: var(--border); }
.activation-code, .copy-value { display: block; background: #fff; border: 1px solid var(--line); border-radius: 2px; padding: 14px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; word-break: break-all; user-select: all; }
.auth-card { max-width: 480px; margin-inline: auto; }
.auth-card h2 { text-align: center; }
.auth-card .field { margin-top: 20px; }
.auth-card .button, .auth-card .button-secondary { width: 100%; }
.auth-options { display: flex; flex-direction: column; gap: 16px; }
.google-button { background: #fff; border: 1px solid #747775; color: #1f1f1f; font-family: Arial, sans-serif; font-weight: 500; }
.auth-legal { font-size: 12px; line-height: 1.6; color: var(--muted); text-align: center; margin-top: 24px; }
.auth-legal a { font-weight: 650; }
.auth-panel { gap: 18px; }
.auth-panel > .muted { font-size: 15px; line-height: 1.6; }
.google-login { display: flex; justify-content: center; min-width: 0; min-height: 44px; padding-block: 4px; }
.auth-divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.auth-agreement { font-size: 12px; line-height: 1.65; text-align: center; color: var(--muted); max-width: 360px; margin-inline: auto; }
.auth-agreement a { font-weight: 700; color: var(--ink); }
.auth-panel .field-error:empty { display: none; }
.code-input { letter-spacing: .22em; font-size: 22px; font-weight: 700; }
.payment-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.payment-method { display: flex; align-items: center; gap: 10px; padding: 15px; min-height: 56px; border: var(--border); border-radius: var(--radius); background: #fff; font-weight: 700; }
.payment-method:has(input:checked), .payment-method[aria-pressed="true"] { background: var(--lime); }
.payment-method input { accent-color: var(--ink); width: 18px; height: 18px; }
.site-footer { margin-top: 48px; padding-block: 32px 36px; border-top: 1px solid #fffdf54d; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { font-size: 28px; font-weight: 850; letter-spacing: -1.5px; text-decoration: none; }
.support-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 650; text-decoration: none; padding-block: 12px; }
.support-link svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 24px; align-items: flex-start; color: #fffdf5b8; font-size: 11px; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }
.footer-links a:hover, .support-link:hover { text-decoration: underline; }
.app-download { margin-top: 56px; }
.app-download-panel { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 48px; padding: 40px; border: var(--border); border-radius: var(--radius); background: var(--lime); color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.app-download-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; font-weight: 800; font-size: 17px; direction: ltr; }
.app-download-brand img { width: 48px; height: 48px; border-radius: 10px; border: 2px solid var(--ink); }
.app-download-copy h2 { max-width: 18ch; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.app-download-copy > p { margin-top: 16px; max-width: 48ch; font-size: 15px; line-height: 1.65; }
.app-store-links { display: grid; gap: 18px; min-width: 0; }
.app-store-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 20px; padding: 16px 20px; min-height: 88px; border: var(--border); border-radius: var(--radius); box-shadow: 3px 3px 0 var(--ink); background: var(--paper); color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 800; line-height: 1.35; transition: transform var(--motion), box-shadow var(--motion); }
.app-store-platform { grid-column: 1; font-size: 11px; font-weight: 600; opacity: .75; }
.app-store-link > span:not(.app-store-platform) { grid-column: 1; overflow-wrap: anywhere; }
.app-store-link > svg { grid-column: 2; grid-row: 1 / 3; width: 24px; height: 24px; }
.app-store-ios { background: var(--ink); color: var(--paper); }
.app-store-link:active { transform: translate(3px, 3px); box-shadow: none; }
.app-store-android > p { margin-top: 10px; padding-inline: 2px; font-size: 12px; line-height: 1.45; }
.footer-languages { border-top: 1px solid #fffdf52e; margin-top: 24px; padding-top: 12px; }
.footer-languages > summary { display: list-item; width: fit-content; font-size: 12px; font-weight: 650; }
.footer-languages > summary::marker { color: var(--lime); }
.footer-language-links { display: flex; flex-wrap: wrap; gap: 4px 24px; padding-block: 12px; }
.footer-language-links > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: none; }
.footer-language-links > a:hover { text-decoration: underline; }
@media (hover: hover) and (pointer: fine) { .app-store-link:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); } }
@media (max-width: 760px) {
    .app-download { margin-top: 36px; }
    .app-download-panel { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
    .app-download-copy h2 { max-width: none; }
    .app-store-links { grid-template-columns: 1fr 1fr; align-items: start; gap: 16px; }
    .app-store-link { padding: 14px; font-size: 15px; gap: 4px 10px; }
}
@media (max-width: 480px) {
    .app-download-panel { padding: 24px; }
    .app-store-links { grid-template-columns: 1fr; }
    .app-download-brand { margin-bottom: 18px; }
    .app-store-link { padding: 16px 18px; }
}
.mobile-nav { display: none; }
.app-dialog { width: min(540px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; color: var(--ink); background: var(--paper); border: var(--border); border-radius: var(--radius); box-shadow: 7px 7px 0 var(--ink); overflow: auto; overscroll-behavior: contain; }
.app-dialog[open] { animation: dialog-enter 240ms var(--ease-out); }
.app-dialog.dialog-wide, .app-dialog.modal-wide { width: min(900px, calc(100% - 32px)); }
.app-dialog::backdrop { background: #111128b8; animation: backdrop-enter 180ms ease-out; }
.dialog-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
.dialog-header h2 { font-size: 23px; letter-spacing: -.035em; }
.dialog-close { flex-shrink: 0; }
.dialog-body { padding: 24px; }
.dialog-body > * + * { margin-top: 20px; }
.dialog-body .neo-card { box-shadow: none; }
.dialog-body .country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dialog-body .country-picker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dialog-actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; margin-top: 28px; }
.dialog-actions > * { flex: 1 1 150px; }
.legal-doc, .legal-document { max-width: 70ch; font-size: 14px; line-height: 1.75; margin-inline: auto; }
:is(.legal-doc, .legal-document) h3 { font-size: 18px; line-height: 1.35; margin-block: 28px 10px; }
:is(.legal-doc, .legal-document) :is(p, ul, ol) { margin-block: 12px; }
:is(.legal-doc, .legal-document) li + li { margin-top: 8px; }
:is(.legal-doc, .legal-document) :is(a, strong, code) { overflow-wrap: anywhere; }
.app-toast { position: fixed; z-index: 20; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 40px); border: var(--border); box-shadow: var(--shadow); border-radius: var(--radius); background: var(--lime); color: var(--ink); padding: 14px 20px; font-size: 14px; font-weight: 700; }
.view-enter { animation: view-enter 220ms ease-out both; }
@keyframes view-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
@media (hover: hover) {
    .desktop-nav a:hover:not([aria-current="page"]) { background: #fffdf51f; }
    .button:hover:not(:disabled), .button-secondary:hover:not(:disabled) { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
    .button-quiet:hover:not(:disabled) { text-decoration: underline; }
    .chip:hover, .segmented button:hover { background: #edf6ca; }
}
@media (min-width: 1440px) { .catalog-hero { padding-block: 64px; } }
@media (max-width: 1000px) {
    .page-width { width: calc(100% - 48px); }
    .header-inner { gap: 16px; }
    .brand { font-size: 26px; gap: 8px; }
    .brand-symbol { width: 28px; }
    .desktop-nav a { font-size: 14px; padding-inline: 12px; }
    .hero-actions { gap: 14px; }
    .hero-note { display: none; }
    .country-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .plan-grid, .order-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .checkout-grid, .account-grid, .detail-grid { gap: 20px; grid-template-columns: minmax(0, 1fr) minmax(250px, .8fr); }
    .neo-card { padding: 24px; }
    .compatibility-card { grid-template-columns: 1fr auto; gap: 14px 24px; }
    .compatibility-card > p { grid-row: 2; }
    .compatibility-card > .link-button { grid-column: 2; grid-row: 1 / 3; }
    .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .faq-grid .neo-card { padding: 14px 20px; }
}
@media (max-width: 760px) {
    html { scroll-padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
    .page-width { width: calc(100% - 36px); }
    .header-inner { min-height: 80px; }
    .desktop-nav { display: none; }
    .catalog-hero { grid-template-columns: 1fr .55fr; gap: 0; padding-block: 34px 36px; }
    .hero-copy h1 { font-size: clamp(2.5rem, 7.4vw, 3.8rem); }
    .hero-description { font-size: 15px; margin-top: 18px; max-width: 420px; }
    .eyebrow { font-size: 9px; letter-spacing: .08em; margin-bottom: 18px; }
    .hero-actions { margin-top: 24px; }
    .hero-art { margin-inline-start: -16px; width: calc(100% + 16px); }
    .neo-card { padding: 22px; }
    .plan-card { padding: 22px; }
    .country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .checkout-grid, .account-grid, .detail-grid { grid-template-columns: minmax(0, 1fr); }
    .checkout-grid:has([data-checkout]) { grid-template-columns: minmax(0, 1fr); }
    .checkout-grid:has([data-checkout]) > section:first-child { position: static; }
    .checkout-summary { position: static; }
    .mobile-nav { display: grid; position: fixed; z-index: 10; inset-inline: 0; bottom: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); border-top: var(--border); background: var(--paper); color: var(--ink); }
    .mobile-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 55px; padding: 7px 4px; border: 1.5px solid transparent; border-radius: var(--radius); color: var(--muted); font-size: 11px; line-height: 1.25; font-weight: 750; text-align: center; text-decoration: none; }
    .mobile-nav a[aria-current="page"], .mobile-nav a.is-active { background: var(--lime); border-color: var(--ink); color: var(--ink); }
    .mobile-nav svg { width: 22px; height: 22px; }
    .site-footer { margin-top: 30px; padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
    .footer-bottom { flex-direction: column; gap: 14px; }
    .footer-links { gap: 6px 18px; }
    .app-toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
    .dialog-body .country-picker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .page-width { width: calc(100% - 32px); }
    .header-inner { min-height: 74px; gap: 10px; }
    .brand { font-size: 25px; }
    .brand-symbol { display: none; }
    .language-switcher { padding: 2px; gap: 0; }
    .language-switcher button { min-width: 44px; min-height: 44px; padding: 8px; font-size: 11px; }
    .catalog-hero { display: block; padding-block: 30px 34px; }
    .hero-art { display: none; }
    .hero-copy h1 { font-size: clamp(2.3rem, 10.2vw, 3rem); }
    .hero-description { max-width: 350px; font-size: 15px; }
    .hero-button { width: 100%; }
    .neo-card, .catalog-panel, .country-panel, .plan-card { padding: 20px; }
    .app-view > * + * { margin-top: 24px; }
    .catalog-hero[hidden] + .app-view { padding-top: 24px; }
    .section-heading { gap: 14px; margin-bottom: 20px; }
    .section-heading h2 { font-size: 28px; }
    .plan-grid, .order-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .country-grid { gap: 10px; }
    .country-card { padding: 12px; min-height: 70px; font-size: 13px; gap: 8px; }
    .country-flag { width: 26px; font-size: 23px; }
    .country-card > svg { display: none; }
    .plan-data, .plan-allowance { font-size: 48px; }
    .catalog-toolbar > *, .filter-row > .field { flex: 1 1 100%; }
    .filter-row > .button, .filter-row > .button-secondary { width: 100%; }
    .payment-methods { grid-template-columns: minmax(0, 1fr); }
    .footer-top { flex-direction: column; align-items: flex-start; gap: 12px; }
    .footer-bottom { margin-top: 18px; }
    .footer-links a { min-height: 44px; }
    .app-dialog { max-height: calc(100dvh - 24px); width: calc(100% - 24px); }
    .dialog-header { padding: 16px; }
    .dialog-header h2 { font-size: 22px; }
    .dialog-body { padding: 20px 16px; }
    .dialog-body .country-grid { grid-template-columns: minmax(0, 1fr); }
    .details-list { gap: 12px 16px; font-size: 13px; }
    .compatibility-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
    .compatibility-card > .link-button { max-width: none; }
    .attempt-row > .button-secondary { width: 100%; }
    .chip-row { gap: 12px 10px; }
    .chip { padding: 11px 13px; }
    [data-checkout="captchaArea"] { padding: 10px; }
}
@media (max-width: 380px) {
    .catalog-panel .country-grid { grid-template-columns: minmax(0, 1fr); }
    .catalog-panel .country-card { min-height: 60px; font-size: 14px; }
    .catalog-panel .country-card > svg { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Language controls and writing systems share the same layout, including RTL. */
.brand, .footer-brand, .support-link { direction: ltr; unicode-bidi: isolate; }
.language-switcher button { display: flex; align-items: center; justify-content: center; gap: 8px; }
.language-switcher svg { width: 20px; height: 20px; }
.language-switcher [data-language-code] { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.language-switcher button:hover:not(:disabled) { color: var(--ink); background: var(--lime); }
.language-search { margin-bottom: 20px; }
.language-search .field-error:empty { display: none; }
.language-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.language-option { position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 5px; min-height: 76px; min-width: 0; padding: 14px 18px; padding-inline-end: 42px; border: var(--border); border-radius: var(--radius); background: var(--paper); color: var(--ink); text-align: start; }
.language-option:hover, .language-option[aria-pressed="true"] { background: var(--lime); }
.language-option[aria-pressed="true"] { box-shadow: 3px 3px 0 var(--ink); }
.language-native { font-size: 16px; line-height: 1.55; font-weight: 750; unicode-bidi: isolate; text-align: start; }
.language-description { color: var(--muted); font-size: 12px; line-height: 1.5; }
.language-check { position: absolute; inset-inline-end: 15px; top: 17px; font-size: 18px; font-weight: 850; }
.hero-copy, .hero-actions, .desktop-nav, .desktop-nav a { min-width: 0; }
.hero-actions { flex-wrap: wrap; }
.hero-button { flex-shrink: 1; max-width: 100%; }
.hero-note { flex: 1 1 110px; }
.hero-copy h1, h2, h3, .plan-allowance, .plan-data { overflow-wrap: anywhere; }
.plan-allowance, .plan-data { line-height: 1.18; }
.desktop-nav a { text-align: center; }
.checkout-total { flex-wrap: wrap; }
.chip, .badge, .status, .button, .button-secondary, .button-danger { max-width: 100%; overflow-wrap: anywhere; }
[dir="rtl"] .direction-arrow { transform: scaleX(-1); }
html:is(:lang(ar), :lang(he), :lang(ur), :lang(bn), :lang(gu), :lang(hi), :lang(kn), :lang(ml), :lang(mr), :lang(or), :lang(pa), :lang(ta), :lang(te), :lang(th)) :is(h1, h2, h3, .eyebrow, .plan-data, .plan-allowance, .badge, .status) { letter-spacing: normal; line-height: 1.4; }
html:is(:lang(zh), :lang(ja), :lang(ko)) .hero-copy h1 { line-height: 1.2; letter-spacing: -.025em; }
html:is(:lang(bn), :lang(gu), :lang(hi), :lang(kn), :lang(ml), :lang(mr), :lang(or), :lang(pa), :lang(ta), :lang(te), :lang(th)) .hero-copy h1 { font-size: clamp(2.1rem, 4.5vw, 3.7rem); }
@media (max-width: 480px) {
    .language-grid { grid-template-columns: minmax(0, 1fr); }
    .language-option { min-height: 72px; }
    .hero-note { max-width: none; }
    .plan-allowance, .plan-data { font-size: clamp(1.9rem, 9vw, 3rem); }
}

/* Short, tactile motion. Decorative movement finishes; only live loading repeats. */
[data-motion-ready] .hero-copy > :nth-child(1) { animation: hero-reveal 540ms var(--ease-out) both; }
[data-motion-ready] .hero-copy > :nth-child(2) { animation: hero-reveal 600ms 50ms var(--ease-out) both; }
[data-motion-ready] .hero-copy > :nth-child(3) { animation: hero-reveal 600ms 100ms var(--ease-out) both; }
[data-motion-ready] .hero-copy > :nth-child(4) { animation: hero-reveal 600ms 150ms var(--ease-out) both; }
[data-motion-ready] .hero-art { animation: globe-arrive 900ms 80ms var(--ease-out) both; }
[data-motion-ready] .travel-orbit { stroke-dasharray: 1; stroke-dashoffset: 0; animation: orbit-draw 1400ms 180ms var(--ease-out) backwards; }
[data-motion-ready] .travel-sim { transform-box: fill-box; transform-origin: center; animation: sim-settle 1300ms 250ms var(--ease-out) backwards; }
.hero-title-accent { display: inline-block; }
.country-card, .plan-card, .order-card, .language-option { transition: background-color var(--motion), border-color var(--motion), box-shadow 220ms var(--ease-out), transform 220ms var(--ease-out); }
.direction-arrow { transition: translate 220ms var(--ease-out); }
.mobile-nav a, .language-switcher button { transition: background-color var(--motion), color var(--motion); }
.mobile-nav a[aria-current="page"] svg { animation: nav-select 300ms var(--ease-out); }
.button:active:not(:disabled), .button-secondary:active:not(:disabled), .button-danger:active:not(:disabled), .icon-button:active:not(:disabled) { transition-duration: 70ms; }
.chip:active:not(:disabled), .language-option:active:not(:disabled) { transform: translateY(2px); }
.input, .field input, .field textarea { transition: border-color var(--motion), background-color var(--motion); }
.input:focus, .field input:focus, .field textarea:focus { background-color: #fffffa; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; flex-shrink: 0; width: 26px; height: 26px; border: 1.5px solid var(--ink); border-radius: 2px; background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat, var(--lime); transition: transform 200ms var(--ease-out); }
details[open] > summary::after { transform: rotate(45deg); }
details[open] > p { animation: view-enter 220ms var(--ease-out); }
.app-toast:not([hidden]) { animation: toast-enter 260ms var(--ease-out); }
.loading-state { min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.loading-mark { animation: loading-tile 1200ms cubic-bezier(.65,0,.35,1) infinite; }
:is(.button, .button-secondary)[aria-busy="true"]::after { content: ''; width: 16px; height: 16px; flex: 0 0 16px; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: busy-turn 700ms linear infinite; }
.dialog-body .field-error:not(:empty), .error-banner:not(:empty) { animation: view-enter 180ms ease-out; }
@media (hover: hover) and (pointer: fine) {
    .plan-card:hover, .order-card:hover { box-shadow: 7px 7px 0 var(--ink); transform: translate(-2px, -2px); }
    .country-card:hover { box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); }
    :is(.button, .button-secondary, .country-card):hover:not(:disabled) .direction-arrow { translate: 3px 0; }
    [dir="rtl"] :is(.button, .button-secondary, .country-card):hover:not(:disabled) .direction-arrow { translate: -3px 0; }
    .language-option:hover:not(:disabled) { box-shadow: 3px 3px 0 var(--ink); }
}
@keyframes hero-reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes globe-arrive { from { opacity: 0; transform: translateY(18px) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes orbit-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes sim-settle { from { opacity: 0; translate: 0 14px; rotate: -8deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
@keyframes nav-select { 0% { transform: translateY(2px) scale(.9); } 70% { transform: translateY(-1px) scale(1.04); } 100% { transform: none; } }
@keyframes toast-enter { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@keyframes loading-tile { 0%, 15% { transform: rotate(0); } 65%, 100% { transform: rotate(180deg); } }
@keyframes busy-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .plan-card:hover, .order-card:hover, .country-card:hover { transform: none; }
}

/* Orders keep their frame and loaded cards during refresh; no entrance cascade. */
.orders-view > .section-heading { margin-bottom: 24px; }
.orders-feedback { min-height: 38px; padding-block: 8px; font-size: 13px; }
.orders-feedback .error-banner { margin-block: 8px; animation: none; }
.orders-list { min-height: 300px; }
.orders-list > * + * { margin-top: 24px; }
.orders-refresh::after { content: ''; width: 16px; height: 16px; flex: 0 0 16px; visibility: hidden; }
.orders-refresh[aria-busy="true"]::after { visibility: visible; }
.order-skeleton { min-height: 270px; display: flex; flex-direction: column; gap: 18px; }
.order-skeleton span { display: block; height: 18px; border-radius: 2px; background: #e7e5dc; }
.order-skeleton span:nth-child(1) { width: 45%; height: 24px; }
.order-skeleton span:nth-child(2) { width: 80%; height: 28px; }
.order-skeleton span:nth-child(3) { width: 35%; }
.order-skeleton span:nth-child(4) { height: 52px; margin-top: auto; }
@media (max-width: 760px) { .orders-skeleton > :nth-child(n+3) { display: none; } }

/* Optional measurement stays outside the modal and never covers checkout. */
.analytics-consent { position: fixed; z-index: 80; inset-inline: 20px; bottom: 20px; width: min(880px, calc(100% - 40px)); margin-inline: auto; padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, 220px); gap: 24px; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 4px; box-shadow: 6px 6px 0 var(--ink); max-height: min(70dvh, 620px); overflow-y: auto; overscroll-behavior: contain; }
.analytics-consent[hidden] { display: none; }
.analytics-copy h2 { font-size: clamp(18px, 2.5vw, 24px); line-height: 1.2; margin: 0 0 10px; }
.analytics-copy p { font-size: 14px; line-height: 1.5; margin: 0 0 10px; overflow-wrap: break-word; }
.analytics-copy a { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.analytics-actions { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.analytics-actions .button-secondary { width: 100%; min-height: 48px; white-space: normal; text-align: center; line-height: 1.3; }
.site-footer [data-analytics-settings] { font: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .analytics-consent { inset-inline: 12px; bottom: calc(82px + env(safe-area-inset-bottom)); width: calc(100% - 24px); padding: 18px; gap: 16px; grid-template-columns: minmax(0, 1fr); max-height: 65dvh; }
  .analytics-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .analytics-actions .button-secondary { padding-inline: 12px; }
}
