@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans";
  src: url("/fonts/source-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans";
  src: url("/fonts/source-sans-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans";
  src: url("/fonts/source-sans-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans";
  src: url("/fonts/source-sans-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #14231d;
  --ink-soft: #3a4942;
  --evergreen: #1c3d31;
  --evergreen-deep: #13281f;
  --needle: #2a5a45;
  --paper: #f3eee4;
  --paper-2: #e9e2d4;
  --card: #fffaf3;
  --rule: #d4c8b4;
  --copper: #8a3410;
  --copper-deep: #6c280c;
  --copper-soft: #f3e0d4;
  --alert: #7a1f1a;
  --alert-bg: #f8e8e4;
  --ok-bg: #e4eee8;
  --focus: #1c3d31;
  --max: 70rem;
  --measure: 42rem;
  --radius: 0.85rem;
  --shadow: 0 1px 2px rgba(20, 35, 29, 0.06), 0 12px 32px rgba(20, 35, 29, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--copper); text-underline-offset: 0.15em; }
a:hover { color: var(--copper-deep); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--evergreen-deep);
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0 0 0.55em; }
h3 { font-size: 1.3rem; margin: 1.4em 0 0.4em; }
p { margin: 0 0 1em; }
p, li { max-width: 65ch; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li + li { margin-top: 0.35em; }
strong { font-weight: 600; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--evergreen);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 0.4rem;
  z-index: 20;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.wrap-narrow { width: min(100% - 2rem, 48rem); margin-inline: auto; }

/* Header */
.site-header {
  background: var(--evergreen-deep);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(243, 238, 228, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--paper);
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.wordmark:hover { color: #fff; }
.wordmark img, .wordmark svg { width: 2.1rem; height: 2.1rem; border-radius: 0.4rem; }
.wordmark span { display: flex; flex-direction: column; line-height: 1.1; }
.wordmark small {
  font-family: "Source Sans", sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c9d7cf;
}

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-btn {
  display: none;
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(243, 238, 228, 0.3);
  border-radius: 0.45rem;
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle-btn:hover { background: rgba(255,255,255,0.08); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  flex-wrap: wrap;
}
.site-nav a {
  color: #e8efe9;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.35rem 0;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; text-decoration: underline; }
.site-nav .phone {
  background: var(--copper);
  color: #fff;
  text-decoration: none;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}
.site-nav .phone:hover { background: var(--copper-deep); color: #fff; text-decoration: none; }

@media (max-width: 820px) {
  .nav-toggle-btn { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--evergreen);
    padding: 0.75rem 1rem 1.1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    box-shadow: 0 16px 24px rgba(0,0,0,0.18);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav a { padding: 0.7rem 0.4rem; font-size: 1.05rem; }
  .site-nav .phone { text-align: center; margin-top: 0.35rem; }
}

/* Hero */
.hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(255,250,243,0.18), transparent 60%),
    linear-gradient(180deg, var(--evergreen) 0%, var(--evergreen-deep) 100%);
  color: var(--paper);
  padding: 3rem 0 3.25rem;
}
.hero h1 { color: #fffaf3; max-width: 18ch; }
.hero .lede {
  font-size: 1.2rem;
  max-width: 42rem;
  color: #e4ece7;
  margin-bottom: 1.5rem;
}
.flow-jump {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: none;
}
.flow-jump a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(255, 250, 243, 0.08);
  border: 1px solid rgba(255, 250, 243, 0.16);
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  color: #fffaf3;
  text-decoration: none;
  min-height: 5.5rem;
  height: 100%;
}
.flow-jump a:hover { background: rgba(255, 250, 243, 0.14); color: #fff; }
.flow-jump .n {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  color: #e0c4a0;
}
.flow-jump span:last-child { font-weight: 600; line-height: 1.3; }
.flow-jump li { margin: 0; display: flex; }
.flow-jump li + li { margin-top: 0; }
.flow-jump a { flex: 1; height: 100%; box-sizing: border-box; }

@media (max-width: 800px) {
  .hero { padding: 2.1rem 0 2.3rem; }
  .flow-jump { grid-template-columns: 1fr 1fr; }
}

/* Sections */
.section { padding: 3.25rem 0; }
.section + .section { border-top: 1px solid var(--rule); }
.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 0.5rem;
}
.lede-plain { font-size: 1.15rem; color: var(--ink-soft); }

.flow-section { position: relative; }
.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--evergreen);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-right: 0.45rem;
  vertical-align: middle;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 800px) {
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.stat {
  background: var(--card);
  border-left: 4px solid var(--copper);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
}
.stat p { margin: 0; }
.stat cite, .source {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.92rem;
  font-style: normal;
  color: var(--ink-soft);
}

.callout {
  background: var(--ok-bg);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 1.2rem 0;
}
.callout.alert {
  background: var(--alert-bg);
  border-left: 4px solid var(--alert);
}
.callout.alert strong { color: var(--alert); }
.callout p:last-child { margin-bottom: 0; }

/* Tools */
.tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18.5rem, 1fr));
  gap: 0.85rem;
  margin: 1.2rem 0 1.5rem;
}
.tool {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1rem 1.05rem;
}
.tool h3 { font-size: 1.12rem; margin: 0 0 0.35rem; }
.tool p { margin: 0; font-size: 1.02rem; color: var(--ink-soft); }

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.5rem;
  counter-reset: step;
  max-width: none;
}
.steps > li {
  position: relative;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.1rem 4rem;
  margin: 0 0 0.75rem;
  max-width: none;
}
.steps > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--evergreen);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps h3 { margin: 0 0 0.3rem; font-size: 1.18rem; }
.steps p:last-child { margin-bottom: 0; }

/* Pro list */
.when-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
  max-width: none;
}
.when-list li {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.95rem 1.05rem;
  max-width: none;
  margin: 0;
}
.when-list strong { display: block; color: var(--evergreen-deep); font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 1.1rem; margin-bottom: 0.2rem; letter-spacing: -0.02em; }
@media (max-width: 700px) {
  .when-list { grid-template-columns: 1fr; }
}

/* CTA */
.cta-band {
  background: var(--evergreen-deep);
  color: var(--paper);
  padding: 3rem 0;
}
.cta-band h2 { color: #fffaf3; }
.cta-band p { color: #dce6e0; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
}
.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: var(--copper-deep); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,250,243,0.45);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn-on-paper {
  background: var(--copper);
  color: #fff;
}
.btn-on-paper:hover { background: var(--copper-deep); color: #fff; }

/* Guide cards */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}
.guide-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.25rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 10.5rem;
  box-shadow: var(--shadow);
}
.guide-card:hover { border-color: var(--needle); color: inherit; }
.guide-card h3 { margin: 0 0 0.4rem; font-size: 1.22rem; }
.guide-card p { margin: 0; color: var(--ink-soft); flex: 1; }
.guide-card .more { margin-top: 0.85rem; font-weight: 700; color: var(--copper); }

/* Article */
.article-hero {
  padding: 2.4rem 0 1.4rem;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, #e9e2d4 0%, var(--paper) 100%);
}
.crumbs {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
}
.crumbs a { color: var(--ink-soft); }
.article { padding: 2.2rem 0 3.4rem; }
.article h2 { margin-top: 1.8em; }

/* FAQ */
.faq-list { margin: 1rem 0 2rem; }
.faq-list details {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  margin: 0 0 0.65rem;
}
.faq-list summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--evergreen-deep);
}
.faq-list details p { margin: 0.7rem 0 0.2rem; }

/* Footer */
.site-footer {
  background: #101c17;
  color: #c9d4ce;
  padding: 2.4rem 0 2rem;
  font-size: 1rem;
}
.site-footer a { color: #f3eee4; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h2 {
  color: #f3eee4;
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: "Source Sans", sans-serif;
  font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 0.35rem; max-width: none; }
.brought-by {
  border-top: 1px solid rgba(243,238,228,0.12);
  padding-top: 1.1rem;
  color: #aeb8b3;
  font-size: 0.95rem;
  max-width: none;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* 404 */
.not-found { padding: 4rem 0 5rem; text-align: left; }

@media print {
  .site-header, .site-nav, .cta-band, .skip, .nav-toggle-btn { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: inherit; }
}

/* Amazon affiliate links and disclosure */
.amz-disclosure {
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 0 0 0.85rem;
  max-width: none;
}
a.amz {
  font-weight: 700;
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
a.amz:hover { color: var(--copper-deep); }
.site-footer .amz-associate {
  margin-top: 0.35rem;
}
