/* BorderBrief public site. Colour encodes how hard entry is; everything else stays neutral. */
:root {
  --ink: #16233f;          /* Indian passport navy */
  --text: #26313f;
  --muted: #5a6573;
  --paper: #f6f8f7;
  --surface: #ffffff;
  --rule: #d9dfe3;
  --free: #1d7a52;
  --arrival: #9a5d08;
  --online: #2c5aa0;
  --required: #9c3b2b;
  --pending: #6b7480;
  --tone: var(--pending);
  --measure: 46rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e7ecf4; --text: #d5dce6; --muted: #9aa5b4; --paper: #0f1726; --surface: #16203a; --rule: #2a3550;
    --free: #5cc99a; --arrival: #e7a94b; --online: #82aef0; --required: #ec8a78; --pending: #9aa5b4;
  }
}
.tone-free { --tone: var(--free); }
.tone-arrival { --tone: var(--arrival); }
.tone-online { --tone: var(--online); }
.tone-required { --tone: var(--required); }
.tone-pending { --tone: var(--pending); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem; line-height: 1.6;
}
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--online); outline-offset: 2px; border-radius: 3px; }
h1, h2 { color: var(--ink); line-height: 1.15; margin: 0; }
h1 { font-weight: 800; font-size: clamp(1.9rem, 6vw, 2.9rem); letter-spacing: -0.02em; max-width: 17ch; }
h2 { font-weight: 600; font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.masthead, main, .foot { max-width: var(--measure); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.masthead { display: flex; justify-content: space-between; align-items: baseline; padding-top: 22px; padding-bottom: 10px; }
.wordmark { font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.masthead nav a { font-size: 0.95rem; color: var(--muted); }

.intro { padding: 36px 0 20px; }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 38rem; margin-top: 16px; }
.quiet { color: var(--muted); }

/* Tiers: the one bold device. A thick bar in the tier colour runs down each group. */
.tier { margin: 28px 0; border-left: 6px solid var(--tone); padding-left: 18px; }
.tier-head { margin-bottom: 6px; }
.tier-head h2 { color: var(--tone); font-size: 1.4rem; font-weight: 800; }
.tier-head p { color: var(--muted); margin: 2px 0 0; font-size: 0.97rem; }
.dests { list-style: none; margin: 0; padding: 0; }
.dests li { border-bottom: 1px solid var(--rule); }
.dests li:last-child { border-bottom: 0; }
.dests a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: baseline;
           padding: 12px 2px; text-decoration: none; color: var(--text); }
.dests a:hover .dname { text-decoration: underline; text-underline-offset: 3px; }
.dname { font-weight: 600; color: var(--ink); }
.dfacts { display: flex; flex-wrap: wrap; gap: 0 16px; justify-content: flex-end; text-align: right; color: var(--muted); font-size: 0.95rem; min-width: 0; }
.dfacts span { white-space: nowrap; }
.dname { min-width: 0; }
.dfacts, .facts dd, .events time { font-feature-settings: "tnum" 1; }
.dnote { grid-column: 1 / -1; font-size: 0.85rem; color: var(--muted); }
.dests.plain li { padding: 10px 2px; }
@media (max-width: 420px) {
  .dfacts { gap: 12px; font-size: 0.9rem; }
}

.latest, .method, .monitor, .history { margin: 44px 0; }
.latest h2, .method h2, .monitor h2, .history h2 { margin-bottom: 12px; }
.events { list-style: none; margin: 0 0 12px; padding: 0; }
.events li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.events time { display: block; font-size: 0.85rem; color: var(--muted); }
.events .tag { font-weight: 600; margin-right: 6px; }

/* Destination page */
.crumb { margin: 18px 0 14px; font-size: 0.95rem; }
.crumb a { color: var(--muted); }
.answer { margin: 28px 0; background: var(--surface); border: 1px solid var(--rule); border-top: 6px solid var(--tone);
          border-radius: 6px; padding: 20px 20px 8px; }
.answer.secondary { border-top-width: 3px; }
.who { color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.verdict { color: var(--tone); font-weight: 800; font-size: clamp(1.8rem, 7vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 14px; }
.answer.secondary .verdict { font-size: 1.6rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 12px 20px; margin: 0 0 16px; }
.facts dt { font-size: 0.85rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); font-size: 1.15rem; white-space: nowrap; }
.conditions { color: var(--text); }
.provenance { font-size: 0.92rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 12px; }
.provenance a { margin-left: 4px; }

.foot { border-top: 1px solid var(--rule); padding-top: 22px; padding-bottom: 40px; margin-top: 56px; font-size: 0.92rem; color: var(--muted); }
.foot a { color: var(--muted); margin-right: 14px; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* Pricing page */
.masthead { flex-wrap: wrap; gap: 4px 16px; }
.masthead nav { display: flex; flex-wrap: wrap; gap: 0 16px; }
.masthead nav a { white-space: nowrap; }
.offer { background: var(--surface); border: 1px solid var(--rule); border-left: 6px solid var(--arrival);
         border-radius: 6px; padding: 14px 16px; margin: 8px 0 24px; }
.offer .left { display: inline-block; margin-left: 6px; font-weight: 600; color: var(--arrival); white-space: nowrap; }
.plans { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--rule); border-top: 6px solid var(--online);
        border-radius: 6px; padding: 20px; display: flex; flex-direction: column; }
.plan-agency { border-top-color: var(--ink); }
.plan h2 { font-size: 1.4rem; font-weight: 800; }
.plan .for { color: var(--muted); margin: 2px 0 14px; font-size: 0.97rem; }
.plan .price { margin: 0; font-feature-settings: "tnum" 1; }
.plan .amount { font-size: 2.2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.plan .per { color: var(--muted); }
.plan .was { display: block; color: var(--muted); font-size: 0.92rem; }
.plan .monthly { color: var(--muted); font-size: 0.92rem; margin: 2px 0 14px; }
.features { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.features li { padding: 8px 0 8px 22px; border-bottom: 1px solid var(--rule); position: relative; font-size: 0.98rem; }
.features li:last-child { border-bottom: 0; }
.features li::before { content: ""; position: absolute; left: 2px; top: 0.95em; width: 9px; height: 5px;
        border-left: 2px solid var(--free); border-bottom: 2px solid var(--free); transform: rotate(-45deg); }
.soon { font-size: 0.78rem; font-weight: 600; color: var(--arrival); border: 1px solid currentColor;
        border-radius: 999px; padding: 0 7px; white-space: nowrap; }
.cta { display: block; text-align: center; background: var(--ink); color: var(--paper); text-decoration: none;
       font-weight: 600; padding: 13px 16px; border-radius: 6px; }
.cta:hover { opacity: 0.9; }
.note { color: var(--muted); font-size: 0.95rem; margin-top: 14px; }
.free, .faq { margin: 40px 0; }
.free h2, .faq h2 { margin-bottom: 10px; }
.faq h3 { font-size: 1.05rem; color: var(--ink); margin: 20px 0 4px; }

/* Traveller checklist on destination pages */
.checkhead { font-size: 1rem; color: var(--ink); margin: 18px 0 6px; }
.checklist { list-style: none; margin: 0 0 18px; padding: 0; }
.checklist li { position: relative; padding: 6px 0 6px 28px; border-bottom: 1px solid var(--rule); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 14px; height: 14px;
  border: 2px solid var(--tone); border-radius: 3px; }
@media print { .masthead nav, .foot, .monitor, .history { display: none; } }
