
:root {
  --navy: #12318F;
  --royal: #3159C9;
  --cream: #F7F3EA;
  --blush: #F6C8C1;
  --rose: #D98FA2;
  --sand: #EADDCB;
  --text: #10245C;
  --white: #FFFFFF;
  --muted: #6D7390;
  --shadow: 0 12px 34px rgba(16, 36, 92, 0.10);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #e8eaf1;
}
button, input { font: inherit; }
button { cursor: pointer; }
.app-shell {
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--cream);
  position: relative;
  padding-bottom: 88px;
  box-shadow: 0 0 40px rgba(0,0,0,.12);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px 14px;
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 5;
}
.topbar h1 { margin: 2px 0 0; font-size: 24px; }
.eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--royal);
  font-weight: 800;
}
.profile-button {
  border: 0;
  border-radius: 50%;
  width: 42px; height: 42px;
  background: var(--navy);
  color: white;
  font-weight: 800;
}
.screen { display: none; padding: 8px 18px 26px; }
.screen.active { display: block; }
.hero {
  background: var(--navy);
  color: white;
  border-radius: 28px;
  padding: 24px;
  display: flex;
  gap: 12px;
  align-items: flex-end;
  box-shadow: var(--shadow);
}
.hero h2 { font-size: 28px; line-height: 1.05; margin: 14px 0 12px; }
.hero p { line-height: 1.5; margin: 0; color: #e4e9ff; }
.wave-circle {
  min-width: 68px; height: 68px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--blush);
  color: var(--navy);
  font-size: 40px;
}
.pill {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.17);
  font-size: 12px;
  font-weight: 800;
}
.blush { background: var(--blush); color: var(--text); }
.sand { background: var(--sand); color: var(--text); }
.section-heading {
  display: flex; justify-content: space-between; align-items: center;
  margin: 25px 2px 12px;
}
.section-heading h3 { margin: 0; font-size: 19px; }
.text-button { border: 0; background: transparent; color: var(--royal); font-weight: 800; }
.event-card, .large-card, .support-card, .notice, .directory-card {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.event-card {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.date-box {
  width: 58px; height: 62px;
  background: var(--blush);
  border-radius: 16px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.date-box strong { font-size: 23px; }
.date-box span { font-size: 11px; font-weight: 800; }
.event-card h4, .event-card p { margin: 2px 0; }
.tag { color: var(--royal); font-size: 12px; font-weight: 800; }
.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}
.quick-card {
  border: 0;
  text-align: left;
  min-height: 136px;
  padding: 16px;
  border-radius: 19px;
  background: white;
  color: var(--text);
  box-shadow: var(--shadow);
}
.quick-card span { font-size: 26px; display: block; margin-bottom: 15px; }
.quick-card strong, .quick-card small { display: block; }
.quick-card small { color: var(--muted); margin-top: 5px; line-height: 1.35; }
.notice { padding: 20px; margin-top: 18px; background: var(--sand); }
.notice.soft { background: var(--blush); }
.notice p { line-height: 1.5; }
.primary-button {
  border: 0;
  background: var(--navy);
  color: white;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
}
.page-title { margin: 8px 2px 18px; }
.page-title h2 { margin: 5px 0 0; font-size: 30px; }
.search {
  width: 100%;
  border: 1px solid #dfe2ea;
  background: white;
  border-radius: 15px;
  padding: 14px;
  outline: none;
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0 4px;
}
.chip {
  border: 0;
  background: white;
  color: var(--text);
  border-radius: 999px;
  padding: 9px 13px;
  white-space: nowrap;
}
.chip.active { background: var(--navy); color: white; }
.stack { display: grid; gap: 14px; margin-top: 14px; }
.directory-card, .large-card { padding: 19px; }
.directory-card h3, .large-card h3 { margin: 8px 0; }
.directory-card p, .large-card p { margin: 6px 0; line-height: 1.45; }
.muted { color: var(--muted); }
.support-card {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 16px;
  margin-bottom: 13px;
}
.support-card h3, .support-card p { margin: 3px 0; }
.support-card p { color: var(--muted); font-size: 13px; }
.support-card button {
  border: 0;
  background: var(--cream);
  color: var(--royal);
  border-radius: 10px;
  padding: 9px 10px;
  font-weight: 800;
}
.icon { font-size: 25px; }
.bottom-nav {
  position: fixed;
  bottom: 0;
  width: min(100%, 480px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: white;
  border-top: 1px solid #e7e8ee;
  padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
  z-index: 10;
}
.nav-item {
  border: 0;
  background: transparent;
  color: #8b90a6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.nav-item span { font-size: 21px; }
.nav-item.active { color: var(--navy); font-weight: 800; }
.member-card {
  background: var(--navy);
  color: white;
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.offer {
  background: white;
  border-radius: 16px;
  padding: 16px;
  margin-top: 12px;
}
.login-box {
  background: white;
  padding: 22px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.login-box input {
  width: 100%;
  margin: 7px 0;
  border: 1px solid #dfe2ea;
  border-radius: 12px;
  padding: 13px;
}
.toast {
  visibility: hidden;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 95px;
  background: #111827;
  color: white;
  padding: 12px 16px;
  border-radius: 12px;
  z-index: 20;
  max-width: 88%;
}
.toast.show { visibility: visible; }
@media (min-width: 700px) {
  body { padding: 28px 0; }
  .app-shell { min-height: calc(100vh - 56px); border-radius: 28px; overflow: hidden; }
}
