:root {
  color-scheme: light;
  --ink: #11241c;
  --muted: #4d6258;
  --accent: #0c7040;
  --accent-dark: #075431;
  --tint: #e7f8eb;
  --line: #dce8df;
  --surface: #fff;
  --radius: 18px;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--surface);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button, input, select { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
p { line-height: 1.65; }
.wrap { width: min(100% - 3.5rem, 75rem); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 10; top: .5rem; left: .5rem; padding: .7rem 1rem; background: white; color: var(--accent); border-radius: .5rem; }

.header { border-bottom: 1px solid #e7f0e9; background: white; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 4.75rem; }
.header nav, .footer nav { display: flex; flex-wrap: wrap; align-items: center; column-gap: 2rem; row-gap: .5rem; font-size: .94rem; font-weight: 650; color: var(--muted); }
.header nav a:hover, .footer nav a:hover { color: var(--accent); }
.brand { display: inline-flex; align-items: center; white-space: nowrap; font-size: 1.55rem; font-weight: 800; letter-spacing: -.065em; }
.brand > span:last-child { color: var(--accent); }
.brand-icon { display: inline-flex; align-items: flex-end; justify-content: center; gap: 3px; margin-right: .55rem; width: 2rem; height: 2rem; padding-bottom: .5rem; background: #b8f1ce; border-radius: .55rem; }
.brand-icon i { width: 3px; height: 7px; background: #103e26; border-radius: 2rem; }
.brand-icon i:nth-child(2) { height: 11px; }
.brand-icon i:nth-child(3) { height: 15px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .68rem 1.1rem; border: 1px solid transparent; border-radius: .7rem; font-weight: 700; line-height: 1.2; }
.button-primary { background: #a9f0bf; color: #102b1b; border-radius: 99rem; }
.button-primary:hover { background: #8de8aa; }
.button-dark { background: #172c23; color: #fff; }
.button-dark:hover { background: #27503a; }
.button-outline { color: var(--accent-dark); border-color: #cbded1; background: white; }
.button-outline:hover { background: var(--tint); border-color: #93c6a5; }

.hero { width: min(calc(100% - 2rem), 94rem); margin: 1rem auto 0; overflow: hidden; border: 1px solid #e1eee5; border-radius: 1.75rem; background: #f4faf5; }
.hero-grid { position: relative; isolation: isolate; display: flex; align-items: center; width: 100%; min-height: clamp(31rem, 45vw, 41rem); margin: 0; padding: clamp(2.2rem, 5vw, 5.2rem); }
.hero-grid::after { position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, #f4faf5 0%, #f4faf5 24%, #f4faf5f0 34%, #f4faf5a8 46%, #f4faf524 60%, transparent 72%); content: ""; }
.hero-copy { position: relative; z-index: 2; width: min(100%, 35rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .43rem .75rem; border: 1px solid #bdddca; border-radius: 99rem; background: #f9fffa; color: #24533b; font-size: .875rem; letter-spacing: .02em; font-weight: 750; }
.eyebrow span { width: .45rem; height: .45rem; border-radius: 50%; background: #24a864; }
h1 { margin-block: 1.05rem 1.15rem; font-size: clamp(3.25rem, 5.55vw, 5.25rem); font-weight: 750; line-height: 1; letter-spacing: -.072em; }
h1 em { color: var(--accent-dark); font-style: normal; }
.hero-description { max-width: 26rem; color: #3c5448; font-size: clamp(1.04rem, 1.35vw, 1.18rem); }
.search-label { display: block; margin-top: 1.65rem; color: #19392a; font-size: .92rem; font-weight: 750; }
.destination-search { display: flex; align-items: center; gap: .7rem; max-width: 29rem; margin-block: .48rem .85rem; padding: .42rem; border: 1px solid #cddfd2; border-radius: .9rem; background: white; box-shadow: 0 8px 25px #103f2712; }
.destination-search:focus-within { border-color: #559770; }
.destination-search input { width: 100%; min-width: 0; min-height: 2.75rem; padding: .3rem .15rem; border: 0; background: transparent; }
.destination-search input::placeholder { color: #576c60; }
.destination-search .button { flex: 0 0 auto; }
.search-icon { position: relative; flex: 0 0 .88rem; width: .88rem; height: .88rem; margin-inline: .48rem .18rem; border: 2px solid #4b6a59; border-radius: 50%; }
.search-icon::after { position: absolute; right: -.33rem; bottom: -.2rem; width: .42rem; height: 2px; transform: rotate(47deg); border-radius: 2px; background: #4b6a59; content: ""; }
.quick-links { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; color: #3c5448; font-size: .875rem; }
.quick-links span { margin-right: .28rem; }
.quick-links button { min-height: 2rem; padding: .25rem .65rem; border: 1px solid #c6dfcd; border-radius: 99rem; background: #f1fcf4; color: #1d5539; font-size: inherit; font-weight: 650; }
.quick-links button:hover { border-color: #5cac7b; background: #def7e5; }
.hero-photo { position: absolute; z-index: 0; inset: 0 0 0 14%; overflow: hidden; background: #aee0df; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 53%; }

.feature-strip { border-bottom: 1px solid #e6efe7; background: #fff; }
.features { min-height: 4.85rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem 1rem; align-items: center; padding-block: .75rem; }
.features > div { display: flex; align-items: center; justify-content: center; gap: .65rem; color: #264435; font-size: .94rem; font-weight: 700; }
.feature-icon { position: relative; display: inline-block; flex: 0 0 auto; width: 1rem; height: 1rem; border: 1.7px solid var(--accent); border-radius: 3px; color: var(--accent); }
.icon-chip::after { position: absolute; inset: .22rem; border: 1.4px solid currentColor; border-radius: 1px; content: ""; }
.icon-globe { border-radius: 50%; }
.icon-globe::before { position: absolute; inset: -1.5px 3px; border: 1.4px solid currentColor; border-radius: 50%; content: ""; }
.icon-globe::after { position: absolute; top: 44%; width: 100%; border-top: 1.4px solid currentColor; content: ""; }
.icon-phone { width: .7rem; height: 1.06rem; }
.icon-phone::after { position: absolute; bottom: 2px; left: 25%; width: 50%; height: 1.5px; background: currentColor; content: ""; }

.section { padding-block: clamp(3.3rem, 6vw, 5.6rem); }
.section h2, dialog h2 { font-size: clamp(2rem, 3.5vw, 3.15rem); line-height: 1.06; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.1rem; margin-bottom: 1.6rem; }
.section-heading p, .faq p { margin-top: .52rem; color: var(--muted); }
.filters { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .2rem; padding: .26rem; border: 1px solid var(--line); border-radius: .75rem; background: #f4f8f4; }
.filters button { min-height: 2.45rem; padding: .48rem .86rem; border: 1px solid transparent; border-radius: .55rem; background: transparent; color: var(--muted); font-size: .9rem; font-weight: 700; }
.filters button[aria-pressed=true] { border-color: #dce9df; background: white; color: var(--accent-dark); box-shadow: 0 1px 3px #173e2513; }
.filters button:hover { color: var(--accent-dark); }
.result-status { margin-bottom: .85rem; color: var(--muted); }
.destination-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.destination-card { position: relative; display: grid; justify-items: start; gap: .3rem; width: 100%; min-height: 7.8rem; padding: 1rem 2.2rem 1rem 1rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; text-align: left; transition: background .18s ease, border-color .18s ease; }
.destination-card:hover { border-color: #9bccad; background: #f3fbf5; }
.card-flag { display: grid; place-items: center; min-width: 2.2rem; min-height: 1.65rem; padding: .15rem .35rem; border: 1px solid #0001; border-radius: .38rem; background: var(--card-tint, #e9f5ed); color: var(--card-ink, #275840); font-size: .79rem; font-weight: 800; letter-spacing: .04em; }
.card-name { margin-top: .22rem; font-size: 1.1rem; font-weight: 750; line-height: 1.18; overflow-wrap: anywhere; }
.card-subtitle { color: var(--muted); font-size: .88rem; }
.card-chevron { position: absolute; top: 50%; right: 1rem; width: .5rem; height: .5rem; border: solid #488562; border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg); }
.more { display: flex; width: fit-content; margin: 1.4rem auto 0; }
.empty-state { padding: 2rem; border: 1px dashed #adcdb8; border-radius: var(--radius); background: #f3fbf5; text-align: center; }
.empty-state p { margin-block: .35rem .9rem; color: var(--muted); }

.esim-intro { padding-bottom: clamp(3.5rem, 6vw, 5rem); }
.esim-panel { display: grid; grid-template-columns: minmax(12rem, .7fr) 1.3fr; align-items: stretch; border: 1px solid #dceadf; border-radius: 1.45rem; background: #f5faf6; overflow: hidden; }
.esim-visual { display: grid; place-items: center; min-height: 15rem; background: repeating-radial-gradient(ellipse at 50% 50%, transparent 0 22px, #1c774d14 23px 24px, transparent 25px 40px), linear-gradient(145deg, #e7f8ee, #c7eed8); }
.esim-tile { display: grid; place-items: center; gap: .48rem; width: 7.4rem; min-height: 7.55rem; padding: 1.15rem; border: 1px solid #f9fffb; border-radius: 1.55rem; transform: rotate(-9deg); background: #f9fffb; color: #205239; box-shadow: 0 16px 35px #17553925; font-size: .9rem; font-weight: 800; }
.esim-chip { position: relative; display: block; width: 2rem; height: 2rem; border: 2px solid #359269; border-radius: .5rem; background: #dcf4e6; }
.esim-chip::before { position: absolute; inset: .37rem; border: 1.5px solid #359269; border-radius: .2rem; content: ""; }
.esim-copy { padding: clamp(1.5rem, 4vw, 3.5rem); }
.esim-copy h2 { font-size: clamp(1.9rem, 3.5vw, 3.1rem); font-weight: 750; line-height: 1.04; }
.esim-copy p { margin-block: .65rem 1.15rem; max-width: 32rem; color: var(--muted); }

.how-section { border-block: 1px solid var(--line); background: #f5f9f5; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; margin-block: 1.65rem 1.4rem; }
.steps article { padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.step-number { display: grid; place-items: center; width: 2.12rem; height: 2.12rem; margin-bottom: .7rem; border-radius: .65rem; background: var(--tint); color: var(--accent-dark); font-weight: 800; }
.steps h3 { margin-bottom: .35rem; font-size: 1.27rem; }
.steps p { color: var(--muted); }
.faq { display: grid; grid-template-columns: 1fr 1.42fr; gap: 2.2rem; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-block: 1rem; list-style: none; cursor: pointer; font-weight: 700; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { color: var(--accent); font-size: 1.3rem; line-height: 1; content: "+"; }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { margin: 0 1.5rem 1rem 0; }
.footer { padding-block: 1.6rem; border-top: 1px solid var(--line); background: #f5f9f5; }
.footer p { color: var(--muted); font-size: .88rem; }

dialog { width: min(calc(100% - 2rem), 35rem); max-height: calc(100dvh - 2rem); padding: 1.75rem; border: 1px solid var(--line); border-radius: 1.25rem; color: var(--ink); box-shadow: 0 20px 60px #122c2238; }
dialog::backdrop { background: #142a2099; }
dialog h2 { padding-right: 2rem; font-size: clamp(1.75rem, 5vw, 2.6rem); }
dialog p { margin-top: .75rem; color: var(--muted); }
.dialog-close { position: absolute; top: .8rem; right: .8rem; }
.dialog-close button { display: grid; width: 2.4rem; height: 2.4rem; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--tint); color: var(--accent-dark); font-size: 1.65rem; line-height: 1; }
.dialog-kicker { margin-top: 0; margin-bottom: .45rem; color: var(--accent-dark); font-size: .79rem; font-weight: 800; letter-spacing: .08em; }
.plan-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; margin: 1.1rem 0 0; padding: 0; border: 0; }
.plan-options legend { margin-bottom: .55rem; padding: 0; font-weight: 750; }
.plan-options label { position: relative; cursor: pointer; }
.plan-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.plan-options label span { display: grid; justify-items: center; gap: .15rem; padding: .68rem .3rem; border: 1px solid var(--line); border-radius: .72rem; }
.plan-options label small { font-size: .84rem; }
.plan-options input:checked + span { border-color: var(--accent); background: var(--tint); color: var(--accent-dark); }
.plan-options input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.catalog-note { padding: .65rem .8rem; border-radius: .62rem; background: #eef8ef; color: #284936; font-size: .89rem; }
.dialog-action { margin-top: .8rem; }
.device-label { display: block; margin-block: 1rem .35rem; font-weight: 750; }
#device-family { width: 100%; min-height: 2.75rem; padding: .55rem .7rem; border: 1px solid #abccb6; border-radius: .6rem; background: white; }
.device-instructions a { display: inline-block; margin-top: .55rem; color: var(--accent-dark); text-decoration: underline; text-underline-offset: .16em; }

@media (max-width: 62rem) {
  .hero-grid::after { background: linear-gradient(90deg, #f4faf5 0%, #f4faf5f8 25%, #f4faf5da 40%, #f4faf545 58%, transparent 74%); }
  .destination-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  .wrap { width: min(100% - 2rem, 75rem); }
  .header-inner { flex-wrap: wrap; gap: .55rem 1rem; padding-block: .7rem; }
  .header nav { order: 3; width: 100%; justify-content: space-between; gap: .65rem; }
  .header nav a { padding-block: .35rem; }
  .hero { width: calc(100% - 1.2rem); margin-top: .65rem; border-radius: 1.25rem; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; min-height: 0; width: 100%; padding: 0; }
  .hero-grid::after { display: none; }
  .hero-copy { width: 100%; padding: 1.55rem clamp(1rem, 4.8vw, 2rem) 1.3rem; }
  h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
  .hero-photo { position: relative; inset: auto; width: 100%; height: clamp(13rem, 53vw, 20rem); }
  .hero-photo img { object-position: 70% 56%; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .features > div { justify-content: flex-start; }
  .features > div:last-child { grid-column: 1 / -1; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .destination-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .faq, .esim-panel { grid-template-columns: 1fr; gap: .75rem; }
  .esim-panel { gap: 0; }
  .esim-visual { min-height: 9.5rem; }
  .esim-tile { min-height: 5.4rem; width: 5.3rem; padding: .65rem; border-radius: 1rem; }
  .faq { gap: 1.2rem; }
  .footer-inner { flex-wrap: wrap; gap: .75rem 1.3rem; }
}
@media (max-width: 24rem) {
  .header-check { padding-inline: .65rem; font-size: .88rem; }
  .destination-search { gap: .38rem; }
  .destination-search .button { padding-inline: .62rem; font-size: .9rem; }
  .search-icon { margin-left: .25rem; }
  .destination-card { padding-inline: .7rem 1.55rem; }
  .card-chevron { right: .7rem; }
  .card-name { font-size: 1rem; }
  .card-subtitle { font-size: .81rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
