:root {
  --paper: #f3efe5;
  --surface: #fffdf8;
  --surface-soft: #f7f3e9;
  --ink: #152d29;
  --ink-soft: #42534f;
  --green: #1d5a4d;
  --green-dark: #123f37;
  --green-soft: #e9f3ed;
  --red: #d94a36;
  --red-dark: #b63a2a;
  --red-soft: #fbece8;
  --amber: #a86e1c;
  --amber-soft: #fbf1dd;
  --blue: #3679bd;
  --blue-soft: #edf4fb;
  --gold: #dcae68;
  --line: #e5ded0;
  --line-strong: #d6cdbb;
  --muted: #78827d;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
  --mono: "DM Mono", Consolas, monospace;
  --shadow: 0 24px 65px rgba(31, 54, 47, 0.11);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0, rgba(217, 74, 54, 0.06), transparent 25rem),
    radial-gradient(circle at 92% 18%, rgba(29, 90, 77, 0.08), transparent 29rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 64px), 1180px);
  min-height: 88px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(21, 45, 41, 0.12);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  color: #fff8ec;
  background: var(--red);
  border-radius: 12px 12px 12px 4px;
  font-family: "Songti SC", SimSun, serif;
  font-size: 22px;
  font-weight: 700;
  place-items: center;
}

.brand-mark::after {
  position: absolute;
  inset: 5px;
  content: "";
  border: 1px solid rgba(255, 248, 236, 0.38);
  border-radius: 8px 8px 8px 2px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-size: 13px;
  letter-spacing: 0.14em;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.header-note {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--green);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-tools {
  display: flex;
  gap: 15px;
  align-items: center;
}

.language-switcher {
  display: flex;
  gap: 3px;
  align-items: center;
}

.language-switcher a {
  display: grid;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 7px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  place-items: center;
}

.language-switcher a:hover {
  color: var(--ink);
  border-color: var(--line);
}

.language-switcher a[aria-current="page"] {
  color: #fff8ec;
  background: var(--green);
}

.language-picker {
  position: relative;
  z-index: 40;
}

.language-picker summary {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.75);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.language-picker summary::-webkit-details-marker {
  display: none;
}

.language-picker summary svg {
  width: 13px;
  height: 13px;
  color: var(--muted);
  transition: transform 150ms ease;
}

.language-picker[open] summary svg {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 155px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(23, 35, 32, 0.15);
}

.language-menu a {
  padding: 8px 10px;
  color: var(--ink-soft);
  border-radius: 7px;
  font-size: 13px;
}

.language-menu a:hover {
  color: var(--ink);
  background: var(--green-soft);
}

.language-menu a[aria-current="page"] {
  color: var(--green);
  background: var(--green-soft);
  font-weight: 600;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(217, 74, 54, 0.1);
}

main {
  position: relative;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 55px;
  align-items: center;
  width: min(calc(100% - 64px), 1180px);
  min-height: 530px;
  margin: 0 auto;
  padding: 54px 0 94px;
}

.orbit {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(29, 90, 77, 0.1);
  border-radius: 50%;
}

.orbit-one {
  top: -390px;
  right: -330px;
  width: 900px;
  height: 900px;
}

.orbit-two {
  top: -270px;
  right: -215px;
  width: 650px;
  height: 650px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.search-kicker {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--red-dark);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
}

.eyebrow b,
.reviewed b {
  font: inherit;
  font-weight: inherit;
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
}

.hero h1 {
  margin: 20px 0 22px;
  font-family: var(--serif);
  font-size: clamp(64px, 7.1vw, 100px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.hero h1 em {
  color: var(--red);
  font-weight: 400;
}

.hero-copy > p {
  max-width: 600px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.pass-art {
  position: relative;
  z-index: 2;
  width: min(100%, 400px);
  margin-left: auto;
  transform: rotate(2deg);
}

.pass-shadow {
  position: absolute;
  inset: 25px 0 -24px 20px;
  background: rgba(21, 45, 41, 0.2);
  border-radius: 26px;
  filter: blur(23px);
  transform: rotate(-3deg);
}

.pass-card {
  position: relative;
  min-height: 408px;
  padding: 27px 29px 108px;
  overflow: hidden;
  color: #fff8ec;
  background:
    radial-gradient(circle at 100% 0, rgba(220, 174, 104, 0.18), transparent 14rem),
    linear-gradient(145deg, #205f52, #123f37 72%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px 26px 26px 17px;
  box-shadow: 0 24px 58px rgba(22, 48, 43, 0.16);
}

.pass-card::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 40px;
  content: "";
  background: var(--paper);
  border-radius: 0 24px 24px 0;
  transform: translateY(-50%);
}

.pass-card::after {
  position: absolute;
  inset: 8px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 248, 236, 0.13);
  border-radius: 12px 20px 20px 12px;
}

.pass-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  opacity: 0.7;
}

.pass-route {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: end;
  margin-top: 66px;
}

.pass-route small {
  display: block;
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  opacity: 0.58;
}

.pass-route strong {
  display: block;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  line-height: 0.9;
}

.pass-route > div:last-child {
  text-align: right;
}

.route-line {
  display: flex;
  gap: 6px;
  align-items: center;
  padding-bottom: 8px;
  color: var(--gold);
}

.route-line i {
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}

.route-line svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  fill: currentColor;
  stroke: none;
}

.pass-rule {
  margin: 27px 0 19px;
  border-top: 1px dashed rgba(255, 248, 236, 0.3);
}

.pass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pass-grid span,
.pass-grid b {
  display: block;
  font-family: var(--mono);
}

.pass-grid span {
  margin-bottom: 5px;
  font-size: 6px;
  letter-spacing: 0.1em;
  opacity: 0.5;
}

.pass-grid b {
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.pass-stamp {
  position: absolute;
  right: 30px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 81px;
  height: 81px;
  color: rgba(255, 237, 211, 0.62);
  border: 1px solid rgba(255, 237, 211, 0.32);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.pass-stamp small {
  font-family: var(--mono);
  font-size: 5px;
  letter-spacing: 0.11em;
}

.pass-stamp strong {
  margin: 1px 0;
  font-family: "Songti SC", SimSun, serif;
  font-size: 20px;
  line-height: 1;
}

.search-shell {
  position: relative;
  z-index: 5;
  width: min(calc(100% - 64px), 1180px);
  margin: -76px auto 0;
  padding: 30px 34px 20px;
  background: var(--surface);
  border: 1px solid rgba(21, 45, 41, 0.1);
  border-radius: 25px;
  box-shadow: var(--shadow);
}

.search-heading {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.search-heading h2 {
  margin: 7px 0 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 40px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.reviewed {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 9px 11px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 9px;
  font-size: 9px;
}

.reviewed svg {
  width: 18px;
  height: 18px;
}

.reviewed span {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.reviewed strong {
  margin-top: 2px;
  color: var(--green);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.nationality-search {
  position: relative;
}

.nationality-search > label {
  display: block;
  margin: 0 0 7px 2px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 155px;
  gap: 10px;
}

.search-control {
  position: relative;
  display: flex;
  align-items: center;
  height: 59px;
  padding: 0 44px 0 50px;
  background: #f6f2e8;
  border: 1.5px solid rgba(21, 45, 41, 0.16);
  border-radius: 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.search-control:focus-within {
  background: var(--surface);
  border-color: rgba(29, 90, 77, 0.64);
  box-shadow: 0 0 0 4px rgba(29, 90, 77, 0.08);
}

.search-control > svg:first-child {
  position: absolute;
  left: 17px;
  width: 21px;
  height: 21px;
  color: var(--green);
}

.search-control input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 17px;
  font-weight: 500;
}

.search-control input::placeholder {
  color: #8d938e;
  font-weight: 400;
}

.search-chevron {
  position: absolute;
  right: 15px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.search-button {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  height: 59px;
  color: #fff8ec;
  background: var(--red);
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 9px 20px rgba(217, 74, 54, 0.2);
  transition: background 160ms ease, transform 160ms ease;
}

.search-button:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.search-button svg {
  width: 17px;
  height: 17px;
}

.country-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  z-index: 30;
  display: none;
  max-height: 300px;
  padding: 6px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(21, 45, 41, 0.16);
}

.country-menu.open {
  display: block;
}

.country-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 7px 11px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.country-option:hover,
.country-option.active,
.country-option[aria-selected="true"] {
  background: var(--green-soft);
}

.country-option .flag {
  position: relative;
  display: grid;
  width: 27px;
  height: 19px;
  margin-right: 9px;
  overflow: hidden;
  color: var(--green);
  background: #edf3ed;
  border: 1px solid var(--line);
  border-radius: 3px;
  place-items: center;
}

.country-option .flag b {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
}

.country-option .flag img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-option .region {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.country-empty {
  padding: 19px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.field-error {
  display: none;
  margin: 7px 0 0 2px;
  color: var(--red);
  font-size: 10px;
}

.nationality-search.has-error .field-error {
  display: block;
}

.nationality-search.has-error .search-control {
  border-color: var(--red);
}

.popular-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 13px;
}

.popular-picks > span {
  margin-right: 2px;
  color: var(--muted);
  font-size: 10px;
}

.popular-picks button {
  padding: 4px 8px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9px;
  cursor: pointer;
}

.popular-picks button:hover {
  color: var(--green);
  border-color: rgba(29, 90, 77, 0.35);
}

.workspace {
  width: min(calc(100% - 64px), 1180px);
  min-height: 235px;
  margin: 28px auto 0;
  padding-bottom: 92px;
}

.result-panel {
  display: none;
  scroll-margin-top: 22px;
}

.result-panel.is-visible {
  display: block;
  animation: result-in 300ms ease both;
}

.country-panel {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(21, 45, 41, 0.1);
  border-radius: 21px;
  box-shadow: 0 16px 48px rgba(23, 47, 41, 0.075);
}

.country-header {
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: space-between;
  padding: 23px 27px;
  border-bottom: 1px solid var(--line);
}

.country-identity {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.country-flag {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  overflow: hidden;
  color: var(--green);
  background: #edf3ed;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
}

.country-flag b {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}

.country-flag img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-identity span {
  color: var(--red-dark);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.country-identity h2 {
  margin: 3px 0 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.country-identity p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.status-pill {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.country-side {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-end;
}

.printable-guide-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: #fff8ec;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(21, 45, 41, 0.13);
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.printable-guide-link:hover {
  color: #fff8ec;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.printable-guide-link svg {
  width: 15px;
  height: 15px;
}

.status-pill i {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.status-green {
  color: var(--green);
  background: var(--green-soft);
}

.status-blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.status-red {
  color: var(--red-dark);
  background: var(--red-soft);
}

.policy-table {
  margin: 0 27px;
  padding-top: 8px;
}

.policy-row {
  display: grid;
  grid-template-columns: minmax(145px, 0.62fr) minmax(280px, 1.65fr) 145px;
  gap: 18px;
  align-items: center;
  min-height: 61px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.policy-row:last-child {
  border-bottom: 0;
}

.policy-label {
  color: var(--muted);
  font-size: 10px;
}

.policy-value {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.policy-value small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}

.policy-state {
  justify-self: end;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.state-good {
  color: var(--green);
}

.state-info {
  color: var(--blue);
}

.state-warn {
  color: var(--amber);
}

.tailor {
  margin: 10px 27px 23px;
  padding: 17px 19px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.tailor-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.tailor-heading span {
  color: var(--red-dark);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.tailor-heading h3 {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}

.tailor-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.trip-form {
  display: grid;
  grid-template-columns: 1fr 1.25fr auto;
  gap: 9px;
  align-items: end;
  margin-top: 13px;
}

.result-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.result-field > span {
  color: var(--muted);
  font-size: 9px;
}

.result-input,
.result-select {
  position: relative;
  display: flex;
  align-items: center;
  height: 41px;
  padding: 0 11px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.result-input:focus-within,
.result-select:focus-within {
  border-color: rgba(29, 90, 77, 0.55);
  box-shadow: 0 0 0 3px rgba(29, 90, 77, 0.08);
}

.result-input input,
.result-select select {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.result-input input::-webkit-inner-spin-button {
  appearance: none;
}

.result-input small {
  color: var(--muted);
  font-size: 9px;
}

.result-select select {
  padding-right: 22px;
  appearance: none;
  cursor: pointer;
}

.result-select svg {
  position: absolute;
  right: 9px;
  width: 14px;
  height: 14px;
  color: var(--muted);
  pointer-events: none;
}

.trip-submit {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  height: 41px;
  padding: 0 14px;
  color: #fff8ec;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.trip-submit:hover {
  background: var(--green);
}

.trip-submit svg {
  width: 14px;
  height: 14px;
}

.trip-error {
  display: none;
  margin: 7px 0 0;
  color: var(--red);
  font-size: 9px;
}

.answer {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 13px;
  align-items: start;
  margin: 0 27px 18px;
  padding: 16px 18px;
  border: 1px solid;
  border-radius: 11px;
}

.answer-vf {
  background: var(--green-soft);
  border-color: #c9e3d6;
}

.answer-transit {
  background: var(--blue-soft);
  border-color: #d7e6f6;
}

.answer-visa {
  background: var(--amber-soft);
  border-color: #ebd9b9;
}

.answer-icon {
  display: grid;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  place-items: center;
}

.answer-icon svg {
  width: 18px;
  height: 18px;
}

.answer > div:last-child > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.answer h3 {
  margin: 3px 0 4px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
}

.answer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
}

.answer small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.answer-note {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 27px 22px;
  color: var(--muted);
  font-size: 9px;
}

.answer-note svg {
  width: 16px;
  height: 16px;
  color: var(--amber);
}

.checklist-link {
  color: var(--red-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(182, 58, 42, 0.35);
  text-underline-offset: 3px;
}

.checklist-link:hover {
  color: var(--green);
  text-decoration-color: currentColor;
}

.travel-reminders {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 27px 22px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.travel-reminders > div {
  min-height: 108px;
  padding: 15px;
  background: var(--surface-soft);
}

.travel-reminders strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 13px;
}

.travel-reminders span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.visa-section {
  border-top: 1px solid var(--line);
}

.visa-heading {
  display: flex;
  gap: 30px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 22px 27px 15px;
}

.visa-heading span {
  color: var(--red-dark);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.09em;
}

.visa-heading h3 {
  margin: 5px 0 3px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
}

.visa-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.visa-link {
  display: inline-grid;
  grid-template-columns: auto auto 16px;
  gap: 11px;
  align-items: center;
  padding: 8px 12px;
  color: var(--ink);
  background: linear-gradient(105deg, #ffffff 0%, #fffaf5 100%);
  border: 1px solid #dfd6c6;
  border-radius: 12px;
  box-shadow: 0 5px 16px rgba(36, 57, 49, 0.07);
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.visa-link-copy {
  display: flex;
  flex-direction: column;
  padding-left: 11px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}

.visa-link-copy small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.visa-link-copy strong {
  margin-top: 2px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
}

.visa-portal-logo {
  display: block;
  width: auto;
  height: 32px;
}

.visa-link:hover {
  border-color: rgba(54, 121, 189, 0.38);
  box-shadow: 0 7px 20px rgba(36, 57, 49, 0.11);
  transform: translateY(-1px);
}

.visa-link svg {
  width: 13px;
  height: 13px;
  color: var(--blue);
}

.residence-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 10px 18px;
  align-items: center;
  margin: 0 27px 20px;
  padding: 16px 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.residence-copy strong {
  display: block;
  font-size: 16px;
}

.residence-copy span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.residence-select {
  position: relative;
  display: flex;
  align-items: center;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.residence-select select {
  width: 100%;
  height: 100%;
  padding: 0 32px 0 11px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 15px;
  appearance: none;
  cursor: pointer;
}

.residence-select svg,
.residence-select > span[aria-hidden] {
  position: absolute;
  right: 11px;
  width: 14px;
  height: 14px;
  color: var(--muted);
  pointer-events: none;
}

.residence-result {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--green);
  font-size: 14px;
  line-height: 1.5;
}

.residence-result:empty {
  display: none;
}

.official-forms-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  margin: 0 27px 20px;
  padding: 14px 16px;
  background: #f4f8fc;
  border: 1px solid #d8e3ed;
  border-radius: 11px;
}

.official-forms-card > img {
  width: auto;
  height: 29px;
}

.official-forms-card > div {
  min-width: 0;
}

.official-forms-card strong {
  display: block;
  font-size: 16px;
}

.official-forms-card > div span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.official-forms-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 9px 11px;
  color: var(--blue);
  background: var(--surface);
  border: 1px solid #cadbea;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.official-forms-link:hover {
  color: #245f9d;
  border-color: #9bbedf;
}

.official-forms-link svg {
  width: 13px;
  height: 13px;
}

.official-forms-link > span {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.documents-table {
  margin: 0 27px 23px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.documents-head,
.document-row {
  display: grid;
  grid-template-columns: 44px minmax(160px, 0.7fr) 1.5fr;
  gap: 13px;
  align-items: center;
}

.documents-head {
  min-height: 31px;
  padding: 0 15px;
  color: var(--muted);
  background: var(--surface-soft);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.document-row {
  min-height: 55px;
  padding: 10px 15px;
  border-top: 1px solid var(--line);
}

.document-num {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.document-row strong {
  font-size: 10px;
  font-weight: 600;
}

.document-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.5;
}

.document-note {
  margin: 0 27px 22px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}

.application-location {
  margin: 0 27px 22px;
  padding: 14px 16px;
  background: var(--amber-soft);
  border-radius: 9px;
}

.application-location strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.application-location span {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

footer {
  border-top: 1px solid rgba(21, 45, 41, 0.12);
}

.footer-inner {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 64px), 1180px);
  min-height: 78px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 8px;
}

.footer-inner p {
  max-width: 700px;
  margin: 0;
}

.footer-brand {
  min-width: 250px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.footer-brand p {
  max-width: 360px;
}

.footer-nav {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 7px 15px;
  justify-content: center;
}

.footer-nav a {
  color: var(--ink-soft);
}

.footer-nav a:hover {
  color: var(--red-dark);
}

.footer-inner > span {
  white-space: nowrap;
}

@keyframes result-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(58px, 8vw, 78px);
  }

  .pass-card {
    min-height: 340px;
    padding: 24px;
  }

  .pass-route {
    margin-top: 60px;
  }

  .policy-row {
    grid-template-columns: 1fr 1.55fr;
  }

  .policy-state {
    display: none;
  }
}

@media (max-width: 800px) {
  .site-header,
  .hero,
  .search-shell,
  .workspace,
  .footer-inner {
    width: min(calc(100% - 36px), 1180px);
  }

  .site-header {
    min-height: 76px;
  }

  .header-tools {
    width: 100%;
    justify-content: flex-end;
    padding-bottom: 10px;
  }

  .hero {
    display: block;
    min-height: 0;
    padding: 48px 0 72px;
  }

  .hero h1 {
    font-size: clamp(56px, 14vw, 82px);
  }

  .hero-copy > p {
    max-width: 600px;
    font-size: 14px;
  }

  .pass-art {
    display: none;
  }

  .search-shell {
    margin-top: -46px;
    padding: 24px 21px 17px;
  }

  .search-heading {
    display: block;
  }

  .reviewed {
    width: fit-content;
    margin-top: 12px;
  }

  .search-row {
    grid-template-columns: minmax(0, 1fr) 116px;
  }

  .search-control {
    height: 54px;
  }

  .search-button {
    height: 54px;
    font-size: 12px;
  }

  .workspace {
    margin-top: 20px;
    padding-bottom: 65px;
  }

  .tailor-heading p {
    display: none;
  }

  .trip-form {
    grid-template-columns: 1fr 1fr;
  }

  .trip-submit {
    grid-column: 1 / -1;
  }

  .visa-heading {
    display: block;
  }

  .visa-link {
    gap: 7px;
    width: 100%;
    max-width: 100%;
    margin-top: 13px;
    padding: 8px 10px;
    grid-template-columns: auto 1fr 14px;
  }

  .visa-portal-logo {
    max-width: 114px;
    height: 22px;
    flex: 0 0 auto;
    object-fit: contain;
  }

  .visa-link-copy {
    min-width: 0;
    padding-left: 8px;
  }

  .visa-link-copy small {
    font-size: 9px;
  }

  .visa-link-copy strong {
    font-size: 14px;
  }

  .visa-link svg {
    flex: 0 0 auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    flex-wrap: wrap;
    padding-top: 14px;
  }

  .brand-copy small {
    display: none;
  }

  .header-note {
    display: none;
  }

  .header-tools {
    justify-content: flex-start;
  }

  .language-switcher {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .language-switcher::-webkit-scrollbar {
    display: none;
  }

  .language-menu {
    right: auto;
    left: 0;
  }

  .hero {
    padding-top: 40px;
  }

  .hero h1 {
    margin-top: 17px;
    font-size: clamp(53px, 17vw, 70px);
  }

  .search-shell {
    padding: 21px 16px 15px;
    border-radius: 19px;
  }

  .search-heading h2 {
    font-size: 28px;
  }

  .search-row {
    grid-template-columns: minmax(0, 1fr) 92px;
  }

  .search-control {
    height: 52px;
    padding-right: 35px;
    padding-left: 42px;
  }

  .search-control > svg:first-child {
    left: 13px;
    width: 18px;
    height: 18px;
  }

  .search-control input {
    font-size: 14px;
  }

  .search-chevron {
    right: 10px;
  }

  .search-button {
    height: 52px;
    gap: 6px;
    padding: 0 11px;
    font-size: 11px;
  }

  .search-button svg {
    display: none;
  }

  .country-header {
    display: block;
    padding: 19px 17px;
  }

  .country-flag {
    width: 42px;
    height: 42px;
  }

  .country-identity h2 {
    font-size: 23px;
  }

  .status-pill {
    margin-top: 13px;
  }

  .country-side {
    align-items: flex-start;
    margin-top: 12px;
  }

  .country-side .status-pill {
    margin-top: 0;
  }

  .policy-table {
    margin: 0 17px;
  }

  .policy-row {
    display: block;
    padding: 13px 0;
  }

  .policy-label {
    font-size: 9px;
  }

  .policy-value {
    margin-top: 3px;
    font-size: 12px;
  }

  .tailor {
    margin: 8px 17px 17px;
    padding: 15px;
  }

  .tailor-heading h3 {
    font-size: 16px;
  }

  .trip-form {
    grid-template-columns: 1fr;
  }

  .trip-submit {
    grid-column: auto;
  }

  .answer {
    grid-template-columns: 32px 1fr;
    margin: 0 17px 16px;
    padding: 14px;
  }

  .answer-icon {
    width: 32px;
    height: 32px;
  }

  .answer h3 {
    font-size: 17px;
  }

  .answer-note {
    margin: 0 17px 19px;
  }

  .travel-reminders {
    grid-template-columns: 1fr;
    margin: 0 17px 17px;
  }

  .travel-reminders > div {
    min-height: 0;
  }

  .visa-heading {
    padding: 19px 17px 13px;
  }

  .documents-table {
    margin: 0 17px 19px;
  }

  .residence-panel {
    grid-template-columns: 1fr;
    margin: 0 17px 17px;
  }

  .residence-select {
    width: 100%;
  }

  .official-forms-card {
    grid-template-columns: 1fr;
    margin: 0 17px 17px;
  }

  .official-forms-card > img {
    width: 160px;
    height: auto;
  }

  .official-forms-link {
    justify-content: center;
  }

  .documents-head {
    display: none;
  }

  .document-row {
    grid-template-columns: 28px 1fr;
    gap: 8px;
    padding: 12px;
  }

  .document-row p {
    grid-column: 2;
    margin-top: -5px;
  }

  .document-note {
    margin: 0 17px 19px;
  }

  .application-location {
    margin: 0 17px 19px;
  }

  .footer-inner {
    display: block;
    padding: 18px 0;
  }

  .footer-nav {
    justify-content: flex-start;
    margin: 13px 0;
  }

  .footer-inner > span {
    display: block;
    margin-top: 8px;
  }
}

/* Readability pass: lift body copy and raise every micro-label by roughly three levels. */
body {
  font-size: 16px;
}

.brand-copy strong {
  font-size: 15px;
}

.brand-copy small {
  font-size: 13px;
}

.header-note,
.eyebrow,
.search-kicker {
  font-size: 13px;
}

.hero-copy > p {
  font-size: 17px;
}

.pass-top {
  font-size: 11px;
}

.pass-route small {
  font-size: 10px;
}

.pass-grid span {
  font-size: 9px;
}

.pass-grid b {
  font-size: 10px;
}

.pass-stamp small {
  font-size: 8px;
}

.reviewed {
  font-size: 12px;
}

.reviewed span {
  font-size: 10px;
}

.reviewed strong {
  font-size: 12px;
}

.nationality-search > label {
  font-size: 14px;
}

.search-control input {
  font-size: 18px;
}

.search-button {
  font-size: 16px;
}

.country-option {
  font-size: 15px;
}

.country-option .flag {
  font-size: 13px;
}

.country-option .region {
  font-size: 11px;
}

.country-empty,
.field-error {
  font-size: 13px;
}

.popular-picks > span {
  font-size: 13px;
}

.popular-picks button {
  padding: 5px 9px;
  font-size: 12px;
}

.country-identity span {
  font-size: 11px;
}

.country-identity p {
  font-size: 13px;
}

.status-pill {
  font-size: 13px;
}

.policy-label {
  font-size: 13px;
}

.policy-value {
  font-size: 16px;
}

.policy-value small {
  font-size: 12px;
}

.policy-state {
  font-size: 11px;
}

.tailor-heading span {
  font-size: 11px;
}

.tailor-heading p {
  font-size: 12px;
}

.result-field > span {
  font-size: 12px;
}

.result-input input,
.result-select select {
  font-size: 15px;
}

.result-input small,
.trip-error {
  font-size: 12px;
}

.trip-submit {
  font-size: 13px;
}

.answer > div:last-child > span {
  font-size: 11px;
}

.answer h3 {
  font-size: 21px;
}

.answer p {
  font-size: 14px;
}

.answer small,
.answer-note {
  font-size: 12px;
}

.visa-heading span {
  font-size: 14px;
}

.visa-heading h3 {
  font-size: 24px;
}

.visa-heading p {
  font-size: 15px;
}

.visa-link {
  padding: 10px 13px;
  font-size: 15px;
}

.documents-head {
  min-height: 36px;
  font-size: 13px;
}

.document-num {
  font-size: 14px;
}

.document-row strong {
  font-size: 16px;
}

.document-row p {
  font-size: 15px;
}

.document-row {
  min-height: 68px;
  padding-top: 13px;
  padding-bottom: 13px;
}

.document-note {
  font-size: 14px;
}

.footer-inner {
  font-size: 11px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

[dir="rtl"] .search-control {
  padding-right: 50px;
  padding-left: 44px;
}

[dir="rtl"] .search-control > svg:first-child {
  right: 17px;
  left: auto;
}

[dir="rtl"] .search-chevron {
  right: auto;
  left: 15px;
}

[dir="rtl"] .country-option {
  text-align: right;
}

[dir="rtl"] .country-option .flag {
  margin-right: 0;
  margin-left: 9px;
}

[dir="rtl"] .country-option .region {
  margin-right: auto;
  margin-left: 0;
}

[dir="rtl"] .result-select svg {
  right: auto;
  left: 9px;
}

[dir="rtl"] .result-select select {
  padding-right: 0;
  padding-left: 22px;
}

[dir="rtl"] .policy-state {
  justify-self: start;
}

[dir="rtl"] .seo-nav,
[dir="rtl"] .footer-nav,
[dir="rtl"] .seo-nav {
  direction: rtl;
}

[dir="rtl"] .visa-link-copy {
  padding-right: 11px;
  padding-left: 0;
  border-right: 1px solid var(--line);
  border-left: 0;
}

.language-picker summary {
  font-size: 15px;
}

.language-menu a {
  font-size: 16px;
}

.country-identity span {
  font-size: 13px;
}

.printable-guide-link {
  font-size: 13px;
}

.policy-state {
  font-size: 13px;
}

.tailor-heading span {
  font-size: 13px;
}

.tailor-heading p,
.result-field > span,
.answer small,
.trip-error {
  font-size: 14px;
}

.trip-submit {
  font-size: 15px;
}

.answer > div:last-child > span {
  font-size: 13px;
}

.document-note,
.application-location span {
  font-size: 14px;
}

.application-location strong,
.travel-reminders strong {
  font-size: 15px;
}

.travel-reminders span {
  font-size: 13px;
}

.pass-top {
  font-size: 14px;
}

.pass-route small {
  font-size: 13px;
}

.pass-grid span {
  font-size: 13px;
}

.pass-grid b {
  font-size: 13px;
}

.pass-stamp small {
  font-size: 13px;
}

.pass-stamp {
  width: 100px;
  height: 100px;
}

.reviewed {
  font-size: 15px;
}

.reviewed span {
  font-size: 13px;
}

.reviewed strong {
  font-size: 15px;
}

.popular-picks button {
  font-size: 15px;
}

.footer-inner,
.footer-brand strong,
.footer-nav a {
  font-size: 14px;
}

/* External destinations use a distinct blue treatment and arrow. */
a[target="_blank"]:not(.visa-link):not(.official-forms-link) {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a[target="_blank"]:not(.visa-link):not(.official-forms-link)::after {
  content: " ↗";
  color: var(--blue);
  font-family: var(--sans);
  font-size: 0.9em;
  text-decoration: none;
}

a[target="_blank"]:hover {
  color: #245f9d;
}
