@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-300.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --page: #f7f7f2;
  --paper: #ffffff;
  --ink: #101114;
  --muted: #575b61;
  --line: #d9d9cf;
  --dark: #211d1c;
  --dark-ink: #f8f5ed;
  --accent: #18d900;
  --accent-dark: #0f8b00;
  --soft-accent: #e7ffe3;
  --max: 1110px;
  --narrow: 850px;
  --font-body: "Manrope", Arial, Helvetica, sans-serif;
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.guid-header {
  position: relative;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.main-nav {
  max-width: var(--max);
  min-height: 94px;
  margin: 0 auto;
  padding: 12px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.main-nav__list,
.main-nav__mobile-list,
.guid-footer__list,
.guid-footer__legal,
.route-stack,
.process-line__list,
.scope-board__list,
.mistake-log__list,
.change-log__list,
.reply-process__list,
.contact-board__note-list,
.legal-list {
  margin: 0;
  padding: 0;
}

.main-nav__list,
.main-nav__mobile-list,
.guid-footer__list,
.scope-board__list,
.mistake-log__list,
.change-log__list,
.reply-process__list,
.contact-board__note-list {
  list-style: none;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav__side_right .main-nav__list {
  justify-content: flex-start;
}

.main-nav__side_left .main-nav__list {
  justify-content: flex-end;
}

.main-nav__link {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 0;
}

.main-nav__link_active,
.main-nav__link:hover,
.main-nav__mobile-link_active,
.main-nav__mobile-link:hover {
  color: var(--accent-dark);
}

.guid-brand {
  min-width: 150px;
  min-height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  border: 3px solid var(--ink);
  padding: 8px 12px;
  background: var(--paper);
}

.guid-brand__mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.guid-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.guid-brand__name {
  font-size: 18px;
  letter-spacing: 0.03em;
  font-weight: 900;
}

.guid-brand__sub {
  margin-top: 5px;
  color: var(--accent-dark);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 900;
}

.main-nav__toggle,
.main-nav__mobile {
  display: none;
}

.page-main {
  background: var(--page);
}

.library-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 74px 24px 62px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 48px;
  align-items: center;
}

.library-hero_home {
  min-height: 500px;
}

.library-hero__eyebrow,
.page-intro__eyebrow,
.legal-page__eyebrow,
.not-found-page__eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 12px;
  font-weight: 800;
}

.library-hero__title,
.page-intro__title,
.legal-page__title,
.not-found-page__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.5vw, 42px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.library-hero__lead,
.page-intro__lead,
.legal-page__lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.library-hero__actions,
.not-found-page__links {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 900;
}

.action-link:hover,
.action-link_primary {
  background: var(--ink);
  color: var(--paper);
}

.action-link_primary:hover {
  background: var(--accent);
  color: var(--ink);
}

.action-link_light {
  border-color: var(--dark-ink);
  color: var(--dark-ink);
}

.action-link_light:hover {
  background: var(--dark-ink);
  color: var(--dark);
}

.library-hero__panel {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 28px;
}

.library-hero__panel-label {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 800;
}

.library-hero__panel-title {
  display: block;
  font-size: 25px;
  line-height: 1.12;
}

.library-hero__panel-list {
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.guide-ribbon {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.guide-ribbon__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px;
}

.guide-ribbon__title {
  margin: 0 0 16px;
  text-align: center;
  color: var(--accent-dark);
  font-size: 28px;
  font-weight: 400;
}

.guide-ribbon__track {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  border: 2px solid var(--ink);
  overflow-x: auto;
}

.guide-ribbon__item {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-right: 1px solid var(--ink);
  background: var(--soft-accent);
  text-align: center;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.guide-ribbon__item:last-child {
  border-right: 0;
}

.guide-ribbon__item:nth-child(even) {
  background: var(--paper);
}

.center-statement {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 48px 24px 64px;
  text-align: center;
}

.center-statement__title {
  margin: 0;
  color: var(--accent-dark);
  font-size: clamp(32px, 5vw, 45px);
  line-height: 1.03;
  font-weight: 300;
}

.center-statement__text {
  margin: 18px auto 0;
  max-width: 720px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.editorial-note,
.resource-library,
.page-intro,
.library-table,
.category-board,
.process-line,
.side-note,
.route-map,
.comparison-strip,
.accordion-section,
.tip-board,
.practice-ledger,
.mistake-log,
.update-watch,
.change-log,
.editorial-standard,
.scope-board,
.contact-board,
.form-section,
.reply-process,
.legal-page,
.not-found-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 68px 24px;
}

.editorial-note__rule {
  height: 1px;
  background: var(--line);
  margin-bottom: 42px;
}

.editorial-note__title {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 18px;
}

.editorial-note__copy {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
}

.editorial-note__grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.reader-note {
  padding-top: 26px;
  border-top: 4px solid var(--ink);
}

.reader-note_tilt {
  border-top-color: var(--accent);
}

.reader-note__title,
.resource-card__title,
.category-board__item h3,
.tip-board__item h3,
.editorial-standard__item h3,
.update-watch__item h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.reader-note__text,
.resource-card__text,
.category-board__item p,
.tip-board__item p,
.editorial-standard__item p,
.update-watch__item p {
  margin: 0;
  color: var(--muted);
}

.split-guide {
  max-width: var(--max);
  margin: 0 auto;
  padding: 62px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.split-guide__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.split-guide__text {
  margin: 22px 0 0;
  max-width: 530px;
  font-size: 20px;
}

.split-guide__board,
.reading-ledger,
.route-poster {
  border: 3px solid var(--ink);
  background: var(--paper);
}

.route-stack {
  list-style: none;
}

.route-stack__item {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid var(--ink);
}

.route-stack__item:last-child {
  border-bottom: 0;
}

.route-stack__number {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  font-weight: 900;
  font-size: 24px;
}

.route-stack__text {
  padding: 18px 24px;
  font-size: 24px;
  font-weight: 900;
}

.reading-ledger__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--ink);
}

.reading-ledger__row:last-child {
  border-bottom: 0;
}

.reading-ledger__row span,
.reading-ledger__row strong {
  padding: 18px;
}

.reading-ledger__row span {
  border-right: 1px solid var(--ink);
  background: var(--soft-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 900;
}

.route-poster {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 34px;
  background: var(--dark);
}

.route-poster__line {
  display: block;
  width: fit-content;
  background: var(--paper);
  color: var(--ink);
  padding: 5px 10px;
  font-size: clamp(20px, 2vw, 32px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.resource-library__intro {
  max-width: 850px;
  margin-bottom: 34px;
}

.resource-library__title,
.page-intro__title {
  color: var(--accent-dark);
  font-weight: 300;
  letter-spacing: -0.04em;
}

.guid-brand__name,
.guide-ribbon__title,
.center-statement__title,
.resource-library__title,
.route-poster__line {
  font-family: var(--font-heading);
}

.resource-library__title {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.03;
}

.resource-library__lead {
  margin: 18px 0 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 14px;
  font-weight: 700;
}

.resource-library__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.resource-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.resource-card__label {
  width: fit-content;
  margin-bottom: 34px;
  padding: 3px 8px;
  border: 1px solid var(--accent-dark);
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 11px;
  font-weight: 700;
}

.resource-card__title {
  font-size: 29px;
  line-height: 1.05;
}

.resource-card__link {
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

.cta-band {
  max-width: var(--max);
  margin: 0 auto 64px;
  padding: 48px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-band_compact {
  margin-bottom: 0;
}

.cta-band__title {
  margin: 0;
  color: var(--accent-dark);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
  font-weight: 300;
}

.cta-band__text {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
}

.page-intro {
  padding-top: 62px;
  padding-bottom: 50px;
}

.feature-visual {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 40px;
}

.feature-visual__frame {
  margin: 0;
  padding: 14px;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.feature-visual__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #e7e3d9;
}

.feature-visual__caption {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 24px;
  align-items: start;
  padding-top: 18px;
}

.feature-visual__title {
  margin: 0;
  color: var(--accent-dark);
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  font-weight: 600;
}

.feature-visual__text {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.library-table__title,
.category-board__title,
.process-line__title,
.side-note__title,
.route-map__title,
.comparison-strip__title,
.accordion-section__title,
.tip-board__title,
.practice-ledger__title,
.mistake-log__title,
.update-watch__title,
.change-log__title,
.editorial-standard__title,
.scope-board__title,
.contact-board__title,
.form-section__title,
.reply-process__title {
  margin: 0 0 28px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
}

.library-table__wrap {
  overflow-x: auto;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.library-table__table,
.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.library-table__table th,
.library-table__table td,
.legal-table th,
.legal-table td {
  padding: 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.library-table__table th,
.legal-table th {
  background: var(--soft-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}

.category-board__grid,
.tip-board__grid,
.editorial-standard__grid,
.update-watch__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--ink);
  background: var(--paper);
}

.category-board__item,
.tip-board__item,
.editorial-standard__item,
.update-watch__item {
  padding: 24px;
  border-right: 1px solid var(--ink);
}

.category-board__item:last-child,
.tip-board__item:last-child,
.editorial-standard__item:last-child,
.update-watch__item:last-child {
  border-right: 0;
}

.tip-board__item span,
.update-watch__item span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  font-weight: 900;
}

.process-line__list,
.route-map__list {
  list-style: none;
  border-top: 2px solid var(--ink);
}

.process-line__item,
.route-map__item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.process-line__item strong,
.route-map__item span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
}

.process-line__item span,
.route-map__item strong {
  color: var(--muted);
  font-weight: 400;
}

.side-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.side-note_dark {
  max-width: none;
  background: var(--dark);
  color: var(--dark-ink);
  padding-left: calc((100% - var(--max)) / 2 + 24px);
  padding-right: calc((100% - var(--max)) / 2 + 24px);
  border: 0;
}

.side-note__text {
  max-width: 650px;
  color: var(--muted);
}

.side-note_dark .side-note__text {
  color: #d8d0c5;
}

.route-map__head {
  max-width: 770px;
}

.route-map__intro {
  margin: -16px 0 34px;
  color: var(--muted);
}

.comparison-strip__rows {
  border-top: 2px solid var(--ink);
}

.comparison-strip__row {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.comparison-strip__row span {
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 900;
}

.comparison-strip__row p {
  margin: 0;
  color: var(--muted);
}

.accordion {
  border-top: 2px solid var(--ink);
}

.accordion__item {
  border-bottom: 1px solid var(--line);
}

.accordion__button {
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.accordion__button::after {
  content: '+';
  float: right;
  color: var(--accent-dark);
  font-size: 24px;
  line-height: 1;
}

.accordion__button[aria-expanded='true']::after {
  content: '–';
}

.accordion__panel {
  padding: 0 0 22px;
  color: var(--muted);
}

.accordion__panel p {
  margin: 0;
  max-width: 760px;
}

.practice-ledger__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--ink);
}

.practice-ledger__cell {
  padding: 24px;
  border-right: 1px solid var(--ink);
  background: var(--paper);
}

.practice-ledger__cell:last-child {
  border-right: 0;
}

.practice-ledger__cell p {
  margin: 10px 0 0;
  color: var(--muted);
}

.mistake-log__list,
.change-log__list,
.reply-process__list,
.scope-board__list {
  border-top: 2px solid var(--ink);
}

.mistake-log__list li,
.change-log__list li,
.reply-process__list li,
.scope-board__list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-board {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
}

.contact-board__details,
.contact-board__note,
.form-section,
.reply-process {
  background: var(--paper);
}

.contact-board__details,
.contact-board__note {
  padding: 30px;
  border: 2px solid var(--ink);
}

.contact-board__list {
  margin: 0;
}

.contact-board__row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-board__row:last-child {
  border-bottom: 0;
}

.contact-board__row dt {
  color: var(--muted);
  font-weight: 700;
}

.contact-board__row dd {
  margin: 0;
}

.contact-board__note-title {
  margin: 0 0 16px;
  font-size: 24px;
}

.contact-board__note-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.form-section,
.reply-process {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 900;
}

.contact-form__field_message {
  margin-top: 18px;
}

.contact-form__input {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.contact-form__textarea {
  resize: vertical;
}

.contact-form__hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__consent {
  margin-top: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
}

.contact-form__consent input {
  margin-top: 5px;
}

.contact-form__actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-form__submit {
  min-height: 52px;
  padding: 12px 24px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.contact-form__submit:hover {
  background: var(--accent);
  color: var(--ink);
}

.contact-form__status {
  min-height: 24px;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

.legal-page {
  max-width: var(--narrow);
  background: var(--paper);
}

.legal-page h2 {
  margin: 38px 0 10px;
  font-size: 26px;
}

.legal-page p {
  color: var(--muted);
}

.legal-table {
  margin-top: 18px;
  min-width: 620px;
}

.legal-list {
  padding-left: 22px;
}

.legal-list li {
  margin: 10px 0;
}

.not-found-page {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.not-found-page__text {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.guid-footer {
  background: var(--dark);
  color: var(--dark-ink);
}

.guid-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 54px 24px 34px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 44px;
}

.guid-footer__brand {
  color: var(--accent);
  text-decoration: none;
  font-size: 24px;
  font-weight: 900;
}

.guid-footer__summary {
  max-width: 390px;
  margin: 14px 0 0;
  color: #d8d0c5;
}

.guid-footer__heading {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
}

.guid-footer__item {
  margin: 8px 0;
  color: #d8d0c5;
}

.guid-footer__link,
.guid-footer__legal-link {
  color: var(--dark-ink);
  text-decoration: none;
}

.guid-footer__link:hover,
.guid-footer__legal-link:hover {
  color: var(--accent);
}

.guid-footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.guid-footer__publisher {
  color: #9b948c;
  font-size: 13px;
}

.guid-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.guid-footer__legal-link {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 800;
}

.cookie-notice {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  max-width: 850px;
  margin: 0 auto;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  background: var(--paper);
  border: 2px solid var(--ink);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice__text {
  margin: 0;
  color: var(--muted);
}

.cookie-notice__link {
  font-weight: 900;
}

.cookie-notice__button {
  min-height: 42px;
  padding: 8px 16px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .main-nav {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav__side {
    display: none;
  }

  .guid-brand {
    justify-self: start;
  }

  .main-nav__toggle {
    justify-self: end;
    width: 46px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    border: 2px solid var(--ink);
    background: var(--paper);
    cursor: pointer;
  }

  .main-nav__toggle-line {
    display: block;
    height: 2px;
    background: var(--ink);
  }

  .main-nav__mobile {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 2px solid var(--ink);
  }

  .main-nav_menu_open .main-nav__mobile {
    display: block;
  }

  .main-nav__mobile-list {
    max-width: var(--max);
    margin: 0 auto;
    padding: 12px 24px 18px;
  }

  .main-nav__mobile-link {
    display: block;
    padding: 12px 0;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 13px;
    font-weight: 900;
  }

  .library-hero,
  .split-guide,
  .contact-board {
    grid-template-columns: 1fr;
  }

  .editorial-note__grid,
  .resource-library__grid,
  .practice-ledger__grid,
  .guid-footer__inner {
    grid-template-columns: 1fr;
  }

  .category-board__grid,
  .tip-board__grid,
  .editorial-standard__grid,
  .update-watch__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-board__item:nth-child(2),
  .tip-board__item:nth-child(2),
  .editorial-standard__item:nth-child(2),
  .update-watch__item:nth-child(2) {
    border-right: 0;
  }

  .category-board__item,
  .tip-board__item,
  .editorial-standard__item,
  .update-watch__item {
    border-bottom: 1px solid var(--ink);
  }

  .category-board__item:nth-last-child(-n+2),
  .tip-board__item:nth-last-child(-n+2),
  .editorial-standard__item:nth-last-child(-n+2),
  .update-watch__item:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .side-note,
  .cta-band,
  .guid-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .main-nav {
    min-height: 76px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .guid-brand {
    min-width: auto;
    min-height: 56px;
    padding: 6px 8px;
  }

  .guid-brand__mark {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .guid-brand__name {
    font-size: 15px;
  }

  .library-hero,
  .editorial-note,
  .resource-library,
  .page-intro,
  .library-table,
  .category-board,
  .process-line,
  .side-note,
  .route-map,
  .comparison-strip,
  .accordion-section,
  .tip-board,
  .practice-ledger,
  .mistake-log,
  .update-watch,
  .change-log,
  .editorial-standard,
  .scope-board,
  .contact-board,
  .form-section,
  .reply-process,
  .legal-page,
  .not-found-page,
  .split-guide,
  .center-statement,
  .cta-band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .library-hero__title,
  .page-intro__title,
  .legal-page__title,
  .not-found-page__title {
    font-size: 20px;
  }

  .guide-ribbon__track {
    grid-template-columns: repeat(6, minmax(180px, 1fr));
  }

  .route-stack__item,
  .reading-ledger__row,
  .process-line__item,
  .route-map__item,
  .comparison-strip__row,
  .contact-board__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .route-stack__number {
    min-height: 54px;
  }

  .reading-ledger__row span {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .route-poster__line {
    font-size: 32px;
  }

  .category-board__grid,
  .tip-board__grid,
  .editorial-standard__grid,
  .update-watch__list,
  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .category-board__item,
  .category-board__item:nth-child(2),
  .tip-board__item,
  .tip-board__item:nth-child(2),
  .editorial-standard__item,
  .editorial-standard__item:nth-child(2),
  .update-watch__item,
  .update-watch__item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .category-board__item:last-child,
  .tip-board__item:last-child,
  .editorial-standard__item:last-child,
  .update-watch__item:last-child {
    border-bottom: 0;
  }

  .cookie-notice {
    grid-template-columns: 1fr;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}


/* Production-pass components */
.library-table_first {
  padding-top: 26px;
}

.mistake-matrix,
.update-impact,
.policy-board,
.correction-review,
.correction-desk {
  max-width: var(--max);
  margin: 0 auto;
  padding: 68px 24px;
}

.mistake-matrix__title,
.update-impact__title,
.policy-board__title,
.correction-review__title,
.correction-desk__title {
  margin: 0 0 28px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
}

.mistake-matrix__wrap,
.update-impact__wrap,
.legal-table-wrap {
  overflow-x: auto;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.mistake-matrix__table,
.update-impact__table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.mistake-matrix__table th,
.mistake-matrix__table td,
.update-impact__table th,
.update-impact__table td {
  padding: 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.mistake-matrix__table th,
.update-impact__table th {
  background: var(--soft-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}

.policy-board__rows {
  border-top: 2px solid var(--ink);
}

.policy-board__row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.policy-board__row h3,
.policy-board__row p {
  margin: 0;
}

.policy-board__row h3 {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
}

.policy-board__row p {
  color: var(--muted);
}

.correction-review__list,
.correction-desk__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.correction-review__list li,
.correction-desk__list li {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.correction-review__list strong,
.correction-desk__list strong {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
}

.correction-review__list span,
.correction-desk__list span {
  color: var(--muted);
}

.correction-desk {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 46px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.correction-desk__text {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.contact-board__title {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.1;
}

.legal-table-wrap {
  margin-top: 18px;
}

.legal-page a,
.scope-board a,
.contact-board a,
.side-note a {
  color: var(--accent-dark);
  font-weight: 800;
}

@media (max-width: 980px) {
  .feature-visual__caption {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .correction-desk {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .feature-visual {
    padding-left: 16px;
    padding-right: 16px;
  }

  .feature-visual__frame {
    padding: 10px;
  }

  .feature-visual__text {
    font-size: 16px;
  }

  .mistake-matrix,
  .update-impact,
  .policy-board,
  .correction-review,
  .correction-desk {
    padding-left: 16px;
    padding-right: 16px;
  }

  .policy-board__row,
  .correction-review__list li,
  .correction-desk__list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
