.guide-page {
  min-height: 100vh;
  padding: 24px;
  background: var(--canvas);
}

.guide-page a {
  color: inherit;
}

.guide-product-bar {
  width: min(100%, 1392px);
  height: 64px;
  margin: 0 auto;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.guide-state {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guide-state a {
  text-decoration: none;
}

.guide-state a:hover,
.guide-state a:focus-visible {
  color: var(--healthy);
}

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

.guide-hero {
  padding: 62px 42px 48px;
  display: flex;
  gap: 84px;
  border-bottom: 1px solid var(--line);
}

.guide-title {
  width: 58%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.guide-title h1 {
  max-width: 760px;
  font-size: 68px;
  line-height: 66px;
  letter-spacing: -0.03em;
}

.guide-answer {
  width: 42%;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.guide-answer > span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.guide-answer p {
  max-width: 520px;
  font-size: 25px;
  font-weight: 500;
  line-height: 33px;
}

.guide-cta {
  width: 260px;
  min-height: 48px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-control);
  color: #fff !important;
  background: var(--graphite);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.guide-cta:hover,
.guide-cta:focus-visible {
  color: var(--signal) !important;
}

.guide-body {
  padding: 48px 42px 64px;
  display: flex;
  gap: 84px;
}

.evidence-rail {
  width: 28%;
  flex: 0 0 28%;
}

.rail-heading {
  padding-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--ink);
}

.rail-heading strong {
  font-size: 18px;
  line-height: 25px;
}

.evidence-model {
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-model li {
  padding: 18px 0;
  display: flex;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.evidence-number {
  width: 32px;
  flex: 0 0 32px;
  color: var(--healthy);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.evidence-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.evidence-label strong {
  font-size: 16px;
  line-height: 21px;
}

.evidence-label small,
.source-note span,
.section-label {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
}

.evidence-label small {
  color: var(--muted);
  font-size: 11px;
  line-height: 17px;
}

.source-note {
  padding: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
}

.source-note span {
  font-size: 11px;
  line-height: 17px;
}

.source-note p {
  font-size: 14px;
  line-height: 22px;
}

.source-note a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.guide-reading {
  width: 72%;
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.guide-section {
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.guide-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.section-label {
  color: var(--healthy);
  font-size: 12px;
  line-height: 18px;
}

.guide-section h2 {
  font-size: 34px;
  line-height: 39px;
  letter-spacing: -0.03em;
}

.guide-section > p {
  max-width: 700px;
  font-size: 17px;
  line-height: 27px;
}

.guide-section .source-context {
  color: var(--muted);
  font-size: 15px;
  line-height: 24px;
}

.field-test {
  max-width: 700px;
  min-height: 90px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-panel);
  color: #fff !important;
  background: var(--graphite);
  text-decoration: none;
}

.field-test-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-test-copy > span {
  color: var(--signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.field-test strong {
  color: #fff;
  font-size: 20px;
  line-height: 25px;
}

.field-test-label-short {
  display: none;
}

.field-test > span {
  font-size: 24px;
}

@media (max-width: 820px) {
  .guide-page {
    padding: 0;
  }

  .guide-product-bar {
    height: 58px;
    padding: 0 20px;
  }

  .guide-product-bar .brand {
    gap: 10px;
    font-size: 17px;
  }

  .guide-product-bar .brand-mark {
    width: 16px;
    height: 16px;
    border-width: 4px;
  }

  .guide-state span {
    display: none;
  }

  .guide-state {
    font-size: 10px;
  }

  .guide-hero {
    padding: 42px 20px 34px;
    flex-direction: column;
    gap: 16px;
  }

  .guide-title,
  .guide-answer {
    width: 100%;
  }

  .guide-title {
    gap: 16px;
  }

  .guide-title h1 {
    font-size: 44px;
    line-height: 44px;
  }

  .guide-answer {
    padding-top: 0;
    gap: 16px;
  }

  .guide-answer > span {
    display: none;
  }

  .guide-answer p {
    font-size: 19px;
    line-height: 27px;
  }

  .guide-cta {
    width: 100%;
  }

  .guide-body {
    padding: 30px 20px 46px;
    flex-direction: column;
    gap: 34px;
  }

  .evidence-rail,
  .guide-reading {
    width: 100%;
  }

  .evidence-model li {
    padding: 16px 0;
    gap: 12px;
  }

  .evidence-number {
    width: 28px;
    flex-basis: 28px;
    font-size: 12px;
  }

  .evidence-label strong {
    font-size: 15px;
  }

  .evidence-label small {
    font-size: 10px;
    line-height: 16px;
  }

  .source-note {
    display: none;
  }

  .guide-reading {
    gap: 0;
  }

  .guide-section {
    padding: 34px 0;
    gap: 10px;
  }

  .guide-section h2 {
    font-size: 28px;
    line-height: 32px;
  }

  .guide-section > p {
    font-size: 16px;
    line-height: 25px;
  }

  .guide-section .source-context {
    font-size: 14px;
    line-height: 22px;
  }

  .field-test {
    min-height: 74px;
    padding: 18px;
  }

  .field-test strong {
    font-size: 17px;
    line-height: 22px;
  }

  .field-test-label-long {
    display: none;
  }

  .field-test-label-short {
    display: inline;
  }

  .mobile-source-note {
    display: block;
    color: var(--muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px !important;
    line-height: 16px !important;
  }
}

@media (min-width: 821px) {
  .mobile-source-note {
    display: none;
  }
}
