/* RoamZivo site additions on top of roamzivo.css: behaviour states the static handover left to the build. */
.site-header { position: relative; z-index: 20; }
.site-nav.is-open { display: flex; flex-direction: column; gap: 4px; position: absolute; top: 100%; left: 0; right: 0; background: var(--rz-white); padding: 12px 12px 20px; box-shadow: var(--rz-shadow-pop); border-radius: 0 0 var(--rz-r-card) var(--rz-r-card); }
.site-nav.is-open a { color: var(--rz-ink); text-decoration: none; padding: 14px 16px; border-radius: var(--rz-r-pill); font: 500 16px var(--rz-font-body); }
.site-nav.is-open a[aria-current="page"] { background: var(--rz-cloud); }
.icon-btn { position: relative; text-decoration: none; }
.icon-btn--me, .site-header--white .icon-btn--me { background: var(--rz-ink); color: #fff; font: 600 15px var(--rz-font-display); }
.icon-btn__count { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--rz-blue); color: #fff; font: 600 12px/20px var(--rz-font-body); text-align: center; }
.site-header .logo img { height: 38px; }
@media (min-width: 1024px) { .site-header .logo img { height: 52px; } }
.promo-bar { background: var(--rz-ink); color: #fff; border-bottom: 0; }
.promo-bar .coupon { cursor: pointer; color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }
/* desktop-only uses display:revert, which turns a button back into an inline anchor; restore the layouts that need flex or grid */
@media (min-width: 1024px) {
  .btn.desktop-only { display: inline-flex !important; }
  .stack.desktop-only, .tip.desktop-only, .summary.desktop-only { display: flex !important; }
  .grid.desktop-only { display: grid !important; }
}
.promo-bar .coupon.is-copied { border-style: solid; border-color: var(--rz-ok); color: var(--rz-ok-text); }
.footer-legal { grid-column: 1 / -1; font-size: 13px; color: #9AA2B2; }
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; background: var(--rz-white); border-radius: var(--rz-r-card); padding: 18px 20px; box-shadow: var(--rz-shadow-pop); display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.consent[hidden] { display: none; }
@media (min-width: 1024px) { .consent { left: auto; max-width: 560px; flex-direction: row; align-items: center; } }
.toasts { position: fixed; left: 12px; right: 12px; bottom: 16px; z-index: 40; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { align-self: center; background: var(--rz-ink); color: #fff; border-radius: var(--rz-r-pill); padding: 12px 20px; font: 500 14px var(--rz-font-body); box-shadow: var(--rz-shadow-pop); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 22px; font: 500 var(--rz-fs-small)/1.5 var(--rz-font-body); }
.notice--ok { background: var(--rz-ok-bg); color: var(--rz-ok-text); }
.notice--bad { background: #FBE9EB; color: var(--rz-error-text); }
.notice--info { background: var(--rz-info-bg); color: var(--rz-info-text); }
.page-head { padding: 32px 0 8px; display: flex; flex-direction: column; gap: 8px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; padding: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plan-row[hidden], .plan-group[hidden] { display: none; }
.grid--2.grid--esims > .esim-card { min-width: 0; }
.prose { display: flex; flex-direction: column; gap: 14px; color: var(--rz-n-700); }
.prose h2 { font: 600 22px/1.25 var(--rz-font-display); color: var(--rz-ink); margin-top: 12px; }
.prose h3 { font: 600 18px/1.3 var(--rz-font-display); color: var(--rz-ink); }
.prose ul, .prose ol { margin: 0; padding-left: 22px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rz-n-100); vertical-align: top; }
.prose th { color: var(--rz-ink); }
.prose blockquote { margin: 0; padding: 12px 20px; border-left: 3px solid var(--rz-blue); }
.toc { background: var(--rz-white); border-radius: var(--rz-r-card); padding: 20px 22px; font-size: 14px; }
.toc ol { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.toc ol ol { margin-top: 6px; }
.article-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (max-width: 640px) { .tip { flex-wrap: wrap; } }
@media (min-width: 1024px) { .article-grid { grid-template-columns: 260px minmax(0, 1fr); align-items: start; } .article-grid .toc { position: sticky; top: 24px; } }
.network-list { display: flex; flex-wrap: wrap; gap: 8px; }
.network-list span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 8px; border-radius: var(--rz-r-pill); background: var(--rz-white); font: 500 14px var(--rz-font-body); }
.network-list i { width: 26px; height: 26px; border-radius: 50%; background: var(--rz-mat); display: inline-flex; align-items: center; justify-content: center; font: 600 12px var(--rz-font-display); font-style: normal; color: var(--rz-link); }
.network-list small { color: var(--rz-n-600); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--rz-white); border-radius: var(--rz-r-card); overflow: hidden; font-size: 14px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--rz-n-100); text-align: left; vertical-align: top; }
.compare thead th { font: 600 14px var(--rz-font-display); }
.compare .us { background: var(--rz-mat); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
@media (max-width: 640px) { .compare { min-width: 560px; } .compare th, .compare td { padding: 12px 12px; } }
.day-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.plan-type-note { font-size: 14px; color: var(--rz-n-600); padding: 4px 14px 10px; }
.btn[hidden] { display: none; }
.cart-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.cart-line form { display: contents; }
.btn--ghost { height: var(--rz-tap); padding: 0 14px; background: none; color: var(--rz-n-600); font: 500 14px var(--rz-font-body); }
.btn--ghost:hover { color: var(--rz-error-text); }
@media (max-width: 1023px) { .summary { position: static; box-shadow: none; } }
.pay-el { min-height: 120px; }
.otp { letter-spacing: .35em; text-align: center; font: 600 24px var(--rz-font-mono); }
.hero__photo { background: #10263d url(/assets/hero-plane.webp) center 45% / cover no-repeat; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14,35,56,.94) 0%, rgba(16,38,61,.8) 50%, rgba(16,38,61,.5) 100%); pointer-events: none; }
.hero__photo img { display: none; }
@media (min-width: 1024px) { .hero__card { top: 50%; bottom: auto; transform: translateY(-50%); } .hero__apps { top: 50%; bottom: auto; transform: translateY(-50%); } }
.hero--short .hero__photo { height: 220px; }
@media (min-width: 1024px) { .hero--short .hero__photo { height: 440px; } }
.hero__apps[hidden] { display: none; }
.dest-row .flag--lg { width: 40px; height: 40px; }
.all-countries { columns: 1; }
@media (min-width: 768px) { .all-countries { columns: 2; column-gap: 12px; } }
@media (min-width: 1024px) { .all-countries { columns: 3; } }
.all-countries .dest-row { break-inside: avoid; margin-bottom: 8px; }
.dest-row .from, .dest-card .from { white-space: nowrap; font-size: 14px; color: var(--rz-n-700); }
/* Destination hero: the white card fills the panel with an even margin of background around it */
@media (min-width: 1024px) {
  .dest-hero .hero__photo, .hero--short .hero__photo { height: 260px; }
  .dest-hero__card { left: 56px; right: 56px; top: 56px; bottom: 24px; width: auto; max-width: none; margin: 0; justify-content: center; align-items: center; text-align: center; padding: 24px 48px; gap: 10px; }
  .dest-hero__card .row { justify-content: center; }
  .dest-hero__card .tag { font-weight: 600; }
  .dest-hero__card .h1 { font-size: 44px; }
  .dest-card .name { font-size: 15px; }
  .dest-card .icon { display: none; }
  .dest-card--photo .icon { display: inline-flex; color: var(--rz-ink); }
}
.more-wrap { text-align: center; padding-top: 16px; }
.region-flags { display: flex; }
.region-flags .flag { width: 28px; height: 28px; margin-left: -8px; }
.region-flags .flag:first-child { margin-left: 0; }
.empty { text-align: center; padding: 48px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty .icon { font-size: 48px; color: var(--rz-n-400); }
.steps-inline { display: grid; gap: 10px; }

/* Live destination autocomplete (assets/search.js) */
.pg-ac { position: absolute; z-index: 30; background: var(--rz-white); border-radius: var(--rz-r-tile); box-shadow: var(--rz-shadow-pop); padding: 8px; max-height: 360px; overflow: auto; }
.pg-ac[hidden] { display: none; }
.pg-ac-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--rz-r-pill); color: var(--rz-ink); text-decoration: none; font: 500 15px var(--rz-font-body); }
.pg-ac-item.is-active, .pg-ac-item:hover { background: var(--rz-cloud); }
.pg-ac-globe .icon { font-size: 18px; color: var(--rz-blue); }
.pg-ac-item img, .pg-ac-globe { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--rz-mat); }
.pg-ac-name { flex: 1; min-width: 0; }
.pg-ac-name b { font-weight: 600; }
.pg-ac-note { display: block; font-size: 12px; color: var(--rz-n-600); font-weight: 400; }
.pg-ac-price { font-size: 13px; color: var(--rz-n-600); white-space: nowrap; }
.pg-ac-empty { padding: 12px 16px; margin: 0; color: var(--rz-n-600); font-size: 14px; }
/* Dark call to action panel */
.cta-dark { background: var(--rz-ink); color: #fff; border-radius: var(--rz-r-hero); padding: 32px 24px; display: grid; gap: 24px; }
.cta-dark p { color: #C6CCD8; }
.cta-dark .btn--secondary:hover { background: #fff; color: var(--rz-ink); }
@media (min-width: 1024px) { .cta-dark { grid-template-columns: 1fr auto; align-items: center; padding: 56px 64px; gap: 40px; } }
.chip.is-active { background: var(--rz-ink); color: #fff; }
.step .num-circle { flex: none; }

[hidden] { display: none !important; }

@media (max-width: 640px) { .code-row .mono, .idcard .mono { font-size: 12px; } }

/* How-it-works phone mockups: a 9:19.5 frame with a dynamic island and status bar */
.phone-mock { padding: 28px 20px; }
.pm { position: relative; width: 236px; aspect-ratio: 9 / 19.5; border-radius: 40px; background: #080D1A; padding: 7px; box-shadow: 0 18px 40px rgba(8,13,26,.18); display: flex; flex-direction: column; overflow: hidden; }
.pm__island { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 70px; height: 20px; border-radius: 12px; background: #080D1A; z-index: 2; }
.pm__inner { flex: 1; display: flex; flex-direction: column; border-radius: 33px; overflow: hidden; background: #fff; }
.pm:has(.pm__screen--ios) .pm__inner { background: #F2F2F7; }
.pm__status { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 12px 20px 0; font: 600 11px var(--rz-font-body); color: #080D1A; }
.pm__status-r { display: inline-flex; gap: 4px; align-items: center; }
.pm__sig, .pm__wifi, .pm__bat { display: inline-block; background: #080D1A; }
.pm__sig { width: 12px; height: 9px; clip-path: polygon(0 100%, 0 60%, 25% 60%, 25% 100%, 37% 100%, 37% 40%, 62% 40%, 62% 100%, 75% 100%, 75% 10%, 100% 10%, 100% 100%); }
.pm__wifi { width: 11px; height: 9px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.pm__bat { width: 20px; height: 9px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px #080D1A, inset 0 0 0 3px #fff; }
.pm__screen { flex: 1; background: #fff; border-radius: 0; padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 7px; font: 400 11px/1.35 var(--rz-font-body); color: #080D1A; overflow: hidden; }
.pm__screen--ios { background: #F2F2F7; }
.pm__hdr { display: flex; align-items: center; gap: 8px; margin-top: 6px; font: 600 15px var(--rz-font-display); }
.pm__flag { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.pm__flag i { width: 11px; height: 11px; border-radius: 50%; }
.pm__chips { display: flex; gap: 6px; margin: 2px 0; }
.pm__chips span { padding: 5px 10px; border-radius: 999px; background: #F1F5FD; font: 600 10px var(--rz-font-display); }
.pm__chips .is-on { background: #080D1A; color: #fff; }
.pm__plan { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 12px; background: #F6F8FC; }
.pm__plan span { display: flex; flex-direction: column; line-height: 1.2; }
.pm__plan b { font: 600 13px var(--rz-font-display); }
.pm__plan small { font-size: 9px; color: #6B7487; }
.pm__plan em { font: 600 12px var(--rz-font-display); font-style: normal; margin-left: auto; }
.pm__plan.is-sel { background: #fff; box-shadow: inset 0 0 0 2px #0080E0; }
.pm__radio { width: 14px; height: 14px; border-radius: 50%; border: 4px solid #0080E0; background: #fff; flex: none; }
.pm__cta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; border-top: 1px solid #EEF1F6; }
.pm__cta > span:first-child { display: flex; flex-direction: column; font-size: 9px; color: #6B7487; }
.pm__cta b { font: 600 14px var(--rz-font-display); color: #080D1A; }
.pm__btn { height: 32px; padding: 0 14px; border-radius: 999px; background: #0080E0; color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 600 11px var(--rz-font-display); white-space: nowrap; }
.pm__btn--full { width: 100%; }
.pm__mailhdr { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.pm__mailhdr > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.pm__mailhdr small { font-size: 9px; color: #6B7487; }
.pm__avatar { width: 26px; height: 26px; border-radius: 50%; background: #0080E0; color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 600 12px var(--rz-font-display); flex: none; }
.pm__subject { font: 600 14px/1.25 var(--rz-font-display); }
.pm__p { margin: 0; font-size: 10px; color: #4A5468; }
.pm__p--muted { font-size: 9px; color: #6B7487; }
.pm__qr { align-self: center; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #E3E8F0; margin: 2px 0 4px; }
.pm__qr img { display: block; }
.pm__nav { font: 400 11px var(--rz-font-body); color: #0060B0; margin-top: 2px; }
.pm__title { font: 700 20px var(--rz-font-display); letter-spacing: -.01em; margin-bottom: 2px; }
.pm__group { background: #fff; border-radius: 10px; overflow: hidden; }
.pm__row { display: flex; align-items: center; justify-content: space-between; padding: 9px 10px; min-height: 34px; }
.pm__row + .pm__row { border-top: 1px solid #E5E5EA; }
.pm__row em { font-style: normal; color: #8E8E93; font-size: 10px; }
.pm__row em.is-blue { color: #0060B0; font-weight: 600; }
.pm__row.is-hl { box-shadow: inset 0 0 0 2px #0080E0; border-radius: 10px; }
.pm__sect { font-size: 9px; color: #6B7487; padding: 4px 10px 0; letter-spacing: .04em; }
.pm__toggle { position: relative; width: 34px; height: 20px; border-radius: 10px; background: #34C759; flex: none; }
.pm__toggle::after { content: ""; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); }

/* Why RoamZivo photo (Pexels 7682193) under the brand tint and the arcs */
.why-photo { position: relative; min-height: 520px; border-radius: var(--rz-r-panel); overflow: hidden; background: #DDE8F5 url(/assets/photos/why-support.jpg) center 62% / cover no-repeat; }
.why-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(221,232,245,.18) 0%, rgba(0,96,176,.28) 100%); }
.why-photo::after { content: ""; position: absolute; inset: 0; background: url(/assets/arc/arc-double.svg) center / cover no-repeat; opacity: .55; }

/* Plan picker: one white card, a segmented Fixed/Unlimited switch, grouped rows */
.plan-card { box-sizing: border-box; width: 100%; max-width: 100%; background: var(--rz-white); border-radius: 24px; padding: 20px; }
@media (max-width: 1023px) { .plan-card { padding: 16px; } .plan-card__rule { margin: 0 -16px; } .spec-grid { grid-template-columns: 1fr; } }
.plan-seg { display: flex; background: #EEF0F5; border-radius: 999px; padding: 4px; }
.plan-seg .pg-plantab { flex: 1; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--rz-n-700); font: 600 16px var(--rz-font-display); cursor: pointer; }
.plan-seg .pg-plantab[aria-selected="true"] { background: var(--rz-ink); color: #fff; }
.plan-card__rule { border: 0; border-top: 1px solid var(--rz-n-100); margin: 0 -20px; }
.plan-card .day-filter { display: none; }
.plan-list { padding: 0; background: transparent; border-radius: 0; }
.plan-group { padding: 10px 0 10px; font: 600 12.5px var(--rz-font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--rz-n-600); }
.plan-row, .plan-row.pg-plan { display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 64px; margin-bottom: 10px; border-radius: 14px; background: #F3F4F7; box-shadow: none; text-align: left; }
.plan-row__flag { width: 28px; height: 20px; border-radius: 4px; object-fit: cover; flex: none; }
.plan-row__flag--globe { width: 24px; height: 24px; border-radius: 50%; }
.plan-row__gb { flex: none; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid #E3E6EE; font: 600 14px var(--rz-font-display); color: var(--rz-ink); }
.plan-row__info { display: flex !important; flex-direction: column; align-items: flex-start; text-align: left; gap: 2px; flex: 1; min-width: 0; }
.plan-row__price { margin: 0; flex: none; display: block; }
.plan-row__price b { font: 600 16px/1.2 var(--rz-font-display); }
.plan-row__hint { font: 400 12.5px/1.3 var(--rz-font-body); color: var(--rz-n-600); }
.plan-row__badge { flex: none; padding: 5px 10px; border-radius: 999px; background: #E3F6EA; color: #1B7A3E; font: 600 11.5px var(--rz-font-display); white-space: nowrap; }
.plan-row .icon.plan-row__check { order: 9; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #D9DDE6; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: transparent; }
.plan-row:hover { background: #ECEEF4; }
.plan-row[aria-pressed="true"], .plan-row.is-selected { background: #fff; box-shadow: inset 0 0 0 1.5px var(--rz-blue); }
.plan-row[aria-pressed="true"] .plan-row__gb { background: var(--rz-blue); border-color: var(--rz-blue); color: #fff; }
.plan-row[aria-pressed="true"] .icon.plan-row__check { background: var(--rz-blue); border-color: var(--rz-blue); color: #fff; }
@media (min-width: 1024px) {
  .plan-row, .plan-row.pg-plan { display: flex; grid-template-columns: none; padding: 14px 18px; }
  .plan-row__price b { font-size: 17px; }
}

/* Plan details under the picker: its own block inside the card, tidy tiles */
.spec-head { margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--rz-n-100); display: flex; flex-direction: column; gap: 4px; }
.spec-head .h3 { font-size: 20px; }
.spec-head p { margin: 0; font-size: 14px; }
.spec-grid { gap: 10px; }
.spec { background: #F3F4F7; border-radius: 14px; padding: 14px 16px; display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; align-items: center; }
.spec .icon { grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: var(--rz-blue); }
.spec dt, .spec dd { display: block; margin: 0; }
.spec small { font: 500 12px/1.2 var(--rz-font-body); color: var(--rz-n-600); }
.spec dd span, .spec span:last-child { font: 600 14px/1.35 var(--rz-font-display); color: var(--rz-ink); }
@media (min-width: 1024px) {
  .spec-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .spec { border-radius: 16px; padding: 16px 18px; }
  .spec dd span, .spec span:last-child { font-size: 15px; }
}

/* Assurance strip under the plan picker: breathing room above and below */
.trust-strip { margin: 24px 0 8px; }
@media (min-width: 1024px) { .trust-strip { margin: 32px 0 8px; } }

/* Why RoamZivo for {place}: photo cards */
.why-card { background: var(--rz-white); border-radius: var(--rz-r-card); overflow: hidden; display: flex; flex-direction: column; }
.why-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.why-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.why-card__body h3 { font: 600 20px/1.25 var(--rz-font-display); margin: 0; }
.why-card__body p { margin: 0; color: var(--rz-n-700); font-size: 15px; line-height: 1.55; }
/* hero bullets: the card is white, so the tags need their own tint */
.dest-hero__card .tag { background: var(--rz-n-100); color: var(--rz-ink); }
/* popular destinations: photo cards (31 Oct 2026) */
.dest-card--photo .dest-card__photo { aspect-ratio: 3 / 2; background: var(--rz-n-100); }
.dest-card--photo .dest-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dest-card--photo .dest-card__body { padding: 18px 20px 20px; }
.dest-card--photo .name { font-size: 18px; line-height: 1.2; }
.dest-card--photo .from { color: var(--rz-n-600); }
.dest-card--photo:hover .icon { transform: translateX(3px); }
.dest-card--photo .icon { transition: transform .15s; }
