/* Telroo storefront styles. Written for this project; no theme code. */
:root {
  /* Palette "Sunset Pop" (owner's pick, 2026-10-15); all text pairs pass WCAG AA. */
  /* Colour roles (the names are historical):
     --ocean       ink: text, dark sections      --ocean-soft  muted text
     --coral       primary buttons, highlights   --coral-dark  hover, badges, coloured text
     --eucalyptus  links, secondary accent       --sun         bright highlight in gradients
     --flame       orange-red, paired with --coral in warm gradients
     --seafoam     tinted panels                 --seafoam-soft lighter tint
     --sand        page background               --paper       cards
     --pick        selected/current fill         --pick-ink    text on --pick
     The *-rgb channels feed translucent shades: rgb(var(--ocean-rgb) / 14%). */
  --ocean: #1e1548;
  --ocean-rgb: 30 21 72;
  --ocean-soft: #575079;
  --coral: #ff4f6d;
  --coral-rgb: 255 79 109;
  --coral-dark: #d81b45;
  --eucalyptus: #6b2bd6;
  --eucalyptus-rgb: 107 43 214;
  --sun: #ffb627;
  --flame: #ff7a45;
  --seafoam: #ffe4ec;
  --seafoam-soft: #fff0f4;
  --sand: #fff7f2;
  --sand-rgb: 255 247 242;
  --paper: #ffffff;
  /* Selected / current state (option buttons, tabs, active dots): Shopify-style
     lime with ink text. Every palette sets both; ink on lime is AA (see palettes.css). */
  --pick: #c9f26b;
  --pick-ink: #1e1548;
  --line: rgb(var(--ocean-rgb) / 14%);
  --shadow: 0 18px 45px rgb(var(--ocean-rgb) / 10%);
  /* Depth: a solid ink outline plus a hard offset shadow (no blur), so cards and
     controls read as stacked layers. Built from --ocean, so every palette keeps it.
     Other modules reference these names with fallbacks: var(--lift, ...). */
  --edge: var(--ocean);
  --edge-width: 2px;
  --lift-sm: 3px 3px 0 var(--edge);
  --lift: 5px 5px 0 var(--edge);
  --lift-strong: 8px 8px 0 var(--edge);
  --nudge: translate(-2px, -2px);   /* hover: rise towards the light */
  --push: translate(3px, 3px);      /* active: press into the page */
  /* UI polish 2026-10 (docs/proposals/ui-polish-2026-10.md): one type scale, 4/8 spacing, four radii. */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.375rem, 1.2rem + 0.75vw, 1.75rem);
  --fs-2xl: clamp(1.75rem, 1.3rem + 1.9vw, 2.625rem);
  --fs-3xl: clamp(2.125rem, 1.45rem + 2.9vw, 3.375rem);
  --fs-4xl: clamp(2.5rem, 1.5rem + 4.3vw, 4.25rem);
  /* Larger type sits tighter: line-height and tracking per step. */
  --lh-display: 1.04;
  --lh-heading: 1.12;
  --lh-title: 1.25;
  --lh-ui: 1.35;
  --lh-body: 1.6;
  --ls-display: -0.035em;
  --ls-heading: -0.025em;
  --ls-title: -0.012em;
  --ls-caps: 0.12em;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --radius-card: var(--r-xl);
  --radius-media: var(--r-lg);
  --radius-control: var(--r-md);
  --shell: 1200px;
  /* Inter, the face the Shopify store uses, from Google Fonts (layout.ts); system fallbacks below. */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--ocean);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
small { font-size: var(--fs-sm); }
a { color: var(--eucalyptus); text-underline-offset: 3px; }
a:hover { color: var(--ocean); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
h1, h2, h3 { margin: 0 0 0.5em; font-weight: 800; text-wrap: balance; }
p, li, small { text-wrap: pretty; }
h1 { font-size: var(--fs-3xl); line-height: var(--lh-display); letter-spacing: var(--ls-display); }
h2 { font-size: var(--fs-2xl); line-height: var(--lh-heading); letter-spacing: var(--ls-heading); }
h3 { font-size: var(--fs-lg); line-height: var(--lh-title); letter-spacing: var(--ls-title); font-weight: 700; }

.shell { width: min(100% - 32px, var(--shell)); margin-inline: auto; }
.narrow { max-width: 760px; padding-block: 64px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 8px 16px; background: var(--ocean); color: #fff; border-radius: var(--r-sm); }
.skip-link:focus { top: 8px; }
.kicker { margin: 0 0 12px; font-size: var(--fs-xs); font-weight: 700; line-height: var(--lh-ui); letter-spacing: var(--ls-caps); color: var(--eucalyptus); text-transform: uppercase; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.button--primary { background: var(--coral); color: var(--ocean); }
.button--primary:hover { background: var(--coral-dark); color: #fff; }
.button--dark { background: var(--ocean); color: #fff; }
.button--dark:hover { background: var(--eucalyptus); color: #fff; }
.button[disabled] { opacity: 0.5; cursor: not-allowed; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(var(--sand-rgb) / 94%); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__bar { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.site-logo { font-weight: 800; color: var(--ocean); text-decoration: none; }
.site-logo { display: inline-flex; align-items: baseline; gap: 0; line-height: 1; }
.site-logo strong { color: var(--coral); font-weight: 800; }
.site-logo small { margin-left: 8px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ocean-soft); }
.site-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.site-nav > a, .site-nav__menu > summary { padding: 8px 12px; white-space: nowrap; border-radius: 999px; color: var(--ocean); font-weight: 600; text-decoration: none; cursor: pointer; }
.site-nav > a:hover, .site-nav__menu > summary:hover { background: var(--seafoam); }
.site-nav__menu { position: relative; }
.site-nav__menu > summary { list-style: none; }
.site-nav__menu > summary::-webkit-details-marker { display: none; }
.site-nav__menu > summary::after { content: " ▾"; font-size: 0.8em; }
.site-nav__panel { position: absolute; top: calc(100% + 8px); left: 0; display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 2px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.site-nav__panel a { padding: 8px 12px; border-radius: var(--r-md); color: var(--ocean); text-decoration: none; }
.site-nav__panel a:hover { background: var(--seafoam); }
.site-header__tools { display: flex; align-items: center; gap: 12px; }
/* No overflow:hidden here: it would clip the suggestion list. */
.site-search { display: flex; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.site-search input { width: 190px; padding: 8px 14px; border: 0; font: inherit; background: transparent; }
.site-search input { border-radius: 999px 0 0 999px; }
.site-search button { display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border: 0; border-radius: 0 999px 999px 0; background: var(--ocean); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.site-search__icon { display: none; }
@media (min-width: 1180px) { .site-search input { width: 220px; } }
.site-header__account { display: inline-flex; align-items: center; font-weight: 600; color: var(--ocean); }
.site-header__account svg { display: none; }
.site-header__cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ocean); }
.site-header__cart:hover { background: rgb(var(--ocean-rgb) / 6%); }
.site-header__cart-count { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--coral-dark); color: #fff; font-size: var(--fs-xs); font-weight: 700; line-height: 18px; text-align: center; }

@media (max-width: 960px) {
  .site-header__bar { flex-wrap: wrap; gap: 8px 16px; padding-block: 10px; }
  .site-nav { order: 3; flex-basis: 100%; overflow-x: auto; }
  .site-header__tools { margin-left: auto; }
  .site-search input { width: 130px; }
  .site-nav__panel { position: fixed; left: 16px; right: 16px; top: auto; }
}

/* Breadcrumbs */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; padding-block: 18px; font-size: var(--fs-sm); color: var(--ocean-soft); }
.breadcrumbs a { color: inherit; }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px); background: radial-gradient(circle at 92% 12%, rgb(var(--coral-rgb) / 22%), transparent 32%), linear-gradient(135deg, var(--seafoam), var(--sand) 70%); }
.hero__layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__lede { font-size: var(--fs-md); max-width: 560px; color: var(--ocean-soft); }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero__proof span { padding: 8px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; }
.hero-search { margin-top: 24px; max-width: 540px; }
.hero-search label { display: block; font-weight: 700; margin-bottom: 8px; }
.hero-search__row, .search-form__row { display: flex; gap: 8px; }
.hero-search input, .search-form input { flex: 1; min-width: 0; min-height: 52px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: var(--paper); }
.hero-search button { min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--ocean); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.hero-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.hero-tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-media); color: #fff; text-decoration: none; background: var(--ocean); }
.hero-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 280ms ease; }
.hero-tile:hover img { transform: scale(1.04); }
.hero-tile strong { position: absolute; left: 14px; bottom: 12px; right: 14px; font-size: var(--fs-md); text-shadow: 0 1px 8px rgb(0 0 0 / 50%); }
.hero-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(var(--ocean-rgb) / 70%)); }
.hero-tile strong { z-index: 1; }
@media (max-width: 860px) { .hero__layout { grid-template-columns: 1fr; } }

/* Sections */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--white { background: var(--paper); }
.section--ocean { background: var(--ocean); color: #fff; }
.section--ocean .kicker { color: var(--coral); }
.section__heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section__heading p:not(.kicker) { max-width: 520px; margin: 0; color: var(--ocean-soft); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }
.tile { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); }
.tile > span { display: block; font-weight: 800; color: var(--coral); margin-bottom: 8px; }
.tile p { margin: 0; color: var(--ocean-soft); }
a.tile { color: inherit; text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease; }
a.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.section--ocean .tile { background: rgb(255 255 255 / 6%); border-color: rgb(255 255 255 / 14%); }
.section--ocean .tile p { color: rgb(255 255 255 / 78%); }

.quick-links { display: flex; flex-wrap: wrap; gap: 12px; }
.quick-links a { display: inline-flex; gap: 8px; padding: 12px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ocean); font-weight: 700; text-decoration: none; }
.quick-links a:hover { background: var(--seafoam); }
.hero__picks { gap: 8px; margin-top: 20px; }
.hero__picks a { padding: 8px 12px; font-size: var(--fs-sm); }
.hero__picks small { font-weight: 600; color: var(--ocean-soft); }
.hero__check { margin: 12px 0 0; font-size: var(--fs-sm); }
.hero__check a { font-weight: 700; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; padding: 12px 12px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); color: var(--ocean); text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ocean); }
.product-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-media); background: var(--seafoam); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__placeholder { display: grid; place-items: center; height: 100%; font-size: 2rem; font-weight: 800; color: var(--eucalyptus); text-transform: uppercase; }
.product-card__copy { display: flex; flex-direction: column; gap: 4px; padding: 12px 8px 0; }
.product-card__copy small { color: var(--ocean-soft); font-weight: 600; }
.product-card__link { margin-top: 4px; color: var(--eucalyptus); font-weight: 700; font-size: var(--fs-sm); }

.listing { padding-bottom: 72px; }
.listing__header { margin-bottom: 24px; }
.listing__header p { color: var(--ocean-soft); margin: 0; }
.pagination { display: flex; gap: 20px; justify-content: center; align-items: center; margin-top: 40px; }
.collection-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.collection-list a { display: flex; flex-direction: column; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); color: var(--ocean); text-decoration: none; }
.search-form { max-width: 640px; margin-bottom: 28px; }
.search-form label { display: block; font-weight: 700; margin-bottom: 8px; }
.empty { padding: 24px; background: var(--paper); border-radius: var(--radius-card); border: 1px solid var(--line); }

/* Product page */
.product { padding-bottom: 72px; }
.product__layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.product__media img { width: 100%; border-radius: var(--radius-card); }
.product__placeholder { aspect-ratio: 4 / 3; border-radius: var(--radius-card); background: var(--seafoam); }
.product__buy { padding: clamp(22px, 3vw, 34px); position: sticky; top: 88px; }
.product__buy h1 { font-size: clamp(2rem, 1.3rem + 2vw, 2.875rem); }
.product__price { font-size: var(--fs-xl); font-weight: 800; letter-spacing: var(--ls-title); margin: 0 0 16px; }
.product__form fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.product__form legend { font-weight: 700; margin-bottom: 8px; }
.variant-list { display: grid; gap: 8px; max-height: 420px; overflow-y: auto; padding: 2px; }
.variant { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-control); cursor: pointer; background: var(--paper); }
.variant:has(input:checked) { border-color: var(--ocean); background: var(--pick); color: var(--pick-ink); box-shadow: inset 0 0 0 1px var(--ocean); }
.variant--disabled { opacity: 0.5; cursor: not-allowed; }
.variant__price { font-weight: 700; white-space: nowrap; }
.product__form .button { width: 100%; }
.product__note { font-size: var(--fs-sm); color: var(--ocean-soft); }
.product__trust { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--fs-sm); }
.product__description { max-width: 820px; margin-top: 48px; }
@media (max-width: 860px) { .product__layout { grid-template-columns: 1fr; } .product__buy { position: static; } }

/* Rich text */
.rte { overflow-wrap: anywhere; }
.rte h2 { margin-top: 1.6em; font-size: var(--fs-xl); line-height: var(--lh-title); }
.rte h3 { margin-top: 1.4em; }
.rte table { width: 100%; border-collapse: collapse; margin-block: 16px; display: block; overflow-x: auto; }
.rte th, .rte td { padding: 12px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rte img { border-radius: var(--radius-media); }
.rte details { padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--paper); margin-block: 8px; }
.rte summary { font-weight: 700; cursor: pointer; }

/* Content pages */
.page-hero { padding-block: clamp(28px, 5vw, 56px) clamp(36px, 6vw, 72px); background: var(--ocean); color: #fff; position: relative; overflow: hidden; }
.page-hero--image { min-height: 440px; display: flex; align-items: end; }
.page-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--ocean-rgb) / 88%), rgb(var(--ocean-rgb) / 35%)); }
.page-hero > .shell { position: relative; z-index: 1; }
.page-hero .breadcrumbs { color: rgb(255 255 255 / 75%); padding-top: 0; }
.page-hero .kicker { color: var(--coral); }
.page-hero__summary { max-width: 640px; font-size: var(--fs-md); color: rgb(255 255 255 / 85%); }
.page-hero .button-row { margin-top: 20px; }
.page-hero .button--ghost { background: rgb(255 255 255 / 12%); color: #fff; border: 1px solid rgb(255 255 255 / 30%); }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); padding-block: 48px 72px; align-items: start; }
.page-layout--single { grid-template-columns: minmax(0, 820px); justify-content: center; }
.page-aside { display: grid; gap: 16px; position: sticky; top: 88px; }
.panel { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); }
.panel h2 { font-size: var(--fs-lg); }
.panel nav { display: flex; flex-direction: column; gap: 8px; }
.panel--accent { background: var(--seafoam); }
.panel ol { padding-left: 1.2em; margin: 0 0 12px; }
@media (max-width: 900px) { .page-layout { grid-template-columns: minmax(0, 1fr); } .page-aside { position: static; } }

.plans { padding-block: 48px; background: var(--paper); }
.plan-card { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 16px; background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-card); }
.plan-card img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-media); aspect-ratio: 4 / 3; }
.plan-card__price { margin: 0; font-weight: 700; color: var(--eucalyptus); }
.plan-card h3 a { color: var(--ocean); }
.plan-card ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.plan-card li { padding: 3px 12px; border-radius: 999px; background: var(--paper); font-size: var(--fs-sm); font-weight: 600; }
.plan-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 16px; }
@media (max-width: 560px) { .plan-card { grid-template-columns: 1fr; } }

.plan-table { margin-top: 28px; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--paper); }
.plan-table__scroll { overflow-x: auto; }
.plan-table table { width: 100%; border-collapse: collapse; }
.plan-table caption { text-align: left; margin-bottom: 12px; color: var(--ocean-soft); }
.plan-table th, .plan-table td { padding: 12px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.plan-table td { white-space: nowrap; }
.plan-table th[scope="row"] { min-width: 10em; }
@media (max-width: 560px) {
  .plan-table table { font-size: var(--fs-sm); }
  .plan-table th, .plan-table td { padding: 12px 8px; }
  .plan-table th[scope="row"] { min-width: 7.5em; }
}

.steps { counter-reset: step; list-style: none; padding: 0; }

.device-checker { padding: clamp(20px, 3vw, 32px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); margin-bottom: 40px; }
.device-checker__controls { display: flex; gap: 8px; margin-top: 8px; }
.device-checker input { flex: 1; min-width: 0; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; }
.device-checker__examples button { padding: 0; border: 0; background: none; color: var(--eucalyptus); font: inherit; text-decoration: underline; cursor: pointer; }
.device-checker__result { display: flex; gap: 16px; margin-top: 20px; padding: 20px; border-radius: var(--radius-control); background: var(--seafoam); }
.device-checker__result[data-status="unsupported"] { background: #ffe3de; }
.device-checker__result[data-status="review"], .device-checker__result[data-status="unknown"] { background: #fff1d6; }
.device-checker__result h3 { margin: 0 0 4px; }
.device-checker__result p { margin: 0; }
.device-checker__error { color: var(--coral-dark); font-weight: 600; }

/* FAQ */
.faq details { padding: 16px 20px; border-bottom: 1px solid rgb(255 255 255 / 16%); }
.faq summary { font-weight: 700; cursor: pointer; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

.compare-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius-card); overflow: hidden; }
.compare-table th, .compare-table td { padding: 16px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--ocean); color: #fff; }
.table-scroll { overflow-x: auto; border-radius: var(--radius-card); border: 1px solid var(--line); }
@media (max-width: 760px) {
  .table-scroll .compare-table { min-width: 620px; overflow: visible; }
  .table-scroll .compare-table :is(th, td):first-child { position: sticky; left: 0; z-index: 1; width: 9.5em; background: var(--paper); box-shadow: 1px 0 0 var(--line); }
  .table-scroll .compare-table thead th:first-child { background: var(--ocean); }
}

/* Footer */
.site-footer { padding-block: clamp(48px, 7vw, 80px) 24px; background: var(--ocean); color: rgb(255 255 255 / 86%); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(150px, 0.6fr)); gap: clamp(24px, 4vw, 56px); }
.site-footer .kicker { color: var(--coral); }
.site-footer__heading { font-size: var(--fs-2xl); font-weight: 800; line-height: var(--lh-heading); letter-spacing: var(--ls-heading); color: #fff; margin: 0 0 12px; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer nav h2 { font-size: var(--fs-base); color: #fff; margin-bottom: 8px; }
.site-footer a { color: rgb(255 255 255 / 78%); }
.site-footer a:hover { color: var(--coral); }
.site-footer__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 14%); font-size: var(--fs-sm); }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

.support-widget { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 12px 20px; border-radius: 999px; background: #087f47; color: #fff; box-shadow: 0 4px 18px rgb(var(--ocean-rgb) / 25%); font-weight: 700; font-size: var(--fs-sm); text-decoration: none; }
.support-widget:hover { background: #075e54; color: #fff; }
@media (max-width: 560px) { .support-widget span { display: none; } .support-widget { padding: 14px; } }

/* Value proposition, notes and callouts */
.value { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-block: 28px; padding: 24px; background: var(--seafoam-soft); border-radius: var(--radius-card); }
.value h2 { font-size: var(--fs-md); margin-bottom: 8px; }
.value p { margin: 0; font-size: var(--fs-base); }
@media (max-width: 767px) { .value { grid-template-columns: 1fr; } }
.note { margin-top: 20px; font-size: var(--fs-sm); color: var(--ocean-soft); }
.callout { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: 32px; padding: clamp(24px, 4vw, 40px); background: var(--ocean); color: #fff; border-radius: var(--radius-card); }
.callout .kicker { color: var(--coral); }
.callout p { color: rgb(255 255 255 / 82%); max-width: 620px; }
.callout a:not(.button) { color: #fff; }
.tile h4 { margin: 0 0 8px; font-size: var(--fs-md); }
.device-checker__final { margin-top: 28px; }
.device-checker__final ol { padding: 0; list-style: none; }
.device-checker__model { font-size: var(--fs-sm); font-weight: 700; color: var(--ocean-soft); }
.device-checker__result .device-checker__next { margin-top: 16px; }
#product-buy { scroll-margin-top: 90px; }
.plan-compare__grid { display: grid; gap: 16px; margin-bottom: 12px; }
@media (min-width: 720px) { .plan-compare__grid { grid-template-columns: 1fr 1fr; } }
.plan-compare__card[data-current] { border-color: var(--eucalyptus); }
.plan-compare__card ul { margin: 12px 0; padding-left: 20px; color: var(--ocean-soft); }
.plan-compare__card p + p { margin-top: 12px; }
.device-checker__sources { font-size: var(--fs-sm); color: var(--ocean-soft); }
.steps { margin: 0; }
.section__heading h2 { margin: 0; }

/* Checkout and order pages */
.checkout { padding-bottom: 72px; }
.checkout__layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); gap: 24px; align-items: start; }
.checkout__form, .checkout__summary { padding: clamp(22px, 3vw, 34px); }
.checkout__form { display: grid; gap: 12px; }
.checkout__form label { font-weight: 700; }
.checkout__form input[type="email"], .checkout__form input[type="text"] { min-height: 50px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-control); font: inherit; }
.checkbox { display: grid; grid-template-columns: auto 1fr; gap: 12px; font-weight: 400 !important; }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; }
.checkout__form .login-code { font-size: 1.75rem; letter-spacing: 0.35em; text-align: center; font-variant-numeric: tabular-nums; }
.field-hint { margin: 0; font-size: var(--fs-sm); color: var(--ocean-soft); }
.form-error { margin: 0; padding: 12px 16px; border-radius: var(--radius-control); background: #ffe3de; color: #8a2414; font-weight: 600; }
.checkout__summary dl, .order__esim dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.checkout__summary dt, .order__esim dt { font-weight: 700; }
.checkout__summary dd, .order__esim dd { margin: 0; overflow-wrap: anywhere; }
.order__item { padding: 24px; margin-block: 16px; }
.order__esim img { border-radius: var(--r-md); background: #fff; }
.order__arrival { margin-block: 16px; padding: 16px 20px; border-radius: var(--r-md); background: var(--seafoam); }
.order__arrival h2 { font-size: 1.05rem; margin: 0 0 6px; }
.order__arrival p { margin: 0; }
@media (max-width: 800px) { .checkout__layout { grid-template-columns: 1fr; } }
.usage { margin-block: 12px; }
.usage p { margin: 0 0 8px; }
.usage__bar { height: 10px; border-radius: 999px; background: var(--seafoam); overflow: hidden; }
.usage__bar span { display: block; height: 100%; background: var(--eucalyptus); }
.esim-status h3 { font-size: 1rem; margin: 0 0 8px; }
.esim-status__refresh { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px; }
.esim-status__refresh p { margin: 0; }
.post-list { display: grid; gap: 20px; }
.post-card { display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding: 16px; }
.post-card img { border-radius: var(--radius-media); aspect-ratio: 4 / 3; object-fit: cover; }
.post-card h2 { font-size: var(--fs-lg); }
.post-card h2 a { color: var(--ocean); }
.post__image { border-radius: var(--radius-media); margin-block: 20px; }
@media (max-width: 640px) { .post-card { grid-template-columns: 1fr; } }
.checkout__invoice { padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-control); }
.checkout__invoice summary { cursor: pointer; font-weight: 600; }
.checkout__invoice[open] { display: grid; gap: 8px; }
.invoice-body { background: #fff; }
.invoice { max-width: 820px; margin: 0 auto; padding: 40px 24px; }
.invoice__header { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-bottom: 2px solid var(--ocean); padding-bottom: 16px; }
.invoice__header h1 { font-size: var(--fs-2xl); }
.invoice__to h2 { font-size: var(--fs-base); margin-top: 24px; }
.invoice__table { width: 100%; border-collapse: collapse; margin-block: 24px; }
.invoice__table th, .invoice__table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.invoice__table td:last-child, .invoice__table th:last-child { text-align: right; }
@media print { .invoice__actions { display: none; } }
.scenario { margin-block: 40px; padding: clamp(20px, 4vw, 40px); background: var(--seafoam-soft); border-radius: var(--radius-card); }
.scenario__offer { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.scenario small { display: block; font-size: var(--fs-xs); color: var(--ocean-soft); }
.contact-form { margin-top: 32px; padding: clamp(20px, 3vw, 32px); }
.contact-form textarea { padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-control); font: inherit; resize: vertical; }
/* Small phones: keep the header on one row without horizontal scroll. */
@media (max-width: 560px) {
  .site-logo small { display: none; }
  .site-header__bar { position: relative; gap: 6px 10px; }
  .site-header__tools { flex: 1; gap: 4px; justify-content: flex-end; }
  .site-header .site-search { position: static; }
  .site-search { flex: 1; min-width: 0; max-width: 240px; }
  .site-search input { flex: 1; width: auto; min-width: 0; padding-inline: 12px; }
  .site-search button { width: 42px; padding: 0; }
  .site-search__icon { display: block; }
  .site-search__label, .site-header__account-label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .site-header .site-search .suggest { left: 0; right: 0; width: auto; min-width: 0; }
  .site-header__account { justify-content: center; width: 40px; height: 40px; border-radius: 50%; }
  .site-header__account svg { display: block; }
  .site-header__account:hover { background: rgb(var(--ocean-rgb) / 6%); }
  .site-nav { gap: 0; margin-inline: -8px; }
  .site-nav > a, .site-nav__menu > summary { padding-inline: 8px; }
  .hero-search__row { flex-wrap: wrap; }
  .hero-search button { flex: 1 0 100%; }
  .device-checker__controls { flex-wrap: wrap; }
  .device-checker__controls input { flex-basis: 100%; }
  .device-checker__controls .button { flex: 1 0 100%; }
  .checkout__form, .checkout__summary { padding: 20px 20px; }
  .float-card--2 { display: none; }
}

/* ===== Motion & interactive components (homepage refresh) ===== */
:root { --ease: cubic-bezier(.2, .7, .2, 1); }

/* Reveal on scroll (only hidden when the script is running). */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Header compacts on scroll. */
.site-header { transition: box-shadow .25s ease, background-color .25s ease; }
.site-header__bar { transition: min-height .25s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgb(var(--ocean-rgb) / 10%); background: rgb(var(--sand-rgb) / 97%); }
.site-header.is-scrolled .site-header__bar { min-height: 56px; }

/* Hero */
.hero--home { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); background: linear-gradient(160deg, var(--seafoam-soft) 0%, var(--sand) 55%, var(--seafoam) 100%); }
.hero--home .hero__layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); position: relative; z-index: 1; }
/* Background photo (public/assets/hero/, credit in docs/image-credits.md),
   mirrored so the calm lagoon sits behind the copy, with a sand wash on the
   text side for contrast. */
.hero__bg { position: absolute; inset: 0; background: url("/assets/hero/maldives-lagoon-2000.jpg") center / cover no-repeat; transform: scaleX(-1); }
.hero--home::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgb(var(--sand-rgb) / 94%) 0%, rgb(var(--sand-rgb) / 82%) 36%, rgb(var(--sand-rgb) / 30%) 60%, rgb(var(--sand-rgb) / 0%) 78%); }
@media (max-width: 860px) {
  .hero__bg { background-image: url("/assets/hero/maldives-lagoon-1000.jpg"); }
  /* Wash behind the copy only; the photo stays clear behind the phone. */
  .hero--home::after { background: linear-gradient(180deg, rgb(var(--sand-rgb) / 90%) 0%, rgb(var(--sand-rgb) / 84%) 50%, rgb(var(--sand-rgb) / 25%) 64%, rgb(var(--sand-rgb) / 0%) 85%); }
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; will-change: transform; }
.hero__glow--a { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, rgb(var(--coral-rgb) / 55%), transparent 70%); animation: drift 14s ease-in-out infinite alternate; }
.hero__glow--b { width: 460px; height: 460px; left: -160px; bottom: -200px; background: radial-gradient(circle, rgb(var(--eucalyptus-rgb) / 40%), transparent 70%); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { translate: 40px 30px; scale: 1.08; } }
.hero--home h1 { font-size: var(--fs-4xl); letter-spacing: -0.04em; margin-bottom: 12px; }
.hero__rotator { margin: 0 0 16px; font-size: var(--fs-xl); line-height: var(--lh-title); letter-spacing: var(--ls-title); font-weight: 700; color: var(--ocean-soft); }
.rotator { display: inline-block; position: relative; color: var(--coral-dark); }
.rotator__word { display: inline-block; transition: transform .28s var(--ease), opacity .28s ease; }
.rotator__word.is-leaving { transform: translateY(-60%); opacity: 0; }
.rotator__word.is-entering { transform: translateY(60%); opacity: 0; transition: none; }
.rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--coral); opacity: .5; }
.hero__visual { position: relative; display: grid; place-items: center; min-height: 520px; }

/* Phone mockup: scan → install → connected, looping. */
.phone { position: relative; width: 250px; height: 500px; border-radius: 42px; background: linear-gradient(150deg, var(--flame) 0%, var(--coral) 55%, var(--coral-dark) 100%); padding: 12px; box-shadow: 0 40px 80px rgb(var(--coral-rgb) / 35%), inset 0 0 0 2px rgb(255 255 255 / 25%); animation: float 6s ease-in-out infinite; }
.phone__notch { position: absolute; top: 18px; left: 50%; width: 84px; height: 22px; translate: -50% 0; border-radius: 20px; background: #000; z-index: 2; }
.phone__screen { position: relative; height: 100%; border-radius: 32px; overflow: hidden; background: linear-gradient(180deg, var(--sand), var(--seafoam)); }
.phone__status { display: flex; justify-content: space-between; padding: 14px 22px 0; font-size: .72rem; font-weight: 700; }
.phone__bars { display: flex; gap: 2px; align-items: end; }
.phone__bars i { width: 3px; border-radius: 1px; background: var(--ocean); opacity: .25; animation: bars 9s infinite; }
.phone__bars i:nth-child(1) { height: 4px; } .phone__bars i:nth-child(2) { height: 6px; animation-delay: .1s; } .phone__bars i:nth-child(3) { height: 8px; animation-delay: .2s; } .phone__bars i:nth-child(4) { height: 10px; animation-delay: .3s; }
@keyframes bars { 0%, 64% { opacity: .25; } 70%, 100% { opacity: 1; } }
.phone__step { position: absolute; inset: 60px 20px 30px; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; opacity: 0; animation: step 9s infinite; }
.phone__step p { margin: 0; font-weight: 800; }
.phone__step small { color: var(--ocean-soft); }
.phone__step--install { animation-delay: 3s; }
.phone__step--done { animation-delay: 6s; }
@keyframes step { 0% { opacity: 0; transform: translateY(10px); } 4%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-10px); } }
/* Real QR (opens https://telroo.com/): black on white, 4-module quiet zone in the SVG. */
.phone__qr { position: relative; width: 140px; height: 140px; border-radius: 8px; overflow: hidden; background: #fff url("telroo-qr.svg") center / 100% 100% no-repeat; box-shadow: 0 0 0 6px #fff; }
.phone__laser { position: absolute; left: 0; right: 0; height: 3px; background: var(--coral); box-shadow: 0 0 12px var(--coral); animation: laser 1.5s ease-in-out infinite alternate; }
/* Multiply keeps dark modules dark under the line, so the code still scans mid-sweep. */
.phone__qr .phone__laser { opacity: .7; mix-blend-mode: multiply; box-shadow: 0 0 8px var(--coral); }
@keyframes laser { from { top: 4%; } to { top: 94%; } }
.phone__progress { width: 160px; height: 8px; border-radius: 8px; background: rgb(var(--ocean-rgb) / 12%); overflow: hidden; }
.phone__progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--eucalyptus); animation: fill 9s infinite; animation-delay: 3s; }
@keyframes fill { 0% { width: 0; } 28%, 100% { width: 100%; } }
.phone__tick { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--eucalyptus); color: #fff; font-size: 2rem; font-weight: 800; box-shadow: 0 0 0 0 rgb(var(--eucalyptus-rgb) / 40%); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 18px rgb(var(--eucalyptus-rgb) / 0%); } 100% { box-shadow: 0 0 0 0 rgb(var(--eucalyptus-rgb) / 0%); } }
@keyframes float { 50% { transform: translateY(-12px); } }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: var(--r-lg); background: rgb(255 255 255 / 92%); backdrop-filter: blur(8px); box-shadow: var(--shadow); color: var(--ocean); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s ease; animation: float 7s ease-in-out infinite; }
.float-card img { width: 48px; height: 48px; border-radius: var(--r-md); object-fit: cover; }
.float-card span { display: grid; line-height: 1.25; }
.float-card small { color: var(--eucalyptus); font-weight: 700; }
.float-card:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 24px 50px rgb(var(--ocean-rgb) / 18%); color: var(--ocean); }
.float-card--1 { left: 0; top: 70px; animation-delay: -1s; }
.float-card--2 { right: 0; top: 190px; animation-delay: -3s; }
.float-card--3 { left: 18px; bottom: 60px; animation-delay: -5s; }
@media (max-width: 860px) {
  .hero--home .hero__layout { grid-template-columns: 1fr; }
  .hero__visual { min-height: 420px; }
  .phone { width: 200px; height: 400px; }
  .phone__qr { width: 124px; height: 124px; }
  .float-card--1 { left: 0; top: 20px; } .float-card--2 { right: 0; top: 160px; } .float-card--3 { left: 0; bottom: 20px; }
}

/* Search suggestions */
.hero-search, .site-search { position: relative; }
.suggest { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; right: 0; min-width: 260px; margin: 0; padding: 8px; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 24px 50px rgb(var(--ocean-rgb) / 16%); animation: pop .18s var(--ease); }
.site-search .suggest { left: auto; width: 320px; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: var(--r-md); color: var(--ocean); text-decoration: none; }
.suggest img { width: 40px; height: 40px; border-radius: var(--r-md); object-fit: cover; }
.suggest span { display: grid; line-height: 1.3; }
.suggest small { color: var(--eucalyptus); font-weight: 600; }
.suggest a:hover { background: var(--seafoam); }
.suggest li[aria-selected="true"] a { background: var(--pick); color: var(--pick-ink); }
.suggest li[aria-selected="true"] small { color: var(--pick-ink); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* Mega menu */
.site-nav__menu[open] > summary { background: var(--seafoam); }
.mega { position: absolute; top: calc(100% + 10px); left: -120px; z-index: 60; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; width: min(720px, calc(100vw - 32px)); padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: 0 30px 60px rgb(var(--ocean-rgb) / 16%); animation: pop .2s var(--ease); }
.mega__regions a, .mega__results a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: var(--r-md); color: var(--ocean); text-decoration: none; font-weight: 600; transition: background .15s ease, transform .15s ease; }
.mega__regions a:hover, .mega__results a:hover { background: var(--seafoam); transform: translateX(3px); }
.mega__search input { width: 100%; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; }
.mega__results { list-style: none; margin: 8px 0; padding: 0; max-height: 260px; overflow-y: auto; }
.mega__results small { color: var(--eucalyptus); font-weight: 600; }
.mega__empty { padding: 8px 12px; color: var(--ocean-soft); }
.mega__all { font-weight: 700; }
@media (max-width: 960px) { .mega { position: fixed; left: 16px; right: 16px; top: 112px; width: auto; grid-template-columns: 1fr; max-height: calc(100vh - 140px); overflow-y: auto; } }

/* Marquee */
.marquee { overflow: hidden; padding-block: 18px; background: linear-gradient(90deg, var(--coral-dark), var(--coral) 45%, var(--flame)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; gap: 12px; margin: 0; padding: 0 6px; list-style: none; }
.marquee__list a { display: inline-block; padding: 8px 18px; border: 1px solid transparent; border-radius: 999px; background: rgb(255 255 255 / 92%); color: var(--ocean); font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.marquee__list a:hover { background: var(--ocean); color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }
/* Home: the strip sits directly under the header, above the hero. */
.marquee--top { padding-block: 10px; }
.marquee--top .marquee__list a { padding: 6px 16px; font-size: var(--fs-base); }
@media (max-width: 600px) { .marquee--top { padding-block: 8px; } .marquee--top .marquee__list a { padding: 5px 14px; font-size: var(--fs-sm); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-block: clamp(36px, 5vw, 56px) 0; }
.stats > div { padding: 24px; border-radius: var(--radius-card); background: var(--paper); border: 1px solid var(--line); }
.stats strong { display: block; font-size: var(--fs-2xl); line-height: 1.1; letter-spacing: var(--ls-heading); color: var(--ocean); }
.stats span { color: var(--ocean-soft); font-size: var(--fs-sm); }
.stats strong small { font-size: .45em; font-weight: 700; letter-spacing: 0; color: var(--ocean-soft); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Destination cards */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.dest-card { position: relative; overflow: hidden; border-radius: var(--radius-card); color: #fff; text-decoration: none; isolation: isolate; }
.dest-card--wide { grid-column: span 2; grid-row: span 2; }
.dest-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); z-index: -2; }
.dest-card__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 38%, rgb(var(--ocean-rgb) / 35%) 60%, rgb(var(--ocean-rgb) / 88%)); transition: opacity .3s ease; }
.dest-card__text { position: absolute; left: 18px; right: 18px; bottom: 16px; display: grid; transition: transform .35s var(--ease); }
.dest-card__text strong { font-size: var(--fs-lg); line-height: var(--lh-title); letter-spacing: var(--ls-title); }
.dest-card--wide .dest-card__text strong { font-size: var(--fs-xl); }
.dest-card__text small { opacity: .9; font-weight: 600; }
.dest-card__cta { position: absolute; right: 16px; top: 16px; padding: 8px 12px; border-radius: 999px; background: var(--coral); color: var(--ocean); font-size: var(--fs-xs); font-weight: 800; opacity: 0; transform: translateY(-8px); transition: opacity .3s ease, transform .3s var(--ease); }
.dest-card:hover img, .dest-card:focus-visible img { transform: scale(1.07); }
.dest-card:hover .dest-card__cta, .dest-card:focus-visible .dest-card__cta { opacity: 1; transform: none; }
.dest-card:hover .dest-card__text { transform: translateY(-4px); }
@media (max-width: 860px) { .dest-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } .dest-card--wide { grid-row: span 1; } }

/* Tabs */
.tabs__list { position: relative; display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 24px; border-radius: 999px; background: var(--seafoam); }
.tabs__tab { position: relative; z-index: 1; padding: 12px 20px; border: 0; border-radius: 999px; background: none; color: var(--ocean); font: inherit; font-weight: 700; cursor: pointer; transition: color .25s ease; }
.tabs__tab[aria-selected="true"] { color: var(--pick-ink); }
.tabs__indicator { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--pick); box-shadow: inset 0 0 0 1.5px var(--edge); transition: transform .35s var(--ease), width .35s var(--ease); }
html:not(.js) .tabs__tab[aria-selected="true"] { background: var(--pick); box-shadow: inset 0 0 0 1.5px var(--edge); }
.tabs--dark .tabs__list { background: rgb(255 255 255 / 10%); }
.tabs--dark .tabs__tab { color: #fff; }
.tabs--dark .tabs__tab[aria-selected="true"] { color: var(--pick-ink); }
.tabs--dark .tabs__indicator { background: var(--pick); box-shadow: none; }
.tabs__panel:not([hidden]), .tabs [role=tabpanel]:not([hidden]) { animation: fade-up .4s var(--ease); }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }

/* Carousel */
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, calc((100% - 48px) / 4)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 2px; padding: 4px 2px 16px; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 8px; }
html:not(.js) .carousel__controls { display: none; }
.carousel__btn { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ocean); font-size: var(--fs-md); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.carousel__btn:hover:not(:disabled) { background: var(--ocean); color: #fff; transform: scale(1.06); }
.carousel__btn:disabled { opacity: .35; cursor: default; }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--r-sm); background: rgb(var(--ocean-rgb) / 20%); cursor: pointer; transition: width .3s var(--ease), background .3s ease; }
.carousel__dots button[aria-current="true"] { width: 24px; background: var(--pick); box-shadow: inset 0 0 0 1.5px var(--edge); }
@media (max-width: 860px) { .carousel__track { grid-auto-columns: 78%; } }

.plan-tile { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--sand); color: var(--ocean); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s ease; }
.plan-tile:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgb(var(--ocean-rgb) / 14%); color: var(--ocean); }
.plan-tile__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.plan-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.plan-tile:hover .plan-tile__media img { transform: scale(1.06); }
.plan-tile__badge { position: absolute; left: 12px; top: 12px; padding: 4px 12px; border-radius: 999px; background: rgb(255 255 255 / 92%); font-size: var(--fs-xs); font-weight: 800; }
.plan-tile__body { display: grid; gap: 2px; padding: 16px 16px 20px; }
.plan-tile__meta { color: var(--ocean-soft); font-size: var(--fs-sm); }
.plan-tile__price b { color: var(--eucalyptus); }
.plan-tile__go { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ocean); color: #fff; transform: translateX(-6px); opacity: 0; transition: opacity .25s ease, transform .25s var(--ease); }
.plan-tile:hover .plan-tile__go { opacity: 1; transform: none; }

/* Timeline (how it works) */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; top: 24px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--coral), var(--sun), var(--eucalyptus)); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js .timeline:has(.is-visible)::before, html:not(.js) .timeline::before { transform: scaleX(1); }
.timeline__dot { position: relative; display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 16px; border-radius: 50%; background: var(--coral); color: var(--ocean); font-weight: 800; box-shadow: 0 0 0 8px var(--ocean); }
.timeline__step p { color: rgb(255 255 255 / 78%); }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; } .timeline::before { display: none; } }

/* Data planner */
.calc-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.calc { display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); }
.calc label { font-weight: 700; }
.calc output { color: var(--coral-dark); }
.calc input[type=range] { --fill: 31%; width: 100%; height: 8px; appearance: none; border-radius: var(--r-sm); background: linear-gradient(90deg, var(--eucalyptus) var(--fill), var(--seafoam) var(--fill)); cursor: pointer; }
.calc input[type=range]::-webkit-slider-thumb { appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ocean); border: 4px solid #fff; box-shadow: 0 2px 8px rgb(var(--ocean-rgb) / 30%); transition: transform .15s ease; }
.calc input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ocean); border: 4px solid #fff; }
.calc fieldset { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; }
.calc legend { font-weight: 700; margin-bottom: 8px; }
.calc fieldset label { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-control); font-weight: 400; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.calc fieldset label:has(input:checked) { border-color: var(--ocean); background: var(--pick); color: var(--pick-ink); }
.calc fieldset label:has(input:checked) small { color: var(--pick-ink); }
.calc fieldset small { margin-left: auto; color: var(--ocean-soft); }
.calc__result { margin: 0; font-size: var(--fs-lg); }
.calc__result strong { font-size: var(--fs-2xl); color: var(--eucalyptus); }
.calc__hint { margin: 0; color: var(--ocean-soft); }
@media (max-width: 860px) { .calc-layout { grid-template-columns: 1fr; } }

.tile--lift { transition: transform .3s var(--ease), box-shadow .3s ease; }
.tile--lift:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.inline-check { margin-block: 20px; max-width: 460px; }
.inline-check label { display: block; font-weight: 700; margin-bottom: 8px; }
.inline-check input { flex: 1; min-width: 0; min-height: 50px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: var(--paper); }
.inline-check button { min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--ocean); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

/* FAQ accordion: smooth open where the browser supports it. */
details { interpolate-size: allow-keywords; }
details::details-content { block-size: 0; overflow: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
details[open]::details-content { block-size: auto; }
.faq summary { display: flex; justify-content: space-between; gap: 12px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgb(255 255 255 / 10%); transition: transform .3s var(--ease), background .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--coral); color: var(--ocean); }

/* Closing call to action */
.cta-band { padding-block: clamp(56px, 8vw, 96px); background: radial-gradient(circle at 20% 20%, rgb(var(--coral-rgb) / 25%), transparent 40%), radial-gradient(circle at 85% 80%, color-mix(in srgb, var(--sun) 35%, transparent), transparent 45%), linear-gradient(135deg, var(--seafoam), var(--sand)); text-align: center; }
.cta-band__inner { display: grid; justify-items: center; gap: 8px; }
.cta-band h2 { font-size: var(--fs-3xl); line-height: var(--lh-display); letter-spacing: var(--ls-display); margin: 0; }
.cta-band p { max-width: 520px; color: var(--ocean-soft); }

/* Destinations A–Z */
.destinations__filter { max-width: 520px; margin-bottom: 20px; }
.destinations__filter label { display: block; font-weight: 700; margin-bottom: 8px; }
.destinations__filter input { width: 100%; min-height: 50px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; font: inherit; }
.region-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.region-tabs a { padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ocean); font-weight: 700; text-decoration: none; }
.region-tabs a:hover { background: var(--seafoam); }
.region { margin-bottom: 32px; scroll-margin-top: 90px; }
.region h2 small { font-size: var(--fs-sm); color: var(--ocean-soft); font-weight: 600; }
.dest-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.dest-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 12px 16px; border-radius: var(--radius-control); background: var(--paper); border: 1px solid var(--line); color: var(--ocean); text-decoration: none; font-weight: 600; transition: transform .2s var(--ease), border-color .2s ease; }
.dest-list a:hover { transform: translateY(-2px); border-color: var(--eucalyptus); }
.dest-list small { color: var(--eucalyptus); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .phone__step--scan { opacity: 1; }
  .marquee__track { animation: none; }
}

.dest-card--all { display: block; background: var(--ocean); background-image: radial-gradient(circle at 80% 20%, rgb(var(--coral-rgb) / 45%), transparent 55%); }
.dest-card--all:hover { color: #fff; }
.dest-card__arrow { position: absolute; right: 18px; top: 16px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: var(--ocean); font-weight: 800; transition: transform .3s var(--ease); }
.dest-card--all:hover .dest-card__arrow { transform: translateX(4px) rotate(-12deg); }
/* Keep floating cards clear of the phone's screen text. */
.float-card--1 { left: 0; top: 40px; }
.float-card--2 { right: 0; top: auto; bottom: 80px; }
.float-card--3 { left: 0; bottom: 30px; }
@media (min-width: 861px) { .hero__visual .phone { margin-inline: auto; } }
/* Phones: keep every card clear of the scannable QR (above it or below it). */
@media (max-width: 860px) {
  .hero__visual { min-height: 480px; }
  .float-card--1 { left: 0; top: 0; }
  .float-card--2 { right: 0; top: 80px; bottom: auto; }
  .float-card--3 { left: 0; top: auto; bottom: 0; }
}

/* ===== Depth: layered outlines and hard shadows =====
   One rule set gives every surface the same treatment: an ink outline
   (--edge-width solid --edge) and a solid offset shadow (--lift*). Colours
   come from the palette variables, so admin palette switches keep working. */

/* Dark bands: switch the edge to the light paper colour so outlines stay visible. */
.section--ocean, .page-hero, .callout, .site-footer, .announce {
  --edge: var(--paper);
  /* Re-declared so the shadows pick up this --edge (custom properties resolve where declared). */
  --lift-sm: 3px 3px 0 var(--edge);
  --lift: 5px 5px 0 var(--edge);
  --lift-strong: 8px 8px 0 var(--edge);
}

/* Display headings: big, heavy and tightly spaced, scaled down on phones. */
/* Headings inside cards and lists stay compact. */
.card h2, .region h2 { font-size: var(--fs-xl); line-height: var(--lh-title); }

/* Surfaces */
:is(.card, .tile, .panel, .empty, .plan-table, .device-checker, .table-scroll, .stats > div,
  .collection-list a, .plan-card, .product-card, .plan-tile, .dest-card, .hero-tile, .scenario,
  .dest-list a, .mega, .suggest, .checkout__invoice) {
  border: var(--edge-width) solid var(--edge);
  box-shadow: var(--lift);
}
:is(.tile, .stats > div, .dest-list a, .checkout__invoice) { box-shadow: var(--lift-sm); }
.float-card { border: var(--edge-width) solid var(--edge); box-shadow: var(--lift-sm); background: var(--paper); }
.float-card:hover { box-shadow: var(--lift); }
.section--ocean .tile { background: rgb(255 255 255 / 6%); border-color: var(--edge); }
.compare-table { border-radius: 0; }
.table-scroll { background: var(--paper); }

/* Interactive surfaces rise on hover and press in when clicked. */
:is(a.tile, .tile--lift, .product-card, .plan-tile, .collection-list a, .dest-list a, .dest-card, .hero-tile) {
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s ease;
}
:is(a.tile, .tile--lift, .product-card, .plan-tile, .collection-list a, .dest-card, .hero-tile):hover {
  transform: var(--nudge); box-shadow: var(--lift-strong);
}
.dest-list a:hover { transform: var(--nudge); box-shadow: var(--lift); border-color: var(--edge); }
:is(a.tile, .product-card, .plan-tile, .collection-list a, .dest-list a, .dest-card, .hero-tile):active {
  transform: var(--push); box-shadow: 0 0 0 var(--edge);
}

/* Buttons: full pills with an outline and a hard shadow. */
.button, .hero-search button, .inline-check button, .carousel__btn {
  border: var(--edge-width) solid var(--edge);
  box-shadow: var(--lift-sm);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s ease, color .15s ease;
}
.button { min-height: 50px; padding-inline: 24px; font-weight: 800; }
.button--primary:hover { background: var(--coral); color: var(--ocean); }
.button--ghost { background: var(--paper); color: var(--ocean); }
.button--ghost:hover { background: var(--seafoam); color: var(--ocean); }
:is(.button, .hero-search button, .inline-check button):hover:not([disabled]),
.carousel__btn:hover:not(:disabled) { transform: var(--nudge); box-shadow: var(--lift); }
:is(.button, .hero-search button, .inline-check button, .carousel__btn):active:not(:disabled) {
  transform: var(--push); box-shadow: 0 0 0 var(--edge);
}
.button[disabled] { box-shadow: none; }

/* Pills and chips */
:is(.quick-links a, .region-tabs a, .hero__proof span, .jump-links a) {
  border: var(--edge-width) solid var(--edge);
  box-shadow: var(--lift-sm);
}
:is(.quick-links a, .region-tabs a, .jump-links a) { transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s ease; }
:is(.quick-links a, .region-tabs a, .jump-links a):hover { transform: var(--nudge); box-shadow: var(--lift); background: var(--seafoam); color: var(--ocean); }
:is(.quick-links a, .region-tabs a, .jump-links a):active { transform: var(--push); box-shadow: 0 0 0 var(--edge); }
.marquee__list a { border: var(--edge-width) solid var(--ocean); }
.tabs__list { border: var(--edge-width) solid var(--edge); box-shadow: var(--lift-sm); }

/* Form fields */
:is(.hero-search input, .search-form input, .device-checker input, .checkout__form input[type="email"],
  .checkout__form input[type="text"], .inline-check input, .destinations__filter input, .mega__search input,
  .contact-form textarea, .contact-form input, .cart-line__qty input) {
  border: var(--edge-width) solid var(--edge);
  background: var(--paper);
  color: var(--ocean);
}
:is(.hero-search input, .search-form input, .device-checker input, .checkout__form input, .inline-check input,
  .destinations__filter input, .mega__search input, .contact-form textarea, .contact-form input):focus {
  outline: none; box-shadow: var(--lift-sm);
}

/* Announcement bar and header */
.announce { margin: 0; padding: 8px 16px; background: var(--ocean); color: #fff; text-align: center; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; }
.announce span + span::before { content: "·"; margin-inline: 10px; opacity: 0.7; }
.site-header { border-bottom: var(--edge-width) solid var(--edge); background: rgb(var(--sand-rgb) / 96%); }
.site-header.is-scrolled { box-shadow: 0 var(--edge-width) 0 rgb(var(--ocean-rgb) / 12%); }
.site-header__bar { min-height: 84px; }
.site-header.is-scrolled .site-header__bar { min-height: 64px; }
.site-logo { flex-direction: column; align-items: flex-start; }
.site-logo small { margin: 4px 0 0 2px; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.2em; color: var(--ocean); }
.site-nav > a, .site-nav__menu > summary { font-weight: 700; border: var(--edge-width) solid transparent; }
.site-nav > a:hover, .site-nav__menu > summary:hover, .site-nav__menu[open] > summary { border-color: var(--edge); background: var(--paper); }
.site-search { border: var(--edge-width) solid var(--edge); box-shadow: var(--lift-sm); }
.site-search button { margin: 3px; border-radius: 999px; }
.site-search:focus-within { box-shadow: var(--lift); }
.site-header__account, .site-header__cart {
  justify-content: center; width: 44px; height: 44px; border: var(--edge-width) solid var(--edge); border-radius: 50%;
  background: var(--paper); box-shadow: var(--lift-sm); color: var(--ocean);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.site-header__account svg { display: block; }
.site-header__account-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-header__account:hover, .site-header__cart:hover { background: var(--seafoam); color: var(--ocean); transform: var(--nudge); box-shadow: var(--lift); }
.site-header__cart-count { top: -6px; right: -8px; border: 2px solid var(--paper); height: 22px; line-height: 18px; min-width: 22px; border-radius: 11px; }
@media (max-width: 960px) {
  .site-header__bar { min-height: 0; }
  .site-nav { padding-block: 2px 4px; }
}
@media (max-width: 560px) {
  .site-header__account, .site-header__cart { width: 40px; height: 40px; box-shadow: none; }
  .site-search { box-shadow: none; }
  .announce { font-size: 0.74rem; padding-block: 6px; }
  .announce span + span::before { margin-inline: 6px; }
  .site-nav > a, .site-nav__menu > summary { font-size: 0.92rem; padding-inline: 7px; }
}
/* Keep the announcement on one line on the narrowest phones. */
@media (max-width: 430px) { .announce span:nth-child(2) { display: none; } }

/* Logo: about twice the earlier size; subtitle spaced to sit under the word. */
.site-logo { font-size: clamp(3.4rem, 2.4rem + 3vw, 4.9rem); letter-spacing: -0.065em; }
.site-logo small { margin: 2px 0 0 4px; font-size: 0.74rem; letter-spacing: 0.3em; }
.site-header.is-scrolled .site-logo { font-size: 3rem; }
.site-header.is-scrolled .site-logo small { display: none; }
@media (min-width: 961px) { .site-header__bar { padding-block: 10px; } }
/* Narrow desktops: icon-only search button so the bigger logo still fits on one row. */
@media (min-width: 961px) and (max-width: 1180px) {
  .site-header__bar { gap: 16px; }
  .site-nav > a, .site-nav__menu > summary { padding-inline: 10px; }
  .site-search input { width: 150px; }
  .site-search button { width: 42px; padding: 0; }
  .site-search__icon { display: block; }
  .site-search__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 960px) {
  .site-header__bar { align-items: center; }
}
/* Phones: no header search (the page has its own); larger logo beside the icons. */
@media (max-width: 560px) {
  .site-header .site-search { display: none; }
  .site-header__bar { padding-block: 10px 6px; }
  .site-logo { font-size: 3.6rem; letter-spacing: -0.065em; }
  .site-logo small { display: block; margin: 1px 0 0 3px; font-size: 0.62rem; letter-spacing: 0.26em; }
  .site-header.is-scrolled .site-logo { font-size: 2.6rem; }
  .site-header__tools { gap: 10px; }
}
@media (max-width: 380px) { .site-nav > a, .site-nav__menu > summary { font-size: 0.86rem; padding-inline: 5px; } }

.support-widget { border: var(--edge-width) solid var(--ocean); box-shadow: 3px 3px 0 var(--ocean); }

/* Product page: section links, feature strip, plan details beside the checklist. */
.product__buy { box-shadow: var(--lift-strong); }
.product__media img { border: var(--edge-width) solid var(--edge); box-shadow: var(--lift); }
.product-intro { padding-top: clamp(32px, 6vw, 72px); }
.product-intro h2 { max-width: 22ch; }
.product-intro__lede { max-width: 620px; margin: 0 0 24px; font-size: var(--fs-md); color: var(--ocean-soft); }
.jump-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 clamp(24px, 4vw, 36px); padding: 0; list-style: none; }
.jump-links a { display: inline-flex; padding: 8px 16px; border-radius: 999px; background: var(--paper); color: var(--ocean); font-weight: 700; font-size: var(--fs-sm); text-decoration: none; }
.product-story { padding-bottom: 24px; }
.product-story .value { width: auto; margin-block: 0; }
.section--tight { padding-block: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 40px); }
.product-story [id] { scroll-margin-top: 110px; }
.feature-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--edge-width); margin: clamp(24px, 4vw, 40px) 0 0; padding: 0; list-style: none; overflow: hidden; background: var(--line); border: var(--edge-width) solid var(--edge); border-radius: var(--radius-card); box-shadow: var(--lift-strong); }
.feature-strip li { padding: clamp(18px, 2.4vw, 26px); background: var(--paper); }
.feature-strip h3 { margin: 16px 0 8px; font-size: var(--fs-md); }
.feature-strip p { margin: 0; font-size: var(--fs-sm); color: var(--ocean-soft); }
.feature-strip__icon { display: grid; place-items: center; width: 42px; height: 42px; border: var(--edge-width) solid var(--edge); border-radius: 50%; background: var(--sun); color: var(--ocean); }
@media (max-width: 900px) { .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .feature-strip { grid-template-columns: 1fr; } }
.product-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(48px, 7vw, 88px); }
.product-split .product__description { margin-top: 0; }
.confirm-card { position: sticky; top: 112px; padding: clamp(22px, 3vw, 30px); background: var(--sun); color: var(--ocean); border: var(--edge-width) solid var(--edge); border-radius: var(--radius-card); box-shadow: var(--lift); }
.confirm-card .kicker { color: var(--ocean); }
.confirm-card h2 { font-size: var(--fs-xl); line-height: var(--lh-title); }
.confirm-card ol { display: grid; gap: 16px; margin: 20px 0 0; padding: 0; list-style: none; }
.confirm-card li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.confirm-card li > span { display: grid; place-items: center; width: 34px; height: 34px; border: var(--edge-width) solid var(--edge); border-radius: 50%; font-size: var(--fs-xs); font-weight: 800; }
.confirm-card p { margin: 4px 0 0; }
@media (max-width: 900px) {
  .product-split { grid-template-columns: minmax(0, 1fr); }
  .confirm-card { position: static; }
}

/* Reduced motion: keep the outlines and shadows, drop the movement. */
@media (prefers-reduced-motion: reduce) {
  :root { --nudge: none; --push: none; }
}

/* Cart */
/* Buy row: quantity stepper, Buy now, Add to cart (narrow: Add to cart wraps below). */
.product__form { container-type: inline-size; }
.product__actions { display: grid; grid-template-columns: auto 1fr 1fr; gap: 12px; align-items: stretch; }
.product__actions .button { width: 100%; padding-inline: 16px; }
@container (max-width: 440px) {
  .product__actions { grid-template-columns: auto 1fr; }
  .product__actions > :last-child { grid-column: 1 / -1; }
}
.qty {
  display: inline-flex; align-items: center; min-height: 50px;
  border: var(--edge-width) solid var(--edge); border-radius: 999px; background: var(--paper);
}
.qty__step {
  display: grid; place-items: center; width: 40px; align-self: stretch; padding: 0;
  border: 0; border-radius: 999px; background: none; color: var(--ocean); font: inherit; font-size: var(--fs-lg); font-weight: 700; cursor: pointer;
}
.qty__step:hover:not(:disabled) { background: var(--seafoam); }
.qty__step:disabled { opacity: .35; cursor: not-allowed; }
.qty__input {
  width: 3.2ch; min-width: 0; padding: 0; border: 0; background: none; color: var(--ocean);
  font: inherit; font-weight: 700; text-align: center; -moz-appearance: textfield; appearance: textfield;
}
.qty__input::-webkit-inner-spin-button, .qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty:focus-within { outline: 3px solid var(--eucalyptus); outline-offset: 3px; }
.qty__input:focus-visible, .qty__step:focus-visible { outline: none; }
.qty__step:focus-visible { background: var(--seafoam); }
/* Without scripting: the native number field with its own spinner. */
html:not(.js) .qty__step { display: none; }
html:not(.js) .qty__input { width: 4.5em; padding-inline: 12px 4px; appearance: auto; -moz-appearance: number-input; }
html:not(.js) .qty__input::-webkit-inner-spin-button { -webkit-appearance: inner-spin-button; }
.cart { padding-block: 32px 72px; }
.cart__notice { padding: 12px 16px; border-radius: var(--r-md); background: var(--seafoam); font-weight: 600; }
.cart__empty { padding: 32px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.cart__layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr); gap: 24px; align-items: start; }
.cart__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto auto; gap: 16px; align-items: center; padding: 16px; }
.cart-line__media img { width: 96px; height: 72px; object-fit: cover; border-radius: var(--r-md); display: block; }
.cart-line__info p { margin: 2px 0 0; }
.cart-line__title { font-weight: 700; color: var(--ocean); text-decoration: none; }
.cart-line__unit { color: var(--ocean-soft); font-size: var(--fs-sm); }
.cart-line__qty { display: flex; gap: 8px; align-items: center; }
.cart-line__qty input { width: 64px; min-height: 40px; padding: 8px 8px; border: 1px solid var(--line); border-radius: var(--r-md); font: inherit; text-align: center; }
.js .cart-line__qty .button { display: none; }
.cart-line__total { margin: 0; font-weight: 700; white-space: nowrap; }
.cart-line__remove { border: 0; background: none; color: var(--ocean-soft); text-decoration: underline; cursor: pointer; font: inherit; font-size: var(--fs-sm); }
.cart__summary { padding: 24px; display: grid; gap: 12px; }
.cart__summary dl { display: flex; justify-content: space-between; margin: 0; font-weight: 700; }
.cart__summary dd { margin: 0; }
.cart__summary .button { text-align: center; }
.cart__continue { text-align: center; color: var(--ocean-soft); }
.checkout__lines { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 12px; }
.checkout__lines li { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.checkout__lines p { margin: 0; }
.checkout__line-price { font-weight: 700; }
@media (max-width: 800px) {
  .cart__layout { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px 16px; align-items: center; }
  .cart-line__media { grid-row: 1; align-self: start; }
  .cart-line__media img { width: 72px; height: 54px; }
  .cart-line__info { grid-column: 2 / -1; grid-row: 1; }
  .cart-line__qty { grid-column: 2; grid-row: 2; }
  .cart-line__total { grid-column: 3; grid-row: 2; text-align: right; }
  .cart-line > :last-child { grid-column: 2 / -1; grid-row: 3; justify-self: end; }
}

/* === Variant picker === */
/* Buy-box option buttons (src/storefront/pages/variant-picker.ts). Colours come
   from the palette variables only; --edge / --lift are the shared depth tokens
   with local fallbacks. Without scripting the native plan list is shown. */
.vp { display: grid; gap: 20px; }
.vp__groups { display: none; gap: 20px; }
.vp-fallback { display: block; }
@media (scripting: enabled) {
  .vp__groups { display: grid; }
  .vp-fallback { display: none; }
}
:root.js .vp__groups { display: grid; }
:root.js .vp-fallback { display: none; }
.vp-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.vp-group__name { padding: 0; margin-bottom: 12px; font-weight: 700; color: var(--ocean); }
.vp-group__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vp-choice {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 72px; padding: 16px 20px; cursor: pointer;
  border: 1.5px solid var(--edge, var(--ocean)); border-radius: var(--radius-control);
  background: var(--sand); color: var(--ocean);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.vp-choice__input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: inherit; }
.vp-choice__main { display: grid; gap: 2px; min-width: 0; }
.vp-choice__label { font-weight: 700; font-size: var(--fs-md); }
.vp-choice__sub, .vp-choice__unit { font-size: var(--fs-sm); color: var(--ocean-soft); }
.vp-choice__cost { display: grid; gap: 2px; justify-items: end; text-align: right; white-space: nowrap; }
.vp-choice__price { font-weight: 800; }
.vp-choice:hover { background: var(--seafoam-soft); }
.vp-choice:has(.vp-choice__input:checked) {
  background: var(--pick); color: var(--pick-ink); border-width: 2px; border-color: var(--ocean);
  box-shadow: var(--lift, 4px 4px 0 var(--ocean));
  transform: translate(-2px, -2px);
}
.vp-choice:has(.vp-choice__input:checked) :is(.vp-choice__sub, .vp-choice__unit) { color: var(--pick-ink); }
.vp-choice:has(.vp-choice__input:focus-visible) { outline: 3px solid var(--eucalyptus); outline-offset: 3px; }
.vp-choice:has(.vp-choice__input:disabled) {
  cursor: not-allowed; opacity: .45; background: transparent;
  border-style: dashed; box-shadow: none; transform: none;
}
.vp-choice:has(.vp-choice__input:disabled) .vp-choice__price { font-weight: 600; }
/* One value only: a plain row ("Data per day   1 GB/day"), like Shopify. */
.vp-fact { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border: 1.5px solid var(--edge, var(--ocean)); border-radius: var(--radius-control);
  background: var(--sand); color: var(--ocean); }
.vp-fact__name, .vp-fact__value { font-weight: 700; }
@media (max-width: 480px) {
  .vp-group__choices { gap: 12px; }
  .vp-choice { min-height: 64px; padding: 12px 16px; }
  /* Priced options get the full width so total and unit price fit on the right. */
  .vp-group:has(.vp-choice__cost) .vp-group__choices { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .vp-choice { transition: none; }
  .vp-choice:has(.vp-choice__input:checked) { transform: none; }
}

/* === UI polish 2026-10: shared rhythm (tokens at :root) === */
/* Controls, chips and labels use a compact line-height; running text keeps --lh-body. */
:is(.button, .hero-search button, .inline-check button, label, summary, small, legend, .tabs__tab, .quick-links a, .region-tabs a,
  .jump-links a, .hero__proof span, .marquee__list a, .dest-list a, .dest-card__text, .float-card span, .product-card__copy,
  .plan-tile__body, .vp-choice, .vp-fact, .variant, .stats span, .plan-card li, .tile > span) { line-height: var(--lh-ui); }
:is(.tile, .feature-strip, .panel, .value, .confirm-card) p { line-height: 1.5; }
.tile h3, .feature-strip h3, .plan-tile__body strong, .product-card__copy strong { letter-spacing: var(--ls-title); }
.section__heading { margin-bottom: 32px; }
.section__heading .kicker { margin-bottom: 12px; }
.dest-card__text small { text-shadow: 0 1px 6px rgb(0 0 0 / 35%); }
.product__media img { aspect-ratio: 4 / 3; object-fit: cover; }
/* Phones: every control is at least 44px tall. */
@media (max-width: 600px) {
  .site-header__account, .site-header__cart { width: 44px; height: 44px; }
  :is(.jump-links a, .region-tabs a, .quick-links a) { min-height: 44px; align-items: center; }
  .faq summary { min-height: 44px; align-items: center; }
  .carousel__dots button { position: relative; }
  .carousel__dots button::after { content: ""; position: absolute; inset: -18px -3px; }
  :is(.site-nav > a, .site-nav__menu > summary, .product__trust a, .plan-table th a, .plan-card div > a, .panel > a,
    .section__heading > a, .button-row > a:not(.button)) { display: inline-flex; align-items: center; min-height: 44px; }
  .calc input[type=range] { height: 44px; padding-block: 18px; background-clip: content-box; }
}
/* Readable measure for long text inside full-width panels. */
:is(.scenario, .plan-table) > :is(p, ul, ol, h2, h3) { max-width: 72ch; }
/* A–Z list: name above price, so long names don't squeeze into three lines. */
.dest-list a { flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; min-height: 64px; }
/* Article column (760px): a smaller H1 keeps long post titles to two or three lines. */
.narrow h1 { font-size: clamp(2rem, 1.3rem + 2vw, 2.875rem); }
/* Card titles are links: underline on hover, not at rest. */
:is(.post-card, .plan-card) h2 a, .plan-card h3 a { text-decoration: none; }
:is(.post-card, .plan-card) :is(h2, h3) a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .cart-line__qty input { min-height: 44px; }
  .cart-line__remove, .cart__continue { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
}

/* === UI polish round 2 === */
/* Product (desktop): the image column stays in view beside the long buy card (header ≈ 74px when scrolled). */
@media (min-width: 861px) { .product__media { position: sticky; top: 88px; } }
/* Floating WhatsApp: never rests on content. Footer ends clear of it; on buying pages it is a round icon. */
.site-footer { padding-bottom: 92px; }
body:has(.product__buy, .cart__layout, .checkout__layout) .support-widget { padding: 14px; }
body:has(.product__buy, .cart__layout, .checkout__layout) .support-widget span { display: none; }
/* Footer links: 44px tap targets on touch-size screens, without a taller-looking list. */
@media (max-width: 860px) {
  .site-footer nav { gap: 0; }
  .site-footer nav a { display: flex; align-items: center; min-height: 44px; }
}
/* Phones: two link columns so the taller links don't double the footer's length. */
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }
/* Section heads on phones: the "See all" link sits right under the heading. */
@media (max-width: 600px) { .section__heading { row-gap: 4px; margin-bottom: 24px; } }
/* Checkout total lines up with the cart summary: label left, amount right. */
.checkout__summary dd { text-align: right; font-weight: 700; }
.checkout__summary .field-hint + .field-hint { margin-top: 8px; }
/* Article tables: size columns to whole words ("verification", not "verificati-on"); wide tables scroll inside .rte table. */
.rte :is(th, td) { overflow-wrap: break-word; }
/* Card headings share one size (the device check card used the section H2 size). */
.device-checker h2 { font-size: var(--fs-xl); line-height: var(--lh-title); }
/* A–Z tiles in the same row share one height. */
.dest-list li:not([hidden]) { display: grid; }

/* === UI polish round 3 === */
/* Destinations menu: guides grouped by region. Desktop: one wide panel under the header, four link columns
   (Asia takes two) with the finder beside them; narrower: finder below; phones: two columns. */
.mega__regions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 20px; align-items: start;
  grid-template-areas: "asia asia europe regional" "asia asia europe pacific" "asia asia europe americas"; grid-template-rows: auto auto 1fr; }
.mega__region--asia { grid-area: asia; } .mega__region--europe { grid-area: europe; } .mega__region--regional { grid-area: regional; }
.mega__region--pacific { grid-area: pacific; } .mega__region--americas { grid-area: americas; }
.mega__heading { margin: 0 0 4px; padding: 0 10px 6px; border-bottom: 1px solid var(--line); color: var(--ocean-soft); font-size: var(--fs-sm); font-weight: 700; line-height: var(--lh-ui); }
.mega__region ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mega__region--asia ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega__regions a { padding: 6px 10px; line-height: var(--lh-ui); }
.mega__regions a[aria-current="page"] { background: var(--pick); color: var(--pick-ink); }
@media (min-width: 961px) {
  .site-header__bar { position: relative; }
  .site-nav__menu { position: static; }
  .mega { left: 0; right: 0; width: min(1080px, 100%); margin-inline: auto; grid-template-columns: minmax(0, 1fr) 260px; }
}
@media (max-width: 1120px) {
  .mega { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .mega__search { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 20px; padding-top: 16px; border-top: 1px solid var(--line); }
  .mega__search > .kicker { grid-column: 1 / -1; margin: 0; }
  .mega__results { grid-column: 1 / -1; grid-row: 3; margin: 0; }
  .mega__results:empty { display: none; }
}
@media (max-width: 560px) {
  .mega { padding: 20px 16px; }
  .mega__regions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 8px;
    grid-template-areas: "asia asia" "europe regional" "europe pacific" "europe americas"; grid-template-rows: auto auto auto 1fr; }
  .mega__search { grid-template-columns: minmax(0, 1fr); }
  .mega__regions a { display: flex; align-items: center; min-height: 44px; }
}
/* Help pages: the guide list is taller than a laptop screen, so the sidebar scrolls with the page and only the
   "Still stuck?" panel stays in view. The current guide is marked; tablets lay the list out in columns. */
@media (min-width: 901px) {
  .page-aside:has(nav) { position: static; align-self: stretch; align-content: start; }
  .page-aside:has(nav) > .panel:last-child { position: sticky; top: 88px; }
}
.panel nav a { padding-block: 2px; }
.panel nav a[aria-current="page"] { margin-inline: -8px; padding-inline: 8px; border-radius: var(--r-sm); background: var(--pick); color: var(--pick-ink); font-weight: 700; text-decoration: none; }
@media (min-width: 561px) and (max-width: 900px) { .panel nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 24px; } }
@media (max-width: 600px) { .panel nav { gap: 0; } .panel nav a { display: flex; align-items: center; min-height: 44px; } }
/* Article tables on phones: tighter cells so three columns keep readable widths. */
@media (max-width: 600px) { .rte :is(th, td) { padding: 8px; font-size: var(--fs-sm); } }
/* Blog list: posts without an image use the full card width (the text sat in the 240px image column). */
.post-card > div:only-child { grid-column: 1 / -1; }
.post-card p { max-width: 72ch; }

/* Guide short answer (SEO role, 2026-10-17): let the "Who it suits" column wrap. */
.short-answer .plan-table { margin-block: 16px; }
.short-answer .plan-table td:last-child { white-space: normal; min-width: 14em; }

/* Destination pages: compact hero and plan header so products show on the first screen (2026-10-18). */
.page-hero--compact { padding-block: 14px 22px; }
.page-hero--compact.page-hero--image { min-height: 0; }
.page-hero--compact .breadcrumbs { padding-bottom: 4px; }
.page-hero--compact h1 { font-size: var(--fs-2xl); margin-bottom: 6px; }
.page-hero--compact .page-hero__summary { margin: 0; font-size: var(--fs-sm); }
#destination-plans { padding-block: 20px 40px; }
/* The whole card opens the product: the title link's hit area is stretched over the card. */
.plan-card { position: relative; }
/* z-index keeps the link layer above themed buttons and images (Neo buttons form their own layer), so every part of the card opens the product. */
.plan-card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.plan-card__buy { pointer-events: none; }
.plan-card__link:focus-visible { outline: none; }
.plan-card:has(.plan-card__link:focus-visible) { outline: 3px solid var(--coral); outline-offset: 3px; }
.plan-card:has(.plan-card__link:hover) { border-color: var(--ocean); }
.plan-card__buy { margin-top: 12px; justify-self: start; }
@media (max-width: 560px) {
  .page-hero--compact .page-hero__summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
  #destination-plans .plan-card > div:not(.plan-card__media) > p:not(.kicker, .plan-card__price) { display: none; }
  /* Small thumbnail beside the title so the price comes first. */
  #destination-plans .plan-card { grid-template-columns: 76px minmax(0, 1fr); column-gap: 12px; row-gap: 0; padding: 12px; }
  #destination-plans .plan-card__media { grid-row: 1 / span 3; align-self: start; }
  #destination-plans .plan-card > div:not(.plan-card__media) { display: contents; }
  #destination-plans .plan-card > div:not(.plan-card__media) > * { grid-column: 1 / -1; }
  #destination-plans .plan-card > div:not(.plan-card__media) > :is(.kicker, .plan-card__price, h3) { grid-column: 2; margin-block: 0 2px; }
  #destination-plans .plan-card > div:not(.plan-card__media) > h3 { font-size: var(--fs-lg); }
}
