
/* Compass - a trip planner up front, then the plan that fits.
   Built 1:1 from design/storefront-themes/2-compass.png (1536 wide).
   Measurements and sampled colours: NOTES.md beside this file.
   Every brand colour is a merchant token (or a color-mix of tokens), so a
   shop's own palette repaints the theme. Fixed colours are only shadows,
   photo scrims and plain white on photos. */

:root {
  --font: "Manrope", "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;

  /* neutrals mixed from the merchant's ink and surface */
  --muted: color-mix(in srgb, var(--ink) 64%, var(--surface));
  --soft: color-mix(in srgb, var(--ink) 50%, var(--surface));
  --line: color-mix(in srgb, var(--ink) 10%, var(--surface));
  --line-strong: color-mix(in srgb, var(--ink) 16%, var(--surface));
  --panel: color-mix(in srgb, var(--ink) 3.2%, var(--surface));
  --panel-2: color-mix(in srgb, var(--ink) 5.5%, var(--surface));
  --tint: color-mix(in srgb, var(--accent) 7%, var(--surface));
  --tint-2: color-mix(in srgb, var(--accent) 13%, var(--surface));
  --accent-ink: color-mix(in srgb, var(--accent) 88%, var(--ink));
  --good: color-mix(in srgb, var(--secondary) 66%, var(--ink));
  --good-bg: color-mix(in srgb, var(--secondary) 15%, var(--surface));

  --wrap: 1272px;
  --wrap-wide: 1340px;
  --gutter: 16px;
  --r-xs: 6px;
  --r-sm: 8px;
  --r: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 60, .05), 0 2px 8px rgba(11, 26, 60, .04);
  --shadow: 0 2px 6px rgba(11, 26, 60, .04), 0 12px 32px rgba(11, 26, 60, .07);
  --shadow-lg: 0 6px 16px rgba(11, 26, 60, .05), 0 24px 56px rgba(11, 26, 60, .10);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.cp {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
:focus-visible { outline: 2px solid var(--accent-fill); outline-offset: 2px; border-radius: 4px; }
.ic { width: 1em; height: 1em; flex: none; }

.cp-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: var(--r-sm); background: var(--accent-fill); color: var(--on-accent); font-weight: 700; }
.cp-skip:focus { top: 12px; }

.cp-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.cp-wrap--wide { max-width: calc(var(--wrap-wide) + 2 * var(--gutter)); }
.cp-section { margin-top: clamp(56px, 7vw, 96px); }

.cp-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 78%, var(--surface)); }
.cp-h2 { font-size: clamp(26px, 2.6vw, 34px); }
.cp-h3 { font-size: clamp(18px, 1.4vw, 19.5px); letter-spacing: -.025em; }
.cp-h4 { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.cp-muted { color: var(--muted); }
.cp-link { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-ink); font-size: 12.5px; font-weight: 600; }
.cp-link .ic { width: 13px; height: 13px; transition: transform .2s var(--ease); }
.cp-link:hover .ic { transform: translateX(3px); }
.cp-linkbtn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- buttons ---------- */
.cp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 22px; border: 1.5px solid transparent; border-radius: var(--r);
  background: var(--accent-fill); color: var(--on-accent);
  font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 24%, transparent);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.cp-btn .ic { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.cp-btn:hover { background: color-mix(in srgb, var(--accent-fill) 88%, var(--ink)); box-shadow: 0 10px 22px color-mix(in srgb, var(--accent) 30%, transparent); transform: translateY(-1px); }
.cp-btn:hover .ic { transform: translateX(3px); }
.cp-btn:active { transform: translateY(0); }
.cp-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.cp-btn--lg { min-height: 52px; padding: 0 28px; font-size: 15px; }
.cp-btn--sm { min-height: 32px; padding: 0 15px; font-size: 12.5px; border-radius: 999px; box-shadow: none; }
.cp-btn--sm .ic { width: 12px; height: 12px; }
.cp-btn--ghost { background: var(--surface); color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent) 30%, var(--surface)); box-shadow: none; }
.cp-btn--ghost:hover { background: var(--tint); box-shadow: none; }
.cp-btn--block { width: 100%; }
/* A long Turkish label must wrap rather than push the page sideways. */
.cp-btn { max-width: 100%; }
@media (max-width: 639px) { .cp-btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; } }

.cp-iconbtn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: none; color: var(--ink); cursor: pointer; }
.cp-iconbtn .ic { width: 20px; height: 20px; }
.cp-iconbtn:hover { background: var(--panel-2); }
.cp-badge { position: absolute; top: 5px; right: 4px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 999px; background: var(--accent-fill); color: var(--on-accent); font-size: 9px; font-weight: 700; line-height: 15px; text-align: center; }

.cp-chip-arrow { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 999px; background: var(--tint-2); color: var(--accent-ink); font-style: normal; transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.cp-chip-arrow .ic { width: 13px; height: 13px; }
.cp-chip-arrow--plain { width: 26px; height: 26px; background: transparent; color: var(--ink); }
.cp-chip-arrow--plain .ic { width: 12px; height: 12px; }
a:hover > .cp-chip-arrow, a:hover .cp-chip-arrow { background: var(--accent-fill); color: var(--on-accent); }

.cp-roundbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm); transition: background-color .2s, color .2s; }
.cp-roundbtn .ic { width: 14px; height: 14px; }
.cp-roundbtn[data-carousel-prev] .ic { transform: scaleX(-1); }
.cp-roundbtn:hover:not(:disabled) { background: var(--accent-fill); color: var(--on-accent); border-color: transparent; }
.cp-roundbtn:disabled { opacity: .35; cursor: default; }

.cp-pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 12px; border-radius: 999px; background: var(--tint-2); color: var(--accent-ink); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.cp-pill--good { background: var(--good-bg); color: var(--good); }
.cp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cp-tags li { padding: 2px 10px; border-radius: 999px; background: var(--panel-2); color: color-mix(in srgb, var(--ink) 72%, var(--surface)); font-size: 9.5px; font-weight: 500; line-height: 1.5; }
.cp-stars { color: var(--warn); letter-spacing: 1px; }

/* ---------- header ---------- */
.cp-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); }
/* the frosted glass lives on a pseudo-element: a backdrop-filter on the header
   itself would become the containing block of the fixed mobile drawer */
.cp-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.cp-header__bar { display: flex; align-items: center; gap: 8px; height: 60px; }
.cp-header .logo { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); }
.cp-header .logo-mark { width: 28px; height: 28px; color: var(--accent-fill); }
.logo-word { font-size: 19px; font-weight: 800; letter-spacing: -.035em; }
.logo img { height: 30px; width: auto; }
.cp-header__bar > .logo { margin-right: auto; }
.cp-header__menu { display: none; }
.cp-nav { display: flex; flex-direction: column; }
.cp-nav > a, .cp-nav__panel a { display: flex; align-items: center; min-height: 48px; padding: 0 4px; font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--line); }
.cp-nav__moretoggle { display: none; }
.cp-header__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.cp-header__actions .cp-header__cart { display: none; }
.cp-header__drawerhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cp-locale { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 6px 0 10px; border-radius: 999px; }
.cp-locale:hover { background: var(--panel-2); }
.cp-locale__flag { width: 18px; height: 12px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.cp-locale select { appearance: none; -webkit-appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23697088' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0 center / 11px; padding: 6px 16px 6px 0; font-size: 12.5px; font-weight: 600; text-transform: uppercase; cursor: pointer; min-height: 32px; }
.cp-locale__cur { font-size: 12px; font-weight: 600; color: var(--muted); }
.cp-locale noscript button { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 2px 8px; font-size: 12px; }

/* the closed drawer without JS stays a plain stacked menu */
@media (max-width: 1099.98px) {
  .cp-header__toggle { margin-left: 2px; }
  html:not(.js) .cp-header__menu { display: block; position: static; width: 100%; padding: 8px 0 18px; }
  html:not(.js) .cp-header__bar { flex-wrap: wrap; height: auto; padding-block: 8px; }
  .cp-header__drawerhead .logo { color: var(--primary); }
  .js .cp-header__menu.is-open {
    display: block; position: fixed; inset: 0; z-index: 60; overflow-y: auto;
    padding: 10px 20px 28px; background: var(--surface);
    animation: cp-drawer .28s var(--ease);
  }
  .js .cp-header__menu.is-open .cp-header__drawerhead { height: 50px; }
  .js .cp-nav__panel[hidden] { display: flex !important; }
  .cp-nav__panel { display: flex; flex-direction: column; }
  .cp-header__actions .cp-btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; flex: 1 1 140px; }
}
@media (min-width: 1100px) { .cp-header__drawerhead { display: none; } }
@keyframes cp-drawer { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (min-width: 1100px) {
  .cp-header__bar { height: 52px; gap: 0; }
  .cp-header__toggle, .cp-header__cart--bar { display: none; }
  .cp-header__bar > .logo { margin-right: 0; }
  .cp-header__menu { display: flex; flex: 1; align-items: center; justify-content: space-between; margin-left: 40px; }
  .cp-nav { flex-direction: row; align-items: center; gap: 32px; }
  .cp-nav > a, .cp-nav__panel a { min-height: 0; padding: 6px 0; border: 0; font-size: 12px; font-weight: 500; }
  .cp-nav > a { position: relative; }
  .cp-nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--accent-fill); transform: scaleX(0); transition: transform .2s var(--ease); }
  .cp-nav > a:hover::after { transform: scaleX(1); }
  .cp-nav__more { position: relative; }
  .js .cp-nav__moretoggle { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 6px 0; font-size: 12px; font-weight: 500; cursor: pointer; }
  .cp-nav__moretoggle .ic { width: 12px; height: 12px; transition: transform .2s; }
  .cp-nav__more.is-open .cp-nav__moretoggle .ic { transform: rotate(180deg); }
  .js .cp-nav__panel { position: absolute; top: calc(100% + 12px); left: -14px; min-width: 200px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-lg); flex-direction: column; }
  html:not(.js) .cp-nav__panel { display: flex; gap: 32px; }
  .js .cp-nav__panel a { padding: 9px 12px; border-radius: var(--r-sm); }
  .js .cp-nav__panel a:hover { background: var(--panel-2); }
  .cp-header__actions { margin: 0; gap: 4px; flex-wrap: nowrap; }
  .cp-header__actions .cp-header__cart { display: inline-grid; }
  .cp-header__actions .cp-iconbtn { width: 40px; height: 40px; }
  .cp-header__actions .cp-iconbtn .ic { width: 18px; height: 18px; }
  .cp-header__actions .cp-btn--ghost { margin-left: 14px; }
  .cp-header__actions .cp-btn--sm { min-height: 31px; padding: 0 16px; font-size: 12px; }
  .cp-header__actions .cp-btn--sm:last-child { margin-left: 8px; padding: 0 17px; }
  .cp-locale { margin-right: 8px; }
}

/* ---------- home: hero ---------- */
.cp-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--panel); }
.cp-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 72% 42%; }
.cp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, transparent) 0%, color-mix(in srgb, var(--surface) 55%, transparent) 55%, color-mix(in srgb, var(--surface) 0%, transparent) 100%); }
.cp-hero__copy { padding-top: 36px; padding-bottom: 150px; }
.cp-hero h1 { margin-top: 12px; font-size: clamp(32px, 3.6vw + 4px, 44.5px); line-height: 1.16; letter-spacing: -.02em; color: var(--primary); text-wrap: balance; }
.cp-hero h1 span { display: block; }
.cp-hero__sub { margin-top: 14px; max-width: 520px; font-size: clamp(14px, .5vw + 10px, 14.5px); line-height: 1.4; color: color-mix(in srgb, var(--ink) 86%, var(--surface)); }
.cp-hero__sub span { display: block; }
@media (min-width: 960px) {
  .cp-hero { height: 338px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, var(--surface)) 0%, color-mix(in srgb, var(--accent) 3%, var(--surface)) 70%, color-mix(in srgb, var(--secondary) 4%, var(--surface)) 100%); }
  .cp-hero::before { background: linear-gradient(90deg, color-mix(in srgb, var(--surface) 20%, transparent) 0%, transparent 34%); }
  .cp-hero__img { inset: auto; top: -122px; right: 0; left: auto; width: auto; height: calc(100% + 122px); max-width: none; aspect-ratio: 3024 / 1296; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%); mask-image: linear-gradient(90deg, transparent 0%, #000 26%); filter: saturate(1.35) contrast(1.06); }
  .cp-hero__copy { padding-top: 38px; padding-bottom: 0; }
  .cp-hero h1 { margin-top: 10px; }
  .cp-hero__sub { margin-top: 15px; }
}

/* ---------- home: planner ---------- */
.cp-plan { display: block; }
.cp-planner {
  position: relative; z-index: 2; margin-top: -118px;
  display: grid; gap: 20px;
  padding: 20px 18px 22px; border-radius: 22px; background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--ink) 6%, var(--surface));
  box-shadow: var(--shadow-lg);
}
.cp-planner__field { display: grid; gap: 10px; align-content: start; }
.cp-step { display: flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; line-height: 1.2; }
.cp-step__n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 999px; background: var(--accent-fill); color: var(--on-accent); font-size: 10.5px; font-weight: 600; flex: none; }
.cp-select { position: relative; display: flex; align-items: center; height: 48px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.cp-select:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--surface)); }
.cp-select:focus-within { border-color: var(--accent-fill); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.cp-select select { appearance: none; -webkit-appearance: none; width: 100%; height: 100%; border: 0; background: transparent; padding: 0 44px 0 52px; font-size: 14px; font-weight: 700; cursor: pointer; }
.cp-select select:focus-visible { outline: none; }
.cp-select > .ic, .cp-select__flag { position: absolute; pointer-events: none; }
.cp-select > .ic:first-child, .cp-select__flag { left: 18px; width: 20px; height: 20px; color: var(--ink); }
.cp-select__flag { height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.cp-select > .ic-chevron { right: 16px; width: 15px; height: 15px; color: var(--ink); }

.cp-tiers__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cp-tiers legend { margin-bottom: 10px; }
.cp-tier { position: relative; display: grid; justify-items: center; gap: 1px; padding: 10px 6px 9px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); text-align: center; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s var(--ease); }
.cp-tier input { position: absolute; opacity: 0; pointer-events: none; }
.cp-tier strong { font-size: 14px; font-weight: 700; line-height: 1.3; }
.cp-tier span { font-size: 11.5px; color: color-mix(in srgb, var(--ink) 72%, var(--surface)); }
.cp-tier small { margin-top: 5px; font-size: 9.5px; line-height: 1.25; color: color-mix(in srgb, var(--ink) 66%, var(--surface)); }
.cp-tier:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--surface)); transform: translateY(-1px); }
.cp-tier:has(input:checked), .cp-tier.is-selected { border: 2px solid var(--accent-fill); padding: 9px 5px 8px; background: var(--tint); box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 14%, transparent); }
.cp-tier:has(input:checked) :is(strong, span, small) { color: var(--accent-ink); }
.cp-tier:has(input:focus-visible) { outline: 2px solid var(--accent-fill); outline-offset: 2px; }

.cp-planner__go { display: grid; gap: 8px; }
.cp-planner__go .cp-btn { width: 100%; border-radius: var(--r); }
.cp-note { display: none; }
@media (min-width: 960px) and (max-width: 1199.98px) {
  .cp-planner { margin-top: -95px; grid-template-columns: 1fr 1fr; gap: 20px 28px; padding: 24px 28px; }
  .cp-planner__go { align-self: end; }
  .cp-planner__go .cp-btn { min-height: 52px; }
}
@media (min-width: 1200px) {
  .cp-planner { margin-top: -95px; grid-template-columns: 316fr 253fr 359fr 195fr; column-gap: 32px; padding: 22px 20px 20px 33px; min-height: 150px; }
  .cp-planner__field { gap: 12px; }
  .cp-tiers legend { margin-bottom: 12px; }
  .cp-tiers { margin-top: 0; }
  .cp-tiers__row { gap: 8px; margin-top: -3px; }
  .cp-planner__go { align-self: start; align-content: start; position: relative; padding-top: 33px; }
  .cp-planner__go .cp-btn { min-height: 52px; font-size: 14.5px; }
  .cp-note { display: flex; position: absolute; right: 2px; top: -10px; align-items: flex-end; gap: 0; font-family: var(--hand); font-size: 14.5px; font-weight: 500; line-height: 1.1; color: color-mix(in srgb, var(--ink) 80%, var(--surface)); transform: rotate(-4deg); text-align: center; }
  .cp-note span { max-width: 104px; }
  .cp-note__arrow { width: 22px; height: 26px; margin-bottom: -10px; color: var(--accent-ink); }
}

/* ---------- home: trust strip ---------- */
.cp-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; margin-top: 26px; }
.cp-trust li { display: flex; align-items: center; gap: 12px; font-size: 11.5px; line-height: 1.35; color: var(--muted); }
.cp-trust li .ic { width: 26px; height: 26px; color: var(--accent-fill); }
.cp-trust strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.cp-trust li:last-child { grid-column: 1 / -1; }
@media (min-width: 640px) { .cp-trust { grid-template-columns: repeat(3, 1fr); } .cp-trust li:last-child { grid-column: auto; } }
@media (min-width: 960px) {
  .cp-trust { display: flex; justify-content: space-between; margin: 10px 0 0; padding: 0 8px; min-height: 45px; align-items: center; }
  .cp-trust li { gap: 12px; }
}
@media (min-width: 1200px) { .cp-trust { padding: 0 92px; } .cp-trust li { gap: 20px; } }

/* ---------- home: recommended plan ---------- */
.cp-recpanel { margin-top: 26px; padding: 22px 16px 18px; border-radius: var(--r-xl); background: var(--panel); display: grid; gap: 26px; }
.cp-recpanel__main .cp-h3 { margin-bottom: 14px; }
.cp-rec { display: grid; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); outline: none; }
.cp-rec__media { aspect-ratio: 2.17; overflow: hidden; }
.cp-rec__media .cp-photo { width: 100%; height: 100%; object-fit: cover; }
.cp-rec__body { position: relative; display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 0 12px; padding: 18px 18px 20px; }
.cp-rec__dest { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; }
.cp-rec__dest img { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.cp-rec__dest .ic { width: 18px; height: 18px; color: var(--accent-ink); }
.cp-rec__body .cp-pill { justify-self: end; }
.cp-rec__body .cp-tags { grid-column: 1 / -1; margin-top: 7px; }
.cp-rec__plan { grid-column: 1 / -1; margin-top: 18px; font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.cp-rec__fit { grid-column: 1 / -1; font-size: 11.5px; color: var(--muted); }
.cp-rec__price { grid-column: 1 / -1; margin-top: 8px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--accent-ink); line-height: 1.1; }
.cp-rec__price small { font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.cp-rec__cta { grid-column: 1 / -1; margin-top: 16px; min-height: 44px; }
.cp-rec:focus-visible { outline: 2px solid var(--accent-fill); outline-offset: 3px; }

.cp-recpanel__alt .cp-h4 { margin-bottom: 12px; font-size: 15px; }
.cp-alts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
/* Two alternatives on a live shop, which sells no unlimited plan. */
.cp-alts:not(:has(> :nth-child(3))) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cp-alt { position: relative; display: grid; align-content: start; height: 100%; min-height: 120px; padding: 16px 14px 14px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.cp-alt strong { font-size: 14.5px; font-weight: 700; }
.cp-alt span { margin-top: 2px; font-size: 11px; color: var(--muted); }
.cp-alt b { margin-top: 14px; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.cp-alt b small { margin-left: 3px; font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.cp-alt .cp-chip-arrow { position: absolute; right: 12px; bottom: 14px; }
.cp-alt:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
@media (max-width: 639.98px) {
  .cp-alt { padding: 14px 10px 50px; }
  .cp-alt b { font-size: 15px; }
  .cp-alt .cp-chip-arrow { left: 10px; right: auto; bottom: 10px; }
}
@media (min-width: 640px) {
  .cp-recpanel { padding: 26px 24px 22px; }
  .cp-rec { grid-template-columns: minmax(0, 41%) 1fr; }
  .cp-rec__media { position: relative; aspect-ratio: auto; min-height: 150px; }
  .cp-rec__media .cp-photo { position: absolute; inset: 0; }
  .cp-rec__body { padding: 16px 18px 16px 26px; }
}
@media (min-width: 960px) and (max-width: 1199.98px) {
  .cp-recpanel { margin-top: 22px; padding: 24px 28px 26px; }
}
@media (min-width: 1200px) {
  .cp-recpanel { margin-top: 19px; grid-template-columns: 788fr 463fr; gap: 32px; padding: 17px 22px 18px 34px; min-height: 226px; }
  .cp-recpanel__main .cp-h3 { margin-bottom: 8px; }
  .cp-rec { grid-template-columns: 325fr 463fr; min-height: 150px; }
  .cp-rec__media { min-height: 0; border-radius: var(--r) 0 0 var(--r); }
  .cp-rec__body { padding: 11px 17px 10px 26px; grid-template-columns: 1fr 182px; }
  .cp-rec__plan { margin-top: 9px; grid-column: 1; }
  .cp-rec__fit { grid-column: 1; }
  .cp-rec__price { grid-column: 1; margin-top: 2px; }
  .cp-rec__cta { grid-column: 2; grid-row: 4 / span 3; align-self: end; margin: 0; min-height: 42px; border-radius: var(--r-sm); }
  .cp-recpanel__alt { padding-top: 34px; }
  .cp-recpanel__alt .cp-h4 { margin-bottom: 10px; }
  .cp-alts { gap: 16px; }
  .cp-alt { min-height: 120px; padding: 16px 16px 14px; }
  .cp-alt .cp-chip-arrow { right: 16px; bottom: 15px; }
}

/* ---------- destination cards (home rail and the destinations page) ---------- */
.cp-sechead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 14px; }
.cp-explore { margin-top: 8px; }
.cp-sechead .cp-link { font-size: 11.5px; }
.cp-rail { position: relative; }
.cp-rail__track { display: flex; gap: 17px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: 2px 2px 10px; margin: -2px -2px -10px; scrollbar-width: none; }
.cp-rail__track::-webkit-scrollbar { display: none; }
.cp-rail__track > li { flex: 0 0 152px; scroll-snap-align: start; }
.cp-rail__nav { display: none; }
.cp-dest { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--r-sm); background: var(--surface); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 6%, transparent), var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.cp-dest:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 6%, transparent), var(--shadow); }
.cp-dest .cp-photo { width: 100%; aspect-ratio: 152 / 78; object-fit: cover; transition: transform .5s var(--ease); }
.cp-dest:hover img.cp-photo { transform: scale(1.04); }
.cp-photo--flag { display: grid; place-items: center; width: 100%; aspect-ratio: 152 / 78; background: linear-gradient(135deg, var(--tint-2), var(--panel-2)); }
.cp-photo--flag img { width: 44px; height: auto; border-radius: 4px; box-shadow: var(--shadow-sm); }
.cp-photo--flag > .ic { width: 34px; height: 34px; color: var(--accent-ink); opacity: .8; }
.cp-photo--flag span { font-size: 22px; font-weight: 800; color: var(--accent-ink); }
.cp-dest__body { position: relative; display: grid; gap: 0; padding: 8px 44px 8px 11px; }
.cp-dest__name { font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.cp-rail .cp-dest__name, .cp-rail .cp-dest__from { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-dest__from { font-size: 9.5px; color: var(--muted); }
.cp-dest .cp-chip-arrow { position: absolute; right: 9px; top: 50%; translate: 0 -50%; width: 27px; height: 27px; }
.cp-dest .cp-chip-arrow .ic { width: 11px; height: 11px; }
.cp-dest__tag { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 92%, transparent); font-size: 9.5px; font-weight: 700; color: var(--accent-ink); }
@media (min-width: 960px) {
  .cp-explore .cp-sechead { margin-bottom: 13px; }
  .cp-rail__track { gap: 17px; }
  .cp-rail__track > li { flex-basis: calc((100% - 5 * 17px) / 6); }
}
@media (min-width: 1200px) {
  .cp-rail__track > li { flex-basis: calc((100% - 7 * 17px) / 8); }
  .cp-rail__nav { position: absolute; left: -20px; right: -20px; top: 19px; display: flex; justify-content: space-between; pointer-events: none; }
  .cp-rail__nav .cp-roundbtn { pointer-events: auto; transition: opacity .2s, background-color .2s, color .2s; }
  .cp-rail__nav .cp-roundbtn:disabled { opacity: 0; pointer-events: none; }
  .cp-rail:not(:hover) .cp-rail__nav .cp-roundbtn { opacity: 0; }
  .cp-rail:focus-within .cp-rail__nav .cp-roundbtn:not(:disabled) { opacity: 1; }
}

/* ---------- home: guide row ---------- */
.cp-guide { display: grid; gap: 10px; margin-top: 22px; }
.cp-guide__intro, .cp-guide__types, .cp-guide__compat { border-radius: var(--r-lg); background: var(--panel); }
.cp-guide__intro { padding: 20px 22px; }
.cp-guide__intro .cp-h4 { font-size: 17.5px; font-weight: 700; letter-spacing: -.02em; }
.cp-guide__intro p { margin-top: 4px; font-size: 12px; color: var(--muted); }
.cp-guide__types { display: grid; padding: 6px; }
.cp-type, .cp-guide__compat { display: flex; align-items: center; gap: 13px; padding: 10px 12px; border-radius: var(--r); transition: background-color .2s; }
.cp-type:hover, .cp-guide__compat:hover { background: var(--surface); }
.cp-type span, .cp-guide__compat span { flex: 1; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.cp-type strong, .cp-guide__compat strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.cp-type__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; font-style: normal; flex: none; }
.cp-type__icon .ic { width: 17px; height: 17px; }
.cp-type--0 .cp-type__icon { background: var(--accent-fill); color: var(--on-accent); box-shadow: 0 0 0 4px var(--tint-2); }
.cp-type--1 .cp-type__icon { background: oklch(from var(--accent) .9 .07 calc(h + 75)); color: oklch(from var(--accent) .5 .2 calc(h + 75)); }
.cp-type--2 .cp-type__icon { background: oklch(from var(--accent) .92 .05 calc(h + 30)); color: oklch(from var(--accent) .48 .18 calc(h + 30)); }
.cp-guide__compat { padding: 18px 22px; }
.cp-guide__phone { display: grid; place-items: center; width: 34px; color: var(--ink); font-style: normal; }
.cp-guide__phone .ic { width: 30px; height: 30px; }
@media (min-width: 640px) { .cp-guide__types { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) and (max-width: 1199.98px) {
  .cp-guide:not(.cp-guide--two) { grid-template-columns: 1fr 1fr; }
  .cp-guide:not(.cp-guide--two) .cp-guide__types { grid-column: 1 / -1; order: 3; }
}
@media (min-width: 1200px) {
  .cp-guide { grid-template-columns: 323fr 641fr 351fr; gap: 10px; margin-top: 22px; }
  .cp-guide__intro { padding: 20px 32px 0; min-height: 70px; }
  .cp-guide__types { align-items: center; padding: 0 22px 0 18px; }
  .cp-type { padding: 8px 4px; gap: 11px; }
  .cp-type span { white-space: nowrap; }
  .cp-guide__compat { padding: 0 26px 0 24px; }
}

/* ---------- home: how it works ---------- */
.cp-how { display: grid; gap: 34px; align-items: center; }
.cp-how .cp-h2 { margin-top: 10px; }
.cp-steps { counter-reset: step; display: grid; gap: 18px; margin: 28px 0 30px; }
.cp-steps li { display: flex; gap: 16px; }
.cp-steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 999px; background: var(--tint-2); color: var(--accent-ink); font-size: 13px; font-weight: 700; }
.cp-steps h3 { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.cp-steps p { margin-top: 3px; font-size: 13.5px; color: var(--muted); }
.cp-how__art { position: relative; display: flex; align-items: flex-start; justify-content: center; gap: 0; padding: 36px 16px 0; border-radius: 28px; background: radial-gradient(120% 90% at 50% 0%, var(--tint-2), var(--panel) 70%); overflow: hidden; }
.cp-how__art img { width: 44%; max-width: 240px; filter: drop-shadow(0 20px 30px rgba(11, 26, 60, .18)); }
.cp-how__art img + img { margin-left: 1%; margin-top: 46px; }
@media (min-width: 960px) {
  .cp-how { grid-template-columns: 1fr 1fr; gap: 72px; }
  .cp-how__art { padding: 48px 32px 0; }
}

/* ---------- reviews ---------- */
.cp-reviews { display: grid; gap: 28px; }
.cp-reviews .cp-h2 { margin-top: 10px; }
.cp-score { display: flex; align-items: center; gap: 16px; margin-top: 20px; font-size: 13px; color: var(--muted); }
.cp-score b { font-size: 46px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.cp-score .cp-stars { font-size: 15px; }
.cp-quotes { display: grid; gap: 14px; }
.cp-quote { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.cp-quote blockquote { margin: 0; flex: 1; font-size: 14px; line-height: 1.6; }
.cp-quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.cp-quote figcaption img { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; }
.cp-quote figcaption strong { display: block; font-size: 13px; color: var(--ink); }
@media (min-width: 640px) { .cp-quotes { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
@media (min-width: 960px) { .cp-reviews { grid-template-columns: 340px 1fr; gap: 56px; align-items: center; } }

/* ---------- FAQ ---------- */
.cp-faqwrap { display: grid; gap: 28px; }
.cp-faqwrap .cp-h2 { margin-top: 10px; }
.cp-faqwrap__side > .cp-muted { margin-top: 12px; font-size: 14px; }
.cp-checkcard { margin-top: 24px; padding: 22px; border-radius: var(--r-lg); background: var(--panel); }
.cp-ticks { display: grid; gap: 10px; margin: 14px 0 16px; }
.cp-ticks li { position: relative; padding-left: 28px; font-size: 13.5px; color: color-mix(in srgb, var(--ink) 82%, var(--surface)); }
.cp-ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 999px; background: var(--good-bg); }
.cp-ticks li::after { content: ""; position: absolute; left: 4px; top: 7px; width: 10px; height: 10px; background: var(--good); -webkit-mask: var(--tick) no-repeat center / contain; mask: var(--tick) no-repeat center / contain; }
.cp-faq { display: grid; gap: 10px; align-content: start; }
.cp-faq details { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: box-shadow .2s, border-color .2s; }
.cp-faq details[open] { border-color: color-mix(in srgb, var(--accent) 30%, var(--surface)); box-shadow: var(--shadow-sm); }
.cp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 20px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.cp-faq summary::-webkit-details-marker { display: none; }
.cp-faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 999px; background: linear-gradient(var(--accent-ink), var(--accent-ink)) center / 11px 2px no-repeat, linear-gradient(var(--accent-ink), var(--accent-ink)) center / 2px 11px no-repeat, var(--tint-2); transition: transform .25s var(--ease); }
.cp-faq details[open] summary::after { transform: rotate(45deg); }
.cp-faq details > p, .cp-faq details > div { padding: 0 20px 18px; font-size: 14px; color: var(--muted); }
@media (min-width: 960px) { .cp-faqwrap { grid-template-columns: 400px 1fr; gap: 64px; } }

/* ---------- CTA ---------- */
.cp-cta { position: relative; isolation: isolate; display: grid; overflow: hidden; border-radius: 24px; background: var(--primary); color: var(--on-primary); }
.cp-cta__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 30%; }
.cp-cta__copy { display: grid; gap: 14px; justify-items: start; padding: 28px 22px 30px; }
.cp-cta__copy .cp-h2 { color: inherit; }
.cp-cta__copy p { max-width: 440px; font-size: 15px; opacity: .86; }
.cp-cta .cp-btn { margin-top: 6px; }
@media (min-width: 960px) {
  .cp-cta { min-height: 340px; align-items: center; }
  .cp-cta__img { position: absolute; inset: 0; z-index: -2; height: 100%; aspect-ratio: auto; object-position: 60% 30%; }
  .cp-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 94%, transparent) 0%, color-mix(in srgb, var(--primary) 78%, transparent) 38%, transparent 66%); }
  .cp-cta__copy { padding: 48px 56px; max-width: 560px; }
}

/* ---------- footer ---------- */
.cp-footer { margin-top: clamp(64px, 8vw, 104px); padding: 52px 0 28px; background: var(--panel); border-top: 1px solid var(--line); font-size: 13.5px; }
.cp-footer__top { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; }
.cp-footer__brand { grid-column: 1 / -1; display: grid; gap: 14px; max-width: 380px; }
.cp-footer .logo { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); }
.cp-footer .logo-mark { width: 26px; height: 26px; color: var(--accent-fill); }
.cp-footer__brand > p { color: var(--muted); }
.cp-footer__rating { font-size: 12.5px; font-weight: 600; color: var(--ink) !important; }
.cp-footer__col { display: grid; align-content: start; gap: 2px; }
.cp-footer__col h2 { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.cp-footer__col a { display: flex; align-items: center; min-height: 34px; color: var(--muted); overflow-wrap: anywhere; transition: color .2s; }
.cp-footer__col a:hover { color: var(--accent-ink); }
.cp-footer__base { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.cp-footer__pay { display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 960px) {
  .cp-footer__top { grid-template-columns: 1.6fr; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 40px; }
  .cp-footer__brand { grid-column: auto; }
}

/* ---------- inner pages: shared head ---------- */
.cp-pagehead { position: relative; isolation: isolate; overflow: hidden; padding: 22px 0 34px; background: var(--panel); }
.cp-pagehead__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; opacity: .9; }
.cp-pagehead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--surface) 92%, transparent) 0%, color-mix(in srgb, var(--surface) 70%, transparent) 45%, color-mix(in srgb, var(--surface) 20%, transparent) 100%); }
.cp-pagehead h1 { margin-top: 14px; font-size: clamp(30px, 3.2vw + 6px, 46px); line-height: 1.05; letter-spacing: -.035em; color: var(--primary); max-width: 760px; text-wrap: balance; }
.cp-pagehead__lead { margin-top: 12px; max-width: 620px; font-size: clamp(14.5px, .5vw + 12px, 16.5px); color: color-mix(in srgb, var(--ink) 80%, var(--surface)); }
@media (min-width: 960px) { .cp-pagehead { padding: 28px 0 52px; } }
.cp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12.5px; color: var(--muted); }
.cp-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.cp-crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.cp-crumbs a { color: var(--ink); font-weight: 500; }
.cp-crumbs a:hover { color: var(--accent-ink); }
.cp-crumbs [aria-current] { color: var(--muted); }
.cp-auth__card .cp-crumbs { margin-bottom: 16px; }

.cp-body { margin-top: clamp(36px, 4vw, 56px); }
.cp-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.cp-panel { padding: 24px; border-radius: var(--r-xl); background: var(--panel); }
.cp-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .cp-grid--2 { grid-template-columns: repeat(2, 1fr); } .cp-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cp-grid--3 { grid-template-columns: repeat(3, 1fr); } .cp-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 959.98px) { .cp-grid--4 { grid-template-columns: repeat(2, 1fr); } }

/* search bar (destinations) */
.cp-search { display: flex; gap: 8px; margin-top: 22px; max-width: 620px; padding: 6px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.cp-search__field { position: relative; flex: 1; display: flex; align-items: center; }
.cp-search__field .ic { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.cp-search input { width: 100%; height: 48px; border: 0; background: transparent; padding: 0 12px 0 42px; font-size: 15px; font-weight: 500; }
.cp-search input:focus-visible { outline: none; }
.cp-search:focus-within { border-color: var(--accent-fill); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent), var(--shadow); }
.cp-search .cp-btn { min-height: 48px; }

.cp-destgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .cp-destgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 960px) { .cp-destgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 17px; } }
@media (min-width: 1280px) { .cp-destgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.cp-destgrid .cp-dest__name { font-size: 13.5px; }
.cp-destgrid .cp-dest__from { font-size: 11px; }
.cp-destgrid .cp-dest__body { padding: 12px 44px 14px 13px; }
.cp-empty { display: grid; justify-items: start; gap: 14px; padding: 32px; border-radius: var(--r-xl); background: var(--panel); }

/* forms */
.cp-form { display: grid; gap: 16px; }
.cp-field { display: grid; gap: 7px; }
.cp-field label, .cp-label { font-size: 13px; font-weight: 600; }
.cp-input, .cp-form input:not([type="hidden"]):not([type="radio"]), .cp-form textarea {
  width: 100%; min-height: 48px; padding: 12px 15px; border: 1px solid var(--line-strong); border-radius: var(--r);
  background: var(--surface); font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.cp-form textarea { min-height: 140px; resize: vertical; }
.cp-input:focus, .cp-form input:focus, .cp-form textarea:focus { outline: none; border-color: var(--accent-fill); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.cp-hint { font-size: 12.5px; color: var(--muted); }
.cp-alert, .cp-notice { padding: 13px 16px; border-radius: var(--r); font-size: 14px; font-weight: 500; }
.cp-alert { background: color-mix(in srgb, var(--bad) 9%, var(--surface)); color: var(--bad); border: 1px solid color-mix(in srgb, var(--bad) 25%, var(--surface)); }
.cp-notice { background: var(--good-bg); color: var(--good); border: 1px solid color-mix(in srgb, var(--secondary) 30%, var(--surface)); }

/* auth & small-form pages */
.cp-auth { display: grid; gap: 28px; align-items: start; }
.cp-auth__card { padding: 28px 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-lg); }
.cp-auth__card h1 { font-size: clamp(26px, 2.4vw + 8px, 34px); letter-spacing: -.03em; color: var(--primary); }
.cp-auth__card > h2 { font-size: clamp(21px, 1vw + 14px, 24px); letter-spacing: -.02em; color: var(--primary); }
.cp-auth__card > p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.cp-auth__card .cp-form { margin-top: 22px; }
.cp-auth__links { display: grid; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.cp-auth__links a { color: var(--accent-ink); font-weight: 600; }
.cp-auth__aside { display: none; }
@media (min-width: 960px) {
  .cp-auth { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 56px; }
  .cp-auth__card { padding: 36px 36px 30px; }
  .cp-auth__aside { display: block; position: relative; overflow: hidden; min-height: 100%; border-radius: 22px; background: var(--panel); }
  .cp-auth__aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .cp-auth__aside figcaption { position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 18px 20px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 14px; box-shadow: var(--shadow); }
  .cp-auth__aside figcaption strong { display: block; font-size: 15px; margin-bottom: 2px; }
}

/* feature/info cards */
.cp-info { display: grid; gap: 10px; align-content: start; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
a.cp-info:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cp-info h3 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.cp-info p { font-size: 13.5px; color: var(--muted); }
.cp-info__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tint-2); color: var(--accent-ink); }
.cp-info__icon .ic { width: 22px; height: 22px; }
.cp-info__big { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--accent-ink); }

.cp-sectitle { display: grid; gap: 8px; margin-bottom: 22px; }
.cp-sectitle p { color: var(--muted); max-width: 640px; }

/* prose (legal, blog, destination copy) */
.cp-prose { font-size: 15.5px; line-height: 1.75; color: color-mix(in srgb, var(--ink) 88%, var(--surface)); }
.cp-prose > * + * { margin-top: 1em; }
.cp-prose h2 { margin-top: 1.8em; font-size: 22px; color: var(--ink); }
.cp-prose section > h2 { margin-top: 0; }
.cp-prose > * + section { margin-top: 1.8em; }
.cp-prose h2 + p { margin-top: .5em; }
.cp-prose h3 { margin-top: 1.5em; font-size: 18px; color: var(--ink); }
.cp-prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.cp-prose ul { list-style: disc; padding-left: 1.3em; }
.cp-prose ol { list-style: decimal; padding-left: 1.3em; }
.cp-prose img { border-radius: var(--r-lg); }
.cp-prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent-fill); color: var(--ink); }
.cp-note-box { padding: 14px 16px; border-radius: var(--r); background: var(--tint); border: 1px solid var(--tint-2); font-size: 14px; color: color-mix(in srgb, var(--ink) 85%, var(--surface)); }

/* ---------- purchase page ---------- */
.cp-buy { position: relative; }
.cp-buy__grid { display: grid; gap: 28px; }
.cp-buy__head { display: grid; gap: 14px; }
.cp-buy__flag { display: grid; place-items: center; width: 60px; height: 42px; margin-top: 14px; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }
.cp-buy__flag img { width: 38px; height: auto; border-radius: 3px; }
.cp-buy__flag span { font-weight: 800; color: var(--accent-ink); }
.cp-buy__head h1 { font-size: clamp(32px, 3.6vw + 6px, 52px); line-height: 1.02; letter-spacing: -.035em; color: var(--primary); }
.cp-buy__lead { font-size: clamp(15px, .6vw + 12px, 18px); max-width: 560px; color: color-mix(in srgb, var(--ink) 82%, var(--surface)); }
.cp-buy__meta { display: flex; flex-wrap: wrap; gap: 8px 10px; font-size: 13px; color: var(--muted); }
.cp-keys { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.cp-keys li { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; }
.cp-keys li i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--surface); color: var(--accent-ink); box-shadow: var(--shadow-sm); font-style: normal; }
.cp-keys .ic { width: 16px; height: 16px; }

.cp-adjust { display: grid; gap: 12px; padding: 16px; border-radius: var(--r-lg); background: var(--panel); }
.cp-adjust__title { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.cp-adjust__title .ic { width: 18px; height: 18px; color: var(--accent-ink); }
.cp-adjust__opts { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 960px) { .cp-adjust { grid-template-columns: auto 1fr; align-items: center; gap: 20px; padding: 14px 18px; } .cp-adjust__opts { justify-content: flex-end; } }

.cp-tabs [role="tablist"] { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--panel-2); }
.cp-tabs [role="tab"] { min-height: 40px; padding: 0 18px; border: 0; border-radius: 9px; background: none; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.cp-tabs [role="tab"][aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.cp-tabs [role="tabpanel"] { margin-top: 16px; }
.cp-tabs [role="tabpanel"] + [role="tabpanel"] { margin-top: 16px; }

.cp-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .cp-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
.cp-plancard { position: relative; display: grid; gap: 2px; min-height: 124px; padding: 18px 16px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--surface); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.cp-plancard input { position: absolute; top: 16px; right: 14px; width: 20px; height: 20px; margin: 0; accent-color: var(--accent-fill); cursor: pointer; }
.cp-plancard__data { font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.cp-plancard__days { font-size: 13px; color: var(--muted); }
.cp-plancard__price { margin-top: 12px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.cp-plancard__badge { position: absolute; top: -10px; left: 14px; display: none; }
.cp-plancard:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--surface)); transform: translateY(-1px); }
.cp-plancard:has(input:checked), .cp-plancard.is-selected { border: 2px solid var(--accent-fill); padding: 17px 15px 15px; background: var(--tint); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 16%, transparent); }
.cp-plancard:has(input:checked) .cp-plancard__badge, .cp-plancard.is-selected .cp-plancard__badge { display: inline-flex; }
.cp-plancard:has(input:checked) .cp-plancard__price { color: var(--accent-ink); }
.cp-plancard .cp-pill--good { background: var(--good); color: var(--surface); height: 20px; font-size: 10.5px; padding: 0 10px; box-shadow: 0 4px 10px color-mix(in srgb, var(--secondary) 30%, transparent); }

.cp-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 18px; border-radius: var(--r-lg); background: var(--panel); }
.cp-benefits li { display: flex; gap: 12px; align-items: flex-start; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.cp-benefits li .ic { width: 24px; height: 24px; color: var(--accent-ink); }
.cp-benefits strong { display: block; font-size: 13px; color: var(--ink); }
@media (min-width: 960px) { .cp-benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 20px 22px; } }

.cp-summary { position: relative; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.cp-summary::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--secondary), color-mix(in srgb, var(--secondary) 40%, var(--accent))); }
.cp-summary__head { display: flex; align-items: center; gap: 14px; padding: 24px 22px 18px; }
.cp-summary__flag { display: grid; place-items: center; width: 52px; height: 38px; border-radius: 9px; background: var(--panel-2); flex: none; }
.cp-summary__flag img { width: 32px; border-radius: 3px; }
.cp-summary__head strong { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.cp-summary__head span { font-size: 12.5px; color: var(--muted); }
.cp-summary__head .cp-pill { margin-left: auto; }
.cp-summary__plans { padding: 0 22px 16px; }
.cp-summary__plans legend { margin-bottom: 10px; font-size: 13px; font-weight: 700; }
.cp-summary dl { margin: 0 22px; padding: 4px 16px; border-radius: var(--r-lg); background: var(--panel); }
.cp-summary dl > div { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; font-size: 14px; }
.cp-summary dl > div + div { border-top: 1px solid var(--line); }
.cp-summary dt { color: var(--muted); }
.cp-summary dd { margin: 0; font-weight: 700; }
.cp-summary__total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 22px 0; font-size: 14px; font-weight: 600; }
.cp-summary__total strong { font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: var(--accent-ink); }
.cp-summary__bullets { display: grid; gap: 12px; margin: 18px 22px 0; padding-top: 18px; border-top: 1px solid var(--line); }
.cp-summary__bullets li { display: flex; gap: 12px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.cp-summary__bullets .ic { width: 20px; height: 20px; color: var(--accent-ink); margin-top: 1px; }
.cp-summary__bullets strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.cp-summary__rating { display: flex; align-items: center; gap: 8px; margin: 16px 22px 0; padding: 12px 0 0; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.cp-summary__form { padding: 18px 22px 0; }
.cp-summary__form .cp-form { gap: 12px; }
.cp-summary__form .cp-btn { width: 100%; min-height: 52px; font-size: 15.5px; }
.cp-summary__secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.cp-summary__secure .ic { width: 13px; height: 13px; }
.cp-summary__foot { margin: 18px 22px 0; padding: 14px 0 20px; border-top: 1px solid var(--line); }
.cp-summary__foot a { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--accent-ink); }
.cp-summary__foot .ic { width: 20px; height: 20px; }
.cp-summary__closed { padding: 18px 22px 22px; display: grid; gap: 10px; font-size: 13.5px; color: var(--muted); }
.cp-summary__closed .cp-btn { width: 100%; }
.cp-summary .cp-alert { margin: 14px 22px 0; }
@media (min-width: 960px) {
  .cp-buy__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: start; }
  .cp-summary { position: sticky; top: 76px; }
}
@media (min-width: 1280px) { .cp-buy__grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 44px; } }

.cp-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11, 26, 60, .08); }
.cp-buybar span { display: block; font-size: 11.5px; color: var(--muted); }
.cp-buybar strong { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--accent-ink); }
.cp-buybar .cp-btn { min-height: 46px; }
body.cp:has(.cp-buybar) .cp-footer { padding-bottom: 96px; }
@media (min-width: 960px) { .cp-buybar { display: none; } body.cp:has(.cp-buybar) .cp-footer { padding-bottom: 28px; } }

.cp-phones { display: grid; gap: 22px; }
.cp-phones__step { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; }
.cp-phones__step img { width: 96px; filter: drop-shadow(0 12px 18px rgba(11, 26, 60, .16)); }
.cp-phones__step h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
.cp-phones__step h3 b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--accent-fill); color: var(--on-accent); font-size: 12px; }
.cp-phones__step p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
@media (min-width: 960px) {
  .cp-phones { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .cp-phones__step { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 26px 20px 24px; border-radius: 22px; background: radial-gradient(110% 70% at 50% 0%, var(--tint-2), var(--panel) 72%); }
  .cp-phones__step { align-content: start; }
  .cp-phones__step img { width: auto; height: 300px; }
  .cp-phones__step h3 { justify-content: center; margin-top: 6px; }
}

/* ---------- order ---------- */
.cp-order { display: grid; gap: 18px; }
.cp-esim { display: grid; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.cp-esim__qr { justify-self: center; padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.cp-esim__qr img { width: 220px; height: 220px; }
.cp-code { display: block; padding: 12px 14px; border-radius: var(--r); background: var(--panel-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; overflow-wrap: anywhere; }
.cp-copy.is-copied { background: var(--good); color: var(--surface); }
.cp-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.cp-status::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: currentColor; }
.cp-wait { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: var(--r-lg); background: var(--tint); font-size: 14px; }
.cp-wait::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 99px; border: 2.5px solid var(--tint-2); border-top-color: var(--accent-fill); animation: cp-spin 1s linear infinite; }
@keyframes cp-spin { to { transform: rotate(360deg); } }
@media (min-width: 640px) { .cp-esim { grid-template-columns: auto 1fr; align-items: center; gap: 28px; padding: 28px; } }

/* ---------- blog ---------- */
.cp-posts { display: grid; gap: 16px; }
@media (min-width: 640px) { .cp-posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cp-posts { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.cp-post { display: grid; align-content: start; gap: 10px; height: 100%; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.cp-post:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cp-post__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.cp-post__title { font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
.cp-post p { font-size: 14px; color: var(--muted); }
.cp-post .cp-link { margin-top: 6px; }
.cp-article { max-width: 760px; }

/* ---------- regions ---------- */
.cp-region { position: relative; display: grid; height: 100%; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.cp-region:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.cp-region img, .cp-region__noimg { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.cp-region__noimg { display: grid; place-items: center; background: linear-gradient(135deg, var(--tint-2), var(--panel-2)); color: var(--accent-ink); }
.cp-region__noimg .ic { width: 40px; height: 40px; }
.cp-region__body { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 16px 18px 18px; }
.cp-region h3 { font-size: 17px; font-weight: 700; }
.cp-region__body span { grid-column: 1; font-size: 12.5px; color: var(--muted); }
.cp-region .cp-chip-arrow { grid-column: 2; grid-row: 1 / span 3; }

/* ---------- devices ---------- */
.cp-checker { display: grid; gap: 8px; max-width: 560px; margin-top: 22px; }
.cp-checker label { font-size: 13px; font-weight: 600; }
.cp-brand { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.cp-brand h3 { display: flex; align-items: center; justify-content: space-between; font-size: 17px; font-weight: 700; }
.cp-brand ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cp-brand li { padding: 6px 12px; border-radius: 999px; background: var(--panel-2); font-size: 13px; font-weight: 500; }

/* ---------- 404 ---------- */
.cp-404 { display: grid; justify-items: start; gap: 16px; padding-block: clamp(40px, 8vw, 96px); }
.cp-404 b { font-size: clamp(80px, 12vw, 140px); font-weight: 800; line-height: .9; letter-spacing: -.06em; color: var(--tint-2); -webkit-text-stroke: 2px var(--accent-fill); }
.cp-404 h1 { font-size: clamp(28px, 3vw + 8px, 42px); letter-spacing: -.03em; color: var(--primary); }
.cp-404 p { max-width: 540px; color: var(--muted); }
.cp-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- utilities and inner-page blocks ---------- */
.cp-gap { margin-top: 28px; }
.cp-gap-sm { margin-top: 12px; }
.cp-link--back .ic { transform: scaleX(-1); }
.cp-link--back:hover .ic { transform: scaleX(-1) translateX(3px); }
.cp-guide--two { margin-top: 0; }
@media (min-width: 960px) { .cp-guide--two { grid-template-columns: 1fr 1fr; } .cp-guide--two .cp-guide__compat { min-height: 76px; } }

.cp-banner { display: grid; gap: 18px; align-items: center; padding: 26px 22px; border-radius: var(--r-xl); background: linear-gradient(120deg, var(--tint-2), var(--panel) 60%); }
.cp-banner p { margin-top: 6px; color: var(--muted); font-size: 14.5px; max-width: 620px; }
.cp-banner--plain { background: var(--panel); }
.cp-banner .cp-ticks { margin: 12px 0 0; }
@media (min-width: 960px) { .cp-banner { grid-template-columns: auto 1fr auto; padding: 30px 34px; gap: 24px; } .cp-banner > div:first-child:not(.cp-actions) { grid-column: 1 / 3; } .cp-banner > .cp-info__icon + div { grid-column: 2; } .cp-banner--plain { grid-template-columns: auto 1fr; } }

.cp-tiercard { position: relative; gap: 12px; padding: 26px 22px 22px; }
.cp-tiercard .cp-pill { position: absolute; top: -11px; left: 20px; }
.cp-tiercard p b { color: var(--ink); font-size: 16px; }
.cp-tiercard .cp-ticks { margin: 4px 0 6px; }
.cp-tiercard--best { border: 2px solid var(--accent-fill); background: var(--tint); }
.cp-typecard .cp-type__icon { width: 44px; height: 44px; }
.cp-typecard .cp-type__icon .ic { width: 20px; height: 20px; }
.cp-type--3 .cp-type__icon { background: var(--good-bg); color: var(--good); }
.cp-typecard__data { color: var(--accent-ink); font-size: 15px; }

.cp-steps--cards { margin: 0; }
.cp-steps--cards h2 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.cp-steps--cards p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.cp-how__art--three img { width: 34%; }
.cp-how__art--three img + img { margin-left: -4%; margin-top: 30px; }
.cp-how__art--three img + img + img { margin-top: 60px; }
.cp-guidecard { display: grid; gap: 14px; align-content: start; }
.cp-numlist { counter-reset: n; display: grid; gap: 12px; }
.cp-numlist li { position: relative; padding-left: 38px; font-size: 14.5px; }
.cp-numlist li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--tint-2); color: var(--accent-ink); font-size: 12px; font-weight: 700; }
.cp-faqwrap__cta { margin-top: 20px; }

.cp-checker .cp-search { margin-top: 0; }
.cp-brand h3 .cp-pill { font-size: 10.5px; height: 20px; }

.cp-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.cp-stats > div { padding: 18px 16px; border-radius: var(--r-lg); background: var(--panel); }
@media (min-width: 420px) { .cp-stats > div { padding: 22px 20px; } }
.cp-stats dt { font-size: 13px; color: var(--muted); }
.cp-stats dd { margin: 4px 0 0; font-size: clamp(20px, 2.4vw + 10px, 32px); overflow-wrap: anywhere; font-weight: 800; letter-spacing: -.03em; color: var(--primary); }
@media (min-width: 960px) { .cp-stats { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.cp-story { display: grid; gap: 28px; align-items: center; }
.cp-story__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.cp-story .cp-h2 { margin-top: 10px; }
.cp-values { display: grid; gap: 18px; margin-top: 24px; }
.cp-values li { display: flex; gap: 16px; }
.cp-values .cp-info__icon { flex: none; }
.cp-values h3 { font-size: 16px; font-weight: 700; }
.cp-values p { margin-top: 3px; font-size: 14px; color: var(--muted); }
@media (min-width: 960px) { .cp-story { grid-template-columns: 1fr 1fr; gap: 64px; } }

.cp-legal { display: grid; gap: 28px; }
.cp-legal__ask { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.cp-legal__side { order: -1; }
.cp-legal__nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; }
.cp-legal__nav a { padding: 10px 12px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; color: var(--muted); }
.cp-legal__nav a:hover { background: var(--panel); color: var(--ink); }
.cp-legal__nav a[aria-current] { background: var(--tint); color: var(--accent-ink); }
@media (min-width: 960px) { .cp-legal { grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; } .cp-legal__nav { display: grid; gap: 2px; padding: 10px; } .cp-legal__side { order: 0; position: sticky; top: 84px; align-self: start; } }

.cp-contactside { display: grid; gap: 14px; align-content: start; }
.cp-codeinput { letter-spacing: .4em; font-size: 20px !important; font-weight: 700; text-align: center; }
.cp-account { margin-top: 20px; box-shadow: none; border-radius: var(--r-lg); }
.cp-account > div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; font-size: 14px; }
.cp-account > div + div { border-top: 1px solid var(--line); }
.cp-account dt { color: var(--muted); }
.cp-account dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.cp-account::before { display: none; }

.cp-orderhead { display: grid; gap: 10px; justify-items: start; }
.cp-orderhead h1 { font-size: clamp(28px, 3vw + 6px, 42px); letter-spacing: -.03em; color: var(--primary); }
.cp-orderhead > p { max-width: 640px; color: var(--muted); }
.cp-orderhead__meta { font-weight: 600; color: var(--ink) !important; }
.cp-orderhead__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: var(--good-bg); color: var(--good); font-size: 24px; font-weight: 800; }
.cp-orderhead__icon .ic { width: 24px; height: 24px; }
.cp-orderhead__icon--bad { background: color-mix(in srgb, var(--bad) 12%, var(--surface)); color: var(--bad); }
.cp-esim__name { grid-column: 1 / -1; }
.cp-esim__info { display: grid; gap: 12px; justify-items: start; min-width: 0; }
.cp-esim__info .cp-code { justify-self: stretch; }
.cp-esim__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; font-size: 13px; }
.cp-esim__facts dt { color: var(--muted); }
.cp-esim__facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.cp-status--ok { color: var(--good); }

/* purchase page head band */
.cp-buyband { position: relative; height: 0; }
.cp-buyband__img { position: absolute; top: 0; left: 0; right: 0; height: 330px; z-index: -1; overflow: hidden; background: linear-gradient(180deg, var(--tint), var(--surface)); }
.cp-buyband__img > img, .cp-buyband__img .cp-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent); }
.cp-buyband__img .cp-photo--flag { display: none; }
.cp-buy { padding-top: 22px; }
.cp-buy__main { display: grid; gap: 22px; min-width: 0; }
.cp-buy__head > nav { margin-bottom: 4px; }
.cp-buy__rating { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.cp-legend { margin-bottom: 12px; font-size: 13px; font-weight: 700; }
.cp-unl { padding: 22px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); display: grid; gap: 8px; justify-items: start; }
.cp-unl p { color: var(--muted); font-size: 14px; }
.cp-plans--single { grid-template-columns: minmax(0, 320px); }
.cp-plans--single .cp-plancard__badge { display: inline-flex; }
.cp-summary__name { margin: 0 22px; font-weight: 700; }
.cp-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .2s, background-color .2s; }
.cp-chip input { position: absolute; opacity: 0; pointer-events: none; }
.cp-chip small { font-weight: 500; color: var(--muted); }
.cp-chip:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--surface)); }
.cp-chip:has(input:checked) { border-color: var(--accent-fill); background: var(--tint); color: var(--accent-ink); }
.cp-chip:has(input:focus-visible) { outline: 2px solid var(--accent-fill); outline-offset: 2px; }
.cp-about-dest { display: grid; gap: 28px; align-items: start; }
.cp-about-dest__body { margin-bottom: 28px; }
.cp-about-dest .cp-ticks { margin-top: 18px; }
.cp-about-dest .cp-checkcard { margin-top: 0; }
/* page sections (sections/*.html): Travelling further's two links; a
   column section the shop placed after a full-width one, held to the page's
   width and rhythm there. */
.cp-sechead__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.cp-flow-wide > :not(.cp-wrap) { width: min(100% - 2 * var(--gutter), var(--wrap)); margin: clamp(56px, 7vw, 96px) auto 0; }
@media (min-width: 960px) { .cp-about-dest { grid-template-columns: 1fr 400px; gap: 56px; } .cp-plans { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.cp-rail__track--regions > li { flex-basis: 220px; }
@media (min-width: 960px) { .cp-rail__track--regions > li { flex-basis: calc((100% - 5 * 17px) / 6); } }

/* ---------- small-screen polish ---------- */
@media (max-width: 959.98px) {
  .cp-hero__copy { padding-top: 28px; }
  .cp-recpanel__alt { min-width: 0; }
}
@media (max-width: 639.98px) {
  .cp-planner { border-radius: 18px; }
  .cp-tier { padding-inline: 4px; }
  .cp-tier strong { font-size: 13px; }
  .cp-tier small { font-size: 9px; }
  .cp-recpanel { border-radius: 16px; }
  .cp-rail__track > li { flex-basis: 46%; }
}

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

/* custom page (/pages/:slug): one centred column, merchant HTML */
.cp-custompage .cp-article { margin-inline: auto; }
.cp-custompage pre { overflow-x: auto; }

/* Right to left: the hero photo is mirrored, so the traveller in it stands
   clear of the words on the other side (scripts/gen_rtl.py keeps
   [dir="rtl"] rules as they are written). Mirrored, the fade still has to
   fall on the image's edge nearest the words: the photo's own left. */
@media (min-width: 960px) {
  [dir="rtl"] .cp-hero__img { scale: -1 1; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%); mask-image: linear-gradient(90deg, transparent 0%, #000 26%); }
}
/* Arabic in the handwritten note: the script fallback is taller than the
   hand font, so the lines get room and the note a wider measure. */
[dir="rtl"] .cp-note { line-height: 1.45; }
[dir="rtl"] .cp-note span { max-width: 150px; }
