/* White & Greys: the logo's charcoal and greys, one green for the lowest price. */
:root {
	--ground: #12171b;
	--ground-2: #1c2228;
	--ink: #15191d;
	--ink-2: #4b545c;
	--ink-3: #7c858d;
	--line: #e1e5e8;
	--line-2: #c9cfd4;
	--bg: #ffffff;
	--bg-2: #f5f6f7;
	--low: #1f8a5b;
	--low-soft: #e8f5ee;
	/* the sponsor's own blue (esim.computatus.com's buttons): only on what leads there */
	--sponsor: #1d4ed8;
	--sponsor-pressed: #1e40af;
	--sponsor-soft: #eef3fe;
	--sponsor-border: #c9d7fb;
	--radius: 10px;
	--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: 1rem; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 0.18em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--low); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.75rem, 1.25rem + 2.2vw, 2.6rem); margin: 0.25em 0 0.4em; font-weight: 800; }
h2 { font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem); margin: 0 0 0.6em; font-weight: 750; }
h3 { font-size: 1.1rem; 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(--ink-2); }
.small { font-size: 0.88rem; }
.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(--low); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 20; }
.skip-link:focus { top: 8px; }

/* ------------------------------------------------------------ masthead */
.masthead { background: var(--ground); color: #d6dbdf; position: relative; z-index: 10; }
.masthead-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; flex: none; }
.brand img { display: block; }
.primary-nav { display: none; gap: 2px; margin-inline-start: auto; }
.primary-nav a { color: #d6dbdf; text-decoration: none; padding: 8px 12px; border-radius: 6px; font-weight: 600; font-size: 0.94rem; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: var(--ground-2); color: #fff; }
.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: 7px 11px; border: 1px solid #3a434b; border-radius: 6px; font-weight: 600; font-size: 0.9rem; color: #e8ecef; }
.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); }
.lang-code { font-size: 0.78rem; letter-spacing: 0.05em; background: #e8ecef; color: var(--ground); border-radius: 4px; padding: 1px 5px; }
.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: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 28px rgba(18, 23, 27, 0.18); }
.menu-list a { display: block; padding: 8px 12px; border-radius: 5px; color: var(--ink); text-decoration: none; }
.menu-list a:hover { background: var(--bg-2); }
.menu-list a[aria-current="true"] { font-weight: 700; }

/* ------------------------------------------------------------ hero */
.hero { background: linear-gradient(180deg, var(--ground) 0%, #232a31 100%); color: #e8ecef; padding: 16px 0 32px; border-bottom: 3px solid var(--low); }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.12rem; color: #c9d0d6; max-width: 48rem; }
.hero a { color: #fff; }
.hero-root, .hero-hub { padding-top: 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 3px 12px; border-radius: 999px; border: 1px solid #3a434b; font-weight: 600; font-size: 0.9rem; color: #e8ecef; }
.hero-flag { font-size: 1.15rem; line-height: 1; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 20px 0 0; }
.fact { background: var(--ground-2); border: 1px solid #333c44; border-radius: 8px; padding: 10px 14px; }
.fact dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: #9aa4ad; }
.fact dd { margin: 3px 0 0; color: #fff; }
.fact dd b { font-size: 1.3rem; }
.fact dd span { color: #c9d0d6; }
.jump-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.jump-list a { display: inline-block; padding: 5px 13px; border-radius: 999px; border: 1px solid #3a434b; color: #fff; text-decoration: none; font-weight: 600; }
.jump-list a:hover { background: var(--ground-2); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; font-size: 0.88rem; color: #9aa4ad; }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: 4px; }
.breadcrumbs a { color: #d6dbdf; }

.pick { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.pick a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid #3a434b; border-radius: 8px; text-decoration: none; background: var(--ground-2); }
.pick a:hover { border-color: var(--low); }
.pick-name { font-weight: 750; font-size: 1.1rem; color: #fff; }
.pick-tagline { color: #c9d0d6; font-size: 0.92rem; font-weight: 600; }
.pick-about { color: #9aa4ad; font-size: 0.85rem; }

/* ------------------------------------------------------------ sections */
.section { padding: 36px 0; border-bottom: 1px solid var(--line); }
.section:nth-of-type(even) { background: var(--bg-2); }
.section-lead { color: var(--ink-2); max-width: 48rem; }
.sponsor-wrap { padding-block: 28px; }
.gap-note { margin-top: 12px; font-weight: 600; }
.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); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
caption { caption-side: top; text-align: start; font-weight: 700; padding: 12px 14px 4px; }
th, td { padding: 10px 14px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; }
thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); background: var(--bg-2); 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; }
.rank-col { width: 3.5rem; }
.rank-badge { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line-2); font-weight: 750; font-size: 0.9rem; }
.rank tr.is-cheapest > * { background: var(--low-soft); }
.rank tr.is-cheapest .rank-badge { background: var(--low); border-color: var(--low); color: #fff; }
.bar { display: inline-block; vertical-align: middle; height: 8px; border-radius: 4px; background: var(--line-2); margin-inline-end: 10px; width: 0; }
.is-cheapest .bar { background: var(--low); }
.chip { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.03em; padding: 1px 8px; border-radius: 999px; vertical-align: 0.1em; white-space: nowrap; }
.chip-sponsor { background: var(--sponsor-soft); color: var(--sponsor-pressed); box-shadow: inset 0 0 0 1px var(--sponsor-border); }
.chip-low { background: var(--low); color: #fff; }
.table-link { font-weight: 650; white-space: nowrap; }
.cta-sponsor { display: inline-block; padding: 6px 14px; border-radius: 6px; background: var(--sponsor); color: #fff; font-weight: 700; font-size: 0.92rem; text-decoration: none; white-space: nowrap; box-shadow: 0 1px 2px rgba(29, 78, 216, 0.25); }
.cta-sponsor:hover, .cta-sponsor:focus-visible { background: var(--sponsor-pressed); color: #fff; }
.cta-sponsor::after { content: " \2197"; }
.rank tr.is-sponsor > .rank-col { box-shadow: inset 4px 0 0 var(--sponsor); }
[dir="rtl"] .rank tr.is-sponsor > .rank-col { box-shadow: inset -4px 0 0 var(--sponsor); }
b.win { color: var(--low); }
.stats tr.is-sponsor > * { background: var(--bg-2); }
.list td b { font-variant-numeric: tabular-nums; }
@media (min-width: 600px) {
	.list { table-layout: fixed; }
	.list thead th:first-child { width: 36%; }
}

/* Bar widths in steps of 5% of 6rem: the CSP allows no inline styles. */
.bar.w-5 { width: 0.30rem; } .bar.w-10 { width: 0.60rem; } .bar.w-15 { width: 0.90rem; } .bar.w-20 { width: 1.20rem; } .bar.w-25 { width: 1.50rem; }
.bar.w-30 { width: 1.80rem; } .bar.w-35 { width: 2.10rem; } .bar.w-40 { width: 2.40rem; } .bar.w-45 { width: 2.70rem; } .bar.w-50 { width: 3.00rem; }
.bar.w-55 { width: 3.30rem; } .bar.w-60 { width: 3.60rem; } .bar.w-65 { width: 3.90rem; } .bar.w-70 { width: 4.20rem; } .bar.w-75 { width: 4.50rem; }
.bar.w-80 { width: 4.80rem; } .bar.w-85 { width: 5.10rem; } .bar.w-90 { width: 5.40rem; } .bar.w-95 { width: 5.70rem; } .bar.w-100 { width: 6.00rem; }


/* Tables become one card per row on a phone, each value under its column's name. */
@media (max-width: 599px) {
	table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	table.stack caption { display: block; }
	table.stack, table.stack tbody, table.stack tr, table.stack tbody th, table.stack td { display: block; width: 100%; }
	table.stack tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
	table.stack tbody tr:last-child { border-bottom: 0; }
	table.stack tbody th, table.stack td { border: 0; padding: 2px 0; text-align: start; white-space: normal; }
	table.stack td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink-3); font-size: 0.88rem; }
	table.stack .rank-col { display: inline-block; width: auto; margin-inline-end: 8px; }
	table.stack .rank-col + th { display: inline; }
	table.stack .link-cell { padding-top: 8px; }
	.rank tr.is-sponsor { box-shadow: inset 4px 0 0 var(--sponsor); }
	[dir="rtl"] .rank tr.is-sponsor { box-shadow: inset -4px 0 0 var(--sponsor); }
	.rank tr.is-sponsor > .rank-col, [dir="rtl"] .rank tr.is-sponsor > .rank-col { box-shadow: none; }
	.rank tr.is-cheapest { background: var(--low-soft); }
	td .bar { display: none; }
}

.sponsor-box { background: var(--sponsor-soft); border: 1px solid var(--sponsor-border); border-inline-start: 5px solid var(--sponsor); border-radius: var(--radius); padding: 18px 20px; }
.sponsor-label { display: inline-block; margin: 0 0 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; padding: 1px 8px; }
.sponsor-title { font-size: 1.15rem; font-weight: 750; margin-bottom: 4px; }
.sponsor-text { color: var(--ink-2); }
.btn { display: inline-block; padding: 10px 20px; border-radius: 6px; font-weight: 700; text-decoration: none; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.btn-primary { background: var(--low); color: #fff; }
.btn-primary:hover { background: #18734b; color: #fff; }
.btn-sponsor { background: var(--sponsor); color: #fff; padding: 12px 22px; font-size: 1.02rem; box-shadow: 0 2px 6px rgba(29, 78, 216, 0.3); }
.btn-sponsor:hover, .btn-sponsor:focus-visible { background: var(--sponsor-pressed); color: #fff; }
.btn-sponsor::after { content: " \2197"; }

.faq { display: grid; gap: 8px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.35rem; color: var(--ink-3); line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-q { margin: 0; font-size: 1rem; font-weight: 650; }
.faq-a { padding: 0 16px 4px; }

.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.card a { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center; height: 100%; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.card a:hover { border-color: var(--ink-3); }
.card-flag { grid-row: span 2; font-size: 1.7rem; line-height: 1; }
.card-name { font-weight: 700; }
.card-meta { font-size: 0.88rem; color: var(--low); font-weight: 650; }
.basics { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.basics a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.basics a:hover { border-color: var(--ink-3); }
.basics span { color: var(--ink-2); font-size: 0.93rem; }
.region-group + .region-group { margin-top: 28px; }
.region-group h3 { margin-top: 0; }

.contact-form { max-width: 36rem; }
.field { display: grid; gap: 4px; }
.field label { font-weight: 650; }
.field input, .field textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field textarea:focus { border-color: var(--low); outline: none; box-shadow: 0 0 0 3px var(--low-soft); }
.hp { position: absolute; inset-inline-start: -9999px; }
.form-note { padding: 10px 14px; border-radius: 6px; font-weight: 600; }
.form-note.is-ok { background: var(--low-soft); color: #145c3d; }
.form-note.is-error { background: #fdecec; color: #8a1f1f; }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--ground); color: #aab3bb; padding: 36px 0 20px; font-size: 0.92rem; }
.site-footer a { color: #e8ecef; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 26px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand { font-weight: 800; color: #fff; font-size: 1.05rem; }
.footer-heading { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: #7c858d; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-small { font-size: 0.85rem; color: #8f99a2; }
.disclosure strong { color: #d6dbdf; }
.footer-base { border-top: 1px solid #2a3239; margin-top: 26px; padding-top: 16px; font-size: 0.84rem; color: #7c858d; }
.footer-base p { margin: 0; }

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