/* Shared resource cards are scoped so the landing page keeps its own layout. */
.resource-section .resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.resource-section .resource-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border: 2px solid #2c2416;
  border-radius: 12px;
  background: #fbf6ea;
  box-shadow: 3px 3px 0 #2c2416;
  color: #2c2416;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.resource-section .resource-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #2c2416;
}
.resource-section .resource-card > span {
  font: 500 11px/1.5 "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #b8421d;
}
.resource-section .resource-card h3 {
  margin: 0;
  font: 600 24px/1.15 "Space Grotesk", sans-serif;
  letter-spacing: -.025em;
}
.resource-section .resource-card p {
  margin: 0;
  font: 400 16px/1.6 "IBM Plex Sans", sans-serif;
  color: #6e5f44;
}
.resource-section .resource-card b { margin-top: auto; padding-top: 8px; color: #b8421d; }
.resource-section .resource-card:focus-visible { outline: 3px solid #b8421d; outline-offset: 5px; }
.guide-page {
  margin: 0;
  color: #2c2416;
  background: #f0e8d4;
  font: 400 17px/1.7 "IBM Plex Sans", sans-serif;
  -webkit-text-size-adjust: 100%;
}
.guide-page *, .guide-page *::before, .guide-page *::after { box-sizing: border-box; }
.guide-page a { color: #923817; text-underline-offset: 4px; }
.guide-page a:hover { text-decoration-thickness: 2px; }
.guide-page :focus-visible { outline: 3px solid #b8421d; outline-offset: 5px; }
.guide-page .guide-wrap { width: min(1120px, 100%); margin-inline: auto; padding-inline: 28px; }
.guide-page .guide-header { border-bottom: 2px solid #2c2416; background: #f0e8d4; }
.guide-page .guide-nav { display: flex; align-items: center; gap: 26px; min-height: 78px; padding-block: 14px; }
.guide-page .guide-nav nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; font-size: 14px; }
.guide-page .guide-nav nav a { color: #2c2416; text-decoration: none; }
.guide-page .guide-brand { display: inline-flex; gap: 10px; align-items: center; color: #2c2416; font: 700 24px "Space Grotesk", sans-serif; text-decoration: none; }
.guide-page .guide-logo { width: 34px; height: 34px; border-radius: 9px; background: url('/logo.png') center / 450% auto no-repeat; }
.guide-page .guide-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 2px solid #2c2416; border-radius: 9px; background: #fbf6ea; box-shadow: 3px 3px 0 #2c2416; color: #2c2416; text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.5; text-align: center; }
.guide-page .guide-button.primary { background: #b8421d; color: #fcf6ec; }
.guide-page .guide-button:hover { background: #e9dfc6; }
.guide-page .guide-button.primary:hover { background: #923817; }
.guide-page .guide-skip { position: absolute; top: -100px; left: 20px; padding: 10px; background: #fbf6ea; z-index: 10; }
.guide-page .guide-skip:focus { top: 10px; }
.guide-page .guide-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 26px; color: #6e5f44; font-size: 12px; }
.guide-page .guide-hero { padding: 62px 0 66px; max-width: 850px; }
.guide-page .guide-kicker { margin: 0 0 16px; font: 500 12px/1.6 "IBM Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: #b8421d; }
.guide-page h1, .guide-page h2, .guide-page h3 { font-family: "Space Grotesk", sans-serif; letter-spacing: -.035em; text-wrap: pretty; }
.guide-page h1 { margin: 0 0 24px; font-size: clamp(36px, 5.2vw, 62px); line-height: 1.07; max-width: 23ch; }
.guide-page h2 { font-size: clamp(27px, 3vw, 35px); line-height: 1.17; margin: 0 0 20px; }
.guide-page h3 { font-size: 22px; line-height: 1.25; margin: 0 0 12px; }
.guide-page .guide-intro { font-size: 21px; line-height: 1.6; max-width: 64ch; color: #6e5f44; margin: 0 0 26px; }
.guide-page .guide-small { font-size: 13px; color: #6e5f44; margin: 15px 0 0; }
.guide-page .guide-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 60px; border-top: 2px solid #2c2416; padding-top: 42px; }
.guide-page .guide-layout > aside { position: sticky; top: 24px; }
.guide-page .guide-toc { font-size: 14px; }
.guide-page .guide-toc strong { font: 500 11px "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.guide-page .guide-toc ol { padding-left: 20px; }
.guide-page .guide-toc li { padding-block: 5px; }
.guide-page .guide-toc a { color: #6e5f44; text-decoration: none; }
.guide-page .guide-toc a:hover { color: #923817; text-decoration: underline; }
.guide-page .guide-article { min-width: 0; }
.guide-page .guide-article section { scroll-margin-top: 24px; padding-bottom: 42px; margin-bottom: 38px; border-bottom: 1px solid #d0c1a0; }
.guide-page .guide-article section:last-child { border-bottom: 0; margin-bottom: 0; }
.guide-page .guide-article p { margin: 0 0 20px; }
.guide-page .guide-article li { padding-left: 4px; margin-bottom: 14px; }
.guide-page .guide-article ul, .guide-page .guide-article ol { padding-left: 23px; }
.guide-page .guide-note { background: #e9dfc6; padding: 22px; border-left: 4px solid #b8421d; margin-block: 25px; }
.guide-page .guide-note p { margin: 10px 0 0; }
.guide-page .guide-cards { display: grid; gap: 14px; margin: 28px 0; }
.guide-page .guide-cards > div { padding: 22px; background: #fbf6ea; border: 1px solid #d0c1a0; border-radius: 9px; }
.guide-page .guide-cards p { margin: 0; }
.guide-page .table-scroll { max-width: 100%; overflow-x: auto; margin: 26px 0; border: 1px solid #d0c1a0; border-radius: 9px; background: #fbf6ea; }
.guide-page table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.guide-page caption { text-align: left; padding: 14px; font-weight: 600; color: #6e5f44; }
.guide-page th { background: #e9dfc6; font-weight: 600; }
.guide-page th, .guide-page td { padding: 14px; vertical-align: top; border-top: 1px solid #d0c1a0; min-width: 130px; }
.guide-page details { border-top: 1px solid #d0c1a0; padding: 18px 0; }
.guide-page summary { cursor: pointer; font-weight: 600; line-height: 1.5; }
.guide-page details p { padding-top: 14px; color: #6e5f44; }
.guide-page .guide-cta { padding: 46px; margin-block: 22px 65px; border: 2px solid #2c2416; border-radius: 12px; box-shadow: 5px 5px 0 #2c2416; background: #f8e3d4; }
.guide-page .guide-cta h2 { max-width: 24ch; }
.guide-page .resource-section { padding-bottom: 60px; }
.guide-page .resource-section h2 { margin-bottom: 26px; }
.guide-page .guide-footer { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; border-top: 1px solid #d0c1a0; padding-block: 30px; font-size: 13px; }
.guide-page .guide-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.guide-page .guide-footer > span { margin-left: auto; color: #6e5f44; }
.guide-page .walkthrough { margin: 28px 0; padding: 24px; background: #2c2416; color: #fcf6ec; border-radius: 12px; }
.guide-page .walkthrough figcaption { font: 500 11px/1.6 "IBM Plex Mono", monospace; letter-spacing: .05em; color: #f3b396; margin-bottom: 18px; }
.guide-page .walkthrough ol { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.guide-page .walkthrough li { padding: 18px; margin: 0; border: 1px solid #80715b; border-radius: 7px; }
.guide-page .walkthrough li > span { color: #c4dfd2; font-size: 12px; }
.guide-page .walkthrough strong { display: block; margin: 4px 0; font-family: "Space Grotesk", sans-serif; font-size: 21px; line-height: 1.3; }
.guide-page .walkthrough p { margin: 0; font-size: 15px; color: #e2d8be; }
@media (max-width: 800px) {
  .guide-page .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .guide-page .guide-layout > aside { position: static; }
  .guide-page .guide-toc ol { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding-left: 0; }
  .guide-page .guide-toc li { margin: 0; }
  .guide-page .guide-hero { padding-block: 40px; }
}
@media (max-width: 600px) {
  .resource-section .resource-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-page .guide-wrap { padding-inline: 20px; }
  .guide-page .guide-nav { flex-wrap: wrap; gap: 16px; }
  .guide-page .guide-nav > .guide-button { margin-left: auto; }
  .guide-page .guide-nav nav { order: 3; width: 100%; margin-left: 0; gap: 22px; }
  .guide-page .guide-intro { font-size: 18px; }
  .guide-page .guide-cta { padding: 28px 22px; }
  .guide-page .guide-footer > span { margin-left: 0; }
  .guide-page .walkthrough { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .resource-section .resource-card { transition: none; }
}
