/* Tajawul web — the app's V3 language on the web.
   White ground, Nunito, heavy rounded type, one tint per feature.
   Tokens match ~/Personal/musafir/design/v3/system.html. */

@font-face {
  font-family: "Nunito";
  src: url("/fonts/Nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #14161C;
  --ink2: #6B6F7B;
  --ink3: #9A9EA9;
  --ground: #FFFFFF;
  --soft: #F5F6F8;
  --soft2: #EEF0F3;
  --line: rgba(20, 22, 28, 0.08);
  --esim: #3B5BFF;
  --esim-tint: #E7EEFF;
  --esim-tint2: #D9E3FF;
  --esim-ink: #3047E0;
  --food: #FF7A2F;
  --food-tint: #FFEDE3;
  --food-tint2: #FFE0D0;
  --food-ink: #E4570F;
  --mosq: #18C98A;
  --mosq-tint: #DFF8EE;
  --mosq-tint2: #CDF2E2;
  --mosq-ink: #0C8A5F;
  --trans: #FF3D7F;
  --trans-tint: #FFE6EF;
  --trans-tint2: #FFD6E4;
  --trans-ink: #D62A63;
  --sun: #FFD95A;
  --sun-tint: #FFF6D6;
  --sun-tint2: #FFEBB0;
  --sun-ink: #8A5A00;
  --shadow: 0 8px 30px rgba(20, 22, 28, 0.06);
  --r: 28px;
  /* Old names kept for the legal and Worker pages. */
  --ivory: #FFFFFF;
  --card: #FFFFFF;
  --gold: #3B5BFF;
  --gold-text: #3047E0;
  --mark: #3B5BFF;
  --muted: #6B6F7B;
}

* { box-sizing: border-box; }

html { color-scheme: light; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--esim-ink); }

h1, h2, h3 { margin: 0; font-weight: 900; letter-spacing: -0.02em; line-height: 1.08; }

h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 12px; }

h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 10px; }

h3 { font-size: 1.15rem; margin: 18px 0 6px; }

p { margin: 0 0 12px; }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.narrow { width: min(640px, calc(100% - 32px)); }

/* ---------- chrome ---------- */

.frame { min-height: 100dvh; display: flex; flex-direction: column; }

.frame > * { min-width: 0; }

.frame main { flex: 1; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.brand img { width: 34px; height: 34px; border-radius: 9px; }

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  min-width: 0;
  font-weight: 800;
  font-size: 0.95rem;
}

.nav > a { color: var(--ink2); text-decoration: none; }

.nav > a:hover, .nav > a[aria-current="page"] { color: var(--ink); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--soft);
  border-radius: 999px;
  padding: 4px 6px;
}

.lang-switch a, .lang-cur {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--ink3);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 900;
}

.lang-cur { color: var(--ink); background: #fff; box-shadow: 0 2px 8px rgba(20,22,28,.08); }

.nav .btn { height: 42px; padding: 0 16px; font-size: 0.92rem; white-space: nowrap; }

@media (max-width: 760px) {
  .nav .hide-m, .nav .btn { display: none; }
  .nav { gap: 10px; }
}

.foot {
  padding: 36px 0 48px;
  color: var(--ink2);
  font-weight: 700;
  font-size: 0.9rem;
}

.foot .row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

.foot a { color: var(--ink2); text-decoration: none; }

.foot a:hover { color: var(--ink); }

.foot p { margin: 14px 0 0; font-size: 0.82rem; color: var(--ink3); }

/* ---------- shared pieces ---------- */

.cap {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--ink3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

.eyebrow {
  margin: 18px 0 8px;
  color: var(--esim-ink);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede, .sub { font-size: 1.15rem; font-weight: 600; color: var(--ink2); max-width: 36rem; }

.meta { color: var(--ink3); font-size: 0.9rem; font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--esim);
  color: #fff;
  text-decoration: none;
  border: 0;
  font: inherit;
  font-weight: 900;
  font-size: 1.02rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(59, 91, 255, 0.22);
  transition: transform .12s ease, background .12s ease;
}

.btn:hover { transform: translateY(-1px); background: var(--esim-ink); }

.btn.dark { background: var(--ink); box-shadow: 0 8px 20px rgba(20, 22, 28, 0.16); }

.btn.dark:hover { background: #000; }

.btn.sm { height: 42px; padding: 0 16px; font-size: 0.92rem; }

.btn.soft { background: var(--esim-tint); color: var(--esim-ink); box-shadow: none; }

.btn.soft:hover { background: var(--esim-tint2); }

.btn.white { background: #fff; color: var(--esim-ink); box-shadow: 0 10px 24px rgba(0, 50, 110, 0.18); }

.btn.white:hover { background: #fff; }

.btn.ghost { background: rgba(255,255,255,.24); color: #fff; border: 1.5px solid rgba(255,255,255,.55); box-shadow: none; backdrop-filter: blur(10px); }

.btn.ghost:hover { background: rgba(255,255,255,.34); }

.btn-ink { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: none; }

.btn-ink:hover { background: var(--ink); color: #fff; }

.tiles { display: grid; gap: 12px; margin: 18px 0; }

.tile, .card {
  background: var(--soft);
  border-radius: 22px;
  padding: 18px 20px;
}

.tile i {
  display: block;
  color: var(--esim-ink);
  font-style: normal;
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tile strong { display: block; margin-bottom: 2px; font-weight: 900; font-size: 1.05rem; }

.tile span { color: var(--ink2); font-size: 0.92rem; font-weight: 600; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 14px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  height: 54px;
  padding: 0 18px;
  line-height: 1.1;
  border: 1px solid rgba(255,255,255,.25);
}

.badge small { display: block; font-size: 0.62rem; font-weight: 700; opacity: 0.8; }

.badge b { display: block; font-size: 1.05rem; font-weight: 900; }

.badge .mark { font-size: 1.3rem; }

/* Store listings not live yet: same shape, quiet, not a link. */
.badges.soon .badge { background: #F1F2F5; color: var(--ink2, #6B6F7B); border-color: transparent; cursor: default; }

.stack { display: grid; gap: 8px; }

.stack label { font-size: 0.9rem; font-weight: 800; }

.stack input {
  font: inherit;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--soft2);
  background: #fff;
  color: var(--ink);
}

.code-line { word-break: break-all; }

.code-line strong, code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
}

.qr { width: min(240px, 100%); margin: 8px 0; }

.qr svg { width: 100%; height: auto; }

.banner {
  background: var(--sun-tint);
  color: var(--sun-ink);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 8px 0 16px;
}

.ph { position: relative; }

.ph::after {
  content: "placeholder";
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fff;
  color: #C2410C;
  border: 1.5px dashed #FB923C;
  border-radius: 999px;
  padding: 2px 8px;
}

table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }

th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }

th { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink3); }

.legal h2 { margin-top: 22px; }

.legal p { font-weight: 600; color: var(--ink2); }

.legal { max-width: 46rem; }
.legal h2 { scroll-margin-top: 24px; }
.legal ul { margin: 0 0 12px; padding-left: 1.2rem; color: var(--ink2); font-weight: 600; }
.legal li { margin: 6px 0; line-height: 1.5; }
.legal li b, .legal p b { color: var(--ink); }
.legal-toc { background: #F6F7F9; border-radius: 18px; padding: 16px 20px; margin: 18px 0 8px; }
.legal-toc ol { margin: 0; columns: 2; column-gap: 28px; }
.legal-toc a { color: var(--ink); text-decoration: none; font-weight: 700; }
.legal-toc a:hover { text-decoration: underline; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }

ol { margin: 0 0 8px; padding-left: 1.2rem; color: var(--ink2); }

ol li { margin: 4px 0; }

/* ---------- landing (l-) ---------- */

.l-sec { padding: 56px 0; }

.l-head { margin-bottom: 28px; }

.l-head .sub { margin-top: 8px; }

.l-hero {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  min-height: 560px;
  background: #7FB8F3 url("/v3/skies/morning.webp") center / cover no-repeat;
  color: #fff;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  padding: 56px;
  margin-top: 4px;
}

.l-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,40,110,.28), rgba(20,40,110,0) 55%); }

.l-hero > * { position: relative; }

.l-hero .cap { color: rgba(255,255,255,.85); }

.l-hero h1 { text-shadow: 0 2px 14px rgba(0,50,110,.25); margin: 10px 0 0; font-size: clamp(40px, 6vw, 66px); }

.l-hero .sub { color: rgba(255,255,255,.92); text-shadow: 0 1px 8px rgba(0,50,110,.25); margin-top: 12px; }

.l-hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.l-hero .trust { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; padding: 0; list-style: none; }

.l-hero .trust li {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px;
  background: rgba(255,255,255,.26); border: 1px solid rgba(255,255,255,.5); backdrop-filter: blur(12px);
  font-weight: 800; font-size: 0.9rem;
}

.l-scene { position: relative; height: 460px; }

.l-scene .mosque { position: absolute; right: -20px; bottom: -70px; width: min(420px, 100%); filter: drop-shadow(0 20px 30px rgba(20,40,80,.25)); }

.l-scene .obj { position: absolute; filter: drop-shadow(0 12px 16px rgba(20,40,80,.28)); animation: l-float 6s ease-in-out infinite; }

.l-scene .o-esim { width: 170px; left: 0; top: 10px; }

.l-scene .o-food { width: 130px; right: 10px; top: -10px; animation-delay: -2s; }

.l-scene .o-trans { width: 120px; left: 30px; bottom: 60px; animation-delay: -4s; }

.l-scene .o-comp { width: 110px; right: 40px; top: 200px; animation-delay: -1s; }

@keyframes l-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) { .l-scene .obj { animation: none; } }

.l-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.l-tile { position: relative; border-radius: var(--r); padding: 22px; min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; }

.l-tile img { position: absolute; right: 6px; top: -26px; width: 120px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.14)); }

.l-tile .l { font-size: 0.9rem; font-weight: 800; opacity: .8; }

.l-tile .h { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.01em; }

.t-esim { background: linear-gradient(160deg, var(--esim-tint), var(--esim-tint2)); color: var(--esim-ink); }

.t-food { background: linear-gradient(160deg, var(--food-tint), var(--food-tint2)); color: var(--food-ink); }

.t-mosq { background: linear-gradient(160deg, var(--mosq-tint), var(--mosq-tint2)); color: var(--mosq-ink); }

.t-trans { background: linear-gradient(160deg, var(--trans-tint), var(--trans-tint2)); color: var(--trans-ink); }

.t-scan { background: linear-gradient(160deg, var(--sun-tint), var(--sun-tint2)); color: var(--sun-ink); }

.l-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.l-step { background: var(--soft); border-radius: var(--r); padding: 26px; position: relative; min-height: 230px; }

.l-step .n { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--esim-tint); color: var(--esim-ink); align-items: center; justify-content: center; font-weight: 900; font-size: 0.95rem; }

.l-step img { position: absolute; right: 14px; top: 14px; width: 96px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.12)); }

.l-step h3 { margin: 70px 0 0; font-size: 1.4rem; }

.l-step p { margin: 6px 0 0; color: var(--ink2); font-weight: 600; }

.l-picker { background: linear-gradient(180deg, #F7F8FA, #fff); border-radius: 36px; padding: 40px; }

.l-picker .seg { display: inline-flex; background: var(--soft2); border-radius: 999px; padding: 4px; margin-top: 16px; }

.l-picker .seg button { border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font: inherit; font-weight: 900; font-size: 0.95rem; color: var(--ink2); cursor: pointer; }

.l-picker .seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 12px rgba(20,22,28,.08); }

.l-search { position: relative; margin-top: 20px; max-width: 520px; }

.l-search input {
  width: 100%; height: 58px; padding: 0 20px 0 48px; background: #fff; border: 1.5px solid var(--soft2); border-radius: 20px;
  font: inherit; font-weight: 700; font-size: 1.05rem; color: var(--ink); outline: none;
}

.l-search input:focus { border-color: var(--esim); }

.l-search svg { position: absolute; left: 18px; top: 19px; width: 20px; height: 20px; }

.l-results { position: absolute; z-index: 5; left: 0; right: 0; top: 64px; background: #fff; border-radius: 20px; box-shadow: 0 16px 40px rgba(20,22,28,.14); max-height: 320px; overflow: auto; padding: 6px; display: none; }

.l-results[data-open] { display: block; }

.l-results button { display: flex; width: 100%; align-items: center; gap: 10px; border: 0; background: transparent; padding: 10px 12px; border-radius: 12px; font: inherit; font-weight: 800; color: var(--ink); cursor: pointer; text-align: left; }

.l-results button:hover, .l-results button[aria-selected="true"] { background: var(--soft); }

.l-results button small { margin-left: auto; color: var(--esim-ink); font-weight: 800; }

.l-results .none { padding: 12px; color: var(--ink3); font-weight: 700; }

.l-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding: 0; list-style: none; }

.l-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--soft2); font: inherit; font-weight: 800; font-size: 0.95rem; color: var(--ink); cursor: pointer; text-decoration: none; }

.l-chip[aria-pressed="true"] { background: var(--esim-tint); border-color: var(--esim); color: var(--esim-ink); }

.l-chip .f { font-size: 1.15rem; }

.l-plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 28px; }

.l-plan { background: #fff; border-radius: 24px; padding: 22px 20px; box-shadow: var(--shadow); border: 2px solid transparent; position: relative; display: flex; flex-direction: column; gap: 4px; }

.l-plan.pop { border-color: var(--esim); }

.l-plan .tag { position: absolute; top: -12px; left: 18px; background: var(--sun); color: #1A1200; font-size: 0.75rem; font-weight: 900; padding: 4px 10px; border-radius: 999px; }

.l-plan .gb { font-size: 1.9rem; font-weight: 900; color: var(--esim); letter-spacing: -0.02em; }

.l-plan .days { font-weight: 700; color: var(--ink2); font-size: 0.95rem; }

.l-plan .price { font-size: 1.6rem; font-weight: 900; margin-top: 14px; letter-spacing: -0.01em; }

.l-plan .btn { margin-top: 14px; height: 46px; font-size: 0.95rem; width: 100%; }

.l-plan.pop .btn { background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(20,22,28,.16); }

.l-plan.pop .btn:hover { background: #000; }

.l-empty { margin-top: 28px; background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow); font-weight: 700; color: var(--ink2); }

.l-empty b { display: block; color: var(--ink); font-size: 1.2rem; margin-bottom: 4px; }

.l-note { margin-top: 18px; color: var(--ink2); font-weight: 700; font-size: 0.95rem; display: flex; gap: 16px; flex-wrap: wrap; }

.l-regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; padding: 0; list-style: none; }

.l-region { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff; border-radius: 20px; padding: 16px 18px; box-shadow: var(--shadow); font-weight: 900; font-size: 1.05rem; border: 0; width: 100%; font-family: inherit; color: var(--ink); cursor: pointer; text-align: left; }

.l-region[aria-pressed="true"] { outline: 2px solid var(--esim); }

.l-region small { display: block; font-size: 0.8rem; font-weight: 700; color: var(--ink3); }

.l-region b { color: var(--esim); font-size: 0.95rem; white-space: nowrap; }

.l-trust3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.l-tcard { border-radius: var(--r); padding: 26px; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }

.l-tcard .ic { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; position: absolute; top: 22px; left: 22px; background: #fff; }

.l-tcard h3 { font-size: 1.4rem; margin: 0; }

.l-tcard p { margin: 6px 0 0; font-weight: 600; color: var(--ink2); }

.l-faq { max-width: 760px; }

.l-faq details { background: var(--soft); border-radius: 20px; padding: 0 22px; margin-bottom: 10px; }

.l-faq summary { list-style: none; cursor: pointer; font-weight: 900; font-size: 1.1rem; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }

.l-faq summary::-webkit-details-marker { display: none; }

.l-faq summary::after { content: "+"; font-size: 1.5rem; color: var(--ink3); font-weight: 700; }

.l-faq details[open] summary::after { content: "–"; }

.l-faq details p { padding: 0 0 20px; margin: 0; color: var(--ink2); font-weight: 600; max-width: 600px; }

.l-app { border-radius: 36px; overflow: hidden; background: #2B1B4A url("/v3/skies/maghrib.webp") center / cover no-repeat; color: #fff; display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; padding: 56px 56px 0; min-height: 520px; position: relative; }

.l-app::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40,10,60,.45), rgba(40,10,60,.05)); }

.l-app > * { position: relative; }

.l-app .txt { padding-bottom: 56px; }

.l-app .cap { color: rgba(255,255,255,.8); }

.l-app .sub { color: rgba(255,255,255,.9); margin-top: 10px; }

.l-app .badges { margin-top: 26px; }

.l-app .phone { justify-self: center; width: min(300px, 80%); border-radius: 36px 36px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.35); border: 8px solid #1A1A1F; border-bottom: 0; overflow: hidden; }

@media (max-width: 1000px) {
  .l-plans { grid-template-columns: repeat(3, 1fr); }
  .l-regions { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .l-sec { padding: 40px 0; }
  .l-hero { grid-template-columns: 1fr; padding: 32px 22px 0; min-height: 0; border-radius: 28px; }
  .l-hero::before { background: linear-gradient(180deg, rgba(20,40,110,.28), rgba(20,40,110,0) 60%); }
  .l-hero .trust { gap: 8px; margin-top: 18px; }
  .l-hero .trust li { font-size: 0.8rem; padding: 7px 11px; }
  .l-hero .cta { gap: 10px; }
  .l-hero .cta .btn { height: 50px; padding: 0 20px; font-size: 1rem; }
  .l-scene { height: 360px; margin-top: 10px; }
  .l-scene .mosque { width: 300px; right: -10px; bottom: -50px; }
  .l-scene .o-esim { width: 120px; left: 0; top: 30px; }
  .l-scene .o-food { width: 90px; right: 16px; top: 0; }
  .l-scene .o-trans { width: 90px; left: 10px; bottom: 40px; }
  .l-scene .o-comp { width: 80px; right: 30px; top: 150px; }
  .l-tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
  .l-tile { min-height: 150px; padding: 16px; }
  .l-tile img { width: 92px; top: -22px; }
  .l-tile .h { font-size: 1.2rem; }
  .l-steps { grid-template-columns: 1fr; }
  .l-step { min-height: 0; }
  .l-step h3 { margin-top: 56px; }
  .l-picker { padding: 24px 16px; border-radius: 28px; }
  .l-plans { grid-template-columns: 1fr; gap: 12px; }
  .l-plan { flex-direction: row; align-items: center; flex-wrap: wrap; padding: 18px; }
  .l-plan .gb { font-size: 1.5rem; width: 84px; }
  .l-plan .days { flex: 1; }
  .l-plan .price { margin: 0; font-size: 1.4rem; }
  .l-plan .btn { width: 100%; margin-top: 12px; }
  .l-regions { grid-template-columns: 1fr; gap: 10px; }
  .l-region { font-size: 1rem; padding: 14px 16px; }
  .l-region small { display: inline; margin-left: 6px; }
  .l-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .l-chip { white-space: nowrap; }
  .l-trust3 { grid-template-columns: 1fr; }
  .l-tcard { min-height: 0; padding-top: 90px; }
  .l-app { grid-template-columns: 1fr; padding: 32px 22px 0; min-height: 0; }
  .l-app .txt { padding-bottom: 28px; }
  .l-app .phone { width: min(260px, 80%); }
}

@media (min-width: 720px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- checkout pages (c-), served by the Worker ---------- */

.c-page .top { padding: 14px 0 4px; }

.c-help { color: var(--ink2); font-weight: 800; font-size: 0.9rem; text-decoration: none; }

.c-help:hover { color: var(--ink); }

.c-main { display: flex; flex-direction: column; padding: 6px 0 32px; }

.c-hero { position: relative; overflow: hidden; border-radius: 28px; padding: 28px 22px 24px; text-align: center; }

.c-hero.blue { background: linear-gradient(160deg, #3B5BFF, #6E4BFF); color: #fff; }

.c-hero.plain { background: var(--soft); color: var(--ink); }

.c-hero h1 { font-size: clamp(1.7rem, 6vw, 2rem); margin: 0; }

.c-hero .c-sub { margin: 8px 0 0; font-weight: 700; font-size: 0.95rem; opacity: 0.92; }

.c-hero.plain .c-sub { color: var(--ink2); opacity: 1; }

.c-hero .c-sub b { font-weight: 900; }

.c-obj { width: 150px; height: auto; margin: 0 auto 6px; filter: drop-shadow(0 14px 18px rgba(0, 30, 120, 0.25)); }

.c-hero.plain .c-obj { filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.14)); }

.c-obj.small { width: 120px; }

.c-hero.conf i { position: absolute; width: 10px; height: 16px; border-radius: 4px; opacity: 0.95; }

.c-hero.conf i:nth-child(1) { left: 14%; top: 14%; background: #FFD95A; transform: rotate(-20deg); }
.c-hero.conf i:nth-child(2) { left: 78%; top: 10%; background: #fff; transform: rotate(25deg); }
.c-hero.conf i:nth-child(3) { left: 88%; top: 34%; background: #FF6B8A; transform: rotate(-10deg); }
.c-hero.conf i:nth-child(4) { left: 8%; top: 44%; background: #fff; transform: rotate(30deg); }
.c-hero.conf i:nth-child(5) { left: 70%; top: 48%; background: #18C98A; transform: rotate(10deg); }
.c-hero.conf i:nth-child(6) { left: 26%; top: 8%; background: #FFD95A; transform: rotate(40deg); }

.c-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.5); font-weight: 800; font-size: 0.85rem; }

.c-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: c-blink 1.2s infinite; }

@keyframes c-blink { 50% { opacity: 0.3; } }

@media (prefers-reduced-motion: reduce) { .c-dot { animation: none; } }

.c-cap { margin: 22px 0 10px; }

.c-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--ink); }

.c-step { display: flex; gap: 12px; align-items: center; background: var(--soft); border-radius: 18px; padding: 14px 16px; font-weight: 800; font-size: 0.95rem; }

.c-step .n { width: 28px; height: 28px; border-radius: 50%; background: var(--esim-tint); color: var(--esim-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 0.82rem; flex: none; }

.c-step.dim { color: var(--ink3); }

.c-step.dim .n { background: var(--soft2); color: var(--ink3); }

.c-step.done .n { background: var(--mosq-tint); color: var(--mosq-ink); }

.c-foot { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 4px; }

.c-foot .btn, .c-form .btn { width: 100%; }

.c-link { display: block; width: 100%; text-align: center; color: var(--esim-ink); font: inherit; font-weight: 900; font-size: 0.95rem; text-decoration: none; margin: 10px 0 0; background: none; border: 0; padding: 6px; cursor: pointer; }

.c-center { text-align: center; margin: 10px 0 0; }

.c-card { border-radius: 22px; padding: 18px; margin-top: 14px; background: var(--soft); }

.c-card.green { background: var(--mosq-tint); }

.c-card h2 { font-size: 1.05rem; margin: 0 0 4px; }

.c-card.green h2 { color: var(--mosq-ink); }

.c-card p { margin: 0; color: var(--ink2); font-weight: 700; font-size: 0.9rem; }

.c-tabs { display: flex; background: var(--soft2); border-radius: 999px; padding: 4px; margin-top: 12px; }

.c-tabs button { flex: 1; border: 0; background: transparent; padding: 9px; border-radius: 999px; font: inherit; font-weight: 900; font-size: 0.9rem; color: var(--ink2); cursor: pointer; }

.c-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 12px rgba(20,22,28,.08); }

.c-panel { display: flex; flex-direction: column; flex: 1; }

.c-panel[hidden] { display: none; }

.c-code { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--soft2); border-radius: 16px; padding: 12px 14px; margin-top: 12px; }

.c-code code { flex: 1; font-size: 0.8rem; word-break: break-all; color: var(--ink); }

.c-code small { color: var(--ink3); font-weight: 800; font-size: 0.78rem; }

.c-code.col { flex-direction: column; align-items: stretch; gap: 4px; }

.c-code button { border: 0; background: var(--esim-tint); color: var(--esim-ink); font: inherit; font-weight: 900; border-radius: 999px; padding: 8px 14px; cursor: pointer; }

.c-qr { width: min(220px, 70%); margin: 16px auto 0; }

.c-details { margin-top: 14px; }

.c-details summary { font-weight: 900; font-size: 0.9rem; cursor: pointer; }

.c-form { margin-top: 14px; display: flex; flex-direction: column; flex: 1; }

.c-input { width: 100%; height: 52px; border-radius: 16px; border: 1.5px solid var(--soft2); padding: 0 16px; font: inherit; font-weight: 700; font-size: 0.95rem; color: var(--ink); background: #fff; }

.c-input:focus { outline: none; border-color: var(--esim); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.c-page .banner { margin: 14px 0 0; }

/* ---------- trip kit (k-) ---------- */

.k-page { min-width: 0; }

.k-page h2 { font-size: clamp(28px, 3.4vw, 38px); }

.k-hero {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(160deg, #FFE27A, #FFC23A);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 56px;
  min-height: 540px;
  margin-top: 4px;
  color: #1A1200;
}

.k-hero .cap { color: rgba(26, 18, 0, 0.6); }

.k-hero h1 { margin: 0; font-size: clamp(38px, 5.6vw, 62px); line-height: 1.05; color: #1A1200; }

.k-hero .sub { color: rgba(26, 18, 0, 0.72); margin-top: 12px; max-width: 34rem; font-size: 1.2rem; }

.k-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.btn.k-line {
  background: rgba(255, 255, 255, 0.55);
  color: #1A1200;
  border: 1.5px solid rgba(26, 18, 0, 0.18);
  box-shadow: none;
}

.btn.k-line:hover { background: #fff; color: #1A1200; }

.k-trust { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 0; padding: 0; list-style: none; }

.k-trust li {
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-weight: 800;
  font-size: 0.9rem;
}

.k-orbit { position: relative; height: 440px; min-width: 0; }

.k-ring {
  position: absolute;
  border: 2px dashed rgba(138, 90, 0, 0.28);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.k-r1 { width: 300px; height: 300px; }

.k-r2 { width: 430px; height: 430px; }

.k-tilek {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 170px;
  border-radius: 44px;
  background: #1A1200;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(80, 50, 0, 0.28);
  text-align: center;
}

.k-tilek small { font-size: 12px; font-weight: 900; letter-spacing: 0.18em; color: #E9E2CF; }

.k-tilek b { font-size: 36px; font-weight: 900; color: var(--sun); line-height: 1.05; letter-spacing: -0.02em; }

.k-o { position: absolute; filter: drop-shadow(0 12px 16px rgba(80, 50, 0, 0.22)); animation: l-float 6s ease-in-out infinite; }

.k-o1 { width: 150px; left: 4%; top: 2%; }

.k-o2 { width: 120px; right: 4%; top: 4%; animation-delay: -2s; }

.k-o3 { width: 120px; left: 2%; bottom: 6%; animation-delay: -4s; }

.k-o4 { width: 110px; right: 6%; bottom: 4%; animation-delay: -1s; }

.k-o5 { width: 90px; left: 44%; top: -2%; animation-delay: -3s; }

.k-inkit { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 28px; }

.k-tile {
  position: relative;
  border-radius: var(--r);
  padding: 20px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.k-tile img { position: absolute; right: 4px; top: -22px; width: 104px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.14)); }

.k-tile .l { font-size: 0.9rem; font-weight: 800; opacity: 0.8; }

.k-tile .h { font-size: 1.3rem; font-weight: 900; letter-spacing: -0.01em; }

.k-window {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--soft);
  border-radius: 20px;
  padding: 16px 18px;
  font-weight: 800;
  font-size: 1rem;
}

.k-window p { margin: 0; }

.k-window span { color: var(--ink2); font-weight: 700; }

.k-window-ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--esim-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.k-picker { background: linear-gradient(180deg, #F7F8FA, #fff); border-radius: 36px; padding: 40px; min-width: 0; }

.k-plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 28px; }

.k-plan {
  background: #fff;
  border-radius: 24px;
  padding: 22px 20px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.k-plan.pop { border-color: var(--ink); }

.k-plan .tag {
  position: absolute;
  top: -12px;
  left: 18px;
  background: var(--sun);
  color: #1A1200;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
}

.k-plan .gb { font-size: 1.9rem; font-weight: 900; color: var(--esim); letter-spacing: -0.02em; }

.k-plan .days { font-weight: 700; color: var(--ink2); font-size: 0.95rem; }

.k-plan .incl { margin-top: 10px; font-size: 0.82rem; font-weight: 800; color: var(--mosq-ink); }

.k-plan .price { font-size: 1.6rem; font-weight: 900; margin-top: 6px; }

.k-plan .alone { font-size: 0.82rem; font-weight: 700; color: var(--ink3); }

.k-plan .btn {
  margin-top: 14px;
  height: 46px;
  font-size: 0.95rem;
  width: 100%;
  background: var(--soft2);
  color: var(--ink);
  box-shadow: none;
}

.k-plan .btn:hover { background: #E2E5EA; color: var(--ink); }

.k-plan .btn.dark { background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(20, 22, 28, 0.18); }

.k-plan .btn.dark:hover { background: #000; color: #fff; }

.k-note a { font-weight: 900; text-decoration: none; }

.k-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.k-step { background: var(--soft); border-radius: var(--r); padding: 24px; position: relative; min-height: 210px; }

.k-step .n {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sun-tint);
  color: var(--sun-ink);
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.k-step img { position: absolute; right: 14px; top: 14px; width: 92px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.12)); }

.k-step h3 { margin: 64px 0 0; font-size: 1.35rem; }

.k-step p { margin: 6px 0 0; color: var(--ink2); font-weight: 600; font-size: 1rem; }

.k-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 860px; margin-top: 8px; padding-top: 8px; }

.k-cc { border-radius: var(--r); padding: 26px; background: var(--soft); }

.k-cc-kit { background: #fff; border: 2px solid var(--ink); box-shadow: var(--shadow); position: relative; }

.k-cc-kit .tag {
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--sun);
  color: #1A1200;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
}

.k-cc h3 { font-size: 1.35rem; margin: 0; }

.k-from { font-size: 0.95rem; font-weight: 800; color: var(--ink2); margin: 4px 0 0; }

.k-cc ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }

.k-cc li { display: flex; gap: 10px; align-items: center; font-weight: 800; font-size: 1rem; }

.k-cc li i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 0.82rem;
  flex: none;
}

.k-cc li.y i { background: var(--mosq-tint); color: var(--mosq-ink); }

.k-cc li.n { color: var(--ink3); }

.k-cc li.n i { background: var(--soft2); color: var(--ink3); }

.k-cc .btn { margin-top: 22px; width: 100%; }

.k-upsell {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--sun-tint);
  border-radius: 22px;
  padding: 16px 18px;
  margin-top: 18px;
}

.k-upsell[hidden] { display: none !important; }

.k-upsell img { width: 64px; flex: none; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.12)); }

.k-upsell b { display: block; font-size: 1.05rem; font-weight: 900; color: #1A1200; }

.k-upsell span { font-weight: 700; color: var(--sun-ink); font-size: 0.9rem; }

.k-upsell .btn { margin-left: auto; flex: none; }

@media (prefers-reduced-motion: reduce) { .k-o { animation: none; } }

@media (max-width: 1000px) {
  .k-inkit { grid-template-columns: repeat(3, 1fr); }
  .k-plans { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .k-hero { grid-template-columns: 1fr; padding: 30px 22px 10px; min-height: 0; border-radius: 28px; }
  .k-cta .btn { height: 50px; font-size: 1rem; padding: 0 20px; }
  .k-orbit { height: 320px; margin-top: 10px; }
  .k-r1 { width: 220px; height: 220px; }
  .k-r2 { width: 310px; height: 310px; }
  .k-tilek { width: 120px; height: 120px; border-radius: 32px; }
  .k-tilek b { font-size: 26px; }
  .k-tilek small { font-size: 10px; }
  .k-o1 { width: 100px; }
  .k-o2 { width: 84px; }
  .k-o3 { width: 84px; }
  .k-o4 { width: 78px; }
  .k-o5 { width: 64px; }
  .k-inkit { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .k-tile { min-height: 140px; padding: 16px; }
  .k-tile img { width: 84px; top: -20px; }
  .k-tile .h { font-size: 1.1rem; }
  .k-wide { grid-column: span 2; }
  .k-picker { padding: 24px 16px; border-radius: 28px; }
  .k-plans { grid-template-columns: 1fr; gap: 12px; }
  .k-plan {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 0;
    padding: 18px;
  }
  .k-plan .gb { font-size: 1.5rem; grid-row: 1; grid-column: 1; }
  .k-plan .days { grid-row: 1; grid-column: 2; }
  .k-plan .price { grid-row: 1; grid-column: 3; margin: 0; font-size: 1.35rem; text-align: right; }
  .k-plan .incl { grid-column: 1 / 3; grid-row: 2; margin: 4px 0 0; }
  .k-plan .alone { grid-column: 3; grid-row: 2; text-align: right; }
  .k-plan .btn { grid-column: 1 / -1; grid-row: 3; }
  .k-steps { grid-template-columns: 1fr; }
  .k-step { min-height: 0; }
  .k-step h3 { margin-top: 52px; }
  .k-cmp { grid-template-columns: 1fr; }
  .k-upsell { flex-wrap: wrap; }
  .k-upsell .btn { margin-left: 0; width: 100%; }
}
