.landing {
  --ink: #202628;
  --muted: #535e63;
  --link: #185fbd;
  --line: #d5dfe9;
  --blue-wash: #f4f8fe;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.landing * { min-width: 0; }
.landing :is(header, main, footer) { width: 100%; max-width: none; padding: 0; }
.landing .wrap { width: min(100% - 3rem, 62rem); margin-inline: auto; }
.landing :is(section, aside, li[id]) { scroll-margin-block-start: 1.5rem; }
.landing :is(a, [tabindex="-1"]):focus-visible { outline: 3px solid #185fbd; outline-offset: 5px; }
.landing a { text-decoration-thickness: 1px; }
.landing h1, .landing h2, .landing h3, .landing h4 { font-family: inherit; text-wrap: balance; }
.landing h2 { margin: 0 0 0.75rem; font-size: 1.75rem; }
.landing h3 { margin: 1rem 0; font-size: 1.65rem; }
.landing h4 { margin: 0 0 0.75rem; font-size: 1.25rem; }
.landing p { margin: 0 0 1rem; }
.landing .site-header { border-bottom: 1px solid var(--line); background: #fff; }
.landing .header-inner { min-height: 5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding-block: 0.75rem; }
.landing .brand { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 1.25rem; color: #185fbd; text-decoration: none; }
.landing .brand svg { flex: 0 0 auto; }
.landing .brand-byline { color: var(--muted); font-size: 0.75rem; font-weight: 500; }
.landing nav { gap: 0.5rem 1.5rem; margin: 0; }
.landing nav a { min-height: 2.75rem; }
.landing .site-header nav a[href="#steps"],
.landing .site-header nav a[href="#help"] { text-decoration: none; }
.landing .hero { background: var(--blue-wash); padding-block: 3.5rem 3rem; text-align: center; }
.landing .eyebrow { font-size: 0.875rem; font-weight: 650; color: var(--link); }
.landing h1 { margin: 0 0 1.25rem; font-size: clamp(2.4rem, 6vw, 3.75rem); line-height: 1.12; letter-spacing: -0.035em; }
.landing .hero-lead { max-width: 38rem; margin: 0 auto 1.75rem; color: var(--muted); font-size: 1.125rem; }
.landing .button-primary { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; min-height: 3.25rem; max-width: 100%; padding: 0.8rem 1.25rem; border: 1px solid #185fbd; border-radius: 0.5rem; color: #fff; background: #185fbd; font-weight: 650; text-decoration: none; line-height: 1.5; }
.landing .button-primary:hover { background: #104a95; border-color: #104a95; }
.landing .hero-note { margin: 1rem 0 0; color: var(--muted); font-size: 0.875rem; }
.landing .guide { padding-block: 3rem; }
.landing .guide-heading { max-width: 40rem; }
.landing .guide-heading p { color: var(--muted); }
.landing .guide-steps { padding: 0; margin: 2rem 0 0; list-style: none; }
.landing .step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22.5rem); align-items: center; gap: 2.5rem; margin: 0; padding-block: 2.5rem; border-top: 1px solid var(--line); }
.landing .step-number { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #e7f0fe; color: #185fbd; font-weight: 750; font-size: 1.125rem; }
.landing .small-note, .landing .step-footnote { color: var(--muted); font-size: 0.9375rem; }
.landing .screen { margin: 0; width: min(100%, 22.5rem); justify-self: center; }
.landing .screen img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 1rem; background: #fafbfc; }
.landing figcaption { padding-block-start: 0.625rem; text-align: center; font-size: 0.8125rem; color: var(--muted); }
.landing .step-connect { grid-template-columns: 1fr; gap: 1.5rem; }
.landing .step-connect > .step-copy { max-width: 38rem; }
.landing .connection-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.landing .path { display: grid; grid-template-rows: auto 1fr auto; align-content: start; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; }
.landing .path > p { margin-block-end: 1.5rem; }
.landing .step-footnote { margin: 0; max-width: 48rem; }
.landing .choice-note { padding: 1.75rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--blue-wash); }
.landing .choice-note h2 { font-size: 1.5rem; }
.landing .choice-note p:last-child, .landing .help p:last-child { margin-bottom: 0; }
.landing .help { padding-block: 3rem; max-width: 48rem; }
.landing .site-footer { padding-block: 2rem; background: #f7f9fb; border-top: 1px solid var(--line); }
.landing .footer-brand { color: #185fbd; font-size: 1.125rem; font-weight: 700; }
.landing .footer-brand span { color: var(--muted); font-size: 0.8125rem; font-weight: 400; }
.landing .site-footer nav { font-size: 0.9375rem; }
.landing .invitation-entry { border-bottom: 1px solid var(--line); padding-block: 1.5rem; background: #fff; }
.landing .invitation-entry h2 { font-size: 1.25rem; }
.landing .invitation-entry p { margin: 0; }
@media (max-width: 44rem) {
  .landing .step { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2rem; }
  .landing .connection-paths { grid-template-columns: 1fr; }
  .landing .hero { padding-block: 2.5rem; }
  .landing .desktop-break { display: none; }
}
@media (max-width: 26rem) {
  .landing .wrap { width: calc(100% - 2rem); }
  .landing .brand-byline { display: block; }
  .landing .path, .landing .choice-note { padding: 1rem; }
  .landing h3 { font-size: 1.5rem; }
}
/* Logical spacing keeps the layout usable when a host supplies an RTL translation. */
.landing:dir(rtl) .button-primary span { transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) {
  .landing *, .landing *::before, .landing *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .landing .button-primary, .landing .step-number, .landing .path, .landing .screen img, .landing .choice-note { border: 1px solid CanvasText; }
  .landing :is(a, [tabindex="-1"]):focus-visible { outline-color: Highlight; }
}
@media print {
  .landing .hero { padding-block: 1rem; background: none; }
  .landing h1 { font-size: 2rem; }
  .landing .guide { padding-block: 1rem; }
  .landing .step { gap: 1rem; padding-block: 1rem; grid-template-columns: minmax(0, 1fr) 13rem; break-inside: avoid; }
  .landing .step-connect { grid-template-columns: 1fr; }
  .landing .connection-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing .path { padding: 1rem; break-inside: avoid; }
  .landing .path .screen { max-width: 13rem; }
  .landing .choice-note, .landing .help { padding-block: 1rem; break-inside: avoid; }
  .landing .button-primary { background: none; color: #000; border-color: #000; }
  .landing .wrap { width: 100%; }
  .landing .site-footer { background: none; }
}
