:root {
  color-scheme: light;

  /* Aviation / departure-board identity */
  --ink: #0b1b2b;               /* headlines, primary text */
  --muted: #57677a;
  --border: #d7dee7;
  --accent: #0098b2;            /* logo teal - primary brand color: CTAs, links, buttons */
  --accent-secondary: #0098b2;  /* alias - consolidated into the single teal primary, see below */
  --accent-secondary-soft: #e0f3f6; /* soft teal tint for icon/badge backgrounds */
  --highlight: #d4a017;         /* signal gold - rare/secondary highlight only, NEVER buttons or dominant elements */
  --success: #1f9d6f;           /* taxiway green - verified/success indicators only */
  --bg: #f7f9fc;                /* cool white */
  --bg-alt: #eef1f6;

  --font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --hover-transition: 180ms ease-out;
}

/* prefers-reduced-motion: reduce - color/shadow/filter changes stay (near-
   instant), transforms are fully disabled below via the no-preference gate. */
@media (prefers-reduced-motion: reduce) {
  :root { --hover-transition: 1ms linear; }
}

* { box-sizing: border-box; }

/* Ambient homepage gradient lives on `body`, not `.homepage-band` - `.homepage-band`
   sits inside `main`, which is width-capped (max-width: 1100px; margin: 0 auto),
   so anchoring the gradient there put its high-alpha origin right at that
   container's edge with zero fade-in from the flat, un-gradiented margin
   outside it on wide viewports - a real, sudden step (confirmed via a
   background-clip-accurate render: 13/255 RGB jump in a 4px span at that
   edge on a 1920px viewport). `body` has no width cap, so the same corner
   anchor lands on the page's actual edge with nothing to jump against.
   Explicit small ellipse size (not circle/farthest-corner) keeps the glow's
   radius human-scaled and independent of the page's total (multi-thousand-px)
   height. */
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--bg);
  background-repeat: no-repeat;
  background-image:
    radial-gradient(ellipse 900px 700px at 0% 0%,
      rgba(0, 152, 178, 0.08) 0%,
      rgba(0, 152, 178, 0.045) 40%,
      rgba(0, 152, 178, 0.015) 70%,
      transparent 100%),
    radial-gradient(ellipse 900px 700px at 100% 100%,
      rgba(0, 152, 178, 0.06) 0%,
      rgba(0, 152, 178, 0.03) 40%,
      rgba(0, 152, 178, 0.01) 70%,
      transparent 100%);
  line-height: 1.5;
}

h1, h2, h3, h4 { font-family: var(--font-display); }

/* Base link color: brand teal instead of the browser-default purple/blue.
   Deliberately doesn't touch text-decoration here - inline prose links (blog
   body copy, legal-page text) keep their underline for scannability; the
   .text-link utility below removes it for standalone, arrow-style CTA links
   only. More specific selectors elsewhere (.site-nav a, .post-cards a, etc.)
   already set their own color and are unaffected by this. */
a { color: var(--accent); }

/* Standalone CTA-style text link (e.g. "All posts ->", "<- Back to all
   posts") - same treatment as .see-all-link, as a shared utility so it's not
   redefined per instance. */
.text-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

/* Departure-board data: real numbers only (prices, timestamps, counts) -
   never used for decoration. */
.mono-data {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { display: block; height: 32px; width: auto; }
.site-nav a { color: var(--ink); text-decoration: none; margin-left: 1rem; }

main { max-width: 1100px; margin: 0 auto; padding: 1.5rem; }

.country-page h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 2.5rem;
  text-align: center;
}
.country-page .fi { border-radius: 3px; }
/* No max-width here - the callout box (.intro-callout) already spans the
   full content width; capping the text at 65ch left most of that width
   looking like empty tinted space, reading as a narrow, left-aligned box
   even though the box itself wasn't. */
.intro-copy { color: var(--muted); margin: 0 0 1rem; }
.intro-copy:last-child { margin-bottom: 0; }
.updated-line { color: var(--muted); font-size: 0.9rem; }

/* Same left-accent + tint pattern as the reference, in brand teal instead of
   the reference's red/blue. */
.intro-callout {
  border-left: 4px solid var(--accent);
  background: var(--accent-secondary-soft);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}

.coming-soon-panel {
  margin-top: 1.5rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
}
.coming-soon-panel h2 { margin: 0 0 0.6rem; font-size: 1.2rem; }
.coming-soon-panel p { margin: 0; color: var(--muted); max-width: 55ch; margin-inline: auto; }

.comparison-wrapper {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
  align-items: start;
}
@media (max-width: 700px) {
  .comparison-wrapper { grid-template-columns: 1fr; }
}

/* Sticky sidebar: `align-items: start` keeps .plan-filters sized to its own
   (shorter) content instead of the grid default `stretch`, which would force
   it to match .plan-results' full height and leave sticky zero room to
   travel - a sticky element only "sticks" for the difference between its own
   height and its containing block's. With `start`, that containing block is
   still exactly as tall as .plan-results (grid row sizing is unaffected by
   align-items), so the sidebar stays pinned at `top` while the plan list
   scrolls past, then releases once the wrapper's bottom edge reaches it -
   never overlapping whatever comes after .comparison-wrapper (related
   destinations, guides, footer), since sticky can't extend past its
   containing block regardless.
   There's no fixed/sticky site header currently (see .site-header), so this
   `top` is just breathing room - raise it to match the header's height if
   one becomes fixed later. */
.plan-filters {
  position: sticky;
  top: 1.5rem;
  /* The sidebar's own content can be taller than the viewport once it's
     stuck - without its own scroll, whatever's below the viewport edge
     (e.g. the Options toggles) is unreachable until the sticky element
     releases much further down the page, past a plan grid that can run to
     hundreds of cards. Scrolls internally instead. */
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
}
@media (max-width: 700px) {
  .plan-filters {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
}

.plan-filters fieldset,
.filter-group {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: 0.75rem;
}
.plan-filters legend,
.filter-group-label {
  display: block;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.plan-filters label { display: block; font-size: 0.9rem; margin: 0.25rem 0; }

/* Pill toggle buttons (coverage / plan size / duration) - single-select via
   radio inputs, visually hidden (.sr-only) with the sibling label doing the
   visible work, so keyboard/screen-reader behavior stays native. */
.pill-group { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pill-group .pill-label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  transition: background var(--hover-transition), border-color var(--hover-transition), color var(--hover-transition);
}
.pill-group .pill-label:hover { border-color: var(--accent); }
.pill-group input:checked + .pill-label {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.pill-group input:focus-visible + .pill-label {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

#provider-select {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--ink);
  background: #fff;
}
#provider-select:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 152, 178, 0.2);
}

/* Options toggles (5G / calls / SMS / hotspot) - each with a small teal icon
   badge, same visual language as .step-icon, plus a standard sliding switch. */
.toggle-list { display: flex; flex-direction: column; gap: 0.6rem; }
.toggle-list .toggle-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
  border-radius: 6px;
  background: var(--accent-secondary-soft);
  color: var(--accent);
}
.toggle-icon svg { width: 1rem; height: 1rem; }
.toggle-text { flex: 1; }
.toggle-switch { position: relative; display: inline-block; width: 2.2rem; height: 1.3rem; flex-shrink: 0; }
.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 999px;
  transition: background var(--hover-transition);
}
.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(1.3rem - 4px);
  height: calc(1.3rem - 4px);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(11, 27, 43, 0.25);
}
@media (prefers-reduced-motion: no-preference) {
  .toggle-thumb { transition: transform var(--hover-transition); }
}
.toggle-input:checked ~ .toggle-track { background: var(--accent); }
.toggle-input:checked ~ .toggle-track .toggle-thumb { transform: translateX(calc(2.2rem - 1.3rem)); }
.toggle-input:focus-visible ~ .toggle-track { outline: 2px solid var(--accent); outline-offset: 2px; }

.sort-bar { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

/* Plan card: one fully-clickable card (an <a>, or a <div> in the rare case
   where no provider link exists at all yet - see the template) laid out as
   a single vertical stack: logo, data amount, coverage, option icons,
   price, promo (if any), View Deal. */
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.25rem 1.25rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(11, 27, 43, 0.04);
  transition: box-shadow var(--hover-transition);
}
.plan-card:hover,
.plan-card:focus-within {
  box-shadow: 0 20px 36px -16px rgba(11, 27, 43, 0.3);
}
@media (prefers-reduced-motion: no-preference) {
  .plan-card { transition: transform var(--hover-transition), box-shadow var(--hover-transition); }
  .plan-card:hover,
  .plan-card:focus-within {
    transform: translateY(-4px);
  }
}
.plan-card.plan-card-unavailable { cursor: not-allowed; }
.plan-card.plan-card-unavailable:hover,
.plan-card.plan-card-unavailable:focus-within {
  box-shadow: 0 1px 2px rgba(11, 27, 43, 0.04);
  transform: none;
}
/* country-filters.js sets the native `hidden` attribute to filter cards,
   but .plan-card's own `display: flex` is an author rule at equal
   specificity to the browser's built-in `[hidden] { display: none }` UA
   rule, and author rules always win that tie - same bug already hit for
   .country-grid li and .admin-list-row. Without this, hidden is set
   correctly but nothing visually disappears. */
.plan-card[hidden] { display: none; }

.plan-card-provider { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.plan-card-provider-name { font-size: 0.72rem; font-weight: 600; color: var(--muted); }

.plan-card-logo { width: 2.75rem; height: 2.75rem; }
.plan-card-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.plan-card-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: var(--accent-secondary-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
}

.plan-card-amount strong { display: block; font-size: 1.15rem; font-family: var(--font-display); }
.plan-card-amount span { color: var(--muted); font-size: 0.85rem; }

.plan-card-coverage { font-size: 0.85rem; color: var(--muted); }
.coverage-single { display: inline-flex; align-items: center; gap: 0.35rem; }
.coverage-single .fi { font-size: 1.1rem; }
.coverage-badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-secondary-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
}

.plan-card-icons { display: flex; gap: 0.5rem; }
.plan-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
}
.plan-icon svg { width: 1rem; height: 1rem; }
.plan-icon.is-active { background: var(--accent-secondary-soft); color: var(--accent); }
.plan-icon.is-inactive { background: var(--bg-alt); color: var(--border); }

.plan-card-price { margin-top: 0.2rem; }
.plan-card-price strong { font-size: 1.3rem; }
/* Fixed height (not conditional rendering) reserves this line's space even
   when a plan has no per-GB rate (e.g. unlimited plans), so the View Deal
   button lines up across every card in a row regardless - same fix pattern
   as the destination-card height consistency fix. */
.plan-card-price .per-gb { display: block; height: 1.15rem; line-height: 1.15rem; color: var(--muted); font-size: 0.8rem; margin-top: 0.15rem; }

.plan-card-promo {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--highlight);
  background: rgba(212, 160, 23, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.plan-card-sample-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--highlight);
  color: #fff;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.view-deal-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 0.4rem;
}
.view-deal-btn-disabled { background: var(--border); color: var(--muted); cursor: not-allowed; }

.no-results {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
}
.no-results-message { margin: 0 0 0.35rem; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.no-results-hint { margin: 0; color: var(--muted); font-size: 0.9rem; }

.related-countries { margin-top: 2.5rem; }
.related-countries .country-grid { margin-top: 1rem; }

/* Homepage hero */
/* One continuous gradient behind the whole homepage, set on `body` (see top
   of file) - sections sit transparently on top of it, so there are no
   background-color seams between them. Separation comes only from padding,
   the hairline divider, and each section's eyebrow. */
.hero {
  padding: 3.5rem 1.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-left { display: flex; flex-direction: column; align-items: flex-start; }

.hero-headline {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 1.25rem;
}
.hero-headline em {
  color: var(--accent);
  font-style: italic;
}

.hero-subhead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 42ch;
  margin: 0 0 1.75rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--accent-secondary-soft);
  color: var(--accent-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem 0.45rem 0.7rem;
  border-radius: 999px;
  margin: 0;
}
.trust-pill-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}
.trust-pill-dot::after {
  content: "\2713";
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
}

.hero-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 32px 64px -18px rgba(11, 27, 43, 0.38), 0 10px 24px -4px rgba(11, 27, 43, 0.14);
  padding: 1.75rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant: small-caps;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.hero-search { display: flex; flex-direction: column; gap: 0.75rem; }
.hero-search input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--ink);
}
.hero-search input::placeholder {
  color: var(--muted);
}
.hero-search input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 152, 178, 0.25);
}

.hero-cta {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.hero-checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink);
}
.hero-checklist li::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Homepage section separation: every block (other than hero) gets generous
   padding and a hairline top border marking the seam with whatever came
   before it - no background-color change, they all sit on the single
   shared body gradient behind them. */
.hp-section {
  padding: 5rem 0;
}
.hp-section + .hp-section {
  border-top: 1px solid var(--border);
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant: small-caps;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

/* Constrains the whole stat callout (eyebrow + numbers) to a narrow, centered
   column instead of letting it sit lost in the section's full (up to
   1100px) width on wide screens - the two numbers alone don't fill that
   space, which read as sparse. */
.trust-bar-wrap {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  text-align: center;
}
.trust-bar strong { display: block; font-size: 1.4rem; }
.trust-bar span { color: var(--muted); font-size: 0.85rem; }
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
}
.country-grid li {
  display: flex;
}
/* Author-stylesheet rules always beat the UA stylesheet's [hidden] {
   display: none }, regardless of specificity - without this, setting the
   `hidden` property/attribute on a .country-grid li (used by the homepage/
   /destinations/ show-all-or-hide toggle) has zero visual effect: the item
   stays flex-displayed no matter what. This restores the browser default
   for hidden items specifically. */
.country-grid li[hidden] {
  display: none;
}
.country-grid li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-height: 5rem; /* comfortably fits a 2-line wrapped name like "United Arab Emirates" */
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(11, 27, 43, 0.04);
  transition: box-shadow var(--hover-transition);
}
.country-grid li a:hover,
.country-grid li a:focus-visible {
  box-shadow: 0 14px 26px -12px rgba(11, 27, 43, 0.22);
}
@media (prefers-reduced-motion: no-preference) {
  .country-grid li a { transition: transform var(--hover-transition), box-shadow var(--hover-transition); }
  .country-grid li a:hover,
  .country-grid li a:focus-visible {
    transform: translateY(-4px);
  }
}
.country-grid li a::after {
  content: "\203A";
  color: var(--accent-secondary);
  font-size: 1.2rem;
  font-weight: 700;
  margin-left: auto;
  flex-shrink: 0;
}
.country-grid .fi { font-size: 1.2rem; margin-right: 0.3rem; flex-shrink: 0; }

.see-all-link { margin-top: 1.25rem; }
.see-all-link a { color: var(--accent-secondary); font-weight: 600; text-decoration: none; }

.country-grid-toggle-wrap { margin-top: 1.25rem; }

/* Shared block CTA - pill-shaped, same language as the hero's CTA button */
.block-cta { margin-top: 1.75rem; }
.pill-btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

/* How it works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 1px 2px rgba(11, 27, 43, 0.04);
  transition: box-shadow var(--hover-transition);
}
/* Purely decorative (not a link/control), so hover-only - no :focus-visible
   target since there's nothing here for keyboard focus to land on. */
.step-card:hover {
  box-shadow: 0 14px 26px -12px rgba(11, 27, 43, 0.22);
}
@media (prefers-reduced-motion: no-preference) {
  .step-card { transition: transform var(--hover-transition), box-shadow var(--hover-transition); }
  .step-card:hover {
    transform: translateY(-4px);
  }
}
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--accent-secondary-soft);
  color: var(--accent-secondary);
}
.step-icon svg { width: 1.4rem; height: 1.4rem; }
.step-card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.step-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Why eSIM - elevated white card floating on whatever tinted band it sits in */
.why-esim {
  max-width: 60ch;
  margin: 0 auto;
  padding: 2.25rem 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 48px -20px rgba(11, 27, 43, 0.22);
  text-align: center;
}
.why-esim h2 { margin-top: 0; }
.why-esim-intro { color: var(--muted); line-height: 1.6; }
.why-esim-intro strong { color: var(--ink); }
.why-esim-checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.why-esim-checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}
.why-esim-checklist li::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
}
.why-esim-closing { color: var(--muted); margin-top: 1.5rem; }
.why-esim .block-cta { display: flex; justify-content: center; }

/* FAQ */
.faq { max-width: 70ch; margin-left: auto; margin-right: auto; text-align: center; }
.faq-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; text-align: left; }
.faq-item {
  background: linear-gradient(135deg, #f3f4fa 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  transition: background var(--hover-transition);
}
.faq-item:hover,
.faq-item:focus-within {
  background: linear-gradient(135deg, #e6e9f6 0%, #fafbfe 100%);
}
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-secondary-soft);
  color: var(--accent-secondary);
  font-size: 0.8rem;
  font-weight: 800;
}
.faq-question { flex: 1; }
.faq-item summary::after {
  content: "+";
  color: var(--accent-secondary);
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--muted); margin: 0.75rem 0 0 2.45rem; }
.faq .block-cta { display: flex; justify-content: center; }

/* Provider scroll - data-driven from src/_data/providers/*.json, never a
   hardcoded logo list. Defaults to hidden (see homepage.json) until a
   second provider is genuinely integrated. */
.provider-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.provider-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.provider-logo {
  max-height: 2rem;
  max-width: 6rem;
  object-fit: contain;
  filter: saturate(0.4) opacity(0.85);
  transition: filter var(--hover-transition);
}
.provider-card:hover .provider-logo,
.provider-card:focus-within .provider-logo {
  filter: saturate(1) opacity(1);
}
.provider-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-secondary-soft);
  color: var(--accent-secondary);
  font-weight: 800;
}
.provider-name { font-weight: 700; }

/* Blog */
.post-meta { color: var(--muted); font-size: 0.85rem; }
.post-featured-image { display: block; width: 100%; height: auto; border-radius: 10px; margin: 1.25rem 0; }

.post-body p { max-width: 70ch; }
.post-body a { color: var(--accent-secondary); }

/* Markdown tables (e.g. the Cookie Policy's cookie list) - display:block on
   the table itself gives a scrollable container on narrow viewports
   without needing a wrapper div markdown doesn't provide. */
article table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.92rem;
}
article th, article td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.85rem;
  text-align: left;
  vertical-align: top;
}
article th { background: var(--bg-alt); font-weight: 700; }
article td code { font-family: var(--font-mono); font-size: 0.85em; background: var(--bg-alt); padding: 0.1em 0.35em; border-radius: 4px; }

.post-list { list-style: none; padding: 0; max-width: 70ch; }
.post-list li { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.post-list a { text-decoration: none; color: var(--ink); }
.post-list h2 { margin: 0 0 0.35rem; font-size: 1.2rem; }
.post-list p { margin: 0.25rem 0; color: var(--muted); }

.post-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; list-style: none; padding: 0; }
.post-cards a {
  display: block;
  padding: 1rem;
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(11, 27, 43, 0.04);
  transition: box-shadow var(--hover-transition), border-top-color var(--hover-transition);
}
.post-cards a:hover,
.post-cards a:focus-visible {
  border-top-color: var(--accent);
  box-shadow: 0 14px 26px -12px rgba(11, 27, 43, 0.22);
}
@media (prefers-reduced-motion: no-preference) {
  .post-cards a { transition: transform var(--hover-transition), box-shadow var(--hover-transition), border-top-color var(--hover-transition); }
  .post-cards a:hover,
  .post-cards a:focus-visible {
    transform: translateY(-4px);
  }
}
.post-cards h3 { margin: 0 0 0.4rem; font-size: 1rem; transition: color var(--hover-transition); }
.post-cards a:hover h3,
.post-cards a:focus-visible h3 {
  color: var(--accent);
}
.post-cards p { margin: 0 0 0.6rem; color: var(--muted); font-size: 0.85rem; }
.post-cards a::after {
  content: "Read guide \2192";
  display: block;
  margin-top: 0.25rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
}

.relevant-posts { margin-top: 2rem; }
.relevant-posts ul { padding-left: 1.2rem; }

/* --- Country page pSEO content sections --------------------------------- */
.pseo-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.pseo-section h2 { margin: 0 0 1rem; font-size: 1.4rem; }
.sample-data-note {
  display: inline-block;
  margin: -0.5rem 0 1rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-secondary-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* How to Choose the Right eSIM */
.choose-guide-heading { display: flex; align-items: center; gap: 0.5rem; font-size: 1.05rem; margin: 1.5rem 0 0.75rem; }
.choose-guide-heading:first-of-type { margin-top: 0; }
.choose-guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.choose-card { background: var(--bg-alt); border-radius: 10px; padding: 1.25rem 1rem; text-align: center; }
.choose-card-range { display: block; font-size: 1.3rem; font-weight: 800; color: var(--accent); font-family: var(--font-display); }
.choose-card-label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; margin: 0.3rem 0; }
.choose-card-desc { margin: 0; color: var(--muted); font-size: 0.85rem; }

/* Best eSIM by Traveler Type */
.traveler-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 1rem; }
.traveler-card { border: 1px solid var(--border); border-radius: 10px; padding: 1.25rem; }
.traveler-card h3 { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.5rem; font-size: 1rem; }
.traveler-card p { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.9rem; }
.traveler-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.traveler-price { font-weight: 700; color: var(--accent); }
.traveler-cities { color: var(--muted); font-size: 0.8rem; }

/* Mobile Networks & Coverage */
.coverage-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 1rem 0 1.5rem; }
.coverage-stat { background: var(--accent-secondary-soft); border-radius: 10px; padding: 1.25rem 1rem; text-align: center; }
.coverage-stat strong { display: block; font-size: 1.4rem; color: var(--accent); font-family: var(--font-display); }
.coverage-stat span { display: block; margin-top: 0.3rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); }

/* Tips for Using Your eSIM */
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-top: 1rem; }
.tip-card { background: var(--accent-secondary-soft); border-radius: 10px; padding: 1.25rem; }
.tip-card h3 { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.6rem; font-size: 1rem; }
.tip-card ul { margin: 0; padding-left: 1.1rem; color: var(--ink); font-size: 0.88rem; }
.tip-card li { margin: 0.35rem 0; }

/* Top eSIM Providers (Featured Providers) */
.provider-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.provider-feature-card { position: relative; border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; background: #fff; }
.provider-feature-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.provider-feature-logo { width: 2.5rem; height: 2.5rem; border-radius: 8px; object-fit: contain; }
.provider-feature-logo.provider-logo-placeholder { display: inline-flex; align-items: center; justify-content: center; background: var(--accent-secondary-soft); color: var(--accent); font-weight: 800; }
.provider-feature-head h3 { margin: 0; font-size: 1rem; }
.provider-feature-rating { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 0.15rem; }
.provider-feature-unrated { font-style: italic; }
.provider-feature-stats { display: flex; flex-direction: column; gap: 0.5rem; margin: 0 0 1rem; padding: 0.75rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.provider-feature-stats > div { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.provider-feature-stats dt { color: var(--muted); }
.provider-feature-stats dd { margin: 0; font-weight: 600; }
.provider-feature-stats dd.stat-yes { color: var(--success); }
.provider-feature-stats dd.stat-no { color: var(--muted); }
.provider-feature-highlights { margin: 0; padding-left: 1.1rem; font-size: 0.82rem; color: var(--muted); }
.provider-feature-highlights li { margin: 0.3rem 0; }

/* How to Install and Activate */
.install-compat-list { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; list-style: none; padding: 1rem 1.25rem; margin: 0 0 1.5rem; background: var(--bg-alt); border-radius: 10px; font-size: 0.85rem; font-weight: 600; }
.install-steps { list-style: none; counter-reset: install-step; padding: 0; margin: 0; }
.install-steps > li { position: relative; padding: 0 0 1.5rem 2.5rem; border-left: 2px solid var(--border); margin-left: 0.9rem; }
.install-steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.install-steps > li::before {
  counter-increment: install-step;
  content: counter(install-step);
  position: absolute;
  left: -0.9rem;
  top: 0;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.install-steps h3 { margin: 0 0 0.3rem; font-size: 1rem; }
.install-steps p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.install-os-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; margin-top: 0.5rem; }
.install-os-grid > div { background: var(--bg-alt); border-radius: 8px; padding: 0.75rem 1rem; }
.install-os-grid strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--accent); margin-bottom: 0.25rem; }
.install-os-grid p { margin: 0; font-size: 0.85rem; }

/* Related destinations CTA (extends the existing related-countries module) */
.related-cta {
  margin-top: 1.5rem;
  padding: 2rem 1.5rem;
  background: var(--accent-secondary-soft);
  border-radius: 12px;
  text-align: center;
}
.related-cta h3 { margin: 0 0 0.6rem; font-size: 1.2rem; }
.related-cta p { max-width: 60ch; margin: 0 auto 1.25rem; color: var(--muted); }

/* Author box (shared with blog posts) */
.author-box { margin-top: 2.5rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: 12px; }
.author-box-main { display: flex; align-items: flex-start; gap: 1rem; }
.author-photo { width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-photo.author-photo-placeholder { display: inline-flex; align-items: center; justify-content: center; background: var(--accent-secondary-soft); color: var(--accent); font-weight: 800; font-size: 1.2rem; }
.author-name { margin: 0 0 0.35rem; font-size: 1.05rem; }
.author-bio { margin: 0; color: var(--muted); font-size: 0.9rem; }
.author-socials { display: flex; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.author-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--accent-secondary-soft);
  color: var(--accent);
  text-decoration: none;
  transition: background var(--hover-transition), color var(--hover-transition);
}
.author-social-link svg { width: 1.05rem; height: 1.05rem; }
.author-social-link:hover,
.author-social-link:focus-visible { background: var(--accent); color: #fff; }

/* Footer - navy band with brand/Explore/Resources/Legal columns, a hairline
   divider, then a copyright line; the affiliate-disclosure band below it is
   a deliberately separate, light-background element (see partials/footer.njk),
   not part of this dark block. Content and structure come from
   src/_data/footer.json, edited at /admin/footer/. */
.site-footer {
  --footer-heading: #e8562a;
  --footer-text: #b9c3d1;
  --footer-text-dim: #7c8ba0;
  background: var(--ink);
  padding: 3.5rem 1.5rem 0;
}
.site-footer-inner { max-width: 1100px; margin: 0 auto; }
.site-footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.site-footer-logo { display: inline-flex; }
.site-footer-logo img { display: block; height: 30px; width: auto; }
.site-footer-tagline { margin: 0.9rem 0 0; max-width: 32ch; color: var(--footer-text); font-size: 0.88rem; line-height: 1.55; }
.site-footer-trust { margin: 0.75rem 0 0; color: var(--footer-text-dim); font-size: 0.8rem; }
.site-footer-trust-dot { margin: 0 0.4em; }

.site-footer-socials { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.site-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
  transition: background var(--hover-transition), color var(--hover-transition);
}
.site-footer-social-link svg { width: 1.05rem; height: 1.05rem; }
.site-footer-social-link:hover,
.site-footer-social-link:focus-visible { background: var(--accent); color: var(--ink); }

.site-footer-heading {
  margin: 0 0 0.9rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant: small-caps;
  color: var(--footer-heading);
}
.site-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.site-footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--hover-transition);
}
.site-footer-links a:hover,
.site-footer-links a:focus-visible { color: var(--accent); }

.site-footer-divider { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.site-footer-copyright {
  margin: 0;
  padding: 1.25rem 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--footer-text-dim);
}

@media (max-width: 700px) {
  .site-footer-main { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .site-footer-brand { grid-column: 1 / -1; }
}

.site-disclosure-band { background: var(--accent-secondary-soft); }
.site-disclosure-band p {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.5;
}
.site-disclosure-band a { color: var(--accent-secondary); font-weight: 600; }
