/* DRIN eSIM website — built on the DRIN eSIM Brand Kit v1.1
   (Figma "DRIN eSIM — App Flows", frames 122:2 and 122:685).
   Token names, values, type scale, radii and shadows match the kit. Light-only. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand (from the logo) */
  --ink: #0d2a33;          /* logo D body and "DRIN"; text on light; dark sections */
  --teal: #12807d;         /* logo signal and "eSIM"; primary buttons; links on white */
  --aqua: #3cc4b4;         /* logo upper arc; accents, focus ring; buttons/links on ink (never text on light) */
  /* Supporting */
  --teal-700: #0d6563;     /* button hover/pressed; links and eyebrows on limestone/mist */
  --foam: #a7e8df;         /* secondary text and chips on ink */
  --mist: #e4f5f2;         /* tinted sections, selected rows, icon tiles */
  --limestone: #f6f3ec;    /* warm page background */
  --white: #ffffff;
  /* Neutrals */
  --slate-900: #173540;    /* card surfaces on ink */
  --slate-700: #3e5660;    /* secondary text on white/limestone */
  --slate-500: #566b74;    /* muted text, input borders */
  --slate-300: #c3cfd3;    /* dividers, card borders */
  --slate-100: #edf2f3;    /* subtle fills */
  /* Status (always with a word or icon) */
  --success: #1e7f4f;
  --warning: #a15c07;
  --error: #c0392b;
  --info: #1f5fa8;
  /* On dark surfaces */
  --dark-border: #27454f;
  --dark-text: #c8dce0;
  --dark-muted: #93b1b8;

  /* Radius */
  --radius-sm: 6px;        /* small chips, code */
  --radius-md: 10px;       /* buttons, inputs, alerts */
  --radius-lg: 16px;       /* cards, plan options, search field, icon tiles */
  --radius-xl: 24px;       /* feature panels */
  --radius-pill: 999px;    /* badges, tabs, pills */

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(13, 42, 51, 0.06);   /* resting cards */
  --shadow-md: 0 4px 16px rgba(13, 42, 51, 0.08);  /* card hover */
  --shadow-lg: 0 12px 40px rgba(13, 42, 51, 0.12); /* search field, dropdowns */

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Manrope", "Inter", system-ui, sans-serif;

  /* Layout: 4 px base, container 1200, gutter 20 (32 from 768) */
  --container: 1200px;
  --gutter: 20px;
  --section-y: 64px;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: light;
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 96px; }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Sections land flush under the sticky header; their own top padding gives the breathing room. */
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;          /* body · Inter 400 · 16/1.6 */
  line-height: 1.6;
  color: var(--ink);
  background: var(--limestone);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

/* Type scale (Brand Kit section 03) */
h1, h2, h3, h4 { margin: 0 0 0.5em; font-family: var(--font-head); color: inherit; }
h1 { font-weight: 800; font-size: clamp(2.25rem, 5.2vw, 3.5rem); line-height: 1.1; letter-spacing: -0.02em; }   /* display 56 · 36 mobile */
h2 { font-weight: 800; font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.15; letter-spacing: -0.01em; }  /* h2 40 · 28 mobile */
h3 { font-weight: 700; font-size: 1.25rem; line-height: 1.25; }                                                 /* h3 20 */

p { margin: 0 0 1em; }

a { color: var(--teal); font-weight: 600; text-underline-offset: 3px; }
a:hover { color: var(--teal-700); }

/* Focus ring: 3 px aqua, 2 px offset, on every interactive element. */
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: var(--radius-sm); }

/* Icons: 24 px grid, 2 px round strokes, no fills, round caps. */
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px;
  background: var(--ink); color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Logo ---------- */

/* Official symbol + wordmark. Clear space = half the symbol height; min 24 px symbol. */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: auto; height: 32px; }
.brand__name { font-family: var(--font-head); font-size: 1.35rem; line-height: 1; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.brand__name b { font-weight: 800; }
.brand__name span { font-weight: 500; color: var(--teal); }
.brand--reverse .brand__name { color: var(--white); }
.brand--reverse .brand__name span { color: var(--aqua); }
.brand:hover .brand__name { color: var(--ink); }
.brand--reverse:hover .brand__name { color: var(--white); }

/* ---------- Buttons (Brand Kit section 07) ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;   /* button · Inter 700 · 16 */
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover, .btn--primary:active { background: var(--teal-700); color: var(--white); }
.btn--secondary { background: var(--white); color: var(--ink); border-color: var(--slate-300); }
.btn--secondary:hover { color: var(--ink); border-color: var(--slate-500); }
/* On dark: aqua with ink text. */
.btn--on-dark { background: var(--aqua); color: var(--ink); }
.btn--on-dark:hover { background: var(--foam); color: var(--ink); }
.btn--outline-dark { color: var(--white); border-color: var(--dark-border); }
.btn--outline-dark:hover { color: var(--white); border-color: var(--dark-muted); background: var(--slate-900); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 0.94rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 4px; color: var(--teal-700); font-weight: 700; font-size: 0.94rem; text-decoration: none; }
.link-arrow .icon { width: 16px; height: 16px; }
.link-arrow:hover { text-decoration: underline; }

/* Badges · radius-pill */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-radius: var(--radius-pill); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--mist { background: var(--mist); color: var(--teal-700); }
.badge--sample { background: #fbf0df; color: var(--warning); }
.badge--dark { background: var(--slate-900); color: var(--foam); border: 1px solid var(--dark-border); }

/* Official App Store / Google Play badges (artwork from Apple and Google, unmodified).
   "Coming soon" (not linked) by default; site.js links them when store URLs are configured. */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store-badge { display: inline-flex; border-radius: 8px; line-height: 0; transition: transform 0.2s var(--ease); }
.store-badge img { height: 48px; width: auto; }
.store-badge[aria-disabled="true"] { cursor: default; }
.store-badge.is-live:hover { transform: translateY(-2px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--limestone);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--slate-300); box-shadow: var(--shadow-sm); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center;
  height: 40px; padding: 0 14px;
  border-radius: var(--radius-md);
  color: var(--slate-700); text-decoration: none;
  font-weight: 600; font-size: 0.9375rem;   /* label · Inter 600 · 15 */
  transition: color 0.2s, background-color 0.2s;
}
.site-nav a:not(.btn):hover { color: var(--ink); background: var(--slate-100); }
.site-nav a[aria-current="page"] { color: var(--teal-700); background: var(--mist); }
.site-nav .nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-300); background: var(--white);
  color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: fixed; inset: var(--header-h) 12px auto 12px;
    background: var(--white);
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-lg);
    padding: 8px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .js.nav-open .site-nav { opacity: 1; transform: none; visibility: visible; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav a:not(.btn) { height: 52px; font-size: 1rem; color: var(--ink); }
  .js .site-nav .nav-cta { margin: 8px 0 0; }
  .js .site-nav .nav-cta .btn { width: 100%; }

  html:not(.js) .site-header { height: auto; }
  html:not(.js) .site-header .container { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; }
}

/* ---------- Flow lines (Brand Kit section 06) ----------
   Three converging curves echoing the logo's upper arc. Aqua on ink at 30–65%,
   teal on light at 30–40%. One group per layout; never across a headline. */
.flow-lines { position: absolute; left: 0; right: 0; width: 100%; height: clamp(40px, 6vw, 84px); pointer-events: none; }
.flow-lines path { fill: none; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.flow-lines--dark path:nth-child(1) { stroke: var(--aqua); stroke-opacity: 0.6; }
.flow-lines--dark path:nth-child(2) { stroke: var(--aqua); stroke-opacity: 0.48; }
.flow-lines--dark path:nth-child(3) { stroke: var(--aqua); stroke-opacity: 0.36; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding: clamp(48px, 7vw, 96px) 0 clamp(104px, 12vw, 160px);
}
.hero .flow-lines { bottom: clamp(28px, 4vw, 52px); }

.hero__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: clamp(48px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.1fr 0.9fr; } }

/* eyebrow · Inter 700 · 13px · 0.12em · uppercase; aqua on ink */
.eyebrow { display: inline-block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; line-height: 1; color: var(--teal-700); margin-bottom: 14px; }
.hero .eyebrow, .on-dark .eyebrow { color: var(--aqua); }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.kicker .eyebrow { margin: 0; }

.hero h1 { max-width: 15ch; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--aqua); }
.hero__lede { font-size: 1.125rem; line-height: 1.6; color: var(--dark-text); max-width: 36rem; margin-bottom: 32px; }   /* lead · Inter 18/1.6 */
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero__stores-label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; color: var(--dark-muted); margin-bottom: 12px; }

/* ---------- Phone mockup (app design preview, sample data) ---------- */

.device-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.device {
  position: relative;
  width: min(300px, 80vw);
  aspect-ratio: 390 / 800;
  border-radius: 46px;
  padding: 10px;
  background: #061a20;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 0 0 1.5px var(--dark-border);
}
.device__screen {
  position: relative; height: 100%;
  border-radius: 36px; overflow: hidden;
  background: var(--limestone); color: var(--ink);
  display: flex; flex-direction: column;
  font-size: 10px;
}
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 4px; font-weight: 700; font-size: 11px; }
.ph-status__bars { width: 34px; height: 9px; border-radius: 3px; border: 1.5px solid var(--ink); opacity: 0.9; }
.ph-body { flex: 1; padding: 6px 14px 0; display: grid; align-content: start; gap: 9px; }
.ph-top { display: flex; justify-content: space-between; align-items: flex-start; }
.ph-greet { color: var(--slate-500); font-size: 9.5px; margin: 0; }
.ph-title { font-family: var(--font-head); font-weight: 800; font-size: 19px; margin: 0; letter-spacing: -0.01em; }
.ph-bell { width: 30px; height: 30px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.ph-bell .icon { width: 13px; height: 13px; }
.ph-search { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px; border-radius: 10px; background: var(--white); border: 1px solid var(--slate-500); color: var(--slate-500); font-size: 10.5px; box-shadow: var(--shadow-lg); }
.ph-search .icon { width: 12px; height: 12px; }
.ph-esim { background: var(--ink); color: var(--white); border-radius: 16px; padding: 11px 12px 13px; }
.ph-esim__row { display: flex; align-items: center; gap: 8px; }
.ph-chip { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 9px; flex: none; }
.ph-chip--dark { background: var(--slate-900); color: var(--aqua); }
.ph-chip--light { background: var(--mist); color: var(--teal-700); }
.ph-esim__name { font-weight: 700; font-size: 12px; line-height: 1.1; }
.ph-esim__meta { color: var(--foam); font-size: 8.5px; }
.ph-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; height: 17px; padding: 0 7px; border-radius: 999px; background: var(--mist); color: var(--teal-700); font-weight: 700; font-size: 8px; }
.ph-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.ph-usage { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.ph-ring { width: 54px; height: 54px; flex: none; }
.ph-ring circle { fill: none; stroke-width: 6; }
.ph-ring .track { stroke: var(--dark-border); }
.ph-ring .value { stroke: var(--aqua); stroke-linecap: round; }
.ph-usage__big { font-family: var(--font-head); font-weight: 800; font-size: 16px; line-height: 1.1; }
.ph-usage__sub { color: var(--foam); font-size: 8.5px; }
.ph-section { display: flex; justify-content: space-between; align-items: baseline; margin-top: 2px; }
.ph-section b { font-family: var(--font-head); font-size: 13px; }
.ph-section span { color: var(--teal-700); font-weight: 700; font-size: 9px; }
.ph-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-card { background: var(--white); border: 1px solid var(--slate-300); border-radius: 11px; padding: 9px; display: grid; gap: 4px; box-shadow: var(--shadow-sm); }
.ph-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; }
.ph-card__top .icon { width: 10px; height: 10px; color: var(--slate-500); }
.ph-card b { font-size: 11px; }
.ph-card small { color: var(--slate-500); font-size: 8px; }
.ph-bar { height: 6px; width: 60%; border-radius: 3px; background: var(--slate-100); }
.ph-tint { background: var(--mist); border-radius: 12px; padding: 10px 11px; display: grid; gap: 3px; }
.ph-tint b { font-size: 11px; }
.ph-tint small { color: var(--slate-700); font-size: 8.5px; }
.ph-tint span { color: var(--teal-700); font-weight: 700; font-size: 8.5px; }
.ph-tabs { display: flex; justify-content: space-around; padding: 7px 4px 14px; background: var(--white); border-top: 1px solid var(--slate-300); font-size: 7.5px; font-weight: 700; color: var(--slate-500); }
.ph-tabs span { display: grid; justify-items: center; gap: 2px; }
.ph-tabs .icon { width: 13px; height: 13px; }
.ph-tabs .is-active { color: var(--teal); }
.device__caption { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; font-size: 0.875rem; color: var(--dark-muted); text-align: center; }

/* ---------- Sections ---------- */

.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--mist { background: var(--mist); }
.section__head { max-width: 44rem; margin-bottom: clamp(32px, 5vw, 48px); }
.section__lede { font-size: 1.125rem; line-height: 1.6; color: var(--slate-700); margin: 0; }

.note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--mist); color: var(--slate-700);
  font-size: 0.9375rem;
  margin-top: 20px;
}
.note .icon { color: var(--info); margin-top: 2px; }

/* Icon tile: 44 px mist tile, radius-lg */
.tile { width: 44px; height: 44px; border-radius: var(--radius-lg); display: grid; place-items: center; background: var(--mist); color: var(--teal-700); flex: none; }
.tile--dark { background: var(--ink); color: var(--aqua); }

/* How it works — "Three moments" */
.moments { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .moments { grid-template-columns: 1fr 1fr; gap: 24px; } }
.flow {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2.5vw, 22px);
  min-height: 220px;
  padding: 32px 20px;
  border-radius: var(--radius-xl);
  background: var(--mist);
}
.flow__step { width: clamp(64px, 9vw, 84px); height: clamp(64px, 9vw, 84px); border-radius: 50%; background: var(--white); color: var(--teal); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.flow__step .icon { width: 44%; height: 44%; }
.flow__step--on { background: var(--teal); color: var(--white); }
.flow__arrow { width: 18px; height: 18px; color: var(--teal-700); }
.steps {
  list-style: none; margin: 0;
  padding: clamp(20px, 3vw, 28px);
  display: grid; gap: 22px;
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  counter-reset: step;
}
.step { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.step__num { counter-increment: step; width: 32px; height: 32px; border-radius: 50%; background: var(--mist); color: var(--teal-700); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 0.9375rem; }
.step__num::before { content: counter(step); }
.step h3 { margin: 3px 0 4px; }
.step p { margin: 0; color: var(--slate-700); }

/* Benefits */
.benefits { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
.benefit {
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--slate-300);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.benefit:hover { box-shadow: var(--shadow-md); }
.section--white .benefit { background: var(--limestone); border-color: transparent; box-shadow: none; }
.benefit h3 { margin-bottom: 4px; }
.benefit p { margin: 0; color: var(--slate-700); }

/* Destinations — sample catalog. ISO-code badges, never flags (Brand Kit section 05). */
.dest-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
html:not(.js) .dest-tabs { display: none; }
.dest-tab {
  height: 40px; padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--slate-300);
  background: var(--white); color: var(--slate-700);
  font: inherit; font-weight: 600; font-size: 0.9375rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.dest-tab:hover { border-color: var(--slate-500); color: var(--ink); }
.dest-tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

.iso-badge {
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  background: var(--mist); color: var(--teal-700);
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.875rem; letter-spacing: 0.02em;
}
.iso-badge--dark { background: var(--ink); color: var(--aqua); }
/* Round country flags (flag-icons, MIT). The owner chose flags over the Brand Kit's ISO-code badges. */
.flag { width: 44px; height: 44px; flex: none; border-radius: 50%; object-fit: cover; background: var(--slate-100); outline: 1px solid rgba(13, 42, 51, 0.12); outline-offset: -1px; }

.dest-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .dest-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .dest-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.dest-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--slate-300);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s var(--ease);
}
.dest-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.dest-card .iso-badge, .dest-card .flag { margin-bottom: 14px; }
.dest-card__name { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; line-height: 1.25; margin: 0 0 2px; }
.dest-card__meta { font-size: 0.8125rem; color: var(--slate-500); margin: 0 0 12px; }
.dest-card__plan { display: flex; align-items: flex-start; gap: 6px; margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--slate-100); width: 100%; font-size: 0.8125rem; font-weight: 600; color: var(--slate-700); }
.dest-card__plan .icon { width: 15px; height: 15px; color: var(--teal); align-self: flex-start; margin-top: 2px; }
.nw { white-space: nowrap; }
.dest-card[hidden], .regions[hidden] { display: none; }

.regions { margin-top: 16px; padding: 8px 20px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--slate-300); box-shadow: var(--shadow-sm); }
.regions__title { font-size: 1.0625rem; margin: 14px 0 4px; }
.regions__list { list-style: none; margin: 0; padding: 0; display: grid; }
@media (min-width: 900px) { .regions__list { grid-template-columns: repeat(3, 1fr); column-gap: 24px; } }
.region-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--slate-100); }
@media (min-width: 900px) { .region-row { border-top: 0; } }
.region-row strong { display: block; font-weight: 700; }
.region-row small { display: block; font-size: 0.8125rem; color: var(--slate-500); }

/* Build status */
.status-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .status-grid { grid-template-columns: 1fr 1fr; } }
.status-col { padding: 24px; border-radius: var(--radius-lg); background: var(--limestone); }
.status-col h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { margin-top: 3px; }
.checklist--ready .icon { color: var(--success); }
.checklist--soon .icon { color: var(--slate-500); }
.checklist small { display: block; color: var(--slate-500); font-size: 0.875rem; }

/* FAQ — bordered cards with +/− */
.faq-layout { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } }
.faq-list { display: grid; gap: 12px; }
.faq { border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--slate-300); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 16px 20px 16px 22px;
  font-weight: 700; color: var(--ink);
  border-radius: var(--radius-lg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 20px; height: 20px;
  background: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.faq[open] summary::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}
.faq summary:hover { background: var(--slate-100); }
.faq__body { padding: 0 22px 20px; color: var(--slate-700); line-height: 1.6; }
.faq__body p:last-child { margin-bottom: 0; }

.tint-card { padding: 24px; border-radius: var(--radius-lg); background: var(--mist); }
.tint-card h3 { margin-bottom: 6px; }
.tint-card p { color: var(--slate-700); margin-bottom: 12px; }
.support-card { padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--slate-300); box-shadow: var(--shadow-sm); display: grid; gap: 4px; justify-items: start; }
/* Anchors that point at a card inside a section (e.g. #support) need a little space above them. */
.support-card { scroll-margin-top: 24px; }
.support-card .tile { margin-bottom: 12px; }
.support-card h3 { margin: 0; }
.support-card p { color: var(--slate-700); margin: 0 0 8px; }
.faq-aside { display: grid; gap: 16px; align-content: start; margin-top: 24px; }

/* Final CTA — feature panel on ink */
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(36px, 6vw, 64px) clamp(24px, 6vw, 64px) clamp(64px, 8vw, 96px);
  background: var(--ink); color: var(--white);
  display: grid; gap: 28px; align-items: center;
}
@media (min-width: 900px) { .cta { grid-template-columns: 1.3fr 1fr; } }
.cta > :not(.flow-lines) { position: relative; }
.cta .flow-lines { bottom: 18px; height: 56px; }
.cta h2 { margin-bottom: 10px; }
.cta p { color: var(--dark-text); margin: 0; font-size: 1.125rem; }
@media (min-width: 900px) { .cta .stores { justify-content: flex-end; } }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--dark-text); padding-block: 56px 32px; font-size: 0.9375rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; color: var(--aqua); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--dark-text); font-weight: 500; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand p { margin: 16px 0 0; max-width: 30rem; }
.footer-tagline { color: var(--white); font-family: var(--font-head); font-weight: 700; }
.footer-meta { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--dark-border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.875rem; color: var(--dark-muted); }
.footer-meta p { margin: 0; }
.footer-meta--flush { margin-top: 0; padding-top: 0; border-top: 0; }
.store-status { display: inline-flex; align-items: center; gap: 8px; }
.store-status__soon { font-size: 0.75rem; font-weight: 700; height: 22px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: var(--radius-pill); background: var(--slate-900); color: var(--foam); border: 1px solid var(--dark-border); }

/* Placeholder text for unconfirmed business details (warning: always with a word). */
.ph {
  background: #fbf0df; color: var(--warning);
  border: 1px dashed #e2b77a;
  border-radius: var(--radius-sm); padding: 0 6px; font-weight: 600;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.site-footer .ph { background: var(--slate-900); color: var(--foam); border-color: var(--dark-border); }

/* ---------- Legal pages ---------- */

.legal-hero { padding: 40px 0 8px; }
.legal-hero h1 { margin-bottom: 10px; }
.legal-hero p { color: var(--slate-700); margin: 0; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px !important; font-size: 0.875rem; }

.legal-layout { display: grid; gap: 32px; padding-block: 24px 96px; }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 270px 1fr; gap: 56px; } }

.toc { align-self: start; }
@media (min-width: 1000px) { .toc { position: sticky; top: calc(var(--header-h) + 24px); } }
.toc details { border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--slate-500); }
.toc summary { cursor: pointer; padding: 14px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--slate-500); border-bottom: 2px solid var(--slate-500); transform: rotate(45deg) translateY(-3px); transition: transform 0.2s; }
.toc details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.toc ol { margin: 0; padding: 0 18px 16px 38px; display: grid; gap: 6px; font-size: 0.875rem; }
.toc a { color: var(--slate-700); font-weight: 500; text-decoration: none; }
.toc a:hover { color: var(--teal-700); text-decoration: underline; }

.prose { max-width: 46rem; font-size: 1rem; line-height: 1.6; color: var(--slate-700); }
.prose strong { color: var(--ink); }
.prose a { color: var(--teal-700); }
.prose h2 { font-size: 1.5rem; color: var(--ink); margin: 2.1em 0 0.55em; }
.prose h2:first-of-type { margin-top: 1.2em; }
.prose h3 { font-size: 1.125rem; color: var(--ink); margin: 1.6em 0 0.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 0.875rem; display: block; overflow-x: auto; background: var(--white); border-radius: var(--radius-md); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--slate-300); }
.prose th { color: var(--ink); background: var(--mist); font-weight: 700; }

.draft-banner {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: #fbf0df; color: var(--warning);
  border: 1px solid #e2b77a;
}
.draft-banner .icon { width: 22px; height: 22px; margin-top: 1px; }
.draft-banner p { margin: 0; }
.draft-banner strong { display: block; margin-bottom: 4px; color: inherit; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal-delay-1 { transition-delay: 0.06s; }
  .js .reveal-delay-2 { transition-delay: 0.12s; }
  .js .reveal-delay-3 { transition-delay: 0.18s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
