* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --hs-teal: #0F6E56;
  --hs-teal-mid: #1D9E75;
  --hs-teal-light: #E1F5EE;
  --hs-amber: #EF9F27;
  --hs-amber-light: #FAEEDA;
  --hs-red: #C0392B;
  --hs-red-light: #FCEBEB;
  --hs-bg: #F5F6F2;
  --hs-text: #1A2E25;
  --hs-muted: #5a6b63;
  --hs-panel: #ffffff;
  --hs-line: rgba(15, 110, 86, 0.15);
  --hs-amber-dark: #633806;
  --hs-red-dark: #791F1F;
}

body {
  margin: 0;
  font-family: "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--hs-bg);
  color: var(--hs-text);
  overflow-x: hidden;
}

a {
  color: var(--hs-teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.wrap {
  width: calc(100% - 32px);
  max-width: 1120px;
  margin: 0 auto;
}

.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 {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--hs-line);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--hs-teal);
  font-family: "Noto Serif", Georgia, serif;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 110, 86, 0.12);
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 17px;
  line-height: 1.1;
}

.brand-sub {
  color: var(--hs-muted);
  font-family: "Noto Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

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

.nav-links a {
  color: var(--hs-muted);
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--hs-teal);
}

.nav-links .lang-link {
  border-radius: 999px;
  background: var(--hs-teal-light);
  color: var(--hs-teal);
  padding: 6px 12px;
}

.emergency-bar {
  background: var(--hs-red-light);
  border-bottom: 1px solid rgba(192, 57, 43, 0.2);
}

.emergency-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--hs-red-dark);
  font-size: 14px;
  line-height: 1.35;
}

.emergency-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--hs-red);
}

.emergency-inner a {
  margin-left: auto;
  color: var(--hs-red);
  font-weight: 700;
}

.hero {
  padding: 58px 0 44px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  align-items: center;
  padding-top: 52px;
  padding-bottom: 44px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  color: var(--hs-teal-mid);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  margin: 12px 0 16px;
  font-family: "Noto Serif", Georgia, serif;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

h1 em {
  color: var(--hs-teal);
  font-style: normal;
}

.lead {
  max-width: 760px;
  color: var(--hs-muted);
  font-size: 20px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.search-bar {
  display: flex;
  width: min(640px, 100%);
  margin-top: 28px;
  overflow: hidden;
  border: 1.5px solid var(--hs-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(15, 110, 86, 0.08);
}

.search-bar input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--hs-text);
  font: inherit;
  outline: 0;
  padding: 15px 16px;
}

.search-bar input::placeholder {
  color: var(--hs-muted);
}

.search-btn {
  border: 0;
  background: var(--hs-teal);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0 22px;
}

.search-btn:hover {
  background: #0b5b47;
}

.hero-data {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.data-card {
  width: min(100%, 230px);
  border: 1px solid var(--hs-line);
  border-radius: 8px;
  background: var(--hs-teal-light);
  padding: 16px;
  box-shadow: 0 18px 48px rgba(15, 110, 86, 0.1);
}

.data-card.amber-card {
  background: var(--hs-amber-light);
}

.data-label {
  display: block;
  color: var(--hs-teal);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.amber-card .data-label {
  color: var(--hs-amber-dark);
}

.data-bars {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 54px;
}

.data-bars span {
  width: 14px;
  border-radius: 4px 4px 2px 2px;
  background: var(--hs-teal-mid);
}

.amber-card .data-bars span {
  background: var(--hs-amber);
}

.data-pill {
  display: inline-flex;
  margin-top: 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--hs-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 9px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--hs-teal);
  border-radius: 8px;
  background: var(--hs-teal);
  color: #fff;
  font-weight: 700;
  padding: 11px 16px;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--hs-teal);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 20px 0 28px;
}

.feature-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 188px;
  border: 1px solid var(--hs-line);
  border-radius: 8px;
  background: var(--hs-panel);
  color: var(--hs-text);
  padding: 20px;
  text-decoration: none;
}

.feature-card:hover {
  border-color: rgba(15, 110, 86, 0.32);
  box-shadow: 0 16px 44px rgba(15, 110, 86, 0.08);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.teal-icon {
  background: var(--hs-teal-light);
  color: var(--hs-teal);
}

.amber-icon {
  background: var(--hs-amber-light);
  color: var(--hs-amber-dark);
}

.red-icon {
  background: var(--hs-red-light);
  color: var(--hs-red);
}

.feature-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.feature-desc {
  display: block;
  color: var(--hs-muted);
  line-height: 1.55;
}

.conditions-panel {
  padding: 10px 0 44px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-header h2 {
  margin: 0;
  font-size: 22px;
}

.section-header a {
  font-weight: 700;
}

.condition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.condition-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--hs-line);
  border-radius: 8px;
  background: #fff;
  color: var(--hs-text);
  font-weight: 600;
  padding: 10px 14px;
  text-decoration: none;
}

.condition-pill span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--hs-teal-mid);
}

.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  background: var(--hs-teal);
  color: #fff;
  padding: 20px 16px;
}

.trust-item {
  display: grid;
  gap: 3px;
  min-width: 112px;
  text-align: center;
}

.trust-item strong {
  font-family: "Noto Serif", Georgia, serif;
  font-size: 22px;
  line-height: 1.1;
}

.trust-item span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.22);
}

.band {
  border-top: 1px solid var(--hs-line);
  padding: 42px 0;
}

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

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

.card {
  border: 1px solid var(--hs-line);
  border-radius: 8px;
  background: var(--hs-panel);
  padding: 18px;
}

.condition-image {
  overflow: hidden;
  margin: 0 0 18px;
  border-radius: 8px;
  background: var(--hs-teal-light);
}

.condition-image img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.card h2,
.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.card p,
.card li {
  color: var(--hs-muted);
  line-height: 1.55;
}

.card p {
  margin: 0;
}

.page {
  padding: 42px 0 56px;
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-main section {
  border-top: 1px solid var(--hs-line);
  padding: 24px 0;
}

.article-main h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.article-main p,
.article-main li {
  color: var(--hs-muted);
  line-height: 1.7;
}

.article-main ul {
  padding-left: 22px;
}

.aside {
  position: sticky;
  top: 20px;
  border: 1px solid var(--hs-line);
  border-radius: 8px;
  background: var(--hs-panel);
  padding: 18px;
}

.aside h2 {
  margin-top: 0;
  font-size: 18px;
}

.meta {
  color: var(--hs-muted);
  font-size: 14px;
  line-height: 1.55;
}

.alert {
  border-left: 5px solid var(--hs-red);
  background: #fff5f5;
}

.amber {
  border-left: 5px solid var(--hs-amber);
  background: #fff8eb;
}

.green {
  border-left: 5px solid var(--hs-teal-mid);
  background: #f1f8f3;
}

.footer {
  background: var(--hs-text);
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  color: #fff;
  font-family: "Noto Serif", Georgia, serif;
  font-weight: 700;
  text-decoration: none;
}

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

.footer a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 860px) {
  .home-hero,
  .features,
  .condition-grid,
  .grid,
  .list-grid,
  .article {
    grid-template-columns: 1fr;
  }

  .home-hero {
    gap: 28px;
  }

  .hero-data {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: stretch;
  }

  .data-card {
    width: 100%;
  }
}

@media (max-width: 780px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .hero {
    padding-top: 36px;
  }

  .lead {
    font-size: 18px;
  }

  .aside {
    position: static;
  }

  .emergency-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 10px 0;
  }

  .emergency-inner a {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-hero {
    display: block;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  h1 {
    font-size: 31px;
    line-height: 1.14;
  }

  .lead {
    font-size: 17px;
    max-width: calc(100vw - 32px);
  }

  .search-bar {
    flex-direction: column;
  }

  .search-btn {
    min-height: 44px;
  }

  .hero-data,
  .trust-bar {
    grid-template-columns: 1fr;
  }

  .trust-bar {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .trust-divider {
    width: 100%;
    height: 1px;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fcebeb;
  color: #a0392b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
}

.letter-chip {
  border: 1px solid var(--hs-line);
  border-radius: 999px;
  background: #fff;
  color: var(--hs-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 10px;
}

.letter-chip.active {
  border-color: var(--hs-teal-mid);
  background: var(--hs-teal-light);
  color: var(--hs-teal);
}
