/* AHC Trip Pack — design system. Mobile-first, BEM, system fonts + one
   self-hosted display accent via letter-spacing/weight tricks (no webfont
   dependency to keep zero external requests + fast TTFB on Pages). */

:root {
  --ink: #14261f;
  --ink-soft: #3a4d45;
  --paper: #faf7f0;
  --paper-raised: #ffffff;
  --line: #d8d0bd;
  --brand: #1f6e4c;       /* deep pine green — vet/travel trust */
  --brand-dark: #123f2c;
  --brand-tint: #e7f1e9;
  --amber: #8a5a00;       /* on paper, AA */
  --amber-bg: #fbf0d9;
  --red: #9c2b1f;
  --red-bg: #fbe8e4;
  --gold: #b8873a;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(20, 38, 31, 0.08);
  --container: 1180px;
  --measure: 720px;
  font-size: 100%;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-dark); }
a:visited { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper-raised);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header__bar {
  max-width: var(--container);
  margin-inline: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark {
  width: 30px; height: 30px; flex: none;
}
.site-header__nav {
  display: none;
  gap: 22px;
  list-style: none;
  margin: 0; padding: 0;
  align-items: center;
}
.site-header__nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.site-header__nav a:hover,
.site-header__nav a[aria-current="page"] {
  color: var(--brand-dark);
  border-bottom-color: var(--brand);
}
.site-header__cta {
  display: none;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  padding: 10px 16px;
  border-radius: 999px;
}
.site-header__cta:visited { color: #fff; }
.site-header__cta:hover { background: var(--brand-dark); }

@media (min-width: 800px) {
  .site-header__nav { display: flex; }
  .site-header__cta { display: inline-block; }
}

/* ---------- hero ---------- */
.hero {
  padding: 40px 0 28px;
  background: radial-gradient(1100px 500px at 15% -10%, var(--brand-tint), transparent 60%);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 60vw; height: 60vw; max-width: 640px; max-height: 640px;
  background: radial-gradient(circle, var(--brand-tint) 0%, transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}
.hero__inner { position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-tint);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(28px, 7vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  max-width: 18ch;
}
.hero p.lede {
  font-size: 18.5px;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 24px;
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 20px;
}
.hero__proof li { list-style: none; display: flex; align-items: center; gap: 7px; }
.hero__proof svg { flex: none; }

/* ---------- tool card ---------- */
.tool {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-top: 6px;
}
.tool__title { margin: 0 0 4px; font-size: 21px; }
.tool__sub { margin: 0 0 20px; color: var(--ink-soft); font-size: 15px; }

.tool__form {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) {
  .tool__form { grid-template-columns: 1fr 1fr; }
  .tool__form .field--full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
}
.field select,
.field input {
  font: inherit;
  font-size: 16px; /* iOS zoom guard */
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  min-height: 46px;
}
.field select:focus-visible,
.field input:focus-visible { border-color: var(--brand); }

.tool__submit {
  appearance: none;
  border: none;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 16.5px;
  padding: 14px 20px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 48px;
  width: 100%;
  margin-top: 4px;
  transition: background .15s ease, transform .1s ease;
}
.tool__submit:hover { background: var(--brand-dark); }
.tool__submit:active { transform: scale(0.99); }

/* ---------- plan / timeline output ---------- */
.plan { margin-top: 26px; }
.plan__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.plan__header h2 { margin: 0; font-size: 20px; }
.rules-stamp {
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan__warning {
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid #eecac3;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 14px;
}
.watermark {
  position: relative;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.timeline {
  list-style: none;
  margin: 0; padding: 0;
  position: relative;
}
.timeline__item {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-bottom: 1px solid var(--line);
}
.timeline__item:last-child { border-bottom: none; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: 16px; top: 22px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand);
}
.timeline__item::after {
  content: "";
  position: absolute;
  left: 20px; top: 32px; bottom: -1px;
  width: 2px;
  background: var(--line);
}
.timeline__item:last-child::after { display: none; }
.timeline__date {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--brand-dark);
  text-transform: uppercase;
}
.timeline__label { font-weight: 700; margin: 2px 0 3px; font-size: 15.5px; }
.timeline__detail { color: var(--ink-soft); font-size: 14.5px; }

.plan__watermark-note {
  margin-top: 6px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.verify-line {
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px dashed var(--line);
  margin-top: 18px;
  padding-top: 12px;
}

/* upsell */
.upsell {
  margin-top: 20px;
  background: linear-gradient(160deg, var(--brand-dark), var(--brand));
  color: #fff;
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.upsell h3 { margin: 0; font-size: 19px; }
.upsell p { margin: 0; color: rgba(255,255,255,0.88); font-size: 14.5px; }
.upsell__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 800;
  font-size: 15.5px;
  padding: 13px 18px;
  border-radius: 999px;
  min-height: 46px;
}
.upsell__cta:visited { color: var(--brand-dark); }
.upsell__cta:hover { background: var(--brand-tint); }
.upsell__price { font-weight: 900; }

/* print gate: the free timeline never prints */
@media print {
  .timeline, .plan__watermark-note { display: none !important; }
  .print-blocked-note { display: block !important; }
}
.print-blocked-note { display: none; }

/* ---------- generic sections ---------- */
.section { padding: 44px 0; }
.section--alt { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: 24px; margin: 0 0 8px; letter-spacing: -0.01em; }
.section .section__sub { color: var(--ink-soft); margin: 0 0 26px; max-width: 60ch; font-size: 16px; }

.grid-3 {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.card h3 { margin: 0 0 6px; font-size: 16.5px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.card__icon { margin-bottom: 10px; }

.countries {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 620px) { .countries { grid-template-columns: repeat(4, 1fr); } }
.countries a {
  display: block;
  text-decoration: none;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
}
.countries a:hover { border-color: var(--brand); color: var(--brand-dark); }

.faq { max-width: var(--measure); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+ "; color: var(--brand); font-weight: 900; }
.faq details[open] summary::before { content: "– "; }
.faq p { color: var(--ink-soft); margin: 10px 0 0; font-size: 14.5px; }

.refund-note {
  background: var(--brand-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.82);
  padding: 40px 0 22px;
  margin-top: 40px;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:visited { color: #fff; }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 26px;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h4 {
  color: var(--gold);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}

/* ---------- page hero (country pages) ---------- */
.page-hero { padding: 34px 0 8px; }
.page-hero h1 { font-size: clamp(26px, 6vw, 36px); margin: 0 0 10px; max-width: 22ch; }
.page-hero p { color: var(--ink-soft); max-width: 60ch; font-size: 16.5px; }

.prose { max-width: var(--measure); font-size: 16.5px; }
.prose h2 { font-size: 20px; margin-top: 30px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }

.badge-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.badge {
  font-size: 13px;
  font-weight: 700;
  background: var(--amber-bg);
  color: var(--amber);
  border-radius: 999px;
  padding: 5px 12px;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--brand); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }
