:root {
  --color-canvas: #ffffff;
  --color-surface: #ffffff;
  --color-ink: #162b28;
  --color-muted: #5d6f6b;
  --color-brand: #164f47;
  --color-brand-strong: #0d3934;
  --color-brand-soft: #dcebe6;
  --color-accent: #b84f43;
  --color-accent-soft: #f5dfd9;
  --color-border: #d8ded8;
  --color-warning: #7b4b15;
  --color-warning-surface: #fff2d8;
  --font-display: Fraunces, Georgia, "Times New Roman", serif;
  --font-body: Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --reading-width: 51.25rem;
  --page-width: 75rem;
  --content-width: 75rem;
  --radius-small: .55rem;
  --radius-card: 1.15rem;
  --radius-large: 1.35rem;
  --shadow-card: 0 .8rem 2.2rem rgba(22, 43, 40, .08);
  --shadow-large: 0 .9rem 2.6rem rgba(22, 43, 40, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-canvas);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
a { color: var(--color-brand-strong); text-underline-offset: .2em; }
a:hover { color: var(--color-accent); }
a:focus-visible, summary:focus-visible {
  outline: .2rem solid var(--color-accent);
  outline-offset: .25rem;
  border-radius: .2rem;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: .5rem;
  left: .5rem;
  padding: .65rem 1rem;
  color: #fff;
  background: var(--color-brand-strong);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--color-border); background: rgba(255, 255, 255, .96); }
.header-inner, .footer-inner {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}
.page-shell {
  width: min(100%, var(--page-width));
  margin-inline: auto;
  padding-inline: 1rem;
}
.header-inner { min-height: 4.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.wordmark { display: inline-flex; align-items: center; gap: .55rem; color: var(--color-brand-strong); font-family: var(--font-display); font-weight: 700; text-decoration: none; letter-spacing: -.02em; }
.wordmark-logo { width: 3.25rem; height: 3.25rem; object-fit: contain; flex: 0 0 auto; }
.desktop-nav { display: none; align-items: center; gap: 1.2rem; }
.desktop-nav a, .mobile-nav a { color: var(--color-ink); font-size: .94rem; font-weight: 600; text-decoration: none; }
.desktop-nav a[aria-current="page"], .mobile-nav a[aria-current="page"] { color: var(--color-accent); }
.mobile-nav { position: relative; }
.mobile-nav summary { cursor: pointer; list-style: none; min-height: 2.75rem; display: grid; place-items: center; padding: 0 .8rem; border: 1px solid var(--color-border); border-radius: var(--radius-small); font-weight: 800; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; z-index: 20; right: 0; top: 3.2rem; min-width: 15rem; padding: .65rem; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface); box-shadow: var(--shadow-card); }
.mobile-nav nav a { display: block; min-height: 2.75rem; padding: .55rem .65rem; }
main { overflow-x: clip; }
.page-shell { padding-block: 1.5rem 4rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; list-style: none; color: var(--color-muted); font-size: .86rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .45rem; color: #899590; }
.breadcrumbs a { color: inherit; }
.page-hero { position: relative; max-width: none; padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.eyebrow { margin: 0 0 .8rem; color: var(--color-accent); font-size: .78rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { color: var(--color-brand-strong); font-family: var(--font-display); line-height: 1.12; text-wrap: balance; overflow-wrap: anywhere; }
h1 { width: 100%; max-width: none; margin: 0; font-size: clamp(2.5rem, 4.2vw, 3.3rem); letter-spacing: -.035em; }
.page-utility h1, .page-trust h1 { font-size: clamp(2.35rem, 4vw, 3rem); }
h2 { margin: 0 0 1rem; font-size: clamp(1.65rem, 2.5vw, 2.1rem); letter-spacing: -.02em; }
h3 { margin: 0; font-size: 1.2rem; }
.hero-intro { max-width: none; margin: 1.2rem 0 0; color: var(--color-muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.6; }
.hero-media { width: 100%; max-width: none; margin: clamp(1.5rem, 3vw, 2rem) 0 0; }
.hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-large); box-shadow: var(--shadow-large); }
.hero-media figcaption { max-width: none; margin-top: .75rem; color: var(--color-muted); font-size: .92rem; line-height: 1.55; }
.byline { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; max-width: none; margin-top: 1.15rem; color: var(--color-muted); font-size: .9rem; }
.byline p { margin: 0; }
.byline a { font-weight: 800; }
.page-content { display: grid; gap: clamp(3rem, 5vw, 4rem); }
.content-section { width: 100%; max-width: none; }
.section-intro { color: var(--color-muted); font-size: 1.06rem; }
.prose p { margin: 0 0 1rem; }
.content-list { padding-left: 1.3rem; }
.content-list li { padding-left: .35rem; margin-block: .55rem; }
.cards-section { max-width: none; }
.card-grid { display: grid; gap: 1rem; }
.topic-card { min-height: 14rem; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #cfe1da; border-radius: var(--radius-card); background: #eef7f4; box-shadow: 0 .35rem 1.3rem rgba(22, 43, 40, .04); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.topic-card:nth-child(3n + 2) { border-color: #ecd8d2; background: #fff3f0; }
.topic-card:nth-child(3n) { border-color: #d9dfeb; background: #f2f5fb; }
.card-thumbnail { aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-brand-soft); }
.card-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 1.35rem; }
.topic-card p { color: var(--color-muted); }
.card-link { display: inline-flex; min-height: 2.75rem; align-items: center; margin-top: auto; font-weight: 800; }
.steps { max-width: none; }
.step-list { display: grid; gap: 1rem; padding: 0; counter-reset: step; list-style: none; }
.step-list li { position: relative; min-height: 7rem; padding: 1.25rem 1.25rem 1.25rem 5rem; border-top: 1px solid var(--color-border); counter-increment: step; }
.step-list li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 1rem; color: var(--color-accent); font-family: var(--font-display); font-size: 2rem; }
.step-list p { margin: .45rem 0 0; color: var(--color-muted); }
.step-link { display: block; color: inherit; text-decoration: none; }
.step-link:hover { color: inherit; }
.step-action { display: inline-flex; min-height: 2.75rem; align-items: center; margin-top: .6rem; color: var(--color-brand-strong); font-size: .9rem; font-weight: 800; }
.callout { width: 100%; max-width: none; padding: clamp(1.4rem, 4vw, 2.4rem); border: 1px solid #bdd1ca; border-radius: var(--radius-card); background: var(--color-brand-soft); }
.callout-warning { border-color: #e6c48f; background: var(--color-warning-surface); }
.callout-warning h2 { color: var(--color-warning); }
.callout p { margin-bottom: .6rem; }
.callout a { display: inline-flex; min-height: 2.75rem; align-items: center; font-weight: 800; }
.table-section { max-width: none; }
.table-scroll { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface); box-shadow: 0 .35rem 1.3rem rgba(22, 43, 40, .04); }
.table-scroll:focus-visible { outline: .2rem solid var(--color-accent); outline-offset: .25rem; }
table { width: 100%; min-width: 44rem; border-collapse: collapse; font-size: .94rem; line-height: 1.5; }
caption { padding: 1rem 1.1rem; color: var(--color-muted); font-weight: 700; text-align: left; }
th, td { padding: .9rem 1rem; border-top: 1px solid var(--color-border); text-align: left; vertical-align: top; }
thead th { color: #fff; border-top: 0; background: var(--color-brand-strong); font-size: .82rem; letter-spacing: .03em; }
tbody th { width: 18%; color: var(--color-brand-strong); background: #f1f6f3; }
.faq-list { display: grid; gap: .8rem; margin: 0; }
.faq-list > div { padding: 1.25rem; border: 1px solid var(--color-border); border-radius: var(--radius-small); background: var(--color-surface); }
.faq-list dt { color: var(--color-brand-strong); font-family: var(--font-display); font-size: 1.12rem; font-weight: 800; line-height: 1.25; }
.faq-list dd { margin: .6rem 0 0; color: var(--color-muted); }
.source-list { padding-left: 1.4rem; }
.source-list li { margin-block: .75rem; padding-left: .3rem; }
.source-list cite { font-style: normal; font-weight: 750; }
.page-article .page-content { gap: clamp(2.6rem, 6vw, 4.6rem); }
.page-article .page-hero { max-width: none; }
.page-article h1 { width: 100%; max-width: none; font-size: clamp(2.35rem, 4vw, 3rem); text-wrap: wrap; }
.profile-media { width: min(100%, 18rem); margin: 1.5rem 0 0; overflow: hidden; border-radius: var(--radius-large); background: var(--color-brand-soft); box-shadow: var(--shadow-card); }
.profile-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.page-homepage .page-shell { width: 100%; padding: 0 0 4rem; }
.page-homepage .page-hero {
  isolation: isolate;
  min-height: clamp(32rem, 42vw, 38rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3.5rem, 7vw, 6rem) max(1rem, calc((100% - var(--content-width)) / 2));
  overflow: hidden;
}
.page-homepage .page-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 24, 29, .92) 0%, rgba(3, 24, 29, .8) 55%, rgba(3, 24, 29, .45) 100%);
}
.page-homepage .page-hero > :not(.hero-media) { position: relative; z-index: 2; }
.page-homepage .page-hero .eyebrow { color: #f4a99e; }
.page-homepage .page-hero h1 { max-width: 17ch; color: #fff; text-shadow: 0 .1rem .8rem rgba(0, 0, 0, .2); }
.page-homepage .page-hero .hero-intro { max-width: 38rem; color: rgba(255, 255, 255, .9); }
.page-homepage .page-hero .byline { max-width: 42rem; color: rgba(255, 255, 255, .82); }
.page-homepage .page-hero .byline a { color: #fff; }
.page-homepage .hero-media { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; margin: 0; }
.page-homepage .hero-media img { width: 100%; height: 100%; border-radius: 0; box-shadow: none; object-fit: cover; object-position: center; }
.page-homepage .hero-media figcaption { display: none; }
.page-homepage .page-content,
.page-homepage .page-meta { width: min(calc(100% - 2rem), var(--content-width)); margin-inline: auto; }
.page-homepage .page-content { padding-top: clamp(3rem, 6vw, 5rem); }
.page-homepage .steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #c8d9d3;
  border-radius: var(--radius-large);
  background: #f3f8f6;
  box-shadow: var(--shadow-card);
}
.page-homepage .steps-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.5rem;
  color: rgba(255, 255, 255, .82);
  background: var(--color-brand-strong);
}
.page-homepage .steps-heading h2 { margin: 0 0 .75rem; color: #fff; }
.page-homepage .steps-heading .section-intro { margin: 0; color: inherit; }
.page-homepage .step-list { gap: .75rem; padding: 1rem; }
.page-homepage .step-list li {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d7e4df;
  border-radius: .9rem;
  background: #fff;
  box-shadow: 0 .2rem .8rem rgba(22, 43, 40, .04);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.page-homepage .step-list li::before {
  z-index: 1;
  left: 1rem;
  top: 1rem;
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--color-accent);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 800;
}
.page-homepage .step-link { min-height: 100%; padding: 1rem 1rem 1rem 4.15rem; }
.page-homepage .step-link h3 { font-size: 1.15rem; }
.page-homepage .step-link p { margin-top: .35rem; font-size: .96rem; line-height: 1.55; }
.related-guides {
  width: 100%;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: #f7faf9;
}
.related-guides h2 { margin-bottom: .75rem; font-size: 1.35rem; }
.related-guides ul { display: flex; flex-wrap: wrap; gap: .65rem 1rem; margin: 0; padding: 0; list-style: none; }
.related-guides a { display: inline-flex; min-height: 2.75rem; align-items: center; font-weight: 700; }

.page-meta { width: 100%; max-width: none; margin-top: 4rem; padding-top: 1rem; border-top: 1px solid var(--color-border); color: var(--color-muted); font-size: .86rem; }
.site-footer { border-top: 1px solid var(--color-border); background: #fff; color: var(--color-ink); }
.footer-inner { display: grid; gap: 2.2rem; padding-block: 3.4rem; }
.footer-wordmark { color: var(--color-brand-strong); }
.footer-inner nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1rem; }
.footer-inner nav a { min-height: 2.75rem; display: flex; align-items: center; color: var(--color-brand-strong); }
.footer-note { max-width: 42rem; margin: 0; color: var(--color-muted); font-size: .86rem; }

@media (hover: hover) and (pointer: fine) {
  .topic-card:hover,
  .topic-card:focus-within {
    border-color: #8fb9ab;
    box-shadow: var(--shadow-card);
    transform: translateY(-.3rem);
  }
  .topic-card:hover .card-thumbnail img,
  .topic-card:focus-within .card-thumbnail img { transform: scale(1.035); }
  .page-homepage .step-list li:hover,
  .page-homepage .step-list li:focus-within {
    border-color: #8fb9ab;
    box-shadow: var(--shadow-card);
    transform: translateY(-.2rem);
  }
}

@media (min-width: 45rem) {
  .page-homepage .page-hero::before { background: linear-gradient(90deg, rgba(3, 24, 29, .92) 0%, rgba(3, 24, 29, .76) 38%, rgba(3, 24, 29, .3) 70%, rgba(3, 24, 29, .1) 100%); }
  .page-profile .page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(13rem, 18rem); column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  .page-profile .page-hero .eyebrow,
  .page-profile .page-hero h1,
  .page-profile .page-hero .hero-intro { grid-column: 1; }
  .page-profile .profile-media { grid-column: 2; grid-row: 1 / 5; margin: 0; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-homepage .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1.4fr; }
  .footer-note { grid-column: 1 / -1; }
}
@media (min-width: 68rem) {
  .desktop-nav { display: flex; }
  .mobile-nav { display: none; }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-homepage .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner, .footer-inner { width: min(calc(100% - 4rem), var(--content-width)); }
  .page-shell { padding-inline: 1.5rem; }
  .page-homepage .page-shell { padding-inline: 0; }
  .page-homepage .page-content,
  .page-homepage .page-meta { width: min(calc(100% - 4rem), var(--content-width)); }
  .page-homepage .steps { grid-template-columns: minmax(17rem, .72fr) minmax(0, 1.55fr); }
  .page-homepage .steps-heading { grid-column: 1; grid-row: 1; padding: 2.5rem 2.25rem; }
  .page-homepage .step-list { grid-column: 2; grid-row: 1; padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
