/* Guide styles share the landing palette and typography. */
:root {
  --ink: #153039;
  --muted: #526b72;
  --deep: #12333b;
  --mint: #b8e5d4;
  --sky: #e9f5f5;
  --paper: #f8fbfa;
  --line: #d4e4e4;
}
.guide-page {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    17px/1.65 'Aptos',
    'Segoe UI',
    Arial,
    sans-serif;
}
.guide-page * {
  box-sizing: border-box;
}
.guide-wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}
.guide-page a {
  color: inherit;
  text-underline-offset: 4px;
}
.guide-page a:focus-visible,
.guide-page button:focus-visible,
.guide-page summary:focus-visible {
  outline: 3px solid #e98d59;
  outline-offset: 4px;
}
.guide-skip {
  position: absolute;
  top: -100px;
  left: 24px;
  background: white;
  color: var(--ink);
  padding: 12px;
  z-index: 20;
}
.guide-skip:focus {
  top: 12px;
}
.guide-header,
.guide-hero {
  background: var(--deep);
  color: white;
}
.guide-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}
.guide-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-decoration: none;
}
.guide-brand img {
  width: 39px;
  height: 39px;
  border-radius: 11px;
}
.guide-nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.guide-home {
  font-size: 0.9rem;
  font-weight: 700;
}
.guide-language {
  position: relative;
  font-size: 0.85rem;
  font-weight: 800;
}
.guide-language summary {
  cursor: pointer;
  list-style: none;
  padding: 8px 12px;
  border: 1px solid #ffffff70;
  border-radius: 12px;
}
.guide-language summary::-webkit-details-marker {
  display: none;
}
.guide-language nav {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 10;
  min-width: 150px;
  padding: 6px;
  background: white;
  color: var(--ink);
  border-radius: 14px;
  box-shadow: 0 10px 30px #0003;
}
.guide-language a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 8px;
}
.guide-language a[aria-current],
.guide-language a:hover {
  background: var(--sky);
}
.guide-hero {
  padding: 50px 0 62px;
}
.guide-breadcrumb {
  margin: 0 0 32px;
  color: #d5e8e7;
  font-size: 0.85rem;
}
.guide-eyebrow,
.resource-kicker {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
}
.guide-hero h1 {
  max-width: 21ch;
  margin: 16px 0 24px;
  font:
    400 clamp(2.6rem, 5.4vw, 4.7rem)/1.08 Georgia,
    'Times New Roman',
    serif;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.guide-lead {
  max-width: 65ch;
  margin: 0;
  color: #d5e8e7;
  font-size: 1.15rem;
}
.guide-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}
.guide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 0;
  border-radius: 100px;
  background: var(--mint);
  color: var(--deep) !important;
  font:
    800 0.95rem/1.4 'Aptos',
    'Segoe UI',
    Arial,
    sans-serif;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.guide-button:hover {
  background: #d3f0e5;
}
.guide-hero-note {
  max-width: 42ch;
  color: #b9d1d0;
  font-size: 0.83rem;
}
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 740px) minmax(220px, 1fr);
  gap: 70px;
  padding-block: 64px 80px;
  align-items: start;
}
.guide-article {
  min-width: 0;
}
.guide-article section {
  margin: 0 0 36px;
  scroll-margin-top: 24px;
}
.guide-article h2 {
  margin: 0 0 14px;
  font:
    400 clamp(1.8rem, 3vw, 2.5rem)/1.2 Georgia,
    'Times New Roman',
    serif;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.guide-article p {
  margin: 0 0 16px;
  color: var(--muted);
}
.guide-sidebar {
  position: sticky;
  top: 28px;
  border-top: 2px solid var(--line);
  padding-top: 20px;
}
.guide-sidebar h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}
.guide-sidebar a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  text-decoration: none;
}
.guide-sidebar a:hover,
.guide-sidebar a[aria-current] {
  color: #2d6966;
}
.guide-sidebar a[aria-current] {
  font-weight: 800;
}
.guide-cta {
  padding: 28px;
  border-radius: 24px;
  background: var(--sky);
  margin-top: 40px;
}
.guide-cta h2 {
  font-size: 1.8rem;
}
.guide-cta .guide-button {
  background: var(--deep);
  color: white !important;
  margin-top: 10px;
}
.guide-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-block: 28px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.guide-footer p {
  margin: 0;
  max-width: 60ch;
}
.guide-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.resources-section {
  padding-block: 0 72px;
}
.resources-section .resource-kicker {
  color: #39726f;
}
.resources-section h2 {
  max-width: 24ch;
  margin-top: 12px;
}
.resources-intro {
  max-width: 65ch;
  color: var(--muted);
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.resource-link {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  text-decoration: none;
  color: var(--ink);
}
.resource-link:hover {
  border-color: #39726f;
  background: var(--sky);
}
.resource-link h3 {
  margin: 0;
  font:
    400 1.65rem/1.15 Georgia,
    'Times New Roman',
    serif;
  letter-spacing: -0.035em;
}
.resource-link p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.resource-link > span {
  margin-top: auto;
  font-size: 0.87rem;
  font-weight: 800;
  color: #39726f;
}
.resource-paper {
  margin: 25px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}
.resource-paper a {
  font-weight: 700;
  color: var(--ink);
  text-underline-offset: 4px;
}
.printable {
  margin-top: 28px;
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow-x: auto;
}
.printable h2 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}
.printable .sheet-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #526b72;
  padding: 12px 0;
  margin-bottom: 16px;
  font-size: 0.85rem;
  min-width: 510px;
}
.printable table {
  border-collapse: collapse;
  width: 100%;
  min-width: 510px;
  font-size: 13px;
}
.printable th,
.printable td {
  border: 1px solid #9db1b4;
  padding: 8px;
  text-align: left;
}
.printable th {
  background: var(--sky);
  font-weight: 700;
}
.printable th:first-child {
  width: 22%;
}
.printable th:nth-child(2) {
  width: 17%;
}
.printable th:nth-child(3) {
  width: 20%;
}
.printable td {
  height: 62px;
}
.printable h3 {
  font-size: 1rem;
  margin: 24px 0 8px;
}
.questions {
  height: 88px;
  background: repeating-linear-gradient(
    transparent 0,
    transparent 27px,
    #d4e4e4 27px,
    #d4e4e4 28px
  );
}
.printable .sheet-footer {
  margin: 20px 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}
@media (max-width: 900px) {
  .guide-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .guide-sidebar {
    position: static;
  }
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .resource-link {
    padding: 24px;
  }
  .guide-hero h1 {
    max-width: 24ch;
  }
}
@media (max-width: 600px) {
  .guide-wrap {
    width: calc(100% - 40px);
  }
  .guide-nav {
    min-height: 70px;
    gap: 12px;
  }
  .guide-nav-actions {
    gap: 15px;
  }
  .guide-home {
    font-size: 0.8rem;
  }
  .guide-hero {
    padding: 30px 0 42px;
  }
  .guide-breadcrumb {
    margin-bottom: 24px;
  }
  .guide-hero h1 {
    font-size: 2.65rem;
  }
  .guide-lead {
    font-size: 1.04rem;
  }
  .guide-layout {
    padding-block: 38px 48px;
  }
  .guide-hero-actions {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .guide-cta {
    padding: 22px;
  }
  .printable {
    padding: 18px;
  }
  .guide-footer {
    display: block;
  }
  .guide-footer nav {
    margin-bottom: 16px;
  }
}
@media print {
  @page {
    size: A4;
    margin: 14mm;
  }
  .guide-page {
    background: white;
    color: #000;
    font-size: 11pt;
  }
  .guide-header,
  .guide-hero,
  .guide-sidebar,
  .guide-footer,
  .guide-cta,
  .guide-article > section,
  .guide-article > button {
    display: none !important;
  }
  .guide-layout,
  .guide-article {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .printable {
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    break-inside: avoid;
  }
  .printable h2 {
    font-size: 21pt;
  }
  .printable .sheet-meta,
  .printable table {
    min-width: 0;
  }
  .printable table {
    font-size: 10pt;
  }
  .printable td {
    height: 17mm;
  }
  .printable .sheet-footer {
    font-size: 9pt;
  }
  .questions {
    height: 24mm;
    border-bottom: 1px solid #aaa;
  }
  .guide-skip {
    display: none;
  }
}
