:root {
  --ink: #111814;
  --paper: #f5f3ec;
  --surface: #ffffff;
  --muted: #657169;
  --line: #d8d4c8;
  --teal: #0b7a75;
  --teal-dark: #075d59;
  --green: #1d6b3c;
  --gold: #b88412;
  --red: #963626;
  --night: #111816;
}

* {
  box-sizing: border-box;
}

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

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

.article-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(16, 23, 19, 0.84);
  color: white;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  width: 252px;
  height: 66px;
  overflow: hidden;
  align-items: center;
  border: 1px solid rgba(128, 240, 213, 0.22);
  border-radius: 8px;
  background: #151716;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brand-logo-mark,
.brand-logo-word {
  display: none;
}

.article-nav nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
}

.mobile-menu-toggle,
.mobile-nav-cta {
  display: none;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  padding: 0 13px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.mobile-menu-toggle {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.mobile-nav-cta,
.article-nav .nav-cta {
  background: #80f0d5;
  color: #062420;
}

.article-nav .nav-cta {
  padding: 10px 14px;
  color: #062420;
}

.article-hero,
.article-body,
.related-section,
.responsible-article,
.site-footer {
  padding: clamp(44px, 7vw, 84px) clamp(18px, 6vw, 76px);
}

.article-hero {
  min-height: 56vh;
  display: grid;
  align-content: end;
  background: var(--night);
  color: white;
}

.eyebrow {
  margin: 0 0 12px;
  color: #80f0d5;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.6rem);
  line-height: 0.94;
}

.hero-copy {
  max-width: 780px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.24rem;
  line-height: 1.42;
}

.updated {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  font-weight: 850;
}

.article-body {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.86fr);
  gap: clamp(28px, 5vw, 64px);
  background: var(--surface);
}

.article-aside {
  position: sticky;
  top: 92px;
  align-self: start;
  border: 1px solid var(--line);
  padding: 20px;
  background: #fbfaf5;
}

.article-aside strong {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.article-aside a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 850;
}

.article-content {
  max-width: 860px;
}

.article-content section {
  padding: 0 0 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.article-content section:last-child {
  margin-bottom: 0;
}

.article-content h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
}

.article-content h3 {
  margin: 24px 0 8px;
  font-size: 1.2rem;
}

.article-content p,
.article-content li {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.58;
}

.article-content a {
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content ul,
.article-content ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.callout {
  margin: 26px 0;
  border-left: 5px solid var(--teal);
  padding: 18px 20px;
  background: #eef8f2;
}

.callout p {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

.related-section {
  background: #fcfbf7;
  border-top: 1px solid var(--line);
}

.related-section h2,
.responsible-article h2 {
  margin: 0 0 24px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

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

.related-grid a {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.related-grid span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.related-grid strong {
  display: block;
  margin: 18px 0 10px;
  font-size: 1.35rem;
  line-height: 1.1;
}

.related-grid p,
.responsible-article p {
  color: var(--muted);
  line-height: 1.5;
}

.responsible-article {
  background: #fff8f5;
  border-top: 1px solid var(--line);
}

.responsible-panel {
  max-width: 980px;
  border: 1px solid rgba(150, 54, 38, 0.24);
  border-left: 5px solid var(--red);
  padding: 22px;
  background: var(--surface);
}

.responsible-panel a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.faq-list article {
  border: 1px solid var(--line);
  padding: 20px;
  background: #fbfaf5;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) repeat(3, minmax(160px, 0.7fr));
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--night);
  color: white;
}

.site-footer h2,
.site-footer h3,
.site-footer p {
  margin: 0;
}

.site-footer h2 {
  color: #80f0d5;
  font-size: 1.35rem;
}

.site-footer h3 {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  font-weight: 800;
}

.footer-small {
  margin-top: 18px !important;
  font-size: 0.86rem;
}

@media (max-width: 860px) {
  .article-nav {
    gap: 10px;
    min-height: 76px;
    padding: 0 12px;
  }

  .brand {
    width: auto;
    max-width: 42vw;
    height: 48px;
    gap: 8px;
    padding: 5px 9px 5px 6px;
  }

  .brand .brand-logo-full {
    display: none;
  }

  .brand .brand-logo-mark {
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 5px;
    object-fit: cover;
  }

  .brand-logo-word {
    display: inline;
    color: white;
    font-size: clamp(1.05rem, 5vw, 1.42rem);
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
  }

  .brand-logo-word::first-letter {
    color: #80f0d5;
  }

  .mobile-nav-cta,
  .mobile-menu-toggle {
    display: inline-flex;
  }

  .mobile-nav-cta {
    margin-left: auto;
  }

  .article-nav nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 10px;
    right: 10px;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(16, 23, 19, 0.98);
    padding: 10px;
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34);
  }

  .article-nav.is-menu-open nav {
    display: grid;
  }

  .article-nav nav a {
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 7px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.06);
  }

  .article-nav nav .nav-cta {
    text-align: center;
  }

  .article-body {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .related-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }
}
