:root {
  color-scheme: light;
  --ink: #242039;
  --muted: #625b72;
  --purple: #5322e2;
  --purple-dark: #4114b9;
  --paper: #faf8fd;
  --lavender: #f0e9ff;
  --navy: #1b0f32;
  --lime: #defa78;
  --line: #e4dbee;
  --max-width: 72rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a { color: var(--purple-dark); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible, button:focus-visible, summary:focus-visible, textarea:focus-visible {
  outline: .18rem solid var(--purple);
  outline-offset: .23rem;
}
.hero a:focus-visible, .topbar a:focus-visible, .callout a:focus-visible {
  outline-color: var(--lime);
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }

p, figure { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
h1, h2 { letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
h3 { font-size: 1.3rem; letter-spacing: -.025em; }
.wrap { width: min(100% - 3rem, var(--max-width)); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 10;
  top: .6rem;
  left: .6rem;
  transform: translateY(-160%);
  padding: .5rem .9rem;
  border-radius: .3rem;
  color: var(--ink);
  background: var(--lime);
}
.skip:focus { transform: none; }

.topbar {
  position: relative;
  background: var(--navy);
  color: white;
  border-bottom: 1px solid #ffffff25;
}
.topbar-inner {
  display: flex;
  align-items: center;
  min-height: 4.8rem;
  gap: clamp(.7rem, 3vw, 2.7rem);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: white;
  text-decoration: none;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -.05em;
}
.brand img { width: 2.6rem; height: 2.6rem; border-radius: .67rem; }
.topbar nav { display: flex; align-items: center; gap: clamp(.65rem, 2.5vw, 1.7rem); margin-left: auto; }
.topbar nav a {
  position: relative;
  padding-block: .6rem;
  color: #e9defa;
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.topbar nav a:hover { color: white; }
.topbar nav a[aria-current] { color: white; }
.topbar nav a[aria-current]::after {
  content: "";
  position: absolute;
  inset: auto 0 .15rem;
  height: .14rem;
  border-radius: .14rem;
  background: var(--lime);
}

.button {
  display: inline-flex;
  min-height: 3rem;
  justify-content: center;
  align-items: center;
  padding: .66rem 1.1rem;
  border: 1px solid transparent;
  border-radius: .62rem;
  font: inherit;
  font-size: .94rem;
  font-weight: 750;
  text-decoration: none;
  text-align: center;
  line-height: 1.25;
  cursor: pointer;
}
.button-lime { background: var(--lime); color: #211634; }
.button-lime:hover { background: #edffae; }
.button-purple { background: var(--purple); color: white; }
.button-purple:hover { background: var(--purple-dark); }
.button-outline { color: white; border-color: #bdb0d7; background: #ffffff0b; }
.button-outline:hover { background: #ffffff23; }
.button-light { color: var(--purple-dark); border-color: #a687df; background: white; }
.button-light:hover { background: var(--lavender); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.nav-action { min-height: 2.56rem; white-space: nowrap; }

.hero {
  overflow: hidden;
  isolation: isolate;
  color: white;
  background: radial-gradient(ellipse at 86% 45%, #522895 0%, #301955 35%, #1b0f32 70%);
}
.hero-inner {
  min-height: 39rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(1rem, 5vw, 4rem);
  padding-block: clamp(2.8rem, 7vw, 5.75rem);
}
.hero-label {
  color: var(--lime);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.05rem, 6.65vw, 6rem);
  line-height: .99;
  font-weight: 850;
  letter-spacing: -.072em;
  text-wrap: balance;
}
.hero h1 strong { color: var(--lime); font-weight: inherit; }
.hero-lede {
  max-width: 33rem;
  margin-top: 1.4rem;
  color: #f0e8fc;
  font-size: clamp(1.03rem, 1.8vw, 1.22rem);
}
.hero .actions { margin-top: 1.45rem; }
.hero-note { margin-top: .75rem; color: #e0d3f4; font-size: .94rem; }
.hero-subtitle { margin-top: 1.1rem; font-size: 1.23rem; font-weight: 750; }
.hero-subtitle + .hero-lede { margin-top: .64rem; }

.home-visual, .leaflet-visual { position: relative; min-width: 0; }
.home-visual { min-height: 32rem; }
.home-visual::before, .leaflet-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 87%;
  max-width: 27rem;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #d8b7ff50;
  box-shadow: 0 0 0 2rem #ffffff09, 0 0 0 4rem #ffffff06;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}
.hero-screen {
  position: absolute;
  width: min(55%, 14.3rem);
  border: .38rem solid #211333;
  border-radius: 1.65rem;
  background: #f7f4fb;
  box-shadow: 0 1.35rem 3rem #0e061bbb;
}
.hero-screen-money { right: 5%; top: .7rem; transform: rotate(9deg); }
.hero-screen-today { left: 10%; top: 1.25rem; transform: rotate(-7deg); }
.home-visual figcaption {
  position: absolute;
  inset: auto 0 -.25rem;
  color: #e9defa;
  text-align: center;
  font-size: .88rem;
}
.club-hero .hero-inner { min-height: 38rem; }
.club-hero h1 { max-width: 14ch; font-size: clamp(2.7rem, 5.35vw, 4.85rem); }
.leaflet-visual { justify-self: center; width: min(100%, 21rem); }
.leaflet-visual img { border-radius: .68rem; box-shadow: 0 1.55rem 3rem #0e061ba6; }
.leaflet-visual::before { width: 116%; }

.section { padding-block: clamp(3rem, 6.6vw, 5.5rem); }
.section-lavender { background: var(--lavender); }
.section-intro { max-width: 42rem; margin-bottom: clamp(1.3rem, 4vw, 2.5rem); }
.section-intro p, .split p { margin-top: .8rem; color: var(--muted); }
.screen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 2.8vw, 1.5rem); }
.screen-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.1rem;
  padding: clamp(.9rem, 2.5vw, 1.45rem);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: #fff;
}
.screen-card p { margin-top: .4rem; color: var(--muted); }
.screen-card img {
  width: min(100%, 14rem);
  margin-inline: auto;
  border-radius: .95rem;
  border: 1px solid #dbd4e5;
}
.caption-note { margin-top: 1.05rem; color: var(--muted); font-size: .94rem; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.steps { margin-block: 1.3rem 0; padding-left: 1.65rem; }
.steps li { padding-inline-start: .35rem; margin-bottom: .75rem; }
.steps li::marker { color: var(--purple-dark); font-weight: 750; }
.founder {
  padding: clamp(1.25rem, 4vw, 2.3rem);
  border-radius: 1.1rem;
  border-top: .32rem solid var(--purple);
  background: white;
  box-shadow: 0 .25rem 1.05rem #2712450c;
}
.founder h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.faq-layout { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.faq {
  border-block-start: 1px solid #cfc4de;
}
.faq details { border-bottom: 1px solid #cfc4de; }
.faq summary {
  display: list-item;
  padding: .9rem .2rem;
  cursor: pointer;
  font-weight: 750;
}
.faq details p { margin: 0; padding: 0 .2rem 1rem; }

.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.resource {
  padding: clamp(1.05rem, 3.4vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  background: white;
}
.resource .file-meta {
  color: var(--purple-dark);
  font-size: .9rem;
  font-weight: 750;
  margin-bottom: .6rem;
}
.resource h3, .announcement h3 { font-size: 1.43rem; }
.resource h3 + p { margin-block: .45rem 1.1rem; color: var(--muted); }
.announcement {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: 1.1rem 2rem;
  margin-top: 1rem;
  padding: clamp(1.05rem, 3.4vw, 1.9rem);
  border: 1px solid #dccdef;
  border-radius: 1.1rem;
  background: var(--lavender);
}
.announcement p { margin-block: .6rem 1rem; color: var(--muted); }
.announcement textarea {
  width: 100%;
  min-height: 12.4rem;
  padding: .85rem .95rem;
  border: 1px solid #a898be;
  border-radius: .6rem;
  background: white;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}
.announcement .copy-status { margin: .6rem 0 0; color: var(--ink); font-size: .94rem; }
.announcement .copy-status:empty { margin: 0; }

.store-actions { margin-top: 1.1rem; }
.split .contact-line { margin-top: 1rem; }
.closing { padding-bottom: clamp(3rem, 6vw, 5rem); }
.callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
  padding: clamp(1.2rem, 4vw, 2.5rem);
  border-radius: 1rem;
  color: white;
  background: var(--navy);
}
.callout h2 { font-size: clamp(1.65rem, 4.2vw, 2.6rem); }
.callout p { color: #e9defa; margin-top: .35rem; }
.callout .button { flex: none; }

.footer { padding-block: 1.8rem 2.45rem; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .9rem 2rem; }
.footer p, .footer a { color: var(--muted); font-size: .91rem; }
.footer .footer-brand { color: var(--ink); font-size: 1.02rem; font-weight: 800; margin-bottom: .25rem; }
.footer nav { display: flex; gap: 1.2rem; align-items: start; }
.footer nav a { font-weight: 700; }

@media (max-width: 54rem) {
  .hero-inner, .club-hero .hero-inner { min-height: 0; gap: 1.5rem; }
  .home-visual { min-height: 0; aspect-ratio: .79; }
  .hero-screen { width: min(57%, 12rem); }
  .hero-screen-money { right: 4%; }
  .hero-screen-today { left: 7%; }
  .home-visual figcaption { bottom: -1.6rem; }
}

@media (max-width: 43.5rem) {
  .wrap { width: min(100% - 2rem, var(--max-width)); }
  .nav-action { display: none; }
  .hero-inner, .split, .announcement { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { text-wrap: initial; }
  .home-visual { width: min(78%, 23.5rem); aspect-ratio: .78; margin: .45rem auto 1rem; }
  .hero-screen { width: min(57%, 11.75rem); }
  .home-visual figcaption { bottom: -1rem; }
  .leaflet-visual { width: min(77%, 18rem); margin: .6rem auto 0; }
  .screen-grid { grid-template-columns: minmax(0, 1fr); }
  .screen-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: start; }
  .screen-card img { max-width: 12rem; }
  .faq-layout .section-intro { margin-bottom: 0; }
  .callout { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 29rem) {
  .brand { font-size: 1.12rem; gap: .4rem; }
  .brand img { width: 2.1rem; height: 2.1rem; }
  .topbar-inner { min-height: 4.1rem; gap: .4rem; }
  .topbar nav { gap: .65rem; }
  .topbar nav a { font-size: .875rem; }
  .hero h1 { font-size: clamp(2.65rem, 12vw, 3.35rem); }
  .club-hero h1 { font-size: clamp(2.25rem, 10vw, 3.1rem); }
  .resource-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 22rem) {
  .topbar-inner { flex-wrap: wrap; gap: .1rem; padding-top: .65rem; }
  .topbar nav { flex-basis: 100%; margin-left: 0; gap: 1.25rem; }
}
