.home-page {
  background: var(--paper);
  color: var(--ink);
}
.home-page main :is(h1, h2, h3, p, ul, ol) { margin: 0; }
.home-page main a { text-underline-offset: .18em; }
.home-shell { width: min(100% - 48px, 72rem); margin-inline: auto; }
.home-opening {
  min-height: calc(100svh - 64px); display: flex; flex-direction: column;
  justify-content: center; width: 100%; padding: 8px 24px 40px;
}
.home-opening .shield { position: relative; flex: none; width: 104px; aspect-ratio: 477 / 549; margin-bottom: 28px; }
.shield picture, .shield img { display: block; width: 100%; height: 100%; }
.home-intro { max-width: 560px; }
.home-page h1 { font-size: 2rem; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.home-page .home-lead { margin-top: 16px; color: var(--muted); font-size: 1.0625rem; font-weight: 500; line-height: 1.625rem; }
.home-action { margin-top: 32px; }
.home-start {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; width: 100%; padding: 0 24px; border-radius: 16px;
  background: var(--accent); color: white; text-decoration: none; font-size: 1.0625rem; font-weight: 700;
}
.home-page .home-caption { margin-top: 12px; color: var(--muted); font: 500 .8125rem/1.125rem var(--font); text-align: center; }
.home-emergency { margin-top: 40px; border-top: 1px solid var(--rule); padding-top: 24px; }
.home-emergency a { display: inline-block; min-height: 44px; padding-block: 10px; color: var(--danger); font: 700 .9375rem/1.375rem var(--font); text-decoration: none; }
.home-emergency a:hover { text-decoration: underline; }
.home-section { padding-block: 48px; border-top: 1px solid var(--rule); }
.home-section h2 { font-size: 1.375rem; line-height: 1.75rem; font-weight: 800; }
.home-section h3 { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.home-section p { color: var(--muted); font: 500 .9375rem/1.375rem var(--font); }
.home-page .home-steps {
  display: grid; gap: 32px; list-style: none; padding: 0; margin-top: 32px; counter-reset: how;
}
.home-steps li { display: grid; grid-template-columns: 32px 1fr; align-content: start; gap: 4px 16px; counter-increment: how; }
.home-steps li::before {
  content: counter(how); grid-row: span 2; width: 32px; height: 32px; display: grid; place-items: center;
  border: 1.5px solid var(--rule); border-radius: 50%; background: white; font-weight: 700;
}
.home-steps li p { grid-column: 2; }
.home-cards { display: grid; gap: 24px; }
.home-card { background: white; border: 1px solid var(--rule); border-radius: 20px; padding: 24px; }
.home-card h2, .home-guides h2 { font-size: 1.25rem; line-height: 1.75rem; }
.home-card h2 + p { margin-top: 12px; }
.home-card strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 1.0625rem; line-height: 1.625rem; font-weight: 700; }
.home-card a { display: inline-block; padding-block: 12px; margin: 4px 0 -8px; }
.home-contact { color: var(--ink); overflow-wrap: anywhere; font: 700 .9375rem/1.375rem var(--font); }
.home-source { color: var(--muted); font: 500 .8125rem/1.125rem var(--font); }
.home-guides ul { list-style: none; padding: 0; }
.home-guides li { border-bottom: 1px solid var(--rule); }
.home-guides li a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px;
  padding-block: 12px; color: var(--ink); text-decoration: none; font: 600 1rem/1.5rem var(--font);
}
.home-guides li a:hover { text-decoration: underline; }
.home-guides li span { color: var(--muted); }
.home-guides h2 + ul { margin-top: 16px; }
.home-all-guides { display: inline-flex; align-items: center; min-height: 48px; margin-top: 12px; color: var(--accent); font-weight: 700; }

@media (min-width: 900px) {
  .home-opening {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: 96px;
    align-items: center; width: min(100% - 96px, 72rem); min-height: calc(100vh - 72px); padding: 40px 0;
  }
  .home-opening .shield { grid-column: 2; grid-row: 1; justify-self: center; width: 280px; margin: 0; }
  .home-intro { grid-column: 1; grid-row: 1; }
  .home-page h1 { font-size: 3rem; line-height: 3.5rem; }
  .home-start { width: auto; padding: 0 32px; }
  .home-page .home-caption { text-align: left; }
  .home-emergency { display: none; }
  .home-section h2 { font-size: 1.75rem; line-height: 2.25rem; }
  .home-card h2, .home-guides h2 { font-size: 1.25rem; line-height: 1.75rem; }
  .home-steps { grid-template-columns: repeat(3, 1fr); }
  .home-cards { grid-template-columns: repeat(2, 1fr); }
}
