/* ============================================================
   AKIREON — design system
   Palette: alabaster paper, charcoal ink. Saturated colour is
   reserved for interactive elements and live data only.
   ============================================================ */
:root {
  --paper:      #faf9f7;
  --surface:    #ffffff;
  --surface-2:  #f4f2ee;
  --line:       #e6e2da;
  --line-soft:  #efece6;
  --ink:        #2a2a2e;
  --ink-soft:   #6b6862;
  --ink-faint:  #9a968e;

  --brand:      #4338ca;
  --brand-tint: #eeecfb;
  --brand-ink:  #ffffff;
  --accent:     #0f766e;
  --accent-tint:#e6f4f1;
  --warn:       #b45309;
  --warn-tint:  #fdf1e3;
  --danger:     #b42318;
  --danger-tint:#fceceb;

  --radius:  14px;
  --radius-s: 10px;
  --wrap:    1180px;
  --measure: 68ch;

  --font-sans: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --shadow-s: 0 1px 2px rgba(42,42,46,.04);
  --shadow-m: 0 2px 4px rgba(42,42,46,.04), 0 12px 28px -18px rgba(42,42,46,.22);
  --shadow-l: 0 24px 56px -32px rgba(42,42,46,.36);
}

html.dark {
  --paper:      #131316;
  --surface:    #1b1b20;
  --surface-2:  #232329;
  --line:       #2e2e36;
  --line-soft:  #26262d;
  --ink:        #e8e6e1;
  --ink-soft:   #9a968e;
  --ink-faint:  #74716b;

  --brand:      #a5b4fc;
  --brand-tint: #23223a;
  --brand-ink:  #14131a;
  --accent:     #5eead4;
  --accent-tint:#16302d;
  --warn:       #f0b357;
  --warn-tint:  #33260f;
  --danger:     #f0918a;
  --danger-tint:#3a1512;

  --shadow-m: 0 2px 4px rgba(0,0,0,.3), 0 12px 28px -18px rgba(0,0,0,.6);
  --shadow-l: 0 24px 56px -32px rgba(0,0,0,.8);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0;
}
h1 { font-size: clamp(30px, 4.4vw, 46px); }
h2 { font-size: clamp(22px, 2.6vw, 30px); }
h3 { font-size: 18px; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ---------- icons ---------- */
.i {
  width: 20px; height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: none;
}
.i-s { width: 16px; height: 16px; }
.i-l { width: 26px; height: 26px; stroke-width: 1.25; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: 64px; }
.section--tight { padding-block: 40px; }
.section--paper { background: var(--surface); border-block: 1px solid var(--line); }
.measure { max-width: var(--measure); }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
.center { text-align: center; }
.mt-1 { margin-top: 8px; }  .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 26px; } .mt-4 { margin-top: 42px; }
.mt-5 { margin-top: 64px; }
.stack > * + * { margin-top: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .17em;
  text-transform: uppercase; color: var(--ink-faint);
  margin: 0 0 14px;
}
.eyebrow .i { width: 15px; height: 15px; color: var(--brand); }
.lede { font-size: 18.5px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.brand__mark { width: 30px; height: 30px; color: var(--brand); }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  text-decoration: none; color: var(--ink-soft);
  font-size: 14.5px; font-weight: 500;
  padding: 8px 13px; border-radius: var(--radius-s);
  transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--ink); background: var(--surface-2); }
.nav__links a.active { color: var(--ink); font-weight: 600; }
.nav__right { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--radius-s); cursor: pointer; color: var(--ink-soft);
  transition: color .15s, border-color .15s;
}
.icon-btn:hover { color: var(--ink); border-color: var(--ink-faint); }
.nav__toggle { display: none; }
@media (max-width: 960px) {
  .nav__links {
    position: absolute; inset: 66px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 6px 22px 14px; max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .28s ease;
  }
  .nav__links.open { max-height: 460px; visibility: visible; }
  .nav__links a { padding: 12px 6px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav__toggle { display: grid; }
}

/* ---------- reading progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--brand); z-index: 80; transition: width .08s linear;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; font-family: inherit;
  padding: 11px 20px; border-radius: var(--radius-s);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .14s, opacity .18s, border-color .18s, background .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: var(--brand-ink); }
.btn--primary:hover { opacity: .92; }
.btn--outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--ghost { color: var(--brand); background: transparent; padding-inline: 4px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.textlink {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand); font-weight: 600; font-size: 14.5px; text-decoration: none;
}
.textlink:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cards / grid ---------- */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  text-decoration: none; color: inherit; display: block;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); border-color: var(--ink-faint); }
.card--flat { box-shadow: none; }
.card__head { display: flex; align-items: flex-start; gap: 12px; }
.card__icon { color: var(--ink-faint); margin-top: 2px; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
  padding: 4px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--ink-soft);
  border: 1px solid var(--line-soft);
}
.badge--brand { background: var(--brand-tint); color: var(--brand); border-color: transparent; }
.badge--accent { background: var(--accent-tint); color: var(--accent); border-color: transparent; }
.badge--warn { background: var(--warn-tint); color: var(--warn); border-color: transparent; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 92px 76px; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ''; position: absolute; inset: -20% 0 auto 0; height: 460px; z-index: 0;
  background: radial-gradient(52% 60% at 50% 0%, var(--brand-tint), transparent 72%);
  opacity: .85; pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { max-width: 17ch; }
.hero--center { text-align: center; }
.hero--center h1 { margin-inline: auto; }

/* ---------- search ---------- */
.search {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 8px 8px 8px 16px;
  box-shadow: var(--shadow-m);
}
.search .i { color: var(--ink-faint); }
.search input {
  flex: 1; border: none; background: transparent; outline: none;
  color: var(--ink); font-size: 16px; font-family: inherit; padding: 9px 0;
}
.search input::placeholder { color: var(--ink-faint); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 18px; }
.stat b { font-family: var(--font-display); font-size: 27px; display: block; line-height: 1.1; }
.stat span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); }
.table thead th { background: var(--surface-2); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); font-weight: 700; }
.table tbody tr:last-child td { border-bottom: none; }

/* ---------- profile layout + sticky TOC ---------- */
.profile { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 92px; font-size: 14px; }
.toc h4 { font-family: var(--font-sans); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); margin-bottom: 12px; }
.toc a {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 0 7px 12px; text-decoration: none; color: var(--ink-soft);
  border-left: 2px solid var(--line); transition: color .15s, border-color .15s;
}
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--brand); border-left-color: var(--brand); font-weight: 600; }
.toc .i { width: 16px; height: 16px; }
@media (max-width: 980px) { .profile { grid-template-columns: 1fr; gap: 0; } .toc { display: none; } }

.block-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.block-head .i { color: var(--brand); }
.section-anchor { scroll-margin-top: 92px; padding-top: 8px; }

/* ---------- interactive tools ---------- */
.tool {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 24px; box-shadow: var(--shadow-s);
}
.tool__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 780px) { .tool__grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 7px; }
select, input[type="text"], input[type="number"], input[type="email"], textarea {
  width: 100%; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); border-radius: var(--radius-s); padding: 10px 12px;
  font-size: 14.5px; font-family: inherit;
}
textarea { resize: vertical; min-height: 110px; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--brand); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters select { width: auto; min-width: 150px; }

.seg { display: inline-flex; background: var(--surface-2); border-radius: var(--radius-s); padding: 3px; gap: 3px; flex-wrap: wrap; }
.seg button {
  border: none; background: transparent; color: var(--ink-soft);
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  padding: 8px 14px; border-radius: 8px; cursor: pointer; transition: all .15s;
}
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-s); }

input[type="range"] { width: 100%; accent-color: var(--brand); }

.readout { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); padding: 20px; }
.readout__total { font-family: var(--font-display); font-size: 40px; line-height: 1.05; color: var(--ink); }
.readout__total span { font-size: 17px; color: var(--ink-soft); font-family: var(--font-sans); }
.bars { margin-top: 16px; }
.bar { display: flex; align-items: center; gap: 10px; font-size: 13.5px; margin-bottom: 8px; }
.bar__label { width: 108px; color: var(--ink-soft); flex: none; }
.bar__track { flex: 1; height: 7px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar__fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width .25s ease; }
.bar__val { width: 62px; text-align: right; font-family: var(--font-mono); font-size: 12.5px; }

.verdict { border-radius: var(--radius); padding: 16px 18px; border: 1px solid; display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.verdict--go   { background: var(--accent-tint); border-color: transparent; color: var(--accent); }
.verdict--warn { background: var(--warn-tint);   border-color: transparent; color: var(--warn); }
.verdict--stop { background: #fdeceb; border-color: transparent; color: #b42318; }
html.dark .verdict--stop { background: #3a1a18; color: #f8b4ae; }
.verdict b { display: block; margin-bottom: 2px; }
.verdict p { color: var(--ink); opacity: .82; margin: 0; }

/* ---------- notes / disclosure ---------- */
.note {
  display: flex; gap: 12px; border: 1px solid var(--line);
  background: var(--surface-2); border-radius: var(--radius);
  padding: 16px 18px; font-size: 14px; color: var(--ink-soft);
}
.note .i { color: var(--brand); margin-top: 2px; }
.note p { margin: 0; }
.disclosure {
  font-size: 12.5px; color: var(--ink-faint); border-left: 2px solid var(--line);
  padding: 4px 0 4px 12px; margin-top: 14px;
}

/* ---------- essentials / affiliate rows ---------- */
.essential { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px; }
.provider {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 0; border-top: 1px solid var(--line-soft);
}
.provider:first-of-type { border-top: none; }
.provider__name { font-weight: 600; font-size: 15px; }
.provider__note { font-size: 13px; color: var(--ink-soft); }

/* ---------- faq / details ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 15px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--ink-faint); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: 13.5px; color: var(--ink-faint); margin-bottom: 22px; display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brand); }

/* ---------- footer ---------- */
.site-footer { margin-top: 76px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-block: 52px; }
.footer-grid h4 { font-family: var(--font-sans); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; color: var(--ink-faint); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--ink-soft); text-decoration: none; font-size: 14.5px; }
.footer-grid a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 20px; font-size: 13px; color: var(--ink-faint); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- misc ---------- */
.pill-link {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 8px 16px; text-decoration: none; font-weight: 500; font-size: 14px;
  transition: border-color .15s, color .15s;
}
.pill-link:hover { border-color: var(--brand); color: var(--brand); }
.divider { height: 1px; background: var(--line); border: 0; margin: 40px 0; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.kv:last-child { border-bottom: none; }
.kv dt { color: var(--ink-soft); margin: 0; }
.kv dd { margin: 0; font-weight: 600; text-align: right; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand-tint); color: var(--brand); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ============================================================
   PHASE 1 — mobile jump nav (sticky, horizontally swipeable)
   Shown only where the desktop sidebar TOC is hidden.
   ============================================================ */
.jumpnav {
  display: none;
  position: sticky;
  top: 66px;
  z-index: 55;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  margin: 0 -22px 20px;
  padding: 10px 0;
}
.jumpnav__track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 22px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.jumpnav__track::-webkit-scrollbar { display: none; }
.jumpnav a {
  flex: none;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  transition: color .15s, border-color .15s, background .15s;
}
.jumpnav a .i { width: 15px; height: 15px; }
.jumpnav a.on {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-tint);
}
@media (max-width: 980px) { .jumpnav { display: block; } }

/* ============================================================
   PHASE 1 — swipeable compare table with locked metric column
   ============================================================ */
.table--compare { min-width: 640px; }
.table--compare th:first-child,
.table--compare td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--surface);
  border-right: 1px solid var(--line);
  min-width: 150px;
}
.table--compare thead th:first-child {
  z-index: 3;
  background: var(--surface-2);
}
.table-wrap--compare { position: relative; }
.table-wrap--compare::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 26px;
  pointer-events: none;
  background: linear-gradient(to right, transparent, color-mix(in srgb, var(--paper) 80%, transparent));
}
.swipe-hint {
  display: none;
  font-size: 12.5px;
  color: var(--ink-faint);
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
@media (max-width: 760px) { .swipe-hint { display: flex; } }

/* ============================================================
   PHASE 1 — slider + numeric input pairing (fat-finger fix)
   ============================================================ */
.rangepair { display: flex; align-items: center; gap: 12px; }
.rangepair input[type="range"] { flex: 1; }
.rangepair .numbox {
  flex: none;
  width: 96px;
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 6px 8px;
  background: var(--surface);
}
.rangepair .numbox span { color: var(--ink-faint); font-size: 14px; }
.rangepair .numbox input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  font-size: 14.5px;
  font-family: var(--font-mono);
  color: var(--ink);
  -moz-appearance: textfield;
}
.rangepair .numbox input::-webkit-outer-spin-button,
.rangepair .numbox input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rangepair .numbox input:focus { outline: none; }
.rangepair .numbox:focus-within { border-color: var(--brand); }

/* ============================================================
   PHASE 1 — contextual country funnel selector
   ============================================================ */
.funnel-cta {
  border: 1px solid var(--brand);
  background: var(--brand-tint);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.funnel-cta__text { flex: 1; min-width: 220px; }
.funnel-cta__text b { display: block; font-size: 15px; margin-bottom: 3px; }
.funnel-cta__text span { font-size: 13.5px; color: var(--ink-soft); }
.funnel-cta select { max-width: 260px; }

/* ============================================================
   PHASE 2 — waitlist / "profile in progress" state
   ============================================================ */
.waitlist {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 22px;
}
.waitlist__row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.waitlist__row input[type="email"] {
  flex: 1; min-width: 200px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-s);
  padding: 10px 12px;
  font-size: 14.5px;
  font-family: inherit;
}
.waitlist__row input[type="email"]:focus { outline: none; border-color: var(--brand); }
.waitlist__ok { color: var(--accent); font-size: 14px; margin-top: 10px; display: flex; gap: 7px; align-items: center; }

/* ============================================================
   PHASE 2 — data freshness stamp + correction link
   ============================================================ */
.freshness {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-faint);
  padding: 8px 0;
}
.freshness .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.freshness a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.freshness a:hover { color: var(--brand); }


/* ============================================================
   MODULE 1 — PATHFINDER WIZARD (modal state machine)
   Frosted overlay, one question per screen, directional slide.
   Fully variable-driven; inherits the alabaster/charcoal palette.
   ============================================================ */
.pf-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: color-mix(in srgb, var(--ink) 42%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s;
}
.pf-overlay.is-open { opacity: 1; visibility: visible; }

.pf-panel {
  position: relative;
  width: 100%;
  max-width: 660px;
  max-height: min(88vh, 780px);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 40px 90px -30px rgba(20, 20, 24, .5);
  padding: 30px 34px 34px;
  transform: translateY(14px) scale(.985);
  transition: transform .3s cubic-bezier(.22, .8, .3, 1);
}
.pf-overlay.is-open .pf-panel { transform: none; }
@media (max-width: 620px) { .pf-panel { padding: 24px 20px 26px; border-radius: 16px; } }

.pf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
}
.pf-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-faint);
}
.pf-eyebrow .i { width: 15px; height: 15px; color: var(--brand); }
.pf-close {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface);
  border-radius: 9px; cursor: pointer; color: var(--ink-soft);
  transition: color .15s, border-color .15s;
}
.pf-close:hover { color: var(--ink); border-color: var(--ink-faint); }

/* progress dots */
.pf-dots { display: flex; gap: 6px; align-items: center; }
.pf-dots span {
  width: 22px; height: 3px; border-radius: 2px;
  background: var(--line); transition: background .3s ease;
}
.pf-dots span.on { background: var(--brand); }
.pf-dots span.done { background: color-mix(in srgb, var(--brand) 45%, transparent); }

/* stage + directional transitions */
.pf-stage { position: relative; }
.pf-slide { transition: opacity .24s ease, transform .24s ease; }
.pf-slide.out-left  { opacity: 0; transform: translateX(-26px); }
.pf-slide.in-right  { opacity: 0; transform: translateX(26px); }
.pf-slide.out-right { opacity: 0; transform: translateX(26px); }
.pf-slide.in-left   { opacity: 0; transform: translateX(-26px); }

.pf-q {
  font-family: var(--font-display);
  font-size: clamp(23px, 3.4vw, 30px);
  line-height: 1.16;
  letter-spacing: -.015em;
  margin: 0 0 6px;
}
.pf-sub { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 22px; }

/* option cards */
.pf-options { display: flex; flex-direction: column; gap: 10px; }
.pf-opt {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit; font-size: 15.5px; font-weight: 500;
  cursor: pointer;
  transition: border-color .16s, transform .16s, background .16s;
}
.pf-opt:hover { border-color: var(--brand); transform: translateX(3px); }
.pf-opt:focus-visible { border-color: var(--brand); }
.pf-opt__key {
  flex: none;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--ink-faint);
  font-size: 12px; font-weight: 700;
  transition: background .16s, color .16s;
}
.pf-opt:hover .pf-opt__key { background: var(--brand-tint); color: var(--brand); }
.pf-opt__arrow { margin-left: auto; color: var(--ink-faint); flex: none; }
.pf-opt:hover .pf-opt__arrow { color: var(--brand); }
.pf-opt__label { display: flex; flex-direction: column; gap: 2px; }
.pf-opt__note { font-size: 12.5px; font-weight: 400; color: var(--ink-faint); }

/* country picker: 2-col flag grid, reuses .pf-opt but wider key + no note */
.pf-options--grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pf-opt--flag .pf-opt__key { width: 30px; height: 30px; font-size: 18px; background: none; }
@media (max-width: 480px) { .pf-options--grid { grid-template-columns: 1fr; } }

.pf-back {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: none; cursor: pointer;
  color: var(--ink-soft); font-family: inherit; font-size: 14px; font-weight: 500;
  padding: 0;
}
.pf-back:hover { color: var(--brand); }
.pf-back .i { transform: rotate(180deg); }

/* result screen */
.pf-result__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-tint); color: var(--accent);
  border-radius: 999px; padding: 6px 13px;
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 14px;
}
.pf-result__h {
  font-family: var(--font-display);
  font-size: clamp(25px, 3.6vw, 33px);
  line-height: 1.12; letter-spacing: -.02em;
  margin: 0 0 14px;
}
.pf-result__body p { font-size: 15.5px; line-height: 1.62; color: var(--ink-soft); margin: 0 0 13px; }
.pf-result__body ol {
  margin: 4px 0 16px; padding: 0; list-style: none;
  counter-reset: pfstep;
}
.pf-result__body ol li {
  counter-increment: pfstep;
  position: relative;
  padding: 11px 0 11px 42px;
  border-top: 1px solid var(--line-soft);
  font-size: 15px; color: var(--ink);
}
.pf-result__body ol li::before {
  content: counter(pfstep);
  position: absolute; left: 0; top: 11px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-tint); color: var(--brand);
  font-size: 12.5px; font-weight: 700;
}
.pf-recap {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.pf-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pf-caveat {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  background: var(--surface-2);
  border-left: 2px solid var(--warn);
  font-size: 13px;
  color: var(--ink-soft);
}
.pf-caveat b { color: var(--ink); }
.pf-caveat--stop { border-left-color: var(--danger); background: var(--danger-tint); }
.pf-result__badge--stop { background: var(--danger-tint); color: var(--danger); }
.pf-result__badge--caution { background: var(--warn-tint); color: var(--warn); }

body.pf-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .pf-slide, .pf-panel, .pf-overlay { transition: none !important; }
  .pf-slide.out-left, .pf-slide.in-right,
  .pf-slide.out-right, .pf-slide.in-left { transform: none; }
}

/* launcher card */
.pf-launch {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  border: 1px solid var(--brand);
  background: linear-gradient(120deg, var(--brand-tint), transparent 70%), var(--surface);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.pf-launch__icon { color: var(--brand); flex: none; }
.pf-launch__text { flex: 1; min-width: 220px; }
.pf-launch__text b { display: block; font-family: var(--font-display); font-size: 19px; margin-bottom: 4px; }
.pf-launch__text span { font-size: 14px; color: var(--ink-soft); }

/* ============================================================
   MODULE 3 — VERIFIED ALUMNI INSIGHTS (UGC component)
   ============================================================ */
.insights { display: flex; flex-direction: column; gap: 14px; }
.insight {
  position: relative;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px 24px;
}
.insight__quote {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0;
}
.insight__meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-faint);
}
.insight__verified {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--accent); font-weight: 600;
}
.insight__verified .i { width: 14px; height: 14px; }

.insight--empty {
  border-left-color: var(--line);
  border-style: dashed;
  background: var(--surface-2);
  text-align: left;
}
.insight--empty .insight__quote {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-soft);
}

/* ============================================================
   PHASE 2 — PRINT STYLESHEET
   Produces a clean A4 report: no chrome, no dark mode, no shadows.
   ============================================================ */
@media print {
  /* force light rendering regardless of theme */
  html, html.dark {
    --paper: #ffffff; --surface: #ffffff; --surface-2: #ffffff;
    --line: #cccccc; --line-soft: #dddddd;
    --ink: #000000; --ink-soft: #333333; --ink-faint: #555555;
    --brand: #000000; --brand-tint: #ffffff; --brand-ink: #ffffff;
    --accent: #000000; --accent-tint: #ffffff;
    --warn: #000000; --warn-tint: #ffffff;
    --danger: #000000; --danger-tint: #ffffff;
    background: #fff !important;
  }
  @page { size: A4; margin: 18mm 15mm; }

  body { font-size: 10.5pt; line-height: 1.45; background: #fff !important; }

  /* strip all interface chrome */
  .site-header, .site-footer, .jumpnav, .toc, .progress,
  .search, .filters, .btn, .pill-link, .icon-btn, .nav,
  .waitlist, .funnel-cta, .swipe-hint, .seg, input[type="range"],
  .rangepair, #homeFit, .crumbs { display: none !important; }

  /* flatten decoration */
  .card, .tool, .essential, .readout, .note, .stat, .table-wrap, .verdict {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    background: #fff !important;
    break-inside: avoid;
  }
  a { text-decoration: none; color: #000 !important; }

  /* expose destination of external links in print */
  main a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 8.5pt;
    color: #555;
    word-break: break-all;
  }

  /* single-column, page-break-aware layout */
  .profile { display: block !important; }
  .grid, .grid--2, .grid--3, .grid--4, .stats {
    display: block !important;
  }
  .grid > *, .stats > * { margin-bottom: 8px; break-inside: avoid; }
  .section, .wrap { padding: 0 !important; max-width: 100% !important; }
  .section-anchor { break-before: auto; }
  h1 { font-size: 20pt; margin-bottom: 6pt; }
  h2 { font-size: 14pt; margin-top: 14pt; break-after: avoid; }
  h3 { font-size: 11.5pt; break-after: avoid; }
  .lede { font-size: 11pt; }

  /* comparison table prints as a full static table */
  .table--compare { min-width: 0 !important; width: 100% !important; font-size: 9pt; }
  .table--compare th:first-child, .table--compare td:first-child { position: static !important; }
  .table-wrap--compare::after { display: none !important; }
  .table { break-inside: auto; }
  .table tr { break-inside: avoid; }
  .rm { display: none !important; }

  /* open every accordion so printed output is complete */
  details { display: block !important; }
  details > summary { list-style: none; font-weight: 700; }
  details > summary::after { content: '' !important; }
  details > *:not(summary) { display: block !important; }

  /* print-only footer stamp */
  main::after {
    content: "Source: akireon.dorukoomph.workers.dev — verify all details on official university and government sources before acting.";
    display: block;
    margin-top: 16pt;
    padding-top: 8pt;
    border-top: 1px solid #ccc;
    font-size: 8.5pt;
    color: #555;
  }
}
