:root {
  --ink: #111827;
  --muted: #596275;
  --line: #e4e7ec;
  --paper: #fff;
  --soft: #f6f8fb;
  --brand: #0f766e;
  --brand-strong: #115e59;
  --accent: #d97706;
  --blue: #1d4ed8;
  --shadow: 0 18px 44px rgba(17, 24, 39, 0.09);
  --shell: 1180px;
  --gutter: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

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

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 4;
  backdrop-filter: blur(16px);
}

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--shell);
  padding: 14px var(--gutter);
}

.brand {
  align-items: center;
  display: flex;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  height: auto;
  max-height: 27px;
  width: 96px;
}

.brand-mark {
  align-items: center;
  background: var(--brand);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--brand-strong);
}

.language-switcher {
  position: relative;
}

.language-switcher summary {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  min-height: 38px;
  list-style: none;
  padding: 8px 12px;
}

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

.language-switcher summary::after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  content: "";
  margin-left: 8px;
}

.language-menu {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 3px;
  min-width: 190px;
  padding: 7px;
  position: absolute;
  right: 0;
  top: 44px;
  z-index: 20;
}

.language-menu a {
  border-radius: 7px;
  color: var(--ink);
  display: flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: space-between;
  padding: 9px 10px;
}

.language-menu a span {
  color: var(--muted);
  font-weight: 700;
  margin-left: 16px;
}

.language-menu a:hover,
.language-menu a.is-active {
  background: var(--soft);
  color: var(--brand-strong);
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  list-style: none;
  width: 42px;
}

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

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  background: var(--ink);
  border-radius: 999px;
  content: "";
  display: block;
  height: 2px;
  width: 18px;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  left: 0;
  position: absolute;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.mobile-menu-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 4px;
  min-width: min(284px, calc(100vw - 32px));
  padding: 8px;
  position: absolute;
  right: 0;
  top: 50px;
}

.mobile-menu-panel a {
  border-radius: 7px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  padding: 11px 12px;
}

.mobile-menu-panel a:hover {
  background: var(--soft);
}

.mobile-menu-panel .button {
  margin-top: 4px;
  min-height: 42px;
  padding: 10px 12px;
}

.mobile-menu-panel .language-switcher {
  margin-top: 4px;
}

.mobile-menu-panel .language-switcher summary {
  justify-content: space-between;
  width: 100%;
}

.mobile-menu-panel .language-menu {
  box-shadow: none;
  margin-top: 6px;
  position: static;
  width: 100%;
}

.button {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font-weight: 750;
  gap: 9px;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
}

.button-primary {
  background: var(--brand);
  color: #fff;
}

.button-primary:hover {
  background: var(--brand-strong);
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.section-link {
  margin: 22px 0 0;
}

.hero {
  background: linear-gradient(180deg, #edf8f6 0%, #fff 74%);
  border-bottom: 1px solid var(--line);
}

.hero-inner,
.section,
.footer-inner {
  margin: 0 auto;
  max-width: var(--shell);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.hero-inner {
  align-items: end;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  padding-bottom: 64px;
  padding-top: 62px;
}

.eyebrow {
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 0;
  margin-top: 12px;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 21px;
}

.lead {
  color: #344054;
  font-size: 19px;
  margin: 22px 0 0;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.trust-item {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.trust-item strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
}

.trust-item span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin-top: 4px;
}

.hero-panel {
  align-self: end;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.featured-carousel {
  position: relative;
}

.carousel-track {
  position: relative;
}

.carousel-slide {
  display: none;
}

.carousel-slide.is-active {
  display: block;
}

.carousel-link {
  display: block;
}

.panel-image {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.panel-body {
  padding: 20px;
}

.panel-body h3 {
  margin-top: 12px;
}

.panel-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}

.carousel-controls {
  align-items: center;
  display: flex;
  gap: 9px;
  justify-content: center;
  padding: 0 14px 14px;
}

.carousel-arrow {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.carousel-arrow span {
  border-bottom: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  display: block;
  height: 8px;
  transform: translateX(2px) rotate(45deg);
  width: 8px;
}

.carousel-arrow-next span {
  transform: translateX(-2px) rotate(225deg);
}

.carousel-dots {
  align-items: center;
  display: flex;
  gap: 7px;
  justify-content: center;
}

.carousel-dots button {
  background: #cbd5e1;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 7px;
  padding: 0;
  width: 7px;
}

.carousel-dots button.is-active {
  background: var(--brand);
  width: 18px;
}

.pill {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  color: #166534;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
}

.pill-link:hover {
  background: #d1fae5;
  border-color: #86efac;
}

.section {
  padding-bottom: 70px;
  padding-top: 70px;
}

.section-muted {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.section-head {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 26px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  max-width: 560px;
}

.category-filter {
  display: none;
}

.category-grid,
.find-grid,
.guide-grid,
.comparison-grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-icon {
  display: none;
}

.find-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.comparison-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-card,
.find-card,
.guide-card,
.comparison-card,
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.category-card:hover,
.find-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.category-card,
.find-card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.category-card img,
.find-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 16px;
}

.card-body p {
  color: var(--muted);
  font-size: 14px;
  margin: 9px 0 0;
}

.meta-line {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px;
  margin-top: 12px;
}

.meta-line span {
  background: var(--soft);
  border-radius: 999px;
  padding: 5px 8px;
}

.content {
  color: #344054;
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.content p,
.content ul,
.content ol {
  margin: 0;
}

.content li + li {
  margin-top: 8px;
}

.guide-card,
.comparison-card {
  padding: 22px;
}

a.guide-card {
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

a.guide-card:hover {
  border-color: #99f6e4;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

a.guide-card:focus-visible {
  outline: 3px solid #14b8a6;
  outline-offset: 3px;
}

.guide-card p,
.comparison-card p {
  color: var(--muted);
  margin: 10px 0 0;
}

.guide-card-link p {
  flex: 1;
}

.article-meta,
.tag-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.article-meta span + span::before {
  content: "/";
  margin-right: 8px;
}

.tag-row {
  margin-bottom: 14px;
}

.tag-row span {
  background: #ecfeff;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  color: #075985;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 9px;
}

.card-action {
  align-items: center;
  color: var(--accent);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  margin-top: 18px;
}

.card-action::after {
  content: "→";
  font-size: 16px;
  line-height: 1;
}

.table-wrap {
  overflow-x: auto;
}

table {
  background: #fff;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f0fdfa;
  font-size: 13px;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 18px 20px;
}

.faq-item summary {
  cursor: default;
  list-style: none;
}

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

.faq-item summary span {
  display: block;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.12;
}

.faq-item p {
  color: var(--muted);
  margin: 8px 0 0;
}

.cta-band {
  background: #10201e;
  color: #fff;
}

.cta-band .section {
  padding-bottom: 48px;
  padding-top: 48px;
}

.cta-wrap {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.cta-wrap p {
  color: #cbd5e1;
  margin: 10px 0 0;
  max-width: 700px;
}

.site-footer {
  background: #f8fafc;
  border-top: 1px solid var(--line);
}

.footer-inner {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 14px;
  justify-content: space-between;
  padding-bottom: 28px;
  padding-top: 28px;
}

.footer-brand {
  max-width: 460px;
}

.footer-brand p {
  margin: 10px 0 0;
}

.footer-logo {
  display: block;
  height: auto;
  max-height: 22px;
  width: 88px;
}

.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links .language-switcher summary {
  min-height: 34px;
  padding: 6px 10px;
}

.footer-links .language-menu {
  bottom: 42px;
  top: auto;
}

@media (max-width: 920px) {
  .nav {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-bottom: 12px;
    padding-top: 12px;
  }

  .nav-links {
    display: none !important;
  }

  .mobile-menu {
    display: block !important;
    justify-self: end;
    z-index: 6;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .trust-row,
  .category-grid,
  .find-grid,
  .guide-grid,
  .comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head,
  .cta-wrap {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand-logo {
    max-height: 24px;
    width: 88px;
  }

  .hero-inner,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 42px;
  }

  .trust-row,
  .guide-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-bottom: 52px;
    padding-top: 52px;
  }

  .category-filter {
    display: none;
  }

  .category-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card {
    align-items: center;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15, 118, 110, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 132px;
    padding: 14px 10px;
    text-align: center;
  }

  .category-card:hover,
  .find-card:hover {
    box-shadow: 0 12px 32px rgba(15, 118, 110, 0.08);
    transform: none;
  }

  .category-card img {
    display: none;
  }

  .category-icon {
    display: block;
    font-size: 34px;
    line-height: 1;
  }

  .category-card .card-body {
    padding: 14px 0 0;
  }

  .category-card h3 {
    font-size: 16px;
  }

  .category-card p,
  .category-card .meta-line {
    display: none;
  }

  .find-grid {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .find-card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15, 118, 110, 0.08);
  }

  .find-card img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .find-card .card-body {
    padding: 12px;
  }

  .find-card h3 {
    font-size: 15px;
    line-height: 1.18;
  }

  .find-card p {
    display: none;
  }

  .find-card .meta-line {
    display: block;
    font-size: 12px;
    margin-top: 8px;
  }

  .find-card .meta-line span {
    background: transparent;
    border-radius: 0;
    padding: 0;
  }

  .find-card .meta-line span + span {
    display: none;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-item {
    padding: 0;
  }

  .faq-item summary {
    align-items: center;
    cursor: pointer;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) 22px;
    min-height: 58px;
    padding: 16px;
  }

  .faq-item summary::after {
    align-items: center;
    color: var(--brand);
    content: "+";
    display: inline-flex;
    font-size: 22px;
    font-weight: 800;
    height: 22px;
    justify-content: center;
    line-height: 1;
    width: 22px;
  }

  .faq-item[open] summary::after {
    content: "−";
  }

  .faq-item summary span {
    font-size: 17px;
    line-height: 1.18;
  }

  .faq-item p {
    border-top: 1px solid var(--line);
    margin: 0;
    padding: 0 16px 16px;
  }

  .hero-actions .button {
    width: 100%;
  }
}
