:root {
  --paper: #f6f4ee;
  --paper-deep: #efece3;
  --surface: #ffffff;
  --ink: #0b1015;
  --ink-2: #333d4b;
  --muted: #5c6673;
  --faint: #6b7684;
  --line: #e6e2d8;
  --line-2: #d3cec0;
  --accent: #1d4ed8;
  --accent-2: #3b82f6;
  --accent-soft: #e9efff;
  --ok: #16a34a;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 16, 21, 0.05);
  --shadow-md: 0 14px 34px -22px rgba(11, 16, 21, 0.42);
  --shadow-lg: 0 30px 70px -40px rgba(11, 16, 21, 0.55);
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(900px 420px at 50% -180px, rgba(59, 130, 246, 0.16), transparent 70%),
    radial-gradient(680px 320px at 88% -60px, rgba(29, 78, 216, 0.1), transparent 65%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--accent);
}

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 80;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 12px;
}

/* ------------------------------- header ---------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 244, 238, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(230, 226, 216, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(140deg, var(--accent-2), var(--accent));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.9;
}

.brand-accent {
  color: var(--accent);
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: 10px;
  font-size: 13px;
}

.section-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.section-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
  font-size: 13px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

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

section[id] {
  scroll-margin-top: 84px;
}

/* ------------------------------ breadcrumb ------------------------------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 20px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ink);
}

/* -------------------------------- hero ----------------------------------- */

.hero {
  padding: 18px 0 30px;
}

h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4.6vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 800;
  text-wrap: balance;
}

.lede {
  margin: 16px 0 0;
  max-width: 66ch;
  font-size: 1.0625rem;
  color: var(--ink-2);
}

.disclaimer {
  margin: 14px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  flex: none;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  font-size: 12.5px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero-chips li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
}

/* -------------------------------- tool ----------------------------------- */

.tool {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.tool::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), #8b5cf6);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  flex: 0 1 auto;
}

.field label,
.field-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field-country {
  flex: 1 1 220px;
  max-width: 280px;
}

.field-type {
  min-width: 136px;
}

.field-qty {
  min-width: 232px;
}

select,
input[type="number"],
input[type="text"] {
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  height: 44px;
  padding: 0 13px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

select {
  appearance: none;
  padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 51%, calc(100% - 13px) 51%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

select:hover,
input[type="number"]:hover,
input[type="text"]:hover {
  border-color: var(--line-2);
}

select:focus,
input[type="number"]:focus,
input[type="text"]:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.combo {
  position: relative;
}

.combo input {
  width: 100%;
  cursor: pointer;
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 51%, calc(100% - 13px) 51%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.combo input:focus {
  cursor: text;
}

.combo-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 268px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.combo-list li {
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

.combo-list li[aria-selected="true"],
.combo-list li:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.presets {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  background: var(--paper-deep);
  border-radius: var(--radius-sm);
}

.presets button {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  min-width: 42px;
  height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.presets button:hover {
  color: var(--ink);
}

.presets button.is-active {
  background: var(--ink);
  color: #fff;
}

#quantity {
  width: 74px;
  text-align: center;
  padding-left: 6px;
  padding-right: 6px;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.check:hover {
  border-color: var(--line-2);
}

.check:has(input:checked) {
  background: var(--accent-soft);
  border-color: #bfd0ff;
  color: var(--accent);
}

.check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 26px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 650;
  color: #fff;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 22px -12px rgba(29, 78, 216, 0.9);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px -14px rgba(29, 78, 216, 0.95);
  filter: saturate(115%);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  list-style: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.btn-ghost:hover {
  border-color: var(--line-2);
  color: var(--ink);
  background: #fbfaf6;
}

/* ------------------------------- results --------------------------------- */

.results {
  margin-top: 44px;
}

.results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.results-head h2 {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.results-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.menu {
  position: relative;
}

.menu > summary::-webkit-details-marker {
  display: none;
}

.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  min-width: 164px;
  display: grid;
  gap: 2px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.menu-panel button {
  font: inherit;
  font-size: 13.5px;
  text-align: left;
  padding: 9px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}

.menu-panel button:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(302px, 1fr));
  gap: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-md);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: linear-gradient(180deg, #f8faff, #eef2fc);
  border-bottom: 1px solid #e3eafa;
}

.card-index {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.card-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.type-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  height: 28px;
  padding: 0 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  color: var(--accent);
  background: #fff;
  border: 1px solid #cfdaf7;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.copy-btn:hover {
  background: var(--accent-soft);
  border-color: #b9c9f5;
}

.card-rows {
  margin: 0;
  padding: 4px 14px 8px;
}

.row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 24px;
  align-items: start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f3f1ea;
}

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

.row dt {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.9;
  color: var(--muted);
}

.row dd {
  margin: 0;
  min-width: 0;
  text-align: right;
}

.row-value-btn {
  display: inline-block;
  max-width: 100%;
  margin: -3px -6px;
  padding: 3px 6px;
  font: inherit;
  color: inherit;
  text-align: right;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.row-value-btn:hover {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px #cdd9fb;
}

.row-value-btn:active {
  background: #dbe4ff;
}

.row-copy.is-copied,
.copy-btn.is-copied {
  color: var(--ok);
  opacity: 1;
  background: #eefaf2;
  border-color: #bfe6cd;
}

.row .value {
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.row .value.mono {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}

.row-copy {
  justify-self: end;
  padding: 2px 0 0;
  border: 0;
  background: none;
  color: var(--muted);
  opacity: 0.35;
  cursor: pointer;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.row-copy:hover,
.row-copy:focus-visible {
  opacity: 1;
  color: var(--accent);
}

/* plain list */
.plain-block {
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
}

.plain-block > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  list-style: none;
}

.plain-block > summary::-webkit-details-marker {
  display: none;
}

.plain-block > summary::after {
  content: "+";
  margin-left: 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
}

.plain-block[open] > summary::after {
  content: "−";
}

.plain-count {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.plain-list {
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 14px;
  max-height: 220px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
  background: #faf9f5;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  resize: vertical;
}

/* ------------------------------ content ---------------------------------- */

.content-block {
  margin-top: 58px;
}

.content-block h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.content-block h2::before {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  margin-bottom: 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.section-note {
  margin: -4px 0 18px;
  max-width: 70ch;
  font-size: 14px;
  color: var(--muted);
}

.format-table {
  width: 100%;
  max-width: 540px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.format-table th,
.format-table td {
  text-align: left;
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid #f3f1ea;
}

.format-table tr:last-child th,
.format-table tr:last-child td {
  border-bottom: 0;
}

.format-table th {
  width: 42%;
  font-weight: 500;
  color: var(--muted);
}

.format-table td {
  font-family: var(--mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-grid li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.area-grid li:hover {
  border-color: #c7d5ff;
  background: #f8faff;
  transform: translateY(-1px);
}

.area-grid code {
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
}

.area-grid span {
  color: var(--ink-2);
}

.steps {
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 68ch;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 18px 46px;
  color: var(--ink-2);
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.steps strong {
  color: var(--ink);
  font-weight: 700;
  margin-right: 8px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  padding: 0 18px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq-item:hover {
  border-color: var(--line-2);
}

.faq-item[open] {
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  position: relative;
  padding: 16px 34px 16px 0;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--accent-soft);
  color: var(--accent);
}

.faq-item p {
  margin: 0;
  padding: 2px 34px 18px 0;
  color: var(--ink-2);
  max-width: 74ch;
}

.country-grid,
.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(186px, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.country-grid a,
.related-list a {
  display: block;
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
}

.country-grid a:hover,
.related-list a:hover {
  border-color: #c7d5ff;
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.legal h2 {
  margin: 28px 0 8px;
  font-size: 1.05rem;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p {
  margin: 0 0 10px;
  max-width: 72ch;
  color: var(--ink-2);
}

/* -------------------------------- modal ---------------------------------- */

.modal {
  width: min(680px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}

.modal::backdrop {
  background: rgba(11, 16, 21, 0.5);
  backdrop-filter: blur(2px);
}

.modal-head,
.modal-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}

.modal-head {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.modal-foot {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
}

.modal-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.modal-code {
  margin: 0;
  padding: 18px;
  max-height: 55vh;
  overflow: auto;
  background: #0b1220;
  color: #cfe0ff;
  font-size: 12.5px;
  line-height: 1.6;
}

/* -------------------------------- footer --------------------------------- */

.site-footer {
  margin-top: 80px;
  padding: 36px 0;
  background: #0b1015;
  color: #9aa4b2;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 24px;
  font-size: 12.5px;
}

.footer-inner p {
  margin: 0;
}

.footer-brand p:first-child {
  font-size: 13.5px;
  font-weight: 600;
  color: #e8ecf3;
}

.footer-brand .footer-note {
  margin-top: 7px;
  font-size: 12px;
  color: #8b95a5;
  max-width: 60ch;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  color: #cfd6e0;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------- toast --------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  z-index: 90;
  padding: 11px 18px;
  border-radius: 999px;
  background: #0b1015;
  color: #fff;
  font-size: 13px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ------------------------------- responsive ------------------------------- */

@media (max-width: 900px) {
  .section-nav {
    display: none;
  }

  h1 {
    font-size: clamp(1.9rem, 6vw, 2.5rem);
  }
}

@media (max-width: 760px) {
  .header-inner {
    height: 56px;
  }

  .breadcrumb {
    padding-top: 16px;
  }

  .hero {
    padding: 14px 0 24px;
  }

  .tool {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
  }

  .field-country,
  .field-type,
  .field-qty {
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
  }

  .qty {
    justify-content: space-between;
  }

  .check {
    justify-content: flex-start;
  }

  .btn-primary {
    width: 100%;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .results-tools {
    width: 100%;
  }

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

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .row {
    grid-template-columns: 88px minmax(0, 1fr) 22px;
    gap: 8px;
  }

  .row .value.mono {
    font-size: 13.5px;
  }

  .hero-chips li {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none;
  }

  .card:hover,
  .area-grid li:hover,
  .country-grid a:hover,
  .related-list a:hover,
  .btn-primary:hover {
    transform: none;
  }
}


