.size-page {
  color: #f5f2e8;
  background: #101d16;
  font-size: 1rem;
}
.guide-header, .guide-footer {
  height: auto;
  min-height: 76px;
  padding: 12px max(5vw, calc((100vw - 1280px) / 2));
  border-color: #435647;
}
.guide-header .brand img { filter: grayscale(1) brightness(0) invert(1); width: clamp(100px, 16vw, 135px); }
.guide-header > a:last-child, .guide-footer > a:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #d9eba7;
  text-align: right;
}
.guide-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  max-width: 1440px;
  margin-inline: auto;
  background: radial-gradient(ellipse at 20% 10%, #334833, #16271c 70%);
}
.guide-hero > div {
  align-self: center;
  padding: clamp(28px, 7vw, 110px);
}
.guide-hero h1 {
  max-width: 12ch;
  margin: 10px 0 16px;
  font: 500 clamp(3.4rem, 7vw, 7rem)/.84 var(--serif);
  letter-spacing: -.045em;
}
.guide-hero .eyebrow { color: #d4e6a4; }
.guide-hero p:not(.eyebrow) { max-width: 32ch; color: #e0e5d6; margin-bottom: 22px; }
.guide-hero figure { position: relative; min-height: 440px; margin: 0; }
.guide-hero img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.guide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 46px;
  padding: 8px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #d8efa1;
  color: #15291c;
  font-weight: 700;
}
.guide-cta:hover { background: #edf7c7; }
.guide-cta[hidden] { display: none; }
.guide-content { max-width: 1200px; padding: clamp(36px, 7vw, 96px) 5vw; margin-inline: auto; }
.guide-content h2 { margin: 0 0 16px; font: 500 clamp(2.5rem, 5vw, 4.25rem)/1 var(--serif); }
.guide-methods { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(12px, 3vw, 28px); }
.guide-methods article { background: #1c3024; border: 1px solid #4c6250; border-radius: 12px; overflow: hidden; }
.guide-methods article > div:last-child { padding: clamp(16px, 3vw, 28px); }
.guide-methods h3 { margin: 0; font: 500 2.2rem/1.05 var(--serif); }
.guide-methods ol { margin-bottom: 0; padding-left: 1.25em; color: #e0e5d6; }
.guide-methods li + li { margin-top: 6px; }
.guide-diagram {
  display: grid;
  place-items: center;
  min-height: 128px;
  background: #263e2d;
  color: #dfecb0;
  border-bottom: 1px solid #4c6250;
}
.diagram-ring, .diagram-strip { display: grid; place-items: center; height: 76px; }
.diagram-ring { width: 76px; border: 4px double #cfdcbf; border-radius: 50%; }
.diagram-strip {
  width: 126px;
  height: 35px;
  border-inline: 2px solid #dce8c0;
  background: repeating-linear-gradient(90deg, #acc38e 0 1px, transparent 1px 10px) 0 0/100% 8px no-repeat, #1d3124;
}
.guide-diagram span { font-size: 2rem; line-height: 1; }
.guide-calculator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 5vw, 56px);
  margin-top: 28px;
  padding: clamp(18px, 4vw, 42px);
  border-radius: 12px;
  background: #f6f3eb;
  color: #1c3124;
}
.guide-calculator p { margin: 0; }
.guide-mode { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; border: 0; padding: 0; }
.guide-mode legend, .guide-field span { font-weight: 700; }
.guide-mode label { position: relative; margin-top: 5px; }
.guide-mode input { position: absolute; opacity: 0; }
.guide-mode label span {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 4px 11px;
  border: 1px solid #899a88;
  border-radius: 6px;
  cursor: pointer;
}
.guide-mode input:checked + span { background: #214735; color: white; }
.guide-mode input:focus-visible + span { outline: 2px solid #28513a; outline-offset: 2px; }
.guide-field { display: grid; gap: 5px; margin-bottom: 12px; }
.guide-field input { min-height: 46px; max-width: 180px; padding: 8px 12px; border: 1px solid #899a88; border-radius: 6px; }
.guide-calculator .guide-cta { background: #214735; color: #fff; }
.guide-calculator .guide-cta:hover { background: #345c45; }
#guide-result { margin: 10px 0; font-weight: 700; }
.guide-table { margin-top: 24px; padding: 0 16px; border: 1px solid #4c6250; border-radius: 10px; }
.guide-table summary { min-height: 46px; padding: 10px 0; color: #e1edb7; font-weight: 700; cursor: pointer; }
.guide-table table { width: 100%; border-collapse: collapse; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.guide-table th, .guide-table td { padding: 8px 4px; text-align: left; border-top: 1px solid #4c6250; }
.guide-source { color: #cbd7c6; font-size: .85rem; }
.guide-source a { margin-left: 6px; color: #d8efa1; text-decoration: underline; text-underline-offset: 3px; }
.size-page :focus-visible { outline: 2px solid #b5d581; outline-offset: 4px; }
.guide-calculator :focus-visible { outline-color: #28513a; }
@media (max-width: 700px) {
  .guide-hero, .guide-methods, .guide-calculator { grid-template-columns: 1fr; }
  .guide-hero figure { min-height: 285px; }
  .guide-hero img { object-position: center 48%; }
}
