.guide-site {
  color: var(--ink);
  background: #f8faf8;
  letter-spacing: 0;
}

.guide-site h1,
.guide-site h2,
.guide-site h3,
.guide-site p,
.guide-site li,
.guide-site a,
.guide-site button,
.guide-site summary {
  letter-spacing: 0;
}

.guide-shell {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
}

.guide-tabs .is-current {
  color: var(--ink-strong);
  font-weight: 700;
}

.guide-tabs .is-current::after {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 4px;
  content: "";
  background: var(--accent);
}

.guide-hero {
  padding: 92px 0 76px;
  color: #fff;
  background: var(--navy);
}

.guide-kicker {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 750;
}

.guide-hero .guide-kicker {
  color: #79d3c1;
}

.guide-hero h1,
.article-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: 52px;
  font-weight: 720;
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
}

.guide-hero h1 {
  color: #fff;
}

.guide-lead {
  max-width: 800px;
  margin: 24px 0 0;
  color: #c5d3da;
  font-size: 19px;
  line-height: 1.85;
}

.article-hero .guide-lead {
  color: var(--muted);
}

.article-proof li span {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 750;
}

.guide-intro {
  padding: 78px 0 86px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.guide-intro .guide-shell {
  max-width: 820px;
}

.guide-intro h1 {
  margin: 0 0 30px;
  color: var(--ink-strong);
  font-size: 43px;
  font-weight: 720;
  line-height: 1.28;
}

.guide-intro h2 {
  margin: 48px 0 16px;
  color: var(--ink-strong);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}

.guide-intro p {
  margin: 0 0 18px;
  color: #34465a;
  font-size: 18px;
  line-height: 1.85;
}

.guide-intro-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  margin-top: 16px;
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.guide-intro-link:hover {
  color: var(--ink-strong);
}

.guide-intro-link:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 4px;
}

.guide-intro-link span {
  font-size: 20px;
}

.guide-library {
  padding: 86px 0 110px;
  background: #edf3f0;
}

.section-heading {
  display: grid;
  gap: 7px;
  margin-bottom: 42px;
}

.section-heading > p {
  margin: 0;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 750;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 34px;
  line-height: 1.25;
}

.guide-groups {
  display: grid;
  gap: 66px;
}

.guide-group > header {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 0.65fr);
  gap: 32px;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}

.guide-group > header h3,
.guide-group > header p {
  margin: 0;
}

.guide-group > header h3 {
  color: var(--ink-strong);
  font-size: 21px;
}

.guide-group > header p {
  color: var(--muted);
  font-size: 14px;
}

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

.guide-card {
  display: grid;
  align-content: start;
  min-height: 220px;
  padding: 30px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.guide-card > span,
.related-grid a > span {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 750;
}

.guide-card h3 {
  margin: 10px 0 0;
  color: var(--ink-strong);
  font-size: 22px;
  line-height: 1.35;
}

.guide-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.guide-card small {
  align-self: end;
  margin-top: 22px;
  color: #7b8a98;
  font-size: 12px;
}

.guide-card:hover h3 {
  color: var(--accent-strong);
}


.article-hero {
  padding: 54px 0 64px;
  background: #edf3f0;
  border-bottom: 1px solid var(--line);
}

.article-hero-inner {
  max-width: 940px;
}

.breadcrumbs {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--accent-strong);
}

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

.article-byline {
  display: flex;
  gap: 18px;
  margin-top: 28px;
  color: #718092;
  font-size: 13px;
}

.article-byline a {
  color: var(--accent-strong);
  font-weight: 700;
}

.article-method-note {
  max-width: 760px;
  margin: 12px 0 0;
  color: #718092;
  font-size: 13px;
  line-height: 1.65;
}

.article-method-note a {
  color: var(--accent-strong);
  font-weight: 700;
}

.answer-summary {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1.65fr);
  gap: 50px;
  align-items: start;
  padding: 42px 0;
  border-bottom: 1px solid var(--line-strong);
}

.answer-summary h2 {
  margin: 2px 0 0;
  color: var(--accent-strong);
  font-size: 14px;
}

.answer-summary ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding-left: 20px;
}

.answer-summary li {
  padding-left: 3px;
  color: var(--ink-strong);
  font-size: 15px;
  font-weight: 680;
  line-height: 1.65;
}

.article-proof {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1.65fr);
  gap: 50px;
  align-items: start;
  padding: 44px 0;
  border-bottom: 1px solid var(--line-strong);
}

.article-proof > p {
  margin: 4px 0 0;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 750;
}

.article-proof ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-proof li {
  display: grid;
  gap: 9px;
}

.article-proof li strong {
  color: var(--ink-strong);
  font-size: 15px;
  line-height: 1.6;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 280px);
  gap: 80px;
  align-items: start;
  padding: 72px 0 108px;
}

.article-body {
  min-width: 0;
}

.article-body > section {
  margin-top: 64px;
}

.article-body > section:first-child,
.article-body > .template-tool:first-child {
  margin-top: 0;
}

.article-body h2 {
  margin: 0 0 22px;
  color: var(--ink-strong);
  font-size: 29px;
  line-height: 1.35;
}

.article-body p,
.article-body li {
  color: #34465a;
  font-size: 17px;
  line-height: 1.95;
}

.article-body p {
  margin: 0 0 20px;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding-left: 24px;
}

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

.article-body blockquote {
  margin: 34px 0 0;
  padding: 22px 26px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.8;
  background: #eaf3ef;
  border-top: 1px solid #b9d6cc;
  border-bottom: 1px solid #b9d6cc;
}

.field-note {
  margin: 34px 0 0;
  padding: 26px 28px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: #f5f7f8;
}

.field-note .note-label {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 780;
}

.field-note h3 {
  margin: 0 0 12px;
  color: var(--ink-strong);
  font-size: 20px;
  line-height: 1.45;
}

.field-note p:last-child {
  margin-bottom: 0;
}

.practice-table {
  margin: 30px 0;
  border-top: 1px solid var(--line-strong);
}

.practice-table > div {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  padding: 17px 0;
  color: #34465a;
  border-bottom: 1px solid var(--line);
}

.practice-table > div:first-child {
  color: var(--ink-strong);
  font-size: 13px;
}

.article-aside {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  display: grid;
  gap: 18px;
}

.article-aside > div {
  padding: 22px;
  background: #edf3f0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-aside p {
  margin: 0;
  color: var(--ink-strong);
  font-size: 13px;
  font-weight: 750;
}

.article-aside span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.article-aside .aside-policy {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
}

.article-aside > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
  background: var(--navy);
  border-radius: 6px;
}

.template-tool {
  margin: 0 0 68px;
  padding: 28px;
  background: #edf3f0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.template-tool-heading {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.template-tool-heading p {
  margin: 0 0 3px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 750;
}

.template-tool-heading h2 {
  margin: 0;
  font-size: 24px;
}

.template-tool button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 14px;
  color: #fff;
  font-weight: 700;
  background: var(--navy);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.template-tool button:hover {
  background: var(--navy-soft);
}

.template-tool pre {
  max-height: 620px;
  margin: 0;
  overflow: auto;
  padding: 24px;
  color: #22364a;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.85;
}

.copy-status {
  min-height: 20px;
  margin: 10px 0 0 !important;
  color: var(--accent-strong) !important;
  font-size: 12px !important;
}

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 280px);
  gap: 80px;
  align-items: start;
  padding: 72px 0 108px;
}

.editorial-body > section {
  margin-top: 58px;
}

.editorial-body > section:first-child {
  margin-top: 0;
}

.editorial-facts {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  padding: 22px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.editorial-facts h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 15px;
}

.editorial-facts ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

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

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

.article-faq summary {
  padding: 19px 32px 19px 0;
  color: var(--ink-strong);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.article-faq details p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
}

.related-guides {
  padding: 88px 0 104px;
  background: #edf3f0;
  border-top: 1px solid var(--line);
}

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

.related-grid a {
  min-height: 190px;
  padding: 24px;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.related-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--ink-strong);
  font-size: 18px;
  line-height: 1.4;
}

.related-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.related-grid a:hover {
  border-color: #a7c8be;
}

.guide-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
}

.guide-footer nav {
  display: flex;
  gap: 20px;
  font-size: 12px;
}

.guide-footer nav a:hover {
  color: #fff;
}

@media (max-width: 940px) {
  .guide-shell {
    width: min(100% - 48px, 760px);
  }

  .article-hero h1 {
    font-size: 42px;
  }

  .article-layout,
  .editorial-layout,
  .article-proof,
  .answer-summary {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .answer-summary ul {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .article-aside {
    position: static;
    grid-row: 1;
  }

  .editorial-facts {
    position: static;
    grid-row: 1;
  }

  .article-aside > a {
    width: max-content;
    min-width: 180px;
  }

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

  .related-grid a {
    min-height: 0;
  }

  .guide-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .guide-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .guide-shell {
    width: calc(100% - 32px);
  }

  .guide-hero,
  .article-hero {
    padding: 56px 0;
  }

  .guide-intro {
    padding: 52px 0 60px;
  }

  .guide-intro h1 {
    margin-bottom: 24px;
    font-size: 31px;
  }

  .guide-intro h2 {
    margin-top: 38px;
    font-size: 23px;
  }

  .guide-intro p {
    font-size: 16px;
    line-height: 1.8;
  }

  .guide-hero h1,
  .article-hero h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .guide-lead {
    font-size: 16px;
    line-height: 1.75;
  }

  .article-byline {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-library,
  .related-guides {
    padding: 70px 0;
  }

  .section-heading h2 {
    font-size: 29px;
  }

  .guide-group > header,
  .guide-card-grid,
  .practice-table > div {
    grid-template-columns: 1fr;
  }

  .guide-card {
    min-height: 0;
  }

  .breadcrumbs {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 32px;
  }

  .article-proof {
    gap: 22px;
    padding: 32px 0;
  }

  .answer-summary {
    gap: 18px;
    padding: 32px 0;
  }

  .article-proof ol {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .article-layout {
    padding: 50px 0 72px;
  }

  .editorial-layout {
    padding: 50px 0 72px;
  }

  .article-body > section {
    margin-top: 50px;
  }

  .article-body h2 {
    font-size: 25px;
  }

  .article-body p,
  .article-body li {
    font-size: 16px;
  }

  .field-note {
    padding: 22px 18px;
  }

  .field-note h3 {
    font-size: 18px;
  }

  .template-tool {
    padding: 20px 16px;
  }

  .template-tool-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .template-tool button {
    width: 100%;
  }

  .template-tool pre {
    padding: 18px;
    font-size: 14px;
  }

  .guide-footer nav {
    display: grid;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guide-site * {
    scroll-behavior: auto;
  }
}
