.guide-shell {
  width: min(1060px, calc(100% - 32px));
}

.topic-label {
  color: var(--gold);
  font-weight: 800;
}

.answer-card {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.72fr);
  border: 3px solid var(--ink);
  background: var(--panel);
  box-shadow: 10px 10px 0 var(--shadow);
}

.answer-copy {
  padding: clamp(28px, 5vw, 58px);
}

.answer-copy h1 {
  max-width: 720px;
  font-size: clamp(2.7rem, 7.5vw, 5.7rem);
  line-height: 0.92;
}

.direct-answer {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--green);
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 800;
  line-height: 1.42;
}

.answer-caveat {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.signal-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 26px;
  border-left: 3px solid var(--ink);
  background:
    linear-gradient(rgba(88, 199, 215, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 199, 215, 0.04) 1px, transparent 1px),
    #151826;
  background-size: 18px 18px;
}

.signal-row {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
}

.signal-row div {
  display: grid;
  gap: 7px;
}

.signal-row div span,
.signal-card > p {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.signal-row strong {
  font-size: 0.94rem;
  line-height: 1.35;
}

.signal-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--night);
  box-shadow: 4px 4px 0 var(--shadow);
  font-weight: 900;
}

.audio-row .signal-icon,
.audio-row strong {
  color: var(--blue);
}

.visual-row .signal-icon,
.visual-row strong {
  color: var(--orange);
}

.versus {
  padding: 8px 0;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-align: center;
}

.signal-card > p {
  margin: 18px 0 0;
  text-align: center;
}

.jump-nav {
  display: flex;
  gap: 10px 24px;
  align-items: center;
  padding: 28px 18px;
  border-bottom: 2px solid var(--line);
}

.jump-nav > span {
  margin-right: auto;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.jump-nav a,
.text-link {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}

.jump-nav a:hover,
.jump-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--gold);
  outline: 0;
}

.guide-section {
  padding: 76px 18px 58px;
}

.section-heading h2,
.pathway-copy h2,
.info-panel h2,
.faq-section h2,
.related-section h2,
.more-guides h2,
.sources-section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.wide-heading {
  max-width: 820px;
}

.wide-heading > p:last-child,
.pathway-copy > p:not(.section-kicker),
.info-panel p,
.method-grid p,
.faq-list p,
.sources-section span {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.wide-heading > p:last-child {
  margin-top: 18px;
}

.table-wrap {
  margin-top: 34px;
  overflow-x: auto;
  border: 2px solid var(--line);
}

table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: var(--panel);
}

th,
td {
  padding: 18px 20px;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  text-align: left;
  vertical-align: top;
}

tr > :last-child {
  border-right: 0;
}

tbody tr:last-child > * {
  border-bottom: 0;
}

thead th {
  background: #171220;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

tbody th {
  width: 22%;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.45;
}

tbody td {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

.pathway-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) 1.2fr;
  gap: 42px;
  align-items: center;
  padding: 34px;
  border: 2px solid var(--line);
  background: var(--panel);
}

.pathway-visual {
  padding: 24px;
  border: 2px solid var(--line);
  background: #15111e;
}

.pathway-visual > div {
  display: grid;
  grid-template-columns: 1fr;
}

.pathway-visual span {
  display: grid;
  min-height: 52px;
  place-items: center;
  border: 2px solid var(--ink);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.pathway-visual i {
  width: 2px;
  height: 16px;
  margin: 0 auto;
  background: var(--gold);
}

.pathway-copy h2 {
  margin-bottom: 20px;
}

.pathway-copy > p:not(.section-kicker) + p {
  margin-top: 16px;
}

.pathway-copy .text-link,
.info-panel .text-link {
  display: inline-block;
  margin-top: 22px;
}

.two-column-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding-top: 22px;
}

.info-panel {
  padding: 30px;
  border: 2px solid var(--line);
  background: var(--panel);
}

.info-panel h2 {
  margin-bottom: 22px;
}

.info-panel > p:not(.section-kicker) + p {
  margin-top: 16px;
}

.audio-panel {
  border-color: #315b66;
  background: #151f2b;
}

.visual-panel {
  border-color: #6b4130;
  background: #241922;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.method-grid li {
  grid-column: span 2;
  padding: 24px;
  border: 2px solid var(--line);
  background: var(--panel);
}

.method-grid li:nth-child(4) {
  grid-column: 2 / span 2;
}

.method-grid li > span {
  color: var(--gold);
  font-weight: 900;
}

.method-grid h3 {
  min-height: 48px;
  margin: 24px 0 12px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.35;
}

.protocol-note {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding: 20px 22px;
  border: 2px solid #6b5a30;
  background: #292318;
  line-height: 1.55;
}

.protocol-note strong {
  flex: 0 0 auto;
  color: var(--gold);
}

.protocol-note span {
  color: var(--muted);
}

.faq-section,
.related-section,
.more-guides,
.sources-section {
  padding: 72px 18px 0;
}

.faq-list {
  margin-top: 28px;
  border-top: 2px solid var(--line);
}

.faq-list details {
  border-bottom: 2px solid var(--line);
}

.faq-list summary {
  padding: 22px 44px 22px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.4;
}

.faq-list details p {
  max-width: 880px;
  padding: 0 0 24px;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.related-links a {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 2px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.related-links a:hover,
.related-links a:focus-visible {
  border-color: var(--gold);
  outline: 0;
}

.related-links small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 400;
}

.more-guides .guide-links {
  margin-top: 28px;
}

.sources-section {
  padding-bottom: 42px;
}

.sources-section ul {
  margin: 28px 0 0;
  padding: 0;
  border-top: 2px solid var(--line);
  list-style: none;
}

.sources-section li {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 30px;
  padding: 20px 0;
  border-bottom: 2px solid var(--line);
}

.sources-section a {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.5;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}

.sources-section a:hover,
.sources-section a:focus-visible {
  color: var(--gold);
  outline: 0;
}

.sources-section span {
  font-size: 0.88rem;
}

@media (max-width: 820px) {
  .answer-card,
  .pathway-panel {
    grid-template-columns: 1fr;
  }

  .signal-card {
    border-top: 3px solid var(--ink);
    border-left: 0;
  }

  .jump-nav {
    flex-wrap: wrap;
  }

  .jump-nav > span {
    width: 100%;
  }

  .method-grid {
    grid-template-columns: 1fr 1fr;
  }

  .method-grid li,
  .method-grid li:nth-child(4) {
    grid-column: auto;
  }

  .method-grid li:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .guide-shell {
    width: min(100% - 18px, 600px);
    padding-top: 10px;
  }

  .topic-label,
  .language-chip {
    display: none;
  }

  .answer-card {
    box-shadow: 6px 6px 0 var(--shadow);
  }

  .answer-copy,
  .signal-card {
    padding: 26px 20px;
  }

  .answer-copy h1 {
    font-size: clamp(2.2rem, 12vw, 3.8rem);
  }

  .jump-nav a {
    width: calc(50% - 12px);
  }

  .guide-section {
    padding: 58px 8px 44px;
  }

  .pathway-panel {
    gap: 26px;
    padding: 22px 18px;
  }

  .two-column-section,
  .method-grid,
  .related-links,
  .sources-section li {
    grid-template-columns: 1fr;
  }

  .method-grid li:last-child {
    grid-column: auto;
  }

  .method-grid h3 {
    min-height: 0;
  }

  .info-panel,
  .method-grid li {
    padding: 24px 20px;
  }

  .protocol-note {
    flex-direction: column;
    gap: 6px;
  }

  .faq-section,
  .related-section,
  .more-guides,
  .sources-section {
    padding: 58px 8px 0;
  }

  .related-links a {
    min-height: 92px;
  }

  .sources-section {
    padding-bottom: 28px;
  }

  .sources-section li {
    gap: 10px;
  }
}
