:root {
  --bg: #fbfaf8;
  --panel: #ffffff;
  --ink: #1c1917;
  --muted: #6b6560;
  --line: #e7e2db;
  --accent: #0f766e;
  --accent-dark: #0b5d56;
  --accent-soft: #e6f4f1;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.68 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 248, 0.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-weight: 750;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand span { color: var(--accent); }
.brand:hover { text-decoration: none; }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--muted);
}
.nav a { color: var(--muted); }
.nav a:hover { color: var(--accent); text-decoration: none; }

.lang-select {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  padding: 4px 6px;
  font-family: inherit;
}

.lang-link {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 9px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1;
}
.lang-link:hover { color: var(--accent); text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 20px 72px;
}

.article { max-width: 780px; }

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.breadcrumb .sep { opacity: 0.45; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 650;
  margin: 0 0 6px;
}

h1 {
  font-size: 36px;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 6px 0 14px;
  font-weight: 720;
}

h2 {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.012em;
  margin: 38px 0 12px;
  font-weight: 680;
}

h3 {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 20px 0 8px;
  font-weight: 650;
}

p { margin: 0 0 14px; }

.lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 70ch;
}

.answer-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 20px;
  margin: 26px 0 8px;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
}

.answer-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.answer-row:last-child { border-bottom: 0; }
.answer-row dt { color: var(--muted); font-weight: 550; }
.answer-row dd { margin: 0; }

ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { margin: 6px 0; }

.note {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 13px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 14.5px;
  margin: 24px 0;
}

.source-list li { margin: 5px 0; }

details {
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
summary {
  cursor: pointer;
  font-weight: 620;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::before {
  content: "+";
  display: inline-block;
  width: 18px;
  color: var(--accent);
  font-weight: 700;
}
details[open] summary::before { content: "–"; }
.faq-a { color: var(--muted); margin: 8px 0 2px 18px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 12px;
  margin: 14px 0 10px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 16px;
  display: block;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover {
  border-color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}
.card .k {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.card .t {
  font-weight: 620;
  margin-top: 5px;
  color: var(--ink);
  line-height: 1.4;
}

.cta {
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 30px 28px;
  margin: 44px 0 8px;
}
.cta h2 { color: #fff; margin: 0 0 8px; font-size: 22px; }
.cta p { color: #cfcac4; margin: 0 0 18px; max-width: 60ch; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 620;
  font-size: 14px;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 20px 40px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-inner p { margin: 0 0 6px; }

.hero { max-width: 780px; margin-bottom: 40px; }
.hero h1 { font-size: 44px; }
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 14px;
}
.stats b { color: var(--ink); font-weight: 680; }

.search {
  width: 100%;
  max-width: 440px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  background: var(--panel);
  color: var(--ink);
  outline: none;
}
.search:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.section-title {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin: 46px 0 18px;
}

.country-block { margin: 0 0 30px; }
.country-block h2 { font-size: 19px; margin: 0 0 4px; }
.country-block h2 a { color: var(--ink); }
.country-block h3 { margin: 16px 0 8px; }

.links { display: flex; flex-wrap: wrap; gap: 8px; }
.links a {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 13.5px;
  color: var(--ink);
}
.links a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.small { font-size: 14px; color: var(--muted); max-width: 76ch; }

.table-wrap { overflow-x: auto; margin: 16px 0 10px; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 14.5px;
}
.price-table th,
.price-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.price-table th {
  background: #f4f1ec;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:first-child { font-weight: 620; white-space: nowrap; }
.price-table td:nth-child(2) { white-space: nowrap; color: var(--accent); font-weight: 620; }

.contact-form {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin: 14px 0 4px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: var(--panel);
  color: var(--ink);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact-form .hp { display: none; }
.contact-form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

@media (max-width: 700px) {
  h1 { font-size: 29px; }
  .hero h1 { font-size: 33px; }
  .answer-row { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .answer-row dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
  .wrap { padding: 24px 16px 56px; }
  .nav { gap: 10px; font-size: 13px; }
  .cta { padding: 24px 20px; }
  .price-table td:first-child,
  .price-table td:nth-child(2) { white-space: normal; }
}

/* directory */
.filters { margin: 26px 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.chip {
  font: inherit;
  font-size: 13px;
  line-height: 1;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.dir-group h2 { margin-top: 38px; display: flex; align-items: baseline; gap: 10px; }
.dimcount {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 2px 9px;
}
.dir-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dir-table th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
}
.dir-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dir-table tbody tr:hover { background: var(--accent-soft); }
.dir-table td.dim { color: var(--muted); }

.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px 0 6px; }
.pager button {
  font: inherit;
  font-size: 14px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}
.pager button:disabled { opacity: 0.45; cursor: default; }
.pageno { font-size: 13px; color: var(--muted); }

/* checklist + brief */
.checklist { list-style: none; padding-left: 0; margin: 12px 0; }
.checklist li { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.checklist label { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; }
.checklist input { margin-top: 4px; accent-color: var(--accent); }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; }
.brief {
  white-space: pre-wrap;
  word-break: break-word;
  background: #f6f8f8;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px 17px;
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
}
