/* ═══════════════════════════════════════════════════════════════════
   NRI Outpost — homepage.css
   Extracted from the inline <style> block of index.html in May 2026
   (cleanup #14). Contains the homepage's section styles, hero, nav,
   currency converter, layover planner, missions panel, tools section,
   and every per-section card / form / modal style.

   Cached aggressively by Cloudflare Pages for returning visitors —
   each page load no longer ships ~2,800 lines of inline CSS.

   Other CSS files (consulates.css, chat-widget.css, mobile.css,
   tools-section.css, dark-mode.css, collapsible-sections.css,
   rail-section.css, maps.css, airports-extras.css, diet-pref.css)
   stay separate and load alongside this one.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --paper: #f4ede1;
  --paper-2: #ebe2d0;
  --ink: #1a1410;
  --ink-2: #4a3f33;
  --ink-3: #7a6f60;
  --rule: #d8cdb5;
  --saffron: #c75a2a;
  --saffron-soft: #e8a87c;
  --teal: #1d4a52;
  --teal-soft: #437a82;
  --sage: #7a8c5e;
  --brick: #8a3a28;
  --gold: #b88a3e;
  --card: #fbf6ec;
  --card-2: #f8f1e1;
}
[data-dark="true"] {
  --paper: #1a1612;
  --paper-2: #221d18;
  --ink: #f4ede1;
  --ink-2: #c4b8a3;
  --ink-3: #8a7f6e;
  --rule: #3a3127;
  --card: #221d18;
  --card-2: #2a241d;
  --saffron-soft: #d99670;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}
.serif { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
.mono { font-family: "JetBrains Mono", monospace; }
.italic { font-style: italic; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-tight { max-width: 980px; margin: 0 auto; padding: 0 32px; }

/* === NAV === */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  max-width: 1240px; margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: "Instrument Serif", serif;
  font-size: 24px;
  letter-spacing: -0.01em;
}
a.brand { text-decoration: none; color: inherit; border-radius: 8px; padding: 2px 4px; margin-left: -4px; }
a.brand:hover .brand-mark { transform: scale(1.05); transition: transform 0.15s ease; }
a.brand:hover em { color: var(--brick); }
a.brand:focus { outline: none; }
a.brand:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--saffron);
  display: grid; place-items: center;
  color: #fff8ec; font-family: "Instrument Serif", serif;
  font-style: italic; font-size: 20px;
  box-shadow: inset 0 -2px 6px rgba(0,0,0,0.15);
}
.brand-mark::after { content: "न"; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
  color: var(--ink-2);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  padding: 8px 14px; border-radius: 8px;
  transition: all 0.15s;
}
.nav-link:hover { color: var(--ink); background: var(--paper-2); }
.nav-cta {
  background: var(--ink); color: var(--paper);
  padding: 9px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  border: none; cursor: pointer;
  font-family: inherit;
}

/* Right-side cluster (diet pref · dark toggle · subscribe). Visually
   separated from the nav links by a small dashed divider so the three
   read as a single utility group, not yet more nav items. */
.nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  padding-left: 14px;
  border-left: 1px dashed color-mix(in oklab, var(--rule) 70%, transparent);
}

/* === NAV "More ▾" DROPDOWN ===
   Trims the visible nav to 6 anchor links and tucks the rest behind a
   single disclosure. Pure CSS via :has() + :hover; keyboard-accessible
   via :focus-within. */
.nav-more {
  position: relative;
  display: inline-block;
}
.nav-more-btn {
  font: inherit;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.15s;
}
.nav-more-btn:hover { color: var(--ink); background: var(--paper-2); }
.nav-more-btn::after {
  content: " ▾";
  font-size: 9px;
  margin-left: 2px;
  opacity: 0.7;
}
.nav-more-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 30px -10px rgba(26,20,16,0.18);
  display: none;
  z-index: 50;
}
.nav-more:hover .nav-more-panel,
.nav-more:focus-within .nav-more-panel {
  display: block;
}
.nav-more-panel .nav-link {
  display: block;
  padding: 7px 12px;
  font-size: 13.5px;
  border-radius: 6px;
}
.nav-more-panel .nav-link:hover { background: var(--paper-2); }
.nav-more-section {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 8px 12px 4px;
  margin-top: 4px;
}
.nav-more-section:first-child { margin-top: 0; }

/* === HERO === */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-search { padding: 90px 0 80px; }
.search-wrap { max-width: 720px; margin: 40px auto 28px; position: relative; }
.search-box {
  display: flex; align-items: center; gap: 10px;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  box-shadow: 0 12px 30px -10px rgba(26,20,16,0.15);
}
.search-icon { font-size: 22px; color: var(--ink-3); flex-shrink: 0; }
.search-box input {
  flex: 1; border: none; background: transparent;
  font-family: inherit; font-size: 16px;
  color: var(--ink); outline: none;
  padding: 16px 0;
}
.search-box input::placeholder { color: var(--ink-3); }
.search-go {
  background: var(--ink); color: var(--paper);
  border: none; padding: 14px 26px; border-radius: 999px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer;
}
.search-go:hover { background: var(--saffron); }
.search-suggest {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  margin-top: 8px;
  box-shadow: 0 16px 40px -8px rgba(26,20,16,0.15);
  z-index: 10;
  display: none;
  overflow: hidden;
}
.search-suggest.open { display: block; }
.suggest-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 14px; align-items: center;
  padding: 14px 20px;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}
.suggest-item:last-child { border-bottom: none; }
.suggest-item:hover { background: var(--paper-2); }
.suggest-icon { font-size: 16px; }
.suggest-section { font-size: 11px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
.search-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}
.chip-label { font-size: 12px; color: var(--ink-3); margin-right: 4px; }
.chip {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 7px 14px;
  border-radius: 999px;
  font-family: inherit; font-size: 12.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s;
}
.chip:hover { border-color: var(--ink); background: var(--paper-2); }
.hero-quickjump {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  max-width: 720px;
  margin: 48px auto 0;
  padding-top: 28px;
  border-top: 1px dashed var(--rule);
}
.qj {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 8px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.qj:hover { background: var(--card); color: var(--ink); }
.qj-icon {
  width: 36px; height: 36px;
  background: var(--paper-2);
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 17px;
  font-family: "Instrument Serif", serif;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--saffron);
  margin-bottom: 24px;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--saffron); }
h1.hero-title {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 28px;
  text-wrap: balance;
}
h1.hero-title em {
  font-style: italic;
  color: var(--saffron);
}
.hero-sub {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.5;
}
.audience-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 12px;
}
.pill-label {
  font-size: 12px; font-weight: 600;
  color: var(--ink-3); text-transform: uppercase;
  letter-spacing: 0.08em;
  width: 100%; margin-bottom: 4px;
}
.pill {
  padding: 10px 18px;
  border: 1px solid var(--rule);
  background: var(--card);
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink-2);
  transition: all 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.pill:hover { border-color: var(--ink-3); }
.pill.active {
  background: var(--ink); color: var(--paper);
  border-color: var(--ink);
}
.pill-icon { font-size: 16px; }

/* Hero visual — passport/ticket card stack */
.hero-visual {
  position: relative;
  height: 480px;
}
.hv-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 24px 48px -16px rgba(26,20,16,0.18), 0 2px 0 rgba(255,255,255,0.4) inset;
}
.hv-passport {
  top: 0; right: 20px;
  width: 280px; height: 360px;
  background: linear-gradient(160deg, var(--brick) 0%, #6b2a1c 100%);
  color: #f4e8c8;
  border: none;
  transform: rotate(6deg);
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 28px 24px;
}
.hv-passport-emblem {
  width: 56px; height: 56px;
  border: 1.5px solid #d4a857;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Instrument Serif", serif;
  color: #d4a857;
  font-size: 22px;
}
.hv-passport-title {
  font-family: "Instrument Serif", serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-top: 18px;
}
.hv-passport-sub {
  font-size: 11px; letter-spacing: 0.2em;
  opacity: 0.7; margin-top: 6px;
}
.hv-passport-bottom {
  border-top: 1px dashed rgba(212,168,87,0.4);
  padding-top: 14px;
  display: flex; justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; opacity: 0.7;
}
.hv-ticket {
  bottom: 30px; left: 0;
  width: 300px;
  transform: rotate(-5deg);
}
.hv-ticket-row {
  display: flex; justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
}
.hv-ticket-route {
  display: flex; align-items: center; gap: 10px;
  font-family: "Instrument Serif", serif;
  font-size: 32px;
  line-height: 1;
}
.hv-ticket-arrow {
  color: var(--saffron);
  font-size: 22px;
}
.hv-ticket-label {
  font-size: 10px; letter-spacing: 0.15em;
  color: var(--ink-3); text-transform: uppercase;
  margin-bottom: 4px;
}
.hv-ticket-divider {
  border-top: 1.5px dashed var(--rule);
  margin: 14px -22px;
  position: relative;
}
.hv-ticket-divider::before,
.hv-ticket-divider::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  background: var(--paper);
  border-radius: 50%;
  top: -10px;
}
.hv-ticket-divider::before { left: -9px; }
.hv-ticket-divider::after { right: -9px; }
.hv-ticket-meta {
  display: flex; justify-content: space-between;
  font-size: 11px;
  color: var(--ink-2);
}
.hv-ticket-meta strong { color: var(--ink); font-weight: 600; }

.hv-rupee {
  top: 60px; left: 60px;
  width: 130px; height: 130px;
  background: var(--saffron);
  color: #fff8ec;
  border: none;
  transform: rotate(-12deg);
  display: grid; place-items: center;
  font-family: "Instrument Serif", serif;
  text-align: center;
}
.hv-rupee-symbol { font-size: 56px; line-height: 1; }
.hv-rupee-label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 4px; opacity: 0.85; }

/* === SECTION SHELL === */
section { padding: 100px 0; border-top: 1px solid var(--rule); }
.section-header {
  display: flex; justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 40px;
}
.section-title {
  font-family: "Instrument Serif", serif;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  max-width: 640px;
  text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--saffron); }
/* Softened May 2026: was a loud uppercase 12px tag dominating each
   section header. Now an editorial flourish — small, monospace, low
   opacity — so the title carries the visual weight. */
.section-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0.18em;
  opacity: 0.6;
  margin-bottom: 8px;
}
.section-intro {
  max-width: 360px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
}

/* === TRAVEL RULES === */
.travel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
}
.rule-card {
  background: var(--card);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  min-height: 280px;
}
.rule-icon-box {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--paper);
  display: grid; place-items: center;
  margin-bottom: 20px;
  font-size: 22px;
}
.rule-tag {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--saffron);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.rule-title {
  font-family: "Instrument Serif", serif;
  font-size: 26px;
  line-height: 1.1;
  margin-bottom: 12px;
}
.rule-body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  flex: 1;
}
.rule-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--ink-3);
  display: flex; justify-content: space-between;
}
.rule-foot strong { color: var(--ink); font-weight: 500; }

.alert-banner {
  margin-top: 32px;
  padding: 18px 24px;
  background: var(--saffron);
  color: #fff8ec;
  border-radius: 14px;
  display: flex; align-items: center; gap: 16px;
  font-size: 14px;
}
.alert-icon {
  font-size: 20px; flex-shrink: 0;
}
.alert-banner strong { font-weight: 700; }
.alert-banner a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* === AIRPORTS === */
.airports-list {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}
.airport-row {
  background: var(--card);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 60px 1.5fr 2fr 1fr 100px;
  gap: 24px;
  align-items: center;
  transition: background 0.15s;
}
.airport-row:hover { background: var(--card-2); }
.airport-code {
  font-family: "Instrument Serif", serif;
  font-size: 32px;
  color: var(--saffron);
  line-height: 1;
}
.airport-name {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}
.airport-city {
  font-size: 13px;
  color: var(--ink-3);
}
.airport-features {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.feat-chip {
  font-size: 11px;
  padding: 3px 9px;
  background: var(--paper);
  color: var(--ink-2);
  border-radius: 4px;
  font-weight: 500;
}
.airport-rating {
  font-family: "Instrument Serif", serif;
  font-size: 24px;
}
.airport-rating-sub { font-size: 11px; color: var(--ink-3); font-family: "Plus Jakarta Sans"; }
.airport-badge {
  text-align: right;
  font-size: 11px; font-weight: 600;
  color: var(--teal);
  padding: 4px 10px;
  background: color-mix(in oklab, var(--teal) 12%, transparent);
  border-radius: 999px;
  display: inline-block;
}

/* === FLIGHT ROUTE BUTTONS (FlightRadar24 link-outs) === */
.flight-routes {
  margin-top: 56px;
}
.flight-routes .fr-head {
  margin-bottom: 32px;
}
.flight-routes .fr-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.flight-routes .fr-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--ink);
}
.flight-routes .fr-title em {
  font-style: italic;
  color: var(--saffron);
}
.flight-routes .fr-sub {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 64ch;
  margin: 0;
}
.flight-routes .fr-group {
  margin-top: 28px;
}
.flight-routes .fr-group-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.flight-routes .fr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.flight-routes .fr-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.flight-routes .fr-card:hover {
  background: var(--paper);
  border-color: color-mix(in oklab, var(--saffron) 30%, var(--rule));
  transform: translateY(-1px);
  text-decoration: none;
}
.flight-routes .fr-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.flight-routes .fr-card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.flight-routes .fr-card-tag.non-stop { color: var(--teal); }
.flight-routes .fr-card-tag.one-stop { color: var(--saffron); }
.flight-routes .fr-card-airline {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.flight-routes .fr-card-route {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.4;
  margin-top: 2px;
}
.flight-routes .fr-card-dur {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 4px;
}
.flight-routes .fr-card-cta {
  flex: none;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink);
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 2px;
}
.flight-routes .fr-card:hover .fr-card-cta {
  background: var(--saffron);
  color: #1a1410;
  border-color: var(--saffron);
}
.flight-routes .fr-note {
  margin: 28px 0 0;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
  padding: 12px 14px;
  background: var(--paper-2);
  border: 1px dashed var(--rule);
  border-radius: 8px;
}

@media (max-width: 920px) {
  .flight-routes .fr-grid { grid-template-columns: 1fr; }
  .flight-routes .fr-title { font-size: 26px; }
}

/* === CURRENCY === */
.currency-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
/* Compacted May 2026: was a dramatic 36px-padded card with a huge ₹
   watermark and 42px input. Trimmed to ~60% vertical footprint so it
   stops dominating the Money section. The dark theme stays — it's a
   recognizable brand element. */
.converter {
  background: var(--ink);
  color: var(--paper);
  border-radius: 16px;
  padding: 22px 26px 20px;
  position: relative;
  overflow: hidden;
}
.conv-label { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.55; margin-bottom: 4px; }
.conv-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.conv-curr {
  display: flex; flex-direction: column;
  font-family: "Instrument Serif", serif;
  font-size: 20px;
  line-height: 1.1;
}
.conv-curr span:last-child {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  opacity: 0.55;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.conv-input {
  background: transparent;
  border: none;
  color: var(--paper);
  font-family: "Instrument Serif", serif;
  font-size: 30px;
  width: 100%;
  text-align: right;
  outline: none;
  -moz-appearance: textfield;
}
.conv-input::-webkit-outer-spin-button,
.conv-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.conv-swap-btn {
  display: flex; justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 11px;
  opacity: 0.7;
}
.swap-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--paper);
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
}
.conv-rate-row {
  display: flex; justify-content: space-between;
  margin-top: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  opacity: 0.6;
}
.conv-source-row {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  opacity: 0.55;
}
.conv-source-row a { color: var(--saffron-soft); text-decoration: underline; }
.conv-source-row a:hover { opacity: 1; }
.remit-list {
  display: flex; flex-direction: column;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
}
.remit-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 80px;
  align-items: center;
  padding: 18px 22px;
  gap: 16px;
  border-bottom: 1px solid var(--rule);
}
.remit-row:last-child { border-bottom: none; }
.remit-row.header {
  background: var(--paper-2);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 12px 22px;
}
.remit-name { font-weight: 600; }
.remit-name small { color: var(--ink-3); font-weight: 400; display: block; font-size: 12px; }
.remit-rate { font-family: "JetBrains Mono", monospace; font-size: 13px; }
.remit-fee { font-size: 13px; }
.remit-fee.free { color: var(--sage); font-weight: 600; }
.remit-tag {
  font-size: 11px; font-weight: 600;
  padding: 3px 8px;
  background: var(--paper);
  border-radius: 4px;
  text-align: center;
}
.remit-tag.best { background: var(--saffron); color: #fff8ec; }

/* === FINANCE TABS === */
.ins-tabs {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
  overflow-x: auto;
}
.ins-tab {
  background: none; border: none;
  padding: 14px 22px;
  font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--ink-3); cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.ins-tab.active { color: var(--ink); border-color: var(--saffron); }
.ins-panel { display: none; }
.ins-panel.active { display: block; }
.ins-intro {
  background: var(--card-2);
  border-radius: 14px;
  padding: 22px 28px;
  margin-bottom: 28px;
  border-left: 3px solid var(--saffron);
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
}
.ins-intro strong { color: var(--ink); }
.ins-intro em { font-style: italic; }
.ins-table {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}
.ins-row {
  display: grid;
  grid-template-columns: 1.5fr 1.4fr 1.1fr 1fr 1fr 1.6fr;
  gap: 18px;
  padding: 18px 22px;
  font-size: 14px;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.ins-row:last-child { border-bottom: none; }
.ins-header {
  background: var(--paper-2);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  padding: 12px 22px;
}
.ins-name {
  font-weight: 600;
  color: var(--ink);
}
.ins-name small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 2px;
}
.ins-row .mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--ink);
}
.ins-row .mono small {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 2px;
  font-weight: 400;
}
.ins-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.ins-tag {
  font-size: 10px; font-weight: 600;
  padding: 3px 9px;
  background: var(--paper);
  border-radius: 4px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}
.ins-tag.good {
  background: color-mix(in oklab, var(--sage) 25%, var(--paper));
  color: var(--ink);
}
.ins-foot-note {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 18px;
  line-height: 1.55;
  padding: 0 8px;
}
.ins-foot-note strong { color: var(--ink-2); font-weight: 600; }
@media (max-width: 920px) {
  .ins-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 18px; }
  .ins-header { display: none; }
  .ins-name { margin-bottom: 6px; }
}

/* === WIZARD PROMO === */
.wizard-promo {
  background: var(--ink);
  color: var(--paper);
  border-radius: 24px;
  padding: 40px 44px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.wizard-promo::before {
  content: "✓";
  position: absolute;
  font-family: "Instrument Serif", serif;
  font-size: 380px;
  color: rgba(199,90,42,0.12);
  bottom: -130px; right: -40px;
  line-height: 1;
}
.wizard-promo-eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--saffron-soft);
  margin-bottom: 14px;
  font-weight: 600;
}
.wizard-promo h3 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.05;
  margin-bottom: 14px;
}
.wizard-promo h3 em { font-style: italic; color: var(--saffron-soft); }
.wizard-promo p {
  font-size: 15px;
  opacity: 0.85;
  max-width: 460px;
}
.wizard-cta-wrap {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  position: relative; z-index: 1;
}
.wizard-cta {
  background: var(--saffron);
  color: #fff8ec;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  border: none; cursor: pointer;
  font-family: inherit;
}
.wizard-cta:hover { background: var(--paper); color: var(--ink); }
.wizard-features {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 12px;
  color: rgba(244,237,225,0.7);
}
.wizard-features span { display: flex; align-items: center; gap: 6px; }
.wizard-features b { color: var(--paper); font-weight: 500; }

/* === EXPORT BUTTON === */
.export-btn {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 7px 14px;
  border-radius: 999px;
  font-family: inherit; font-size: 12px; font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
}
.export-btn:hover { background: var(--paper-2); color: var(--ink); }
.export-modal-bg {
  position: fixed; inset: 0;
  background: rgba(26,20,16,0.5);
  z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 32px;
}
.export-modal-bg.open { display: flex; }
.export-modal {
  background: var(--paper);
  border-radius: 20px;
  max-width: 560px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 32px;
  box-shadow: 0 28px 60px -20px rgba(26,20,16,0.4);
}
.export-modal h3 {
  font-family: "Instrument Serif", serif;
  font-size: 32px;
  margin-bottom: 8px;
}
.export-modal p.sub { color: var(--ink-3); font-size: 14px; margin-bottom: 24px; }
.export-opt {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  margin-bottom: 10px;
}
.export-opt-name { font-weight: 600; font-size: 14px; }
.export-opt-desc { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.export-opt-btn {
  background: var(--ink); color: var(--paper);
  border: none; padding: 9px 16px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  cursor: pointer; flex-shrink: 0;
  font-family: inherit;
}
.export-opt-btn:hover { background: var(--saffron); }
.export-modal-close {
  margin-top: 18px; width: 100%;
  background: transparent; border: 1px solid var(--rule);
  padding: 12px; border-radius: 999px;
  font-family: inherit; font-size: 13px; cursor: pointer;
  color: var(--ink-2);
}

@media (max-width: 920px) {
  .wizard-promo { grid-template-columns: 1fr; padding: 28px; }
}
.tabs {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}
.tab-btn {
  background: none; border: none;
  padding: 14px 22px;
  font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--ink-3); cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab-btn.active { color: var(--ink); border-color: var(--saffron); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.fin-card {
  padding: 28px;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--rule);
}
.fin-card-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.fin-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--paper);
  display: grid; place-items: center;
  font-size: 18px;
}
.fin-title { font-weight: 600; font-size: 16px; }
.fin-sub { font-size: 12px; color: var(--ink-3); }
.fin-list { list-style: none; }
.fin-list li {
  padding: 10px 0;
  font-size: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: baseline;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--rule);
}
.fin-list li:last-child { border-bottom: none; }
.fin-list strong {
  color: var(--ink);
  font-weight: 600;
}
.fin-bullet {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--saffron);
  flex-shrink: 0;
  margin-top: 8px;
}
.fin-new-tag {
  display: inline-block;
  font-size: 9px; font-weight: 700;
  padding: 2px 6px;
  background: var(--saffron);
  color: #fff8ec;
  border-radius: 3px;
  margin-left: 6px;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

/* === CHECKLISTS === */
.checklist-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.checklist {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 32px;
}
.checklist-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 24px;
}
.checklist-title {
  font-family: "Instrument Serif", serif;
  font-size: 32px;
  line-height: 1.1;
}
.checklist-progress {
  text-align: right;
}
.checklist-progress-num {
  font-family: "Instrument Serif", serif;
  font-size: 30px;
  color: var(--saffron);
  line-height: 1;
}
.checklist-progress-label {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.checklist-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 20px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
}
.checklist-cat:first-child { margin-top: 0; }
.check-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 10px 0;
  cursor: pointer;
  user-select: none;
}
.check-box {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
  display: grid; place-items: center;
  margin-top: 2px;
  transition: all 0.15s;
}
.check-item.done .check-box {
  background: var(--ink);
  border-color: var(--ink);
}
.check-item.done .check-box::after {
  content: "✓";
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
}
.check-text {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.4;
}
.check-text small {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}
.check-item.done .check-text {
  text-decoration: line-through;
  color: var(--ink-3);
}
.check-item.done .check-text small { text-decoration: none; }

/* === GROCERY === */
.grocery-tabs {
  display: inline-flex;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 36px;
}
.grocery-tab {
  background: none; border: none;
  padding: 8px 22px;
  font-family: inherit; font-size: 13px; font-weight: 600;
  color: var(--ink-3);
  border-radius: 999px;
  cursor: pointer;
}
.grocery-tab.active {
  background: var(--ink); color: var(--paper);
}
.grocery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grocery-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
}
.grocery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(26,20,16,0.15);
}
.grocery-head {
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 14px;
}
.grocery-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: #fff8ec;
  font-family: "Instrument Serif", serif;
  font-size: 22px;
  flex-shrink: 0;
}
.grocery-name { font-weight: 600; font-size: 15px; }
.grocery-cat { font-size: 12px; color: var(--ink-3); }
.grocery-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 16px;
}
.grocery-meta {
  display: flex; justify-content: space-between;
  align-items: center;
  font-size: 11px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.grocery-ship {
  color: var(--ink-3);
  font-family: "JetBrains Mono", monospace;
}
.grocery-link {
  color: var(--saffron);
  font-weight: 600;
  text-decoration: none;
}

/* === FOOTER === */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 340px;
  margin-top: 14px;
}
.footer-brand-text em { font-style: italic; color: var(--saffron); }
.footer-col h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
}
.footer-col a:hover { color: var(--saffron); }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  color: var(--ink-3);
}

/* === OFFICIAL SOURCES SECTION === */
.sources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 920px) { .sources-grid { grid-template-columns: 1fr; gap: 18px; } }
.sources-col h3 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.src-card {
  background: var(--card); border: 1px solid var(--rule);
  border-radius: 12px; padding: 16px 18px;
  margin-bottom: 10px;
  display: block; text-decoration: none; color: inherit;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.src-card:hover { transform: translateY(-1px); border-color: var(--ink-3); }
.src-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.src-card-name {
  font-family: "Instrument Serif", serif;
  font-size: 17px; line-height: 1.2;
  color: var(--ink);
}
.src-card-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 4px;
  white-space: nowrap;
}
.src-card-tag.india { background: color-mix(in oklab, var(--saffron) 15%, var(--paper-2)); color: var(--saffron); }
.src-card-tag.us    { background: color-mix(in oklab, var(--brick) 15%, var(--paper-2));   color: var(--brick); }
.src-card-tag.ca    { background: color-mix(in oklab, var(--teal) 15%, var(--paper-2));    color: var(--teal); }
.src-card-url { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--ink-3); margin-bottom: 6px; }
.src-card-desc { font-size: 12px; color: var(--ink-2); line-height: 1.5; }

/* === INLINE VERIFICATION NOTE ===
 * Small muted note that follows a specific figure (tax threshold, penalty
 * amount, treaty rate). Calls out "verify at official source". Keep visually
 * secondary to the main content. */
.verify-note {
  display: block;
  margin-top: 3px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.verify-note a { color: var(--ink-3); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.verify-note a:hover { color: var(--saffron); }

/* === CARD LAST-VERIFIED FOOTER === */
.card-verified {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.03em;
}

/* === SECTION DISCLAIMER === */
.section-disclaimer {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--card-2);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--saffron);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 48px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.section-disclaimer .disclaimer-icon { flex-shrink: 0; font-size: 18px; line-height: 1.4; }
.section-disclaimer strong { color: var(--ink); font-weight: 600; }
.section-disclaimer em {
  font-family: "JetBrains Mono", monospace;
  font-style: normal;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  display: block;
  margin-top: 6px;
}
.section-disclaimer a { color: var(--saffron); text-decoration: underline; }
.section-disclaimer.urgent {
  border-left-color: var(--brick);
  background: color-mix(in oklab, var(--saffron-soft) 18%, var(--card));
}

/* === SECTION FEEDBACK ===
   Demoted May 2026: was a full-row widget per section (~80-100px tall),
   now a compact right-aligned line (~28-32px). Subtle by default,
   active on hover so it still invites the vote when noticed. */
.section-feedback {
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px dashed color-mix(in oklab, var(--rule) 60%, transparent);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  opacity: 0.65;
  transition: opacity 0.15s ease;
}
.section-feedback:hover,
.section-feedback:focus-within,
.section-feedback.thanked { opacity: 1; }
.feedback-label {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-right: 2px;
}
.feedback-actions { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.feedback-btn {
  background: transparent;
  border: 1px solid var(--rule);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
  cursor: pointer;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  transition: all 0.15s;
}
.feedback-btn:hover {
  border-color: var(--ink);
  background: var(--paper-2);
  color: var(--ink);
}
.feedback-btn.voted {
  background: var(--saffron);
  color: var(--paper);
  border-color: var(--saffron);
}
.feedback-btn.dimmed { opacity: 0.35; }
.feedback-icon { font-size: 12px; }
.feedback-thanks {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 13px;
  color: var(--saffron);
  display: none;
  margin-left: 4px;
}
.section-feedback.thanked .feedback-thanks { display: inline; }
.feedback-stats {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}

/* === NEWSLETTER FORM === */
.newsletter-form { margin-top: 0; max-width: 360px; }
.newsletter-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 8px;
}
.newsletter-row {
  display: flex;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 4px;
}
.newsletter-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.newsletter-input::placeholder { color: var(--ink-3); }
.newsletter-btn {
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.newsletter-btn:hover { background: var(--saffron); }
.newsletter-note {
  font-size: 12px;
  color: var(--ink-3);
  margin: 8px 0 0;
  line-height: 1.4;
}
.newsletter-note a { color: var(--ink-2); text-decoration: underline; }

/* === FOOTER LEGAL ROW === */
.footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  margin-top: 32px;
  justify-content: center;
}
.footer-legal-row a {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
}
.footer-legal-row a:hover { color: var(--saffron); }

/* The Tweaks panel CSS was removed May 2026 — see comment near the
   commented-out HTML block. Dark toggle in nav now handles theme. */

/* === SMALL UTILITY CLASSES (May 2026 inline-style sweep) ===
   These replace repeating inline style="..." attributes so the markup
   stays clean and the styles are one place to tune. */
.prose-body { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.grid-2col  { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .grid-2col { grid-template-columns: 1fr; } }
.link-btn {
  background: none; border: none;
  color: var(--ink-2);
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit; font-size: inherit;
  padding: 0;
}
.link-btn:hover { color: var(--saffron); }

/* === LAYOVER PLANNER === */
.layover {
  margin-top: 40px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 24px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.layover::before {
  content: "⦿";
  position: absolute;
  font-family: "Instrument Serif", serif;
  font-size: 280px;
  color: rgba(199,90,42,0.08);
  bottom: -90px; right: -50px;
  line-height: 1;
  font-weight: 100;
}
.lo-head { margin-bottom: 28px; position: relative; z-index: 1; }
.lo-eyebrow {
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--saffron-soft);
  margin-bottom: 12px;
  font-weight: 600;
}
.lo-title {
  font-family: "Instrument Serif", serif;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.lo-title em { font-style: italic; color: var(--saffron-soft); }
.lo-controls {
  display: grid; gap: 22px;
  position: relative; z-index: 1;
  margin-bottom: 28px;
}
.lo-control label {
  display: flex; justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 10px;
}
.lo-control label strong {
  color: var(--saffron-soft);
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  font-size: 13px;
  opacity: 1;
}
.lo-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.lo-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit; font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
}
.lo-pill:hover { background: rgba(255,255,255,0.15); }
.lo-pill.active {
  background: var(--saffron);
  border-color: var(--saffron);
  font-weight: 600;
}
.layover .bt-slider {
  background: rgba(255,255,255,0.1);
}
.lo-output {
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative; z-index: 1;
}
.lo-summary {
  font-size: 16px;
  color: var(--paper);
  margin-bottom: 22px;
  line-height: 1.5;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.lo-summary strong { color: var(--saffron-soft); font-weight: 600; }
.lo-summary em { font-style: italic; }
.lo-timeline {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  height: 36px;
}
.lo-tl-block {
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
  color: var(--paper);
  padding: 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lo-tl-block.immigration { background: var(--brick); }
.lo-tl-block.buffer { background: rgba(255,255,255,0.18); color: rgba(244,237,225,0.8); }
.lo-tl-block.activity { background: var(--saffron); }
.lo-tl-block.security { background: var(--teal); }
.lo-tl-block.boarding { background: var(--gold); }
.lo-tl-labels {
  display: flex; justify-content: space-between;
  font-size: 11px;
  opacity: 0.6;
  margin-bottom: 24px;
  font-family: "JetBrains Mono", monospace;
}
.lo-recs {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.lo-recs-head {
  display: flex; justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--paper);
}
.lo-recs-head strong { color: var(--saffron-soft); font-weight: 600; }
.lo-recs-head span:last-child {
  font-size: 11px;
  opacity: 0.55;
  font-family: "JetBrains Mono", monospace;
}
.lo-recs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.lo-rec {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
}
.lo-rec.dim { opacity: 0.4; }
.lo-rec-icon {
  font-family: "Instrument Serif", serif;
  font-size: 22px;
  color: var(--saffron-soft);
  text-align: center;
}
.lo-rec-name { font-size: 13px; font-weight: 500; color: var(--paper); }
.lo-rec-name small { display: block; font-size: 11px; opacity: 0.6; font-weight: 400; margin-top: 2px; }
.lo-rec-time {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  opacity: 0.7;
  white-space: nowrap;
}
@media (max-width: 920px) {
  .lo-recs-list { grid-template-columns: 1fr; }
}

/* === CROSS-BORDER BUSINESS === */
.cb-intro {
  background: var(--ink);
  color: var(--paper);
  padding: 24px 28px;
  border-radius: 16px;
  margin-bottom: 28px;
  font-style: italic;
  font-family: "Instrument Serif", serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
}
.cb-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cb-struct {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 26px;
}
.cb-struct-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.cb-struct-title {
  font-family: "Instrument Serif", serif;
  font-size: 24px;
  line-height: 1.1;
  flex: 1;
}
.cb-struct-tag {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--paper-2);
  color: var(--ink-2);
  white-space: nowrap;
}
.cb-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 16px;
}
.cb-pc-head {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cb-pc-head.pros { color: var(--sage); }
.cb-pc-head.cons { color: var(--saffron); }
.cb-pc-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 8px;
}
.cb-pc-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
}
.cb-pc-list .mark {
  font-weight: 700;
  text-align: center;
}
.cb-pc-list .mark.good { color: var(--sage); }
.cb-pc-list .mark.bad { color: var(--saffron); }
.cb-best {
  padding: 12px 14px;
  background: var(--paper-2);
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink);
  border: 1px solid var(--rule);
}
.cb-best strong { font-weight: 600; }

/* Forms table for cross-border */
.cb-form {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 110px 1fr 200px;
  gap: 22px;
  align-items: start;
  margin-bottom: 12px;
}
.cb-form-id {
  display: flex; flex-direction: column;
  gap: 8px;
}
.cb-form-name {
  font-family: "Instrument Serif", serif;
  font-size: 26px;
  color: var(--teal);
  line-height: 1;
}
.cb-form-country {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}
.cb-form-country.us { background: color-mix(in oklab, var(--saffron) 15%, transparent); color: var(--saffron); }
.cb-form-country.ca { background: color-mix(in oklab, var(--teal) 15%, transparent); color: var(--teal); }
.cb-form-what {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}
.cb-form-meta {
  display: flex; flex-direction: column;
  gap: 10px;
}
.cb-form-meta-row {
  font-size: 12px;
}
.cb-form-meta-label {
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10px;
  margin-bottom: 2px;
}
.cb-form-meta-value { color: var(--ink); font-weight: 500; }
.cb-form-meta-value.penalty { color: var(--saffron); font-weight: 600; }

/* === RECOMMENDED SERVICES === */
.svc-disclosure {
  background: color-mix(in oklab, var(--teal) 8%, var(--card));
  border: 1px solid color-mix(in oklab, var(--teal) 25%, var(--rule));
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 36px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  border-left: 3px solid var(--teal);
}
.svc-disclosure strong { color: var(--ink); font-weight: 600; }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 24px;
  display: flex; flex-direction: column;
}
.svc-cat {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
  background: var(--paper-2);
  color: var(--teal);
  border: 1px solid var(--rule);
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 16px;
}
.svc-name {
  font-family: "Instrument Serif", serif;
  font-size: 30px;
  line-height: 1.05;
  margin-bottom: 6px;
}
.svc-tag {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  color: var(--saffron);
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 300;
}
.svc-why {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 18px;
}
.svc-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--saffron);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.svc-cta:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Per-link FTC affiliate disclosure. Required to be "clear, conspicuous,
   and as close as possible to the claim" (FTC Endorsement Guides 2023).
   Auto-applied via pseudo-element so we don't have to touch every CTA. */
.svc-cta::after {
  content: 'Affiliate link';
  margin-left: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--paper-2);
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.svc-cta:hover::after { color: var(--ink-2); }
/* Opt-out: cards that are not affiliate (informational only) can add the
   class "no-aff" to suppress the tag. */
.svc-cta.no-aff::after { display: none; }

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-quote {
  background: var(--ink);
  color: var(--paper);
  border-radius: 18px;
  padding: 32px 36px;
  margin-bottom: 32px;
}
.about-quote p {
  font-family: "Instrument Serif", serif;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 300;
  font-style: italic;
}
.about-quote em { color: var(--saffron-soft); font-style: normal; font-weight: 400; }
.about-quote-attr {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(244,237,225,0.6);
}
.about-block { margin-bottom: 28px; }
.about-block h4 {
  font-family: "Instrument Serif", serif;
  font-size: 22px;
  margin-bottom: 8px;
  line-height: 1.15;
}
.about-block p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
}
.about-block p mark {
  background: color-mix(in oklab, var(--saffron) 20%, var(--paper));
  color: var(--ink);
  padding: 0 4px;
  border-radius: 2px;
}
.about-side {
  display: flex; flex-direction: column;
  gap: 18px;
  position: sticky; top: 80px;
}
.about-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 22px 24px;
}
.about-card.dark {
  background: var(--ink);
  color: var(--paper);
  border: none;
}
.about-card h5 {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 14px;
}
.about-card.dark h5 { color: var(--saffron); }
.about-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.about-card.dark .about-row { border-bottom-color: rgba(255,255,255,0.1); }
.about-row:last-child { border-bottom: none; }
.about-row-emoji { font-size: 18px; width: 24px; }
.about-row-label { font-size: 13px; font-weight: 600; }
.about-row-note { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.about-card.dark .about-row-note { color: rgba(255,255,255,0.5); }
.about-card.dark .about-row { display: flex; justify-content: space-between; }
.about-row-domain { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--paper); }
.about-edit-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 11px;
  color: rgba(244,237,225,0.5);
  line-height: 1.5;
}
.about-cadence-row {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}
.about-cadence-row:last-child { border-bottom: none; }
.about-cadence-freq {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  color: var(--teal);
  font-weight: 600;
}

/* === LEGAL MODAL === */
.legal-modal-bg {
  position: fixed; inset: 0;
  background: rgba(26,20,16,0.7);
  z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 32px;
}
.legal-modal-bg.open { display: flex; }
.legal-modal {
  background: var(--paper);
  border-radius: 18px;
  max-width: 720px; width: 100%;
  max-height: 85vh;
  display: flex; flex-direction: column;
  border: 1px solid var(--rule);
  box-shadow: 0 28px 60px -20px rgba(0,0,0,0.4);
}
.legal-modal-head {
  padding: 22px 32px;
  border-bottom: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
}
.legal-modal-head h2 {
  font-family: "Instrument Serif", serif;
  font-size: 24px;
}
.legal-modal-close {
  background: none; border: none;
  font-size: 28px;
  color: var(--ink-3);
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 50%;
}
.legal-modal-close:hover { background: var(--paper-2); color: var(--ink); }
.legal-modal-body {
  padding: 28px 32px;
  overflow-y: auto;
  flex: 1;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
}
.legal-modal-body h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin: 22px 0 8px;
  letter-spacing: 0.02em;
}
.legal-modal-body h3:first-child { margin-top: 0; }
.legal-modal-body p { margin-bottom: 12px; }
.legal-modal-foot {
  padding: 18px 32px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px;
  color: var(--ink-3);
}

@media (max-width: 920px) {
  .cb-grid-2 { grid-template-columns: 1fr; }
  .cb-form { grid-template-columns: 1fr; gap: 12px; }
  .cb-pros-cons { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-side { position: static; }
}

/* === VISA & IMMIGRATION === */
.visa-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}
.visa-timeline {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 32px;
}
.visa-timeline h3 {
  font-family: "Instrument Serif", serif;
  font-size: 28px;
  margin-bottom: 6px;
}
.visa-timeline p.sub {
  color: var(--ink-3); font-size: 14px; margin-bottom: 24px;
}
.timeline {
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--rule);
}
.timeline-item {
  position: relative;
  padding-bottom: 22px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--saffron);
}
.timeline-item.done::before {
  background: var(--saffron);
}
.timeline-date {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}
.timeline-title {
  font-weight: 600;
  font-size: 15px;
  margin: 4px 0;
}
.timeline-body {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.timeline-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px;
  background: var(--saffron);
  color: #fff8ec;
  border-radius: 4px;
  margin-left: 6px;
  letter-spacing: 0.05em;
}
.visa-side {
  display: flex; flex-direction: column; gap: 16px;
}
.visa-card {
  background: var(--card-2);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 22px;
}
.visa-card h4 {
  font-family: "Instrument Serif", serif;
  font-size: 22px;
  margin-bottom: 8px;
  line-height: 1.1;
}
.visa-card p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.visa-card .visa-stat {
  display: flex; justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}
.visa-card .visa-stat strong {
  color: var(--saffron); font-weight: 700;
}

/* === HEALTHCARE === */
.health-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.health-estimator {
  background: var(--ink);
  color: var(--paper);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.health-estimator::before {
  content: "⚕";
  position: absolute;
  font-family: "Instrument Serif", serif;
  font-size: 260px;
  color: rgba(255,255,255,0.04);
  bottom: -90px; right: -20px;
  line-height: 1;
}
.he-title {
  font-family: "Instrument Serif", serif;
  font-size: 28px;
  margin-bottom: 8px;
}
.he-sub {
  font-size: 13px;
  opacity: 0.6;
  margin-bottom: 24px;
}
.he-control {
  margin-bottom: 18px;
}
.he-control label {
  display: block;
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 8px;
}
.he-pills {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.he-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit; font-size: 13px;
  cursor: pointer;
}
.he-pill.active {
  background: var(--saffron);
  border-color: var(--saffron);
  font-weight: 600;
}
.he-result {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.he-result-label {
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}
.he-result-amount {
  font-family: "Instrument Serif", serif;
  font-size: 56px;
  line-height: 1;
  margin: 8px 0 4px;
}
.he-result-amount small { font-size: 16px; opacity: 0.6; }
.he-result-note {
  font-size: 12px; opacity: 0.6;
  margin-top: 8px;
}
.health-cards { display: flex; flex-direction: column; gap: 16px; }
.health-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 22px;
}
.hc-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.hc-name { font-weight: 600; font-size: 15px; }
.hc-cat { font-size: 12px; color: var(--ink-3); }
.hc-price {
  font-family: "Instrument Serif", serif;
  font-size: 22px;
  color: var(--saffron);
  text-align: right;
  line-height: 1;
}
.hc-price small { font-size: 11px; color: var(--ink-3); font-family: "Plus Jakarta Sans"; }
.hc-features {
  display: flex; flex-wrap: wrap; gap: 6px;
  font-size: 11px;
}
.hc-feat {
  padding: 3px 9px;
  background: var(--paper-2);
  border-radius: 4px;
  color: var(--ink-2);
}
.hc-feat.good { color: var(--sage); }

/* === HOUSING === */
.housing-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
}
.budget-tool {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 28px;
}
.bt-title {
  font-family: "Instrument Serif", serif;
  font-size: 26px;
  margin-bottom: 6px;
}
.bt-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 22px; }
.bt-field {
  margin-bottom: 16px;
}
.bt-field label {
  display: flex; justify-content: space-between;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 8px;
  font-weight: 500;
}
.bt-field label strong {
  font-family: "JetBrains Mono", monospace;
  color: var(--ink);
  font-weight: 500;
}
.bt-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: var(--paper-2);
  height: 6px;
  border-radius: 3px;
  outline: none;
}
.bt-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--saffron);
  cursor: pointer;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--saffron);
}
.bt-slider::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--saffron);
  cursor: pointer;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--saffron);
}
.bt-toggle-row {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: 8px;
}
.bt-toggle {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--rule);
  background: var(--paper);
  border-radius: 8px;
  font-family: inherit; font-size: 12px;
  cursor: pointer;
  text-align: center;
}
.bt-toggle.active {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.bt-result {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.bt-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.bt-result-item .label {
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.bt-result-item .value {
  font-family: "Instrument Serif", serif;
  font-size: 32px;
  color: var(--saffron);
  line-height: 1;
}
.bt-result-item .value small { font-size: 14px; color: var(--ink-3); font-family: "Plus Jakarta Sans"; }

.housing-tips {
  display: flex; flex-direction: column;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}
.htip {
  background: var(--card);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: flex-start;
}
.htip-num {
  font-family: "Instrument Serif", serif;
  font-size: 28px;
  color: var(--saffron);
  line-height: 1;
}
.htip h4 {
  font-weight: 600; font-size: 15px;
  margin-bottom: 4px;
}
.htip p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.htip p strong { color: var(--ink); }

/* === COMMUNITY === */
.community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.comm-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 22px;
  display: flex; flex-direction: column;
  min-height: 180px;
}
.comm-card-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.comm-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--paper-2);
  display: grid; place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
.comm-platform {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-weight: 600;
}
.comm-name {
  font-family: "Instrument Serif", serif;
  font-size: 22px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.comm-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  flex: 1;
}
.comm-foot {
  margin-top: 14px;
  display: flex; justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--ink-3);
}
.comm-foot strong { color: var(--saffron); font-weight: 500; }

/* === DUTY LINKS (in travel) — replaces the old interactive calculator.
   We link to authoritative sources because every Union Budget shifts the
   allowances and a stale calculator is worse than no calculator. === */
.duty-links {
  margin-top: 28px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 20px;
  padding: 28px;
}
.duty-links .dl-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.duty-links .dl-title {
  font-family: "Instrument Serif", serif;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.duty-links .dl-title em {
  font-style: italic;
  color: var(--saffron);
}
.duty-links .dl-sub {
  font-size: 13px;
  opacity: 0.65;
  margin-top: 6px;
  max-width: 64ch;
  line-height: 1.5;
}
.duty-links .dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.duty-links .dl-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  color: var(--paper);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.duty-links .dl-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.2);
  text-decoration: none;
}
.duty-links .dl-card-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--saffron);
}
.duty-links .dl-card-title {
  font-family: "Instrument Serif", serif;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.duty-links .dl-card-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
  flex: 1;
}
.duty-links .dl-card-link {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--saffron);
  letter-spacing: -0.005em;
  margin-top: 6px;
}

@media (max-width: 920px) {
  .hero-grid, .currency-wrap, .checklist-wrap, .footer-grid { grid-template-columns: 1fr; }
  .travel-grid, .grocery-grid { grid-template-columns: 1fr; }
  .tab-panel.active { grid-template-columns: 1fr; }
  .airport-row { grid-template-columns: 50px 1fr; gap: 12px; }
  .airport-features, .airport-rating, .airport-badge { grid-column: 2 / 3; }
  .hero-visual { display: none; }
  .nav-links .nav-link:not(.nav-cta) { display: none; }
  .hero-quickjump { grid-template-columns: repeat(4, 1fr); }
  .visa-grid, .health-grid, .housing-grid, .community-grid { grid-template-columns: 1fr !important; }
  .duty-links { padding: 22px; }
  .duty-links .dl-grid { grid-template-columns: 1fr; }
  .duty-links .dl-head { flex-direction: column; align-items: flex-start; gap: 0; }
}
