:root {
  color-scheme: light;
  --paper: #f4f5ef;
  --ink: #202c27;
  --muted: #59635c;
  --green: #365c43;
  --line: #d5dad1;
  --card: #fcfdf9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
svg { display: block; flex: none; }
a { color: inherit; }
.page {
  width: min(100% - 96px, 1040px);
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  transform: translateY(-160%);
  z-index: 1;
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 6px; }

.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: flex; align-items: center; gap: 13px; font-size: 23px; font-weight: 650; letter-spacing: -0.8px; }
.brand-mark { width: 27px; height: 27px; color: var(--green); }
.header-label { font-size: 13px; color: var(--muted); }
main { padding-block: 48px 40px; }
main:focus { outline: none; }
.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--green); }
h1 { margin: 0; font-size: clamp(52px, 7vw, 68px); line-height: 1.04; font-weight: 550; letter-spacing: -3.4px; }
h1 span { color: var(--green); }
.intro-copy { margin: 20px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }

.directory { margin-top: 48px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 15px; }
.section-heading h2 { margin: 0; font-size: 14px; font-weight: 600; }
.section-heading > span { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.app-list { margin: 0; padding: 0; list-style: none; }
.app-link {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.app-link:hover { border-color: #78917b; background: #fff; }
.app-icon { width: 72px; height: 72px; padding: 12px; background: #e7eddf; color: var(--green); border-radius: 18px; flex: none; }
.app-icon svg { width: 100%; height: 100%; }
.app-copy { min-width: 0; }
.app-copy h3 { margin: 0; font-size: 25px; font-weight: 600; line-height: 1.25; letter-spacing: -0.7px; }
.app-copy p { margin: 7px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.app-address { display: block; margin-top: 15px; font-size: 13px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.open-app { display: flex; align-items: center; gap: 14px; margin-left: auto; padding-left: 16px; color: var(--green); font-size: 14px; font-weight: 600; white-space: nowrap; }
.open-app svg { width: 22px; height: 22px; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: auto; padding-block: 27px 32px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.5; color: var(--muted); }

@media (max-width: 640px) {
  .page { width: calc(100% - 40px); }
  .site-header { min-height: 88px; gap: 12px; }
  .wordmark { font-size: 20px; gap: 10px; }
  .brand-mark { width: 24px; height: 24px; }
  .header-label { font-size: 11px; }
  main { padding-block: 56px 72px; }
  h1 { font-size: clamp(48px, 13vw, 64px); letter-spacing: -2.7px; }
  .eyebrow { margin-bottom: 20px; }
  .intro-copy { font-size: 16px; margin-top: 22px; }
  .directory { margin-top: 50px; }
  .app-link { gap: 17px; padding: 24px 20px; align-items: flex-start; border-radius: 12px; }
  .app-icon { width: 52px; height: 52px; padding: 8px; border-radius: 13px; }
  .app-copy { flex: 1; }
  .app-copy h3 { font-size: 22px; }
  .app-copy p { font-size: 14px; }
  .app-address { font-size: 12px; }
  .open-app { padding-left: 0; padding-top: 14px; }
  .open-app > span { display: none; }
  .site-footer { padding-block: 22px 28px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .app-link { transition: none; }
}

@media (forced-colors: active) {
  .app-link { border-color: LinkText; }
  a:focus-visible { outline-color: Highlight; }
}
