:root {
  --bg: #f7f6f2;
  --card: #fff;
  --ink: #1a1a1a;
  --muted: #5a5a5a;
  --line: #e2e0d8;
  --accent: #0b6e4f;
  --accent-soft: #e6f4ef;
  --warn: #8a4b08;
  --warn-bg: #fff6e8;
  --gap: #7a1f2b;
  --gap-bg: #fceef0;
  --ok: #0b6e4f;
  --ok-bg: #e6f4ef;
  --radius: 10px;
  --max: 42rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(80rem 32rem at 50% -14rem, var(--accent-soft) 0%, transparent 70%),
    var(--bg);
  line-height: 1.55;
  font-size: 1.05rem;
  overflow-x: hidden;
}
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.1rem 5rem;
  overflow-wrap: anywhere;
}
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 0 1.1rem;
}
header.site .inner {
  max-width: var(--max);
  min-height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  overflow-wrap: anywhere;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
  color: #fff;
  min-height: 44px;
  font-size: 1.12rem;
}
.logo span { color: #8fd4b8; }
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.1rem 0.15rem;
  min-width: 0;
}
nav a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 0.88rem;
  min-height: 44px;
  padding: 0 0.4rem;
}
nav a:hover { color: #fff; }
.hero {
  padding: 2.2rem 0 0.4rem;
}
.kicker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
h1 {
  font-size: clamp(1.55rem, 4vw, 2.05rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  max-width: 22ch;
}
.lede {
  color: var(--ink);
  font-size: 1.08rem;
  margin: 0 0 1.35rem;
  max-width: 36rem;
}
.hero .tree-progress { margin-bottom: 1rem; }
.hero .tree-q { margin-top: 0; }
.hero .trust { margin-top: 1.25rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}
.trust a { color: var(--muted); }
#mit,
#cluster-b,
.tree,
.quiet,
.panel {
  margin: 0;
  padding: 2.4rem 0 0;
}
h2 {
  font-size: 1.28rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
  letter-spacing: -0.01em;
}
.prose p { margin: 0 0 1rem; }
.split {
  display: grid;
  gap: 0;
  margin-top: 0.4rem;
}
.split-col {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}
.split-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.tree-lead { margin: 0 0 0.7rem; color: var(--muted); }
.tree-progress {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 0 1.35rem;
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.tree-progress::after {
  content: "";
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 99px;
  background: linear-gradient(to right, var(--accent) 33%, var(--line) 33%);
}
.tree-progress[data-total="2"][data-step="2"]::after,
.tree-progress[data-total="3"][data-step="3"]::after {
  background: var(--accent);
}
.tree-progress[data-total="3"][data-step="2"]::after {
  background: linear-gradient(to right, var(--accent) 66%, var(--line) 66%);
}
ul.check { list-style: none; padding: 0; margin: 0.35rem 0 0; }
ul.check li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.5rem 0;
}
ul.check li + li { border-top: 1px solid var(--line); }
ul.check li::before {
  content: "–";
  flex: 0 0 1.15rem;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: calc((1.55em - 1.15rem) / 2);
  border-radius: 50%;
  background: var(--gap);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
}
ul.check.ok li::before {
  content: "✓";
  background: var(--ok);
  font-size: 0.68rem;
}
.sources {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 1.1rem 0 0;
  margin-top: 0.4rem;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.tree {
  margin-left: -1.1rem;
  margin-right: -1.1rem;
  padding: 1.6rem 1.1rem 2.2rem;
  background:
    linear-gradient(180deg, rgba(230, 244, 239, 0.7) 0%, rgba(230, 244, 239, 0) 14rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tree:not(:has(.tree-q:not([hidden]))) {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.tree-q { margin-top: 1.35rem; scroll-margin-top: 4.2rem; }
.tree-q p.q,
.tree-q label.q {
  display: block;
  font-weight: 650;
  margin: 0 0 0.85rem;
  letter-spacing: -0.015em;
  font-size: 1.08rem;
}
#dest-select {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
}
.country-note {
  margin: 1.25rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
}
.country-note h2 {
  font-size: 1.05rem;
  margin: 0 0 0.55rem;
}
.country-note ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.country-note li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.1rem;
  color: var(--ink);
}
.country-note li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.country-note-src {
  margin: 0.7rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.country-note-src a { color: var(--muted); }
.choices { display: flex; flex-direction: column; gap: 0.65rem; }
.choices button {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 0.95rem 1.05rem;
  text-align: left;
  font: inherit;
  cursor: pointer;
  min-height: 44px;
}
.choice-title,
.choice-hint { display: block; }
.choice-title { font-weight: 650; letter-spacing: -0.015em; }
.choice-hint {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.choices button:hover,
.choices button:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  outline: none;
}
.choices button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 3px 0 0 var(--accent);
}
.result {
  display: none;
  margin-top: 1.5rem;
  padding: 1.25rem 1.2rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.result.show { display: block; }
.result.gap { background: var(--gap-bg); border-color: #e8c5cb; }
.result.ok { background: var(--ok-bg); border-color: #b7d9cb; }
.result h3 { margin-top: 0; }
.result h4 { margin: 1rem 0 0.4rem; font-size: 1.02rem; }
.atlas-quote {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e8c5cb;
}
.atlas-quote p { margin: 0 0 0.75rem; }
.atlas-fields {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 0.75rem;
}
.atlas-fields label { margin: 0; font-size: 0.92rem; }
.atlas-fields input {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}
.atlas-offers,
.atlas-gaps {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}
.atlas-offers li,
.atlas-gaps li {
  padding: 0.85rem 0;
  border-top: 1px solid #e8c5cb;
}
.atlas-offer-name { display: block; font-weight: 650; }
.atlas-offer-price { display: block; margin: 0.2rem 0 0.45rem; }
.atlas-offer-guarantees {
  margin: 0 0 0.65rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
}
.atlas-gaps li { color: var(--ink); font-size: 0.92rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.95rem; }
.save-row { margin-top: 1.1rem; }
.btn {
  display: inline-block;
  padding: 0.7rem 1.05rem;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 44px;
  letter-spacing: -0.015em;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(1.06); color: #fff; }
.btn-secondary {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  font-weight: 500;
}
.disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.85rem;
}
.sticky-jump {
  position: sticky;
  bottom: 0.75rem;
  z-index: 5;
  text-align: center;
  pointer-events: none;
}
.sticky-jump a {
  pointer-events: auto;
  display: inline-block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
}
.sticky-jump[hidden] { display: none !important; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0.85rem 0 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.05rem 0 1.05rem 2.7rem;
}
.steps li + li { border-top: 1px solid var(--line); }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps strong { display: block; margin-bottom: 0.2rem; }
.email-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.65rem;
}
.email-form input[type="email"] {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
footer.site {
  margin-top: 3.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}
.note-warn {
  background: var(--warn-bg);
  border: 1px solid #f0d4a8;
  color: var(--warn);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  margin: 0.75rem 0;
}
[hidden] { display: none !important; }
:focus-visible,
.choices button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
section { scroll-margin-top: 3.6rem; }
button, input, select, textarea { font: inherit; }
button, .btn, input[type="email"], select { min-height: 44px; }
input, select, textarea { max-width: 100%; min-width: 0; }
textarea, select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--card);
}
textarea { resize: vertical; }
form label { display: block; }
.consent { display: flex; align-items: flex-start; gap: 0.65rem; }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: 0.25rem; flex-shrink: 0; }
#feedback-form { display: grid; gap: 0.65rem; margin-top: 1rem; }
.form-status { min-height: 1.55em; margin: 0.5rem 0 0; overflow-wrap: anywhere; }
.form-status[data-error="true"] { color: var(--gap); }
button:disabled { opacity: 0.65; cursor: wait; }
.skip-link { position: absolute; left: 1rem; top: -6rem; z-index: 30; padding: 0.75rem; background: #fff; }
.skip-link:focus { top: 0.5rem; }
.feedback-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.feedback-head h2 { margin-bottom: 0; }
.consent-bar {
  position: sticky;
  bottom: 0;
  z-index: 15;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1rem;
  background: var(--ink);
  color: #fff;
  padding: 0.55rem 1.1rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  max-width: 100%;
}
.consent-bar p { margin: 0; flex: 1 1 12rem; font-size: 0.82rem; color: rgba(255, 255, 255, 0.7); min-width: 0; }
.consent-bar .cta-row { margin-top: 0; flex: 0 1 auto; max-width: 100%; }
.consent-bar .btn { min-height: 40px; padding: 0.4rem 0.75rem; }
.consent-bar .btn-primary { background: #8fd4b8; color: var(--ink); }
.consent-bar .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
#email-soft:has(form[hidden]) h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 640px) {
  .wrap { padding: 0 1.1rem 5rem; }
  header.site { padding: 0 0.85rem; }
  nav a { padding: 0 0.28rem; font-size: 0.82rem; }
  .hero { padding: 1.7rem 0 0.2rem; }
  h1 { max-width: none; }
  .cta-row .btn { width: 100%; text-align: center; }
  .tree {
    margin-left: -1.1rem;
    margin-right: -1.1rem;
    padding: 2rem 1.1rem 1.8rem;
  }
  .choices button {
    min-height: 2.75rem;
    padding: 0.95rem 1rem;
    -webkit-tap-highlight-color: transparent;
  }
  .btn { text-align: center; flex: 1 1 auto; }
  .feedback-head { flex-direction: column; }
  .sticky-jump { bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px)); }
  .consent-bar .cta-row { flex-wrap: wrap; }
  .steps li { padding-left: 2.4rem; }
}
@media (max-width: 480px) {
  form .btn { width: 100%; }
}
@media (min-width: 700px) {
  .atlas-fields { grid-template-columns: 1fr 1fr 1fr; }
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 0 2.4rem;
    border-top: 1px solid var(--line);
  }
  .split-col {
    border-top: 0;
    padding: 1.35rem 0 0.4rem;
  }
  .split-col + .split-col {
    padding-left: 2.4rem;
    border-left: 1px solid var(--line);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  header.site nav,
  .sticky-jump,
  .tree-q,
  .result.gap .cta-row a[data-event="affiliate_click"],
  .email-form,
  .consent-bar,
  .no-print { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .panel, .result, .tree { break-inside: avoid; border-color: #ccc; }
  .result:not(.show) { display: none !important; }
  a[href]::after { content: ""; }
  header.site, main > :not(#cluster-b) { display: none !important; }
  #cluster-b { margin: 0; border: 0; padding: 0; }
  .wrap { padding: 0; }
  #cluster-b .note-warn { display: block !important; }
}
