/* Reading layout uses the existing forest, cream, gold and typefaces. */
.guide-page { font-size: 18px; }
.guide-wrap { width: calc(100% - var(--gutter) * 2); max-width: 1100px; margin-inline: auto; }
.guide-hero { color: var(--on-dark); background: var(--forest-raised); padding-block: 34px 68px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 14px; font-size: 15px; color: var(--soft); margin-bottom: 40px; }
.breadcrumbs a { padding-block: 5px; text-decoration: underline; text-underline-offset: 5px; }
.guide-hero h1 { font-size: clamp(32px, 4.3vw, 62px); line-height: 1.4; font-weight: 700; letter-spacing: -.02em; }
.guide-subtitle { font: 600 clamp(19px, 2vw, 27px)/1.7 var(--serif); margin-top: 12px; }
.guide-lead { max-width: 43em; margin-top: 25px; color: var(--on-dark); }
.guide-hero-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 22px 28px; margin-top: 32px; }
.guide-hero-contact > p { font-size: 14px; line-height: 1.7; color: var(--soft); }
.guide-hero :focus-visible { outline-color: var(--gold); }
.guide-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(45px, 5vw, 80px); padding-block: 68px 84px; }
.guide-toc { position: sticky; top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; font-size: 16px; }
.guide-toc > p { font: 600 22px/1.7 var(--serif); margin-bottom: 10px; }
.guide-toc > a { padding-block: 7px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #a9a99b; }
.guide-content { min-width: 0; }
.guide-content > section + section { margin-top: 64px; }
.guide-content h2 { font-size: 30px; line-height: 1.55; letter-spacing: 0; text-wrap: pretty; }
.guide-content h3 { font: 600 23px/1.7 var(--serif); margin-top: 30px; }
.guide-content p { margin-top: 18px; }
.guide-content p > a:not(.button), .guide-back { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.guide-content strong { font-weight: 500; }
.guide-content ul { padding-left: 1.25em; margin-block: 18px 0; }
.guide-content li + li { margin-top: 12px; }
.guide-content a { overflow-wrap: anywhere; }
.guide-download-link { display: inline-block; padding-block: 9px; }
.guide-download-link span { margin-left: 8px; }
.guide-info-table { width: 100%; border-collapse: collapse; margin-top: 26px; font-size: 17px; background: var(--cream-deep); }
.guide-info-table th, .guide-info-table td { padding: 15px 20px; text-align: left; vertical-align: middle; }
.guide-info-table th { font-weight: 400; width: 36%; }
.guide-info-table tr:nth-child(even) { background: #deded1; }
.guide-info-table td strong { display: block; font-size: 27px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.guide-copy { display: inline-block; background: var(--forest-raised); color: var(--on-dark); border: 0; padding: 9px 14px; font-size: 14px; min-height: 42px; margin-top: 8px; border-radius: 3px; }
.guide-content .guide-copy-status { font-size: 15px; margin-top: 10px; }
.guide-copy-status:empty { display: none; }
.guide-content .guide-contact { margin-top: 25px; font-size: 19px; gap: 8px; }
.guide-closing { background: var(--forest-raised); color: var(--on-dark); padding: 34px; }
.guide-closing h2 { font-size: 29px; }
.guide-closing blockquote { margin: 24px 0; padding: 20px 22px; background: var(--forest-soft); font-size: 17px; }
.guide-closing :focus-visible { outline-color: var(--gold); }
.guide-content .guide-line-id { font-size: 16px; margin-top: 14px; }
.guide-content .guide-participation { margin-top: 28px; font-size: 15px; }
.guide-back { display: inline-block; padding-block: 12px; margin-top: 25px; font-size: 16px; }
.guide-page .site-footer { padding-top: 38px; }
@media (hover: hover) and (pointer: fine) {
  .guide-toc a:hover, .guide-content p > a:hover, .guide-back:hover { color: #765128; }
  .guide-copy:hover { background: var(--forest-soft); }
}
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; gap: 38px; padding-top: 42px; }
  .guide-toc { position: static; display: flex; flex-direction: row; flex-wrap: wrap; column-gap: 25px; row-gap: 2px; }
  .guide-toc > p { width: 100%; margin-bottom: 5px; }
  .guide-toc > a { padding-block: 10px; }
}
@media (max-width: 600px) {
  .guide-hero { padding-block: 24px 40px; }
  .breadcrumbs { margin-bottom: 26px; font-size: 14px; }
  .guide-hero h1 { max-width: 10em; }
  .guide-lead { font-size: 17px; margin-top: 20px; }
  .guide-hero-contact { gap: 14px; }
  .guide-hero-contact .button { width: 100%; font-size: 19px; padding-inline: 18px; }
  .guide-hero-contact > p br { display: none; }
  .guide-hero-contact > p span { margin-left: 8px; }
  .guide-content h2 { font-size: 25px; }
  .guide-content h3 { font-size: 21px; }
  .guide-content > section + section { margin-top: 45px; }
  .guide-info-table th, .guide-info-table td { padding: 14px 12px; }
  .guide-info-table { font-size: 16px; }
  .guide-info-table th { width: 40%; }
  .guide-info-table td strong { font-size: 25px; }
  .guide-content .guide-contact { width: 100%; padding-inline: 15px; font-size: 17px; }
  .guide-closing { padding: 25px 20px; }
  .guide-closing h2 { font-size: 25px; }
  .guide-closing blockquote { font-size: 16px; padding: 17px; }
}

/* Keep the guide pages on one quiet, dark reading surface. */
.guide-page {
  --serif: var(--sans);
  --on-dark: #f4f1e8;
  --soft: #c7d4c6;
  --guide-accent: #a8dc8d;
  --guide-rule: #395044;
  color: var(--on-dark);
  background: #071710 url('/assets/felt-texture.png') repeat;
  background-size: 1024px auto;
  line-height: 1.85;
}
.guide-page .site-header { background: #06130d; }
.guide-page .site-nav { font: 500 clamp(15px, 1.14vw, 18px)/1.5 var(--sans); gap: clamp(20px, 2.2vw, 32px); }
.guide-page .site-nav .nav-contact { background: #275d32; color: #fff; border: 1px solid #7caf72; border-radius: 999px; font: 600 15px/1.5 var(--sans); padding: 11px 20px; }
.guide-page .menu-toggle { font-family: var(--sans); background: #183322; }
.guide-page .guide-hero {
  position: relative;
  isolation: isolate;
  background: transparent;
}
.guide-page .guide-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(90deg, #071710 0%, rgba(7,23,16,.97) 37%, rgba(7,23,16,.58) 100%), url('/assets/hero.jpg');
  background-size: cover; background-position: center;
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}
.guide-page h1, .guide-page h2, .guide-page h3 { font-family: var(--sans); letter-spacing: -.02em; }
.guide-page .guide-hero h1 { font-size: clamp(34px,4.1vw,58px); line-height: 1.25; }
.guide-page .guide-subtitle { font-family: var(--sans); line-height: 1.55; }
.guide-page .guide-lead { color: var(--on-dark); line-height: 1.8; }
.guide-page .guide-toc > p, .guide-page .guide-content h3 { font-family: var(--sans); }
.guide-page .guide-content { color: var(--on-dark); }
.guide-page .guide-content > section + section { margin-top: clamp(54px,6vw,82px); }
.guide-page .guide-content h2 { color: #f6f1e4; font-size: clamp(25px,2.5vw,33px); line-height: 1.45; }
.guide-page .guide-content h3 { font-size: 22px; line-height: 1.55; }
.guide-page .guide-toc a { text-decoration-color: #718a75; }
.guide-page .guide-content p > a:not(.button), .guide-page .guide-back { text-decoration-color: #91bd87; }
.guide-page .guide-info-table { background: transparent; border-block: 1px solid var(--guide-rule); }
.guide-page .guide-info-table tr:nth-child(even) { background: transparent; }
.guide-page .guide-info-table tr + tr { border-top: 1px solid var(--guide-rule); }
.guide-page .guide-info-table th { color: var(--soft); }
.guide-page .guide-copy { background: transparent; color: #d1ebc2; border: 1px solid #709b6c; border-radius: 999px; }
.guide-page .guide-closing { background: transparent; color: var(--on-dark); border-top: 1px solid var(--guide-rule); padding: 38px 0 0; }
.guide-page .guide-closing blockquote { background: #10281b; border-left: 3px solid #88bb7a; }
.guide-page .button { font-family: var(--sans); font-weight: 600; border-radius: 999px; }
.guide-page .button-primary, .guide-page .button-secondary { background: #285e32; color: #fff; border: 1px solid #8cbd78; }
.guide-page .site-footer { background: transparent; border-top: 1px solid #263b2d; }
.guide-page :focus-visible { outline-color: #a5dc92; }
@media (hover:hover) and (pointer:fine) {
  .guide-page .guide-toc a:hover, .guide-page .guide-content p > a:not(.button):hover, .guide-page .guide-back:hover { color: #bce7a5; }
  .guide-page .guide-copy:hover { background: #284b32; }
  .guide-page .button-primary:hover, .guide-page .button-secondary:hover, .guide-page .site-nav .nav-contact:hover { background: #397744; }
}
@media (max-width: 600px) {
  .guide-page .guide-hero::before { background-position: 65% center; }
  .guide-page .guide-hero h1 { font-size: clamp(32px,8.5vw,42px); }
  .guide-page .guide-content > section + section { margin-top: 52px; }
  .guide-page .guide-content h2 { font-size: 25px; }
  .guide-page .guide-closing { padding: 32px 0 0; }
}
.guide-title-phrase {
  white-space: nowrap;
}

/* Device choices and alliance information are specific to the beginner guide. */
.beginner-guide .guide-hero-contact > p { flex-basis: 100%; }
.beginner-guide .beginner-download-jump { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding-block: 10px; font-size: 17px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #9d8c63; }
.beginner-guide #download { container-type: inline-size; }
.beginner-guide .beginner-download-options { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
@container (min-width: 690px) {
  .beginner-guide .beginner-download-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.beginner-guide .beginner-device { display: flex; flex-direction: column; min-width: 0; padding: 24px; background: #0e2519; border-top: 2px solid #b8a16e; }
.beginner-guide .beginner-device h3 { margin-top: 0; font-size: 23px; }
.beginner-guide .beginner-device p { margin-block: 12px 24px; font-size: 16px; line-height: 1.8; }
.beginner-guide .beginner-device-link { width: 100%; gap: 9px; min-height: 50px; margin-top: auto; padding: 12px 14px; color: #f1e6cc; background: transparent; border: 1px solid #a28d60; font-size: 16px; line-height: 1.5; text-align: center; }
.beginner-guide .beginner-alliance-help { margin-block: 24px 0; }
.beginner-guide .beginner-alliance-help > div + div { margin-top: 24px; }
.beginner-guide .beginner-alliance-help dt { color: #e6d6ae; font-size: 20px; font-weight: 600; }
.beginner-guide .beginner-alliance-help dd { margin: 6px 0 0; }
@media (hover: hover) and (pointer: fine) {
  .beginner-guide .beginner-device-link:hover { background: #283c27; color: #fff7e6; }
  .beginner-guide .beginner-download-jump:hover { color: #e9d5a5; }
}
@media (max-width: 680px) {
  .beginner-guide .beginner-device { padding: 22px; }
  .beginner-guide .beginner-download-jump { padding-inline: 3px; }
}
