/* Skip the Roam — static travel eSIM site. System fonts only. */
:root {
  --bg: #f6f1e8;
  --bg-2: #efe8db;
  --paper: #fffcf7;
  --ink: #1b1916;
  --muted: #5c574e;
  --line: #ddd4c4;
  --teal: #0c6b63;
  --teal-dark: #084f4a;
  --teal-soft: #d7efe8;
  --amber: #8a4b12;
  --amber-soft: #f8e6cc;
  --red-soft: #f8dcd6;
  --green: #146c43;
  --green-soft: #d9f0e3;
  --shadow: 0 10px 30px rgba(27, 25, 22, 0.06);
  --radius: 18px;
  --max: 1080px;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal-dark); }
a:hover { color: var(--teal); }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; }

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 0.5rem 1rem; z-index: 20;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span { color: var(--teal); }
nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
nav a:hover, nav a[aria-current="page"] { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 4px; }

.disclosure-bar {
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 0.88rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #ead3ae;
}
.disclosure-bar a { color: var(--amber); font-weight: 700; }

.hero {
  padding: 3rem 0 2.2rem;
  background:
    radial-gradient(1200px 280px at 80% 0%, #e7f4ef 0%, transparent 60%),
    var(--bg);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.15;
  margin: 0 0 0.8rem;
  letter-spacing: -0.03em;
  max-width: 22ch;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; margin: 0 0 1.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn-affiliate { background: var(--teal-dark); }
.btn-wide { width: 100%; }

.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 0.4rem;
}

.example {
  margin-top: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem;
}
.example h2 { margin: 0 0 0.6rem; font-size: 1.05rem; }
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.compare .col {
  border-radius: 14px;
  padding: 1rem;
}
.compare .bad { background: var(--red-soft); }
.compare .good { background: var(--green-soft); }
.compare .label { font-size: 0.85rem; font-weight: 700; margin: 0 0 0.2rem; }
.compare .price { font-family: var(--serif); font-size: 2rem; line-height: 1.1; margin: 0; }
.compare .note { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.88rem; }
.fine { font-size: 0.82rem; color: var(--muted); margin: 0.8rem 0 0; }

section { padding: 2.4rem 0; }
section h2, .prose h1, .prose h2 {
  font-family: var(--serif);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.8rem;
}
.section-head p { color: var(--muted); margin: 0 0 1.4rem; max-width: 65ch; }

.cards, .steps, .dest-grid, .faq-list { display: grid; gap: 1rem; }
.cards { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card, .step, .dest-card, .result-card, .plan-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.card h3, .step h3, .dest-card h3, .plan-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-family: var(--serif);
}
.steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.step-num {
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; margin-bottom: 0.5rem;
}
.callout {
  background: var(--teal-soft);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  margin: 1rem 0;
}
.callout.warn { background: var(--amber-soft); }
.callout.alert { background: var(--red-soft); }
.callout h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }

.dest-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.dest-card { text-decoration: none; color: inherit; display: block; transition: transform 0.15s ease; }
.dest-card:hover { transform: translateY(-2px); color: inherit; }
.dest-card .meta { color: var(--muted); font-size: 0.9rem; margin: 0; }

.calc-layout, .split { display: grid; gap: 1.2rem; }
@media (min-width: 860px) {
  .calc-layout { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .split { grid-template-columns: 1fr 1fr; }
}

form.panel, .panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
label { display: block; font-weight: 700; font-size: 0.9rem; margin: 0.85rem 0 0.3rem; }
input[type="number"], select, input[type="text"] {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus { outline: 3px solid var(--teal-soft); border-color: var(--teal); }
.hint { display: block; color: var(--muted); font-size: 0.82rem; font-weight: 500; margin-top: 0.25rem; }

.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-bottom: 0.8rem; }
.stat { background: var(--bg-2); border-radius: 14px; padding: 0.85rem; }
.stat .label { font-size: 0.8rem; font-weight: 700; color: var(--muted); margin: 0; }
.stat .value { font-family: var(--serif); font-size: 1.7rem; margin: 0.1rem 0 0; }
.stat.save { background: var(--green-soft); }
.stat.zero { background: var(--amber-soft); }

table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.55rem 0.45rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 1rem 0; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.table-wrap table { margin: 0; }
.sale { color: var(--green); font-weight: 700; }
.strike { text-decoration: line-through; color: var(--muted); margin-right: 0.3rem; }
.badge {
  display: inline-block;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}
.badge.sale { background: var(--green-soft); color: var(--green); }
.badge.warn { background: var(--amber-soft); color: var(--amber); }

.prose { max-width: 72ch; }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 0; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin: 1.4rem 0 0.4rem; }
.prose p, .prose li { color: var(--ink); }
.prose .muted, .muted { color: var(--muted); }
.breadcrumbs { font-size: 0.88rem; color: var(--muted); margin: 1.2rem 0 0.8rem; }
.breadcrumbs a { color: var(--muted); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.filter-bar .grow { flex: 1; min-width: 160px; }

.plan-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.plan-card .price { font-family: var(--serif); font-size: 1.8rem; margin: 0.2rem 0; }
.placeholder-note {
  font-size: 0.8rem;
  color: var(--amber);
  background: var(--amber-soft);
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  margin: 0.6rem 0;
}
.affiliate-note {
  font-size: 0.8rem;
  color: var(--teal-dark);
  background: var(--teal-soft);
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  margin: 0.6rem 0;
}

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  margin: 0.5rem 0;
}
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 0.6rem 0 0.2rem; }

.site-footer {
  margin-top: 3rem;
  background: #1b1916;
  color: #efe8db;
  padding: 2.4rem 0 1.5rem;
}
.site-footer a { color: #b7e0d7; }
.footer-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.site-footer h2 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.5rem; font-family: var(--sans); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.25rem 0; }
.legal { margin-top: 1.6rem; font-size: 0.82rem; color: #c4bbaa; max-width: 80ch; }

@media (max-width: 720px) {
  nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner { flex-wrap: wrap; }
  nav.open { display: flex; width: 100%; flex-direction: column; padding-bottom: 0.6rem; }
  .compare { grid-template-columns: 1fr; }
  .hero { padding-top: 2rem; }
}
@media (min-width: 721px) {
  .nav-toggle { display: none; }
}
.nav-toggle {
  background: transparent; border: 1.5px solid var(--ink);
  border-radius: 999px; padding: 0.35rem 0.8rem;
  font: inherit; font-weight: 700; cursor: pointer;
}

.updated { font-size: 0.85rem; color: var(--muted); margin: 0 0 1rem; }
