:root {
  --ink: #17312e;
  --ink-soft: #3e514c;
  --forest: #1f5a50;
  --forest-deep: #102f2d;
  --teal: #2f716b;
  --blue: #4f7888;
  --paper: #f7f2e7;
  --cream: #fffaf0;
  --line: #d9cfbc;
  --gold: #d79b36;
  --gold-soft: #f2d58f;
  --coral: #bd6650;
  --sage: #9caf94;
  --white: #fff;
  --shadow: 0 18px 50px rgba(23, 49, 46, 0.12);
  --shadow-small: 0 8px 24px rgba(23, 49, 46, 0.09);
  --radius: 1.25rem;
  --radius-small: 0.8rem;
  --content: 1180px;
  --reading: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(215, 155, 54, 0.12), transparent 28rem),
    linear-gradient(180deg, #fbf7ee 0%, var(--paper) 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--forest);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--coral);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  color: var(--white);
  background: var(--forest-deep);
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(23, 49, 46, 0.1);
  background: rgba(255, 250, 240, 0.94);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  width: min(calc(100% - 2rem), var(--content));
  min-height: 76px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--forest-deep);
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(16, 47, 45, 0.18);
}

.brand-copy {
  display: grid;
  line-height: 1.08;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand-copy span {
  margin-top: 0.22rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.65rem 0.78rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--forest-deep);
  background: #e7eee6;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--cream);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  content: "";
}

.site-main {
  min-height: 65vh;
}

.shell {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 2rem), 880px);
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.section-sm {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-tint {
  border-block: 1px solid rgba(23, 49, 46, 0.08);
  background: rgba(231, 238, 230, 0.54);
}

.section-dark {
  color: #f9f4e8;
  background:
    radial-gradient(circle at 85% 20%, rgba(215, 155, 54, 0.2), transparent 22rem),
    var(--forest-deep);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.85rem;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 5.7rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.72rem);
}

p {
  margin: 0 0 1.15rem;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.8rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.lead {
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.section-dark .lead,
.section-dark .eyebrow {
  color: #e9d8ad;
}

.hero {
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 7rem);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.hero h1 span {
  color: var(--forest);
}

.hero-copy .lead {
  margin-top: 1.4rem;
}

.button-row {
  display: flex;
  margin-top: 1.8rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0.72rem 1.05rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--forest);
  border-radius: 999px;
  color: var(--white);
  background: var(--forest);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-small);
}

.button:hover {
  color: var(--white);
  background: var(--forest-deep);
}

.button-secondary {
  color: var(--forest);
  background: transparent;
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--forest-deep);
  background: #e7eee6;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: -1.2rem 1.5rem 1rem -1.4rem;
  border-radius: 45% 55% 45% 55%;
  background: var(--gold-soft);
  content: "";
  transform: rotate(-3deg);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 7px solid var(--cream);
  border-radius: 42% 8% 30% 8%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-note {
  position: absolute;
  right: -0.8rem;
  bottom: -1.2rem;
  max-width: 240px;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--gold);
  border-radius: 0.7rem;
  color: var(--ink);
  background: var(--cream);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-small);
}

.trust-row {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  padding: 1.5rem;
  background: rgba(255, 250, 240, 0.95);
}

.trust-item strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.trust-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

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

.section-head > div {
  max-width: 750px;
}

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

.guide-card {
  display: flex;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  background: var(--cream);
  flex-direction: column;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(23, 49, 46, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.guide-card:hover {
  color: var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.guide-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-body {
  display: flex;
  padding: 1.25rem;
  flex: 1;
  flex-direction: column;
}

.card-kicker {
  margin-bottom: 0.55rem;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.guide-card h3 {
  font-size: 1.42rem;
}

.guide-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.card-link {
  margin-top: auto;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 850;
}

.split {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split img,
.feature-image {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.split img {
  aspect-ratio: 16 / 9;
}

.steps {
  display: grid;
  margin: 1.8rem 0 0;
  padding: 0;
  gap: 1rem;
  list-style: none;
}

.steps li {
  display: grid;
  align-items: start;
  gap: 1rem;
  grid-template-columns: 2.2rem 1fr;
}

.step-number {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  color: var(--forest-deep);
  background: var(--gold-soft);
  font-weight: 900;
  place-items: center;
}

.banner-figure {
  margin: 0;
}

.banner-figure img {
  width: 100%;
  aspect-ratio: 1024 / 500;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.banner-figure figcaption,
.editorial-figure figcaption {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.page-hero {
  padding: clamp(3.5rem, 7vw, 6rem) 0 3rem;
}

.page-hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
}

.page-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.breadcrumbs {
  display: flex;
  margin-bottom: 1.3rem;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.83rem;
}

.breadcrumbs a {
  color: inherit;
}

.meta-row {
  display: flex;
  margin-top: 1.4rem;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.meta-pill {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 250, 240, 0.7);
  font-size: 0.78rem;
  font-weight: 750;
}

.reading-progress {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--coral);
}

.article-layout {
  display: grid;
  padding: 1rem 0 clamp(4rem, 8vw, 7rem);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr) 260px;
}

.article-body {
  max-width: var(--reading);
  color: #263c37;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.article-body h2 {
  margin-top: 2.8rem;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.article-body h3 {
  margin-top: 2rem;
  font-size: 1.4rem;
}

.article-body a {
  font-family: Inter, ui-sans-serif, sans-serif;
}

.article-body ul,
.article-body ol {
  margin: 1rem 0 1.4rem;
  padding-left: 1.35rem;
}

.article-body li {
  margin-bottom: 0.62rem;
  padding-left: 0.25rem;
}

.article-body strong {
  color: var(--ink);
}

.article-intro {
  margin-bottom: 2rem;
  padding-left: 1.2rem;
  border-left: 4px solid var(--gold);
  color: var(--ink-soft);
  font-size: 1.18rem;
}

.editorial-figure {
  margin: 2.5rem 0;
}

.editorial-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-small);
  object-fit: cover;
  box-shadow: var(--shadow-small);
}

.practice-box,
.note-box,
.safety-box {
  margin: 2.2rem 0;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-small);
  font-family: Inter, ui-sans-serif, sans-serif;
}

.practice-box {
  border: 1px solid #c6d6ca;
  background: #e7eee6;
}

.note-box {
  border: 1px solid #ead8af;
  background: #fff5d9;
}

.safety-box {
  border: 1px solid #dfbeb5;
  background: #fff0ec;
}

.practice-box h3,
.note-box h3,
.safety-box h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.practice-box :last-child,
.note-box :last-child,
.safety-box :last-child {
  margin-bottom: 0;
}

.article-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 1rem;
}

.aside-card {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--cream);
}

.aside-card h3 {
  font-size: 1.13rem;
}

.aside-card p,
.aside-card li {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.aside-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.aside-card a {
  font-weight: 800;
}

.article-next {
  display: grid;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-next a {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--cream);
  text-decoration: none;
}

.article-next span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-next strong {
  display: block;
  margin-top: 0.28rem;
}

.policy-page {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.policy-head {
  max-width: 800px;
  margin-bottom: 3rem;
}

.policy-content {
  max-width: 840px;
  padding: clamp(1.5rem, 4vw, 3.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.86);
  box-shadow: var(--shadow-small);
}

.policy-content h2 {
  margin-top: 2.5rem;
  font-size: 1.65rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content h3 {
  margin-top: 1.8rem;
  font-size: 1.25rem;
}

.policy-content ul {
  padding-left: 1.2rem;
}

.identity-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.identity-card,
.contact-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--cream);
}

.identity-card span,
.contact-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.identity-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.14rem;
}

.contact-card a {
  overflow-wrap: anywhere;
  font-weight: 800;
}

.icon-portrait {
  width: min(100%, 420px);
  aspect-ratio: 1;
  border: 10px solid var(--cream);
  border-radius: 50%;
  overflow: hidden;
  background: var(--forest-deep);
  box-shadow: var(--shadow);
}

.icon-portrait img {
  width: 116%;
  max-width: none;
  height: 116%;
  margin: -8%;
  object-fit: cover;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq details p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

.site-footer {
  color: #e9eee8;
  background: var(--forest-deep);
}

.footer-grid {
  display: grid;
  padding: 3.5rem 0 2.5rem;
  gap: 3rem;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
}

.footer-brand h2 {
  margin-bottom: 0.5rem;
  color: var(--cream);
  font-size: 1.65rem;
}

.footer-brand p {
  max-width: 48ch;
  color: #bed0c7;
  font-size: 0.9rem;
}

.footer-heading {
  margin-bottom: 0.7rem;
  color: var(--gold-soft);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: #e9eee8;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  display: flex;
  padding: 1.25rem 0 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #aebfb7;
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

.error-page {
  display: grid;
  min-height: 68vh;
  padding: 4rem 1rem;
  text-align: center;
  place-items: center;
}

.error-page strong {
  display: block;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.9;
}

.error-page h1 {
  margin-top: 1rem;
  font-size: clamp(2rem, 5vw, 4rem);
}

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

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 1rem;
    left: 1rem;
    display: none;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius-small) var(--radius-small);
    align-items: stretch;
    background: var(--cream);
    box-shadow: var(--shadow);
    flex-direction: column;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 0.55rem;
  }

  .hero-grid,
  .page-hero-grid,
  .split,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    width: min(100%, 760px);
  }

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

  .article-body {
    max-width: none;
  }

  .article-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .brand-copy span {
    display: none;
  }

  .brand-copy strong {
    max-width: 190px;
    font-size: 0.94rem;
  }

  .nav-shell {
    min-height: 66px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero-note {
    position: static;
    max-width: none;
    margin-top: 0.8rem;
  }

  .trust-row,
  .guide-grid,
  .identity-grid,
  .contact-grid,
  .article-next,
  .article-aside,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-brand {
    grid-column: auto;
  }

  .page-hero {
    padding-top: 2.8rem;
  }

  .policy-content {
    padding: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
