:root {
  color: #111827;
  background: #f7f7f8;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 0.2em; }
a:hover { color: #a63e13; }
a:focus-visible { outline: 2px solid #a63e13; outline-offset: 5px; }
h1, h2, h3, p, dl, dd { margin: 0; }
h2 { font-size: 1.35rem; line-height: 1.3; letter-spacing: -0.025em; }
h3 { font-size: 1rem; font-weight: 650; line-height: 1.45; }
p { color: #475569; }
.guide-width { width: min(1100px, calc(100% - 48px)); margin-inline: auto; }

.guide-skip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 8px 16px;
  border-radius: 8px;
  background: white;
  transform: translateY(-160%);
}
.guide-skip:focus { transform: translateY(0); }
.guide-header { background: white; border-bottom: 1px solid #e5e7eb; }
.guide-nav { display: flex; align-items: center; gap: 24px; min-height: 68px; font-size: 0.875rem; }
.guide-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 700; text-decoration: none; }
.guide-brand img { object-fit: contain; }
.guide-nav-features { margin-left: auto; }
.guide-nav-launch, .guide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 18px;
  min-height: 44px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.guide-nav-launch:hover, .guide-cta:hover { background: #343d4f; color: white; }

.guide-hero { padding: clamp(40px, 7vw, 80px) 0 36px; border-bottom: 1px solid #dde0e5; }
.guide-hero nav { display: flex; flex-wrap: wrap; gap: 8px; color: #475569; font-size: 0.875rem; }
.guide-hero h1 {
  margin-block: 16px;
  max-width: 22ch;
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}
.guide-hero p { max-width: 58ch; font-size: clamp(1rem, 1.8vw, 1.125rem); }
.guide-content { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 5vw, 64px); padding-block: 36px; }
.guide-instructions { display: grid; gap: 30px; }
.guide-instructions p { margin-top: 8px; max-width: 65ch; }
.guide-steps { margin: 16px 0 0; padding-left: 24px; }
.guide-steps li { padding-left: 7px; margin-bottom: 16px; }
.guide-steps li:last-child { margin-bottom: 0; }
.guide-steps li::marker { color: #a63e13; font-weight: 700; }
.guide-steps p { margin-top: 4px; }

.guide-example { padding: clamp(18px, 3vw, 26px); border: 1px solid #323b4b; border-radius: 16px; color: #f8fafc; background: #1a2130; }
.guide-example h2 { font-size: 1.125rem; }
.guide-example dl { margin-block: 14px 12px; }
.guide-example dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 10px; border-bottom: 1px solid #3e4655; }
.guide-example dt { color: #d6dde6; font-size: 0.875rem; }
.guide-example dd { white-space: nowrap; font-weight: 650; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.guide-example dl div:last-child dd { color: #ffbd96; }
.guide-example p { color: #d6dde6; font-size: 0.8125rem; }

.guide-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px;
  border: 1px solid #f1d4c4;
  border-radius: 14px;
  background: #fff5ef;
}
.guide-open p { margin-top: 4px; }
.guide-related { margin-block: 32px 56px; }
.guide-related > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.guide-related a { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 12px 16px; background: white; border: 1px solid #dde0e5; border-radius: 10px; font-size: 0.9375rem; font-weight: 600; }
.guide-related span { color: #a63e13; }
.guide-footer { border-top: 1px solid #dde0e5; padding-block: 24px; font-size: 0.875rem; }
.guide-footer > div { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.guide-footer a { font-weight: 650; }

@media (max-width: 760px) {
  .guide-content, .guide-related > div { grid-template-columns: minmax(0, 1fr); }
  .guide-example { grid-row: 1; }
}

@media (max-width: 460px) {
  .guide-width { width: calc(100% - 32px); }
  .guide-nav { justify-content: space-between; gap: 12px; }
  .guide-nav-features { display: none; }
  .guide-open { padding: 18px; }
}

html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { -webkit-font-smoothing: antialiased; }
figure { margin: 0; }
img { max-width: 100%; height: auto; }
.guide-width { width: min(1184px, calc(100% - 64px)); }
.guide-nav { min-height: 76px; }
.guide-nav > a { min-height: 44px; display: inline-flex; align-items: center; }
.guide-hero-with-image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: 56px; }
.guide-hero nav { font-size: .8125rem; }
.guide-hero h1 { font-weight: 650; font-size: clamp(2.1rem, 4.4vw, 3.5rem); max-width: 20ch; margin: 14px 0 20px; }
.guide-kicker { display: block; color: #a13d17; font-size: .75rem; font-weight: 650; margin-top: 30px; }
.guide-hero .guide-byline { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; font-size: .75rem; color: #586375; }
.guide-hero-image { min-width: 0; }
.guide-hero-image img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #eeedf0; border: 1px solid #dfe1e5; border-radius: 12px; }
.guide-hero-image figcaption { margin-top: 10px; font-size: .75rem; line-height: 1.6; color: #586375; }
.guide-category-links { display: flex; flex-wrap: wrap; gap: 0 18px !important; margin-top: 22px; }
.guide-category-links a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; text-underline-offset: 5px; }
.guide-library-section { padding-top: 44px; }
.guide-library-heading { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin-bottom: 22px; }
.guide-library-heading h2 { font-size: 1.6rem; font-weight: 650; }
.guide-library-heading > span { color: #586375; font-size: .8125rem; white-space: nowrap; }
.guide-library-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.guide-library-card { min-width: 0; text-decoration: none; color: #111827; }
.guide-library-card > img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #eeedf0; border: 1px solid #dfe1e5; border-radius: 10px; transition: border-color .2s ease; }
.guide-library-card > div { padding-block: 16px; }
.guide-library-card h3 { font-size: 1.05rem; line-height: 1.45; margin-bottom: 8px; }
.guide-library-card p { font-size: .8125rem; line-height: 1.7; }
.guide-card-action { display: inline-flex; gap: 12px; align-items: center; margin-top: 14px; min-height: 44px; font-size: .8125rem; font-weight: 650; }
.guide-library-card:hover { color: inherit; }
.guide-library-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.guide-library-card:hover img { border-color: #a13d17; }
.guide-scope { margin: 36px 0 56px; padding: 28px 0 0; border-top: 1px solid #dde0e5; max-width: 76ch; }
.guide-scope p { margin-top: 10px; }
.guide-reading-layout { display: grid; grid-template-columns: minmax(0, 2.8fr) minmax(190px, 1fr); gap: clamp(32px, 7vw, 96px); padding-block: 40px 48px; }
.guide-reading-body { grid-column: 1; grid-row: 1; min-width: 0; font-size: 1rem; line-height: 1.8; overflow-wrap: anywhere; }
.guide-reading-body .guide-lead { margin-bottom: 36px; color: #334155; font-size: 1.0625rem; }
.guide-reading-section { margin-top: 36px; scroll-margin-top: 28px; }
.guide-reading-section:first-of-type { margin-top: 0; }
.guide-reading-section h2 { font-size: 1.5rem; font-weight: 650; letter-spacing: -.025em; line-height: 1.35; }
.guide-reading-section p { margin-top: 14px; }
.guide-reading-section .guide-steps { margin-top: 20px; }
.guide-reading-section .guide-steps p { margin-top: 5px; }
.guide-reading-section .guide-steps li { margin-bottom: 22px; }
.guide-toc { grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: 24px; border-left: 1px solid #d8dce3; padding-left: 24px; }
.guide-toc h2 { font-size: .8125rem; font-weight: 700; }
.guide-toc ol { padding: 0; margin: 14px 0 18px; list-style: none; }
.guide-toc a { display: flex; align-items: center; min-height: 44px; font-size: .8125rem; line-height: 1.6; text-decoration: none; color: #475569; padding-block: 6px; }
.guide-toc a:hover { color: #a13d17; text-decoration: underline; }
.guide-toc .guide-toc-all { color: #111827; font-weight: 650; border-top: 1px solid #d8dce3; padding-top: 14px; }
.guide-table-wrap { overflow-x: auto; margin-top: 22px; border: 1px solid #d8dce3; border-radius: 8px; background: white; }
.guide-table-wrap:focus-visible { outline: 2px solid #3159ec; outline-offset: 3px; }
.guide-table-wrap table { border-collapse: collapse; width: 100%; text-align: left; font-size: .875rem; line-height: 1.7; }
.guide-table-wrap th { background: #eaecef; font-weight: 650; color: #17212f; }
.guide-table-wrap th, .guide-table-wrap td { padding: 14px 16px; vertical-align: top; }
.guide-table-wrap tr + tr td { border-top: 1px solid #e4e6ea; }
.guide-table-wrap td { color: #475569; }
.guide-table-wrap code { font-size: .8125rem; overflow-wrap: anywhere; }
.guide-checklist { margin: 20px 0 0; padding-left: 22px; color: #475569; }
.guide-checklist li { padding-left: 6px; margin-block: 10px; }
.guide-questions { margin-top: 40px; }
.guide-questions h2 { font-size: 1.5rem; margin-bottom: 18px; }
.guide-questions details { border-top: 1px solid #d8dce3; padding-block: 2px; }
.guide-questions details:last-child { border-bottom: 1px solid #d8dce3; }
.guide-questions summary { min-height: 56px; padding-block: 14px; font-size: .9375rem; font-weight: 600; cursor: pointer; line-height: 1.65; }
.guide-questions summary:focus-visible { outline: 2px solid #3159ec; outline-offset: 4px; }
.guide-questions details p { margin: 0 0 20px; font-size: .9375rem; }
.guide-sources { margin-top: 36px; padding-top: 24px; border-top: 1px solid #d8dce3; }
.guide-sources h2 { font-size: 1.125rem; margin-bottom: 12px; }
.guide-sources a { font-weight: 600; font-size: .875rem; }
.guide-sources p { font-size: .8125rem; margin-top: 6px; }
.guide-open { border-color: #d8dce3; background: #edeeef; padding: 28px; }
.guide-open > div { max-width: 70ch; }
.guide-open h2 { font-size: 1.3rem; }
.guide-open p { font-size: .875rem; }
.guide-related-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.guide-related > .guide-related-heading { display: flex; margin: 0; }
.guide-related-heading > a { padding: 0; min-height: 44px; background: none; border: 0; font-size: .875rem; }
.guide-related > div:not(.guide-related-heading) a { min-height: 60px; }
.guide-footer { margin-top: 10px; }
.guide-footer p { flex-basis: 100%; font-size: .75rem; margin-top: 8px; }
.guide-footer a { min-height: 44px; display: inline-flex; align-items: center; }
.guide-video-section { margin-block: 32px; }
.guide-video-section h2 { font-size: 1.5rem; margin-bottom: 18px; }
.guide-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #111; border-radius: 10px; }
.guide-video-section p { font-size: .8125rem; margin-top: 10px; }
.guide-phone-image { max-width: 320px; margin: 32px auto; }
.guide-phone-image img { display: block; width: 100%; height: auto; border: 1px solid #d8dce3; border-radius: 14px; }
.guide-phone-image figcaption { font-size: .75rem; color: #586375; margin-top: 10px; }
@media (max-width: 1000px) { .guide-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } .guide-reading-layout { gap: 32px; } }
@media (max-width: 760px) { .guide-width { width: calc(100% - 32px); } .guide-hero-with-image { grid-template-columns: minmax(0, 1fr); padding-block: 32px; gap: 28px; } .guide-hero h1 { max-width: 23ch; } .guide-reading-layout { display: flex; flex-direction: column; gap: 28px; padding-block: 28px; } .guide-toc { position: static; padding-left: 18px; } .guide-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; } .guide-toc .guide-toc-all { display: none; } .guide-library-section { padding-top: 32px; } .guide-kicker { margin-top: 22px; } }
@media (max-width: 460px) { .guide-library-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } .guide-library-card { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; align-items: start; border-bottom: 1px solid #d8dce3; padding-bottom: 16px; } .guide-library-card > div { padding: 0; } .guide-library-card h3 { font-size: .9375rem; } .guide-library-card p { font-size: .75rem; } .guide-library-card .guide-card-action { margin-top: 4px; } .guide-toc ol { display: block; margin-bottom: 0; } .guide-table-wrap th, .guide-table-wrap td { padding: 12px; } .guide-open { padding: 20px; } .guide-category-links { gap: 0 14px !important; } }
@media (max-width: 460px) { .guide-nav .guide-nav-features { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .guide-library-card img { transition: none; } }
