/* Shared editorial shell for the home and privacy pages. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font: 400 1rem/1.6 var(--body); }
a { color: var(--link); text-underline-offset: .25em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.site-header, main { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; border-bottom: 1px solid var(--rule); }
.wordmark { display: block; flex-shrink: 0; padding: 6px 0; }
.wordmark img { width: 200px; height: auto; display: block; }
nav { display: flex; gap: 24px; flex-wrap: wrap; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--text); text-decoration: none; }
nav a:hover, nav a[aria-current] { text-decoration: underline; }
.skip-link { position: absolute; left: 16px; top: 8px; padding: 8px 16px; background: var(--paper); transform: translateY(-200%); z-index: 5; }
.skip-link:focus { transform: none; }
h1, h2 { font-family: var(--display); text-wrap: balance; }
h1 { font-weight: 700; font-size: clamp(3rem, 6.5vw, 5.5rem); line-height: 1.03; letter-spacing: -.025em; margin: 20px 0 24px; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; line-height: 1.15; margin: 0 0 20px; }
p { margin: 0 0 16px; max-width: 65ch; }
.eyebrow { color: var(--clay); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.home { padding-block: 64px 40px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; margin-bottom: 80px; }
.hero h1 { max-width: 10ch; }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 39ch; margin-bottom: 28px; }
.primary { display: inline-flex; gap: 20px; align-items: center; justify-content: space-between; min-height: 48px; padding: 12px 20px; background: var(--action); color: var(--onAction); border: 2px solid var(--action); border-radius: 8px; font-weight: 600; text-decoration: none; }
.primary:hover { text-decoration: underline; }
.caption { font-size: .8125rem; color: var(--muted); }
.hero-copy > .caption { margin-top: 16px; }
.region-preview { background: var(--surface); border-radius: 12px; margin: 0; padding: 24px 32px; }
.preview-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.preview-heading .eyebrow { color: var(--text); margin: 0; }
.region-number { font-family: var(--display); font-size: 1.5rem; }
.region-preview > img { display: block; width: 100%; height: 320px; object-fit: contain; margin-block: 16px; }
.region-preview h2 { margin-bottom: 8px; }
.region-preview p { margin-bottom: 4px; }
.how-it-works { border-top: 1px solid var(--rule); padding-block: 40px 64px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.step { border-top: 2px solid var(--rule); padding-top: 20px; }
.step i { font-style: normal; font-size: .875rem; color: var(--clay); }
.step b { display: block; font: 600 1.5rem/1.2 var(--display); margin: 12px 0; }
.step > span { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.chips em { font-style: normal; font-size: .8125rem; padding: 4px 10px; border-radius: 8px; background: var(--surface); }
.invitation { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 40px; border-block: 1px solid var(--rule); }
.invitation p { max-width: 60ch; }
.invitation .primary { flex-shrink: 0; }
.status { color: var(--muted); font-size: .875rem; padding-top: 32px; max-width: 80ch; }
.privacy { max-width: 760px; padding-block: 56px 64px; }
.privacy section { margin-bottom: 40px; }
.privacy h1 { font-size: clamp(3rem, 6vw, 4.5rem); }
.privacy h2 { font-size: 1.75rem; }
.privacy ul { padding-left: 1.25em; }
.privacy li { margin-bottom: 12px; }
.muted { color: var(--muted); }
@media (prefers-color-scheme: dark) { .region-preview > img { filter: brightness(1.8) saturate(.6); } }
@media (max-width: 760px) {
  .site-header, main { width: calc(100% - 40px); }
  .site-header { padding-block: 20px; flex-wrap: wrap; gap: 8px 24px; }
  nav { gap: 20px; }
  .wordmark img { width: 180px; }
  .home { padding-top: 40px; }
  .hero { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
  .hero h1 { max-width: 11ch; }
  .region-preview { padding: 20px; }
  .region-preview > img { height: 260px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .how-it-works { padding-bottom: 40px; }
  .invitation { align-items: flex-start; flex-direction: column; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Long addresses and fallback-font headings still fit at enlarged text sizes. */
h1, h2, p, li, a { overflow-wrap: anywhere; }
