@font-face {
  font-family: "Russo One";
  src: url("/assets/russo-one-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --emerald: #063a29;
  --emerald-dark: #003c2c;
  --emerald-light: #0b6649;
  --ink: #101819;
  --muted: #626965;
  --ivory: #f8f5ef;
  --paper: #fffdf8;
  --line: #e4ded3;
  --gold: #b58a3a;
  --lime: #9fbe69;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 92% 4%, rgba(11, 102, 73, 0.1), transparent 30rem),
    var(--ivory);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--emerald-light);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transform: translateY(-170%);
}

.skip-link:focus {
  transform: translateY(0);
}

.content-header {
  display: flex;
  width: min(100% - 40px, 1040px);
  min-height: 92px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(181, 138, 58, 0.3);
}

.content-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: "Russo One", sans-serif;
  font-size: 1.75rem;
  text-decoration: none;
}

.content-brand img {
  width: 54px;
  height: 54px;
  border-radius: 13px;
}

.content-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 24px;
}

.content-nav a {
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.content-nav a:hover,
.content-nav a[aria-current="page"] {
  color: var(--emerald-light);
  text-decoration: underline;
}

.content-page {
  width: min(100% - 40px, 960px);
  margin: 28px auto 76px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 0;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 7px;
  color: var(--gold);
  content: "/";
}

.breadcrumbs a {
  color: var(--emerald-light);
  text-decoration: none;
}

.content-hero {
  padding: clamp(32px, 7vw, 64px);
  border-radius: 28px;
  background:
    linear-gradient(125deg, rgba(12, 75, 56, 0.98), rgba(0, 60, 44, 0.99)),
    var(--emerald);
  color: #fff;
  box-shadow: 0 20px 50px rgba(6, 58, 41, 0.16);
}

.content-hero__eyebrow {
  margin: 0 0 11px;
  color: var(--lime);
  font-family: "Russo One", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-hero h1 {
  max-width: 800px;
  margin: 0;
  font-family: "Russo One", sans-serif;
  font-size: clamp(2.15rem, 7vw, 4.55rem);
  font-weight: 400;
  line-height: 1.06;
}

.content-hero__intro {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.04rem, 2.5vw, 1.22rem);
}

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

.button-link {
  display: inline-flex;
  min-height: 46px;
  padding: 10px 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: #fff;
  color: var(--emerald);
  font-weight: 800;
  text-decoration: none;
}

.button-link--secondary {
  background: transparent;
  color: #fff;
}

.content-body {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.content-section,
.related-content,
.content-card {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 8px 26px rgba(16, 24, 25, 0.04);
}

.content-section,
.related-content {
  padding: clamp(24px, 5vw, 42px);
  border-radius: 22px;
}

.content-section h2,
.related-content h2 {
  margin: 0 0 14px;
  color: var(--emerald);
  font-family: "Russo One", sans-serif;
  font-size: clamp(1.3rem, 3.4vw, 1.85rem);
  font-weight: 400;
  line-height: 1.25;
}

.content-section h3 {
  margin: 24px 0 9px;
  color: var(--emerald-dark);
  font-size: 1.1rem;
}

.content-section p {
  margin: 0;
}

.content-section p + p,
.content-section ul + p,
.content-section ol + p,
.content-section table + p {
  margin-top: 16px;
}

.content-section ul,
.content-section ol {
  margin: 15px 0 0;
  padding-left: 1.4rem;
}

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

.content-section table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.content-section th,
.content-section td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.content-section th {
  background: rgba(6, 58, 41, 0.07);
  color: var(--emerald);
}

.answer-box,
.content-disclaimer {
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  background: rgba(181, 138, 58, 0.09);
}

.content-disclaimer {
  margin: 22px 0 0;
  color: #394541;
  font-size: 0.92rem;
}

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

.content-card {
  display: block;
  padding: 24px;
  border-radius: 17px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.content-card:hover {
  border-color: rgba(11, 102, 73, 0.42);
  box-shadow: 0 12px 28px rgba(6, 58, 41, 0.09);
  transform: translateY(-2px);
}

.content-card h3 {
  margin: 0 0 7px;
  color: var(--emerald);
  font-family: "Russo One", sans-serif;
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.3;
}

.content-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.faq-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.faq-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.faq-list dt {
  color: var(--emerald-dark);
  font-weight: 800;
}

.faq-list dd {
  margin: 5px 0 0;
  color: #394541;
}

.site-footer {
  display: grid;
  width: min(100% - 40px, 1040px);
  margin: 0 auto;
  padding: 36px 20px 44px;
  place-items: center;
  border-top: 1px solid rgba(181, 138, 58, 0.3);
  text-align: center;
}

.site-footer__brand,
.site-footer__copyright,
.site-footer__support {
  margin: 0;
}

.site-footer__brand {
  color: var(--emerald);
  font-family: "Russo One", sans-serif;
  font-size: 1.45rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  margin: 13px 0 8px;
  align-items: center;
  justify-content: center;
  gap: 7px 14px;
}

.site-footer__links a {
  color: #263330;
  font-weight: 700;
  text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible,
.site-footer__links a[aria-current="page"] {
  color: var(--emerald-light);
  text-decoration: underline;
}

.site-footer__support {
  margin-bottom: 5px;
  font-size: 0.92rem;
}

.site-footer__copyright {
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 720px) {
  .content-header {
    min-height: 78px;
  }

  .content-brand {
    font-size: 1.35rem;
  }

  .content-brand img {
    width: 44px;
    height: 44px;
  }

  .content-nav {
    gap: 7px 13px;
    font-size: 0.88rem;
  }

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

@media (max-width: 520px) {
  .content-header,
  .content-page,
  .site-footer {
    width: min(100% - 28px, 960px);
  }

  .content-header {
    padding-block: 12px;
    align-items: flex-start;
  }

  .content-nav {
    max-width: 170px;
  }

  .content-page {
    margin-top: 20px;
  }

  .content-hero {
    border-radius: 22px;
  }

  .content-section table {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .content-card {
    transition: none;
  }
}
