/* RoamV: navy and teal from the wordmark, the check's green for what is good news. */
:root {
	--navy: #0c2e37;
	--teal: #184c5c;
	--teal-soft: #e8f1f2;
	--green: #38c136;
	--green-ink: #17803a;
	--green-soft: #eaf8ea;
	--ink: #13303a;
	--muted: #51666e;
	--line: #d9e3e2;
	--bg: #f4f7f6;
	--surface: #ffffff;
	--radius: 14px;
	--radius-small: 8px;
	--shadow: 0 1px 2px rgba(12, 46, 55, 0.06), 0 6px 20px rgba(12, 46, 55, 0.06);
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple SD Gothic Neo", "Hiragino Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--ink);
	background: var(--surface);
	overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 0.15em; }
a:hover { color: var(--green-ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; color: var(--navy); }
h1 { font-size: clamp(1.85rem, 1.3rem + 2.4vw, 2.75rem); margin: 0.3em 0 0.4em; font-weight: 800; }
h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem); margin: 0 0 0.6em; font-weight: 750; }
h3 { font-size: 1.15rem; margin: 1.2em 0 0.4em; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 24px; } }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: var(--radius-small); z-index: 20; }
.skip-link:focus { top: 8px; }

/* ------------------------------------------------------------ masthead */
.masthead { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.masthead-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { display: block; }
.primary-nav { display: none; gap: 4px; margin-inline-start: auto; }
.primary-nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 0.96rem; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: var(--teal-soft); color: var(--navy); }
.masthead-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
@media (min-width: 900px) {
	.primary-nav { display: flex; }
	.masthead-actions { margin-inline-start: 8px; }
	.nav-menu { display: none; }
}
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 0.93rem; color: var(--ink); background: var(--surface); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 7px; height: 7px; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.menu[open] summary { border-color: var(--teal); }
.lang-code { font-size: 0.8rem; letter-spacing: 0.04em; background: var(--teal); color: #fff; border-radius: 6px; padding: 1px 6px; }
.menu-label { display: none; }
@media (min-width: 560px) { .menu-label { display: inline; } }
.menu-list { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; min-width: 200px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-small); box-shadow: var(--shadow); }
.menu-list a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.menu-list a:hover { background: var(--teal-soft); }
.menu-list a[aria-current="true"] { font-weight: 700; color: var(--teal); }

/* ------------------------------------------------------------ hero */
.hero { background: radial-gradient(120% 140% at 100% 0%, #1d5a6b 0%, var(--navy) 55%); color: #e9f3f4; padding: 20px 0 36px; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; color: #d4e6e8; max-width: 46rem; }
.hero a { color: #c9f1c8; }
.hero-page { padding-bottom: 28px; }
.hero-hub { padding: 40px 0 36px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-weight: 600; font-size: 0.92rem; color: #fff; }
.hero-flag { font-size: 1.2rem; line-height: 1; }
.hero-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; } }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.fact { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-small); padding: 10px 14px; }
.fact dt { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: #a9cbd0; }
.fact dd { margin: 2px 0 0; font-weight: 650; color: #fff; }
.fact-big { font-size: 1.5rem; font-weight: 800 !important; }
.jump-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.jump-list a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #fff; text-decoration: none; font-weight: 600; }
.jump-list a:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; font-size: 0.9rem; color: #a9cbd0; }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: 4px; color: #6f9aa2; }
.breadcrumbs a { color: #d4e6e8; }

/* ------------------------------------------------------------ sections */
.section { padding: 40px 0; border-bottom: 1px solid var(--line); }
.section:nth-of-type(even) { background: var(--bg); }
.section-lead { color: var(--muted); max-width: 48rem; }
.section-method { background: var(--teal-soft) !important; }

.btn { display: inline-block; padding: 11px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--green); color: var(--navy); }
.btn-primary:hover { background: #45d043; color: var(--navy); }
/* Buy opens the store's checkout in the same tab; the store sends the buyer back here. */
.btn-buy { background: var(--teal); color: #fff; }
.btn-buy:hover { background: var(--navy); color: #fff; }
.btn-small { padding: 6px 14px; font-size: 0.92rem; }
.btn-quiet { background: transparent; color: inherit; border-color: currentColor; }
.btn[hidden] { display: none; }
.arrow-link { font-weight: 650; }
.arrow-link::after { content: " \2192"; }
[dir="rtl"] .arrow-link::after { content: " \2190"; }

/* ------------------------------------------------------------ tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
caption { caption-side: top; text-align: start; font-weight: 700; color: var(--navy); padding: 12px 14px 4px; }
th, td { padding: 10px 14px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); background: #f7faf9; white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 650; }
.num { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prices tr.is-store > * { background: var(--green-soft); }
.chip { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; padding: 1px 8px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); vertical-align: 0.1em; white-space: nowrap; }
.chip-5g { background: var(--navy); color: #fff; }
.chip-store { background: var(--teal); color: #fff; }
.chip-low { background: var(--green); color: var(--navy); }
.table-link { font-weight: 650; white-space: nowrap; }
.price-grid { display: grid; gap: 20px; }
.price-grid > * { min-width: 0; }
@media (min-width: 900px) { .price-grid { grid-template-columns: 1fr 1fr; } }
.price-figure { margin: 0; }
.price-figure figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 8px; }
.needs td { min-width: 9rem; }
.need { display: block; font-weight: 750; font-size: 1.1rem; color: var(--navy); }
.need-plan { display: block; font-size: 0.9rem; color: var(--muted); }
.need-plan b { color: var(--ink); }
.profiles { display: grid; gap: 6px 18px; margin: 16px 0; font-size: 0.95rem; }
@media (min-width: 720px) { .profiles { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); } }
.profiles dt { font-weight: 700; }
.profiles dd { margin: 0; color: var(--muted); }
@media (min-width: 600px) { .options-table td, .options-table th { min-width: 10rem; } }

/* On a phone each row becomes a compact card, laid out for what its table says: the
   main fact and its number on one line, the details small beneath. A column name
   that is still needed sits small above its value, or before it on a detail line. */
@media (max-width: 599px) {
	table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	table.stack, table.stack tbody, table.stack tr { display: block; width: 100%; }
	table.stack caption { display: block; padding: 14px 14px 8px; font-size: 1.02rem; }
	table.stack tr { padding: 13px 14px; border-bottom: 1px solid var(--line); }
	table.stack tbody tr:last-child { border-bottom: 0; }
	table.stack tbody th, table.stack td { display: block; min-width: 0; border: 0; padding: 0; text-align: start; white-space: normal; }
	table.stack tbody th { font-size: 1.02rem; }
	table.stack td[data-label]::before { content: attr(data-label); display: block; margin-top: 10px; margin-bottom: 1px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
	/* a detail line: its column name inline, in the line's own small type */
	table.stack td.cell-pergb, table.stack td.cell-single, table.stack td.cell-regional, table.stack td.cell-networks { font-size: 0.87rem; color: var(--muted); }
	table.stack td.cell-pergb::before, table.stack td.cell-single::before, table.stack td.cell-regional::before, table.stack td.cell-fiveg::before, table.stack td.cell-from::before {
		display: inline; content: attr(data-label) " "; margin: 0; font-size: 0.87em; letter-spacing: 0; text-transform: none; font-weight: 600;
	}
	table.stack td.cell-price::before, table.stack td.cell-tech::before, table.stack td.cell-networks::before { content: none; }
	/* "5G" needs no name when its chip says so (a rule of its own: older browsers drop :has) */
	table.stack td.cell-fiveg:has(.chip)::before { content: none; }

	/* The price comparison: provider and price on a line, the price per GB and the link under them. */
	table.prices tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3px 14px; }
	table.prices td.cell-price { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
	table.prices td.cell-price b { font-size: 1.12rem; }
	table.prices .link-cell { text-align: end; }
	.prices tr.is-store { background: var(--green-soft); }

	/* Plans to buy: a line each, the Buy button at the end. */
	table.plans tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding-block: 10px; }
	table.plans td.cell-price b { font-size: 1.05rem; }
	table.plans .btn-buy { padding: 8px 18px; }

	/* Networks: the operator and its best technology on a line, how many plans list it under them. */
	table.operators tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; }
	table.operators td.cell-regional { text-align: end; }

	/* A region's destinations: the place and its lowest price on a line, the networks and 5G under them. */
	table.region-list tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; }
	table.region-list td.cell-from { grid-column: 2; grid-row: 1; text-align: end; }
	table.region-list td.cell-from::before { color: var(--muted); }
	table.region-list td.cell-fiveg { text-align: end; font-size: 0.87rem; color: var(--muted); }

	/* Data needs: the trip, then its ways of using the phone side by side. */
	table.needs tr { display: flex; flex-wrap: wrap; column-gap: 14px; }
	table.needs tbody th { flex: 1 0 100%; }
	table.needs td { flex: 1 1 0; }
	table.stack.needs td::before { margin-top: 8px; }
}

.note { background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid var(--teal); border-radius: var(--radius-small); padding: 14px 18px; margin-top: 20px; }
.note h3 { margin-top: 0; }
.note p:last-child { margin-bottom: 0; }

.plans .link-cell { text-align: end; width: 1%; white-space: nowrap; vertical-align: middle; }
.plans tbody th, .plans td { vertical-align: middle; }
/* Regional plans: the name and what it covers on the left, the Buy button beside them. */
.bundle-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
@media (min-width: 720px) { .bundle-list { grid-template-columns: 1fr 1fr; } }
.bundle-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-small); padding: 12px 16px; }
.bundle-list li bdi { font-weight: 650; color: var(--navy); }
.bundle-list li bdi, .bundle-list li .muted { grid-column: 1; }
.bundle-list li .muted { font-size: 0.92rem; }
.bundle-list li .btn { grid-column: 2; grid-row: 1 / span 2; }
.bundle-list a { font-weight: 700; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }
.steps li { counter-increment: step; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-small); padding: 16px 18px 6px; padding-inline-start: 64px; }
.steps li::before { content: counter(step); position: absolute; inset-inline-start: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps h3 { margin: 0 0 4px; font-size: 1.05rem; }

.faq { display: grid; gap: 8px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-small); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--teal); line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-q { margin: 0; font-size: 1.02rem; font-weight: 650; color: var(--navy); }
.faq-a { padding: 0 18px 4px; }

.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.card a { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center; height: 100%; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-small); text-decoration: none; color: var(--ink); }
.card a:hover { border-color: var(--teal); box-shadow: var(--shadow); color: var(--ink); }
.card-flag { grid-row: span 3; font-size: 1.8rem; line-height: 1; }
.card-name { font-weight: 700; color: var(--navy); }
.card-meta { font-size: 0.9rem; color: var(--green-ink); font-weight: 650; }
.card-networks { font-size: 0.82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.region-group + .region-group { margin-top: 28px; }
.region-group h3 { margin-top: 0; }
.basics { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .basics { grid-template-columns: repeat(3, 1fr); } }
.basics a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-small); text-decoration: none; color: var(--ink); }
.basics a:hover { border-color: var(--teal); }
.basics strong { color: var(--navy); }
.basics span { color: var(--muted); font-size: 0.95rem; }
.checklist { padding-inline-start: 1.2rem; }
.checklist li { margin-bottom: 8px; }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--navy); color: #c7dadd; padding: 40px 0 20px; font-size: 0.95rem; }
.site-footer a { color: #e6f2f3; text-decoration: none; }
.site-footer a:hover { color: #9fe3a0; text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-heading { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: #8fb3b9; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-small { font-size: 0.86rem; color: #9fbcc1; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 28px; padding-top: 16px; font-size: 0.85rem; color: #8fb3b9; }
.footer-base p { margin: 0; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print {
	.masthead, .site-footer, .btn-buy, .skip-link { display: none; }
	.hero { background: none; color: #000; }
	.hero h1, .hero .lead { color: #000; }
}
