:root {
  color-scheme: light;
  --ink: #202e2a;
  --muted: #687772;
  --line: #d9dfd8;
  --paper: #f4f5ef;
  --card: #fffefa;
  --green: #355c4e;
  --lime: #d8e8c2;
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
.wrap { width: min(100% - 40px, 980px); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 1.2rem; font-weight: 850; letter-spacing: -.06em; text-decoration: none; }
.wordmark span { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
nav { display: flex; flex-wrap: wrap; gap: 8px; }
nav a { padding: 8px 12px; border-radius: 999px; color: var(--muted); font-size: .88rem; font-weight: 700; text-decoration: none; }
nav a:hover, nav a:focus-visible { background: #e5e9df; color: var(--ink); }
nav a[aria-current="page"] { background: var(--ink); color: white; }
.hero { max-width: 690px; padding-block: clamp(56px, 10vw, 112px) 64px; }
.eyebrow, .card-number { margin: 0; color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.6rem, 11vw, 7.5rem); font-weight: 500; letter-spacing: -.075em; line-height: .92; }
.intro { max-width: 540px; margin-bottom: 30px; color: var(--muted); font-size: clamp(1.05rem, 2.5vw, 1.25rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 12px 18px; border: 0; border-radius: 999px; background: var(--green); color: white; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.button:hover { background: #25483b; }
.button:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #9cbd79; outline-offset: 3px; }
.button.small { min-height: 44px; padding: 9px 16px; font-size: .88rem; }
.feature-grid, .visit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 64px; }
.feature-card, .story-card { display: block; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); border-radius: 18px; background: var(--card); text-decoration: none; }
.feature-card { transition: transform .18s ease, box-shadow .18s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px #1c30220d; }
.feature-card.accent, .soft-card { background: var(--lime); border-color: transparent; }
.feature-card h2, .story-card h2 { margin: 24px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 4vw, 2.2rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; }
.feature-card p, .story-card p { color: var(--muted); }
.text-link { display: inline-block; margin-top: 12px; color: var(--green); font-size: .9rem; font-weight: 800; text-decoration: none; }
.page-main { padding-block: 52px 88px; }
.page-heading { max-width: 720px; padding-block: 25px 36px; }
.page-heading h1 { margin-top: 14px; font-size: clamp(3.3rem, 10vw, 6.3rem); }
.story-card { margin-bottom: 16px; }
.story-card details { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.story-card summary { color: var(--green); font-weight: 800; cursor: pointer; }
.story-card details p { margin: 12px 0 0; }
.telemetry { display: grid; grid-template-columns: 1fr minmax(300px, .9fr); gap: 32px; align-items: center; margin-block: 58px; padding: clamp(22px, 4vw, 34px); border: 1px solid #cad5c8; border-radius: 18px; background: #e9eee5; }
.telemetry h2 { margin: 8px 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; font-weight: 500; letter-spacing: -.04em; }
.muted { color: var(--muted); }
.telemetry .muted { margin: 0; font-size: .9rem; }
.key-form label { display: block; margin-bottom: 7px; font-size: .8rem; font-weight: 800; }
.key-row { display: flex; gap: 8px; }
.key-row input { min-width: 0; flex: 1; min-height: 44px; padding: 10px 12px; border: 1px solid #b8c5b8; border-radius: 8px; background: white; color: var(--ink); font: inherit; }
.text-button { margin-top: 8px; padding: 4px 0; border: 0; background: transparent; color: var(--green); font: inherit; font-size: .82rem; font-weight: 750; text-decoration: underline; cursor: pointer; }
.status { min-height: 1.4em; margin: 6px 0 0; color: var(--muted); font-size: .8rem; }
.closing-note { max-width: 600px; padding-block: 6px 72px; }
.closing-note h2 { margin: 10px 0; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 500; letter-spacing: -.05em; }
.closing-note p:last-child { color: var(--muted); }
.site-footer { display: flex; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.site-footer a { color: var(--green); font-weight: 750; text-decoration: none; }

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 980px); }
  .site-header { align-items: flex-start; flex-direction: column; gap: 14px; padding-block: 18px; }
  nav { width: 100%; }
  nav a { padding: 7px 10px; }
  .hero { padding-block: 56px 48px; }
  .feature-grid, .visit-grid, .telemetry { grid-template-columns: 1fr; }
  .feature-grid { gap: 12px; margin-bottom: 48px; }
  .telemetry { gap: 22px; margin-block: 40px; }
  .key-row { align-items: stretch; flex-direction: column; }
  .key-row .button { width: 100%; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
