:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5e6a74;
  --line: #d9e1e7;
  --paper: #ffffff;
  --wash: #f2f6f7;
  --sea: #0f6f83;
  --sun: #efb857;
  --charcoal: #22313d;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--wash);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body {
  margin: 0;
}

a {
  color: var(--sea);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(15, 111, 131, 0.14), rgba(242, 246, 247, 0) 360px),
    var(--wash);
}

.masthead {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1080px;
  padding: 24px clamp(20px, 4vw, 40px);
}

.brand {
  align-items: center;
  color: var(--charcoal);
  display: inline-flex;
  font-weight: 800;
  gap: 12px;
  letter-spacing: 0;
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(23, 33, 43, 0.12);
  height: 44px;
  width: 44px;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.nav a,
.button-link {
  align-items: center;
  border: 1px solid rgba(15, 111, 131, 0.22);
  border-radius: 8px;
  color: var(--charcoal);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  min-height: 40px;
  padding: 8px 12px;
  text-decoration: none;
}

.nav a:hover,
.button-link:hover {
  background: rgba(15, 111, 131, 0.08);
}

.nav a.nav-cta {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: white;
}

.nav a.nav-cta:hover {
  background: var(--sea);
  border-color: var(--sea);
}

.hero,
.policy {
  margin: 0 auto;
  max-width: 1080px;
  padding: 34px clamp(20px, 4vw, 40px) 72px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
}

.eyebrow {
  color: var(--sea);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1 {
  color: var(--charcoal);
  font-size: clamp(2.5rem, 6vw, 5.7rem);
  letter-spacing: 0;
  line-height: 0.94;
  margin: 0;
  max-width: 820px;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  margin: 22px 0 0;
  max-width: 680px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button-link.primary {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: white;
}

.store-badges {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 18px;
}

/* The official badge art carries built-in padding; oversize and pull the
   margins in so it reads the same height as the 40px buttons beside it. */
.store-badges img,
.play-badge img {
  display: block;
  height: 58px;
  margin: -9px 0;
  width: auto;
}

.store-badges p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.android-hero {
  max-width: 760px;
}

.android-badge {
  margin-top: 34px;
}

.signup-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(23, 33, 43, 0.08);
  margin-top: 28px;
  padding: clamp(20px, 4vw, 30px);
}

.signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signup-form input[type="text"] {
  border: 1px solid var(--line);
  border-radius: 8px;
  flex: 1;
  font: inherit;
  min-height: 48px;
  min-width: 220px;
  padding: 10px 14px;
}

.signup-form input[type="text"]:focus {
  border-color: var(--sea);
  outline: 2px solid rgba(15, 111, 131, 0.25);
}

button.button-link {
  background: var(--charcoal);
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  min-height: 48px;
  padding: 8px 20px;
}

button.button-link:disabled {
  cursor: default;
  opacity: 0.6;
}

.form-status {
  font-weight: 700;
  margin: 12px 0 0;
}

.form-status:empty {
  display: none;
}

.form-status.ok {
  color: var(--sea);
}

.form-status.error {
  color: #a33b2e;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 12px 0 0;
}

/* Honeypot field: parked off-screen, not display:none, so bots still fill it. */
.hp {
  height: 1px;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.cta-alt {
  font-size: 0.92rem;
  margin: 16px 0 0;
}

.cta-band .cta-alt {
  color: rgba(255, 255, 255, 0.78);
  margin: 16px 0 0;
}

.cta-band .cta-alt a {
  color: white;
}

.signal-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(23, 33, 43, 0.12);
  overflow: hidden;
}

.signal-image {
  align-items: center;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 28% 28%, rgba(239, 184, 87, 0.42), transparent 28%),
    linear-gradient(135deg, rgba(15, 111, 131, 0.22), rgba(255, 255, 255, 0.72)),
    #dfeaec;
  display: flex;
  justify-content: center;
}

.signal-image img {
  border-radius: 22px;
  height: min(168px, 45vw);
  width: min(168px, 45vw);
}

.signal-copy {
  padding: 20px;
}

.signal-copy h2 {
  font-size: 1.1rem;
  margin: 0 0 6px;
}

.signal-copy p {
  color: var(--muted);
  margin: 0;
}

.panel-cta {
  margin-top: 16px;
}

.phone-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  justify-self: center;
}

.phone-frame {
  background: linear-gradient(160deg, #4d5359, #23282d 55%, #3c4247);
  border-radius: clamp(44px, 5.2vw, 56px);
  box-shadow:
    0 30px 80px rgba(23, 33, 43, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.18);
  padding: 10px;
  position: relative;
  width: clamp(230px, 24vw, 300px);
}

.phone-frame::before,
.phone-frame::after {
  background: #1b2025;
  border-radius: 2px;
  content: "";
  position: absolute;
  right: -3px;
  width: 3px;
}

.phone-frame::before {
  height: 64px;
  top: 26%;
}

.phone-frame::after {
  height: 34px;
  left: -3px;
  right: auto;
  top: 22%;
}

.phone-island {
  background: #0a0d10;
  border-radius: 999px;
  height: 22px;
  left: 50%;
  position: absolute;
  top: 22px;
  transform: translateX(-50%);
  width: 30%;
  z-index: 2;
}

.phone-track {
  aspect-ratio: 640 / 1390;
  border-radius: clamp(36px, 4.4vw, 47px);
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: #0a0d10;
}

.phone-track::-webkit-scrollbar {
  display: none;
}

.phone-track img {
  flex: none;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  width: 100%;
}

.phone-controls {
  align-items: center;
  display: flex;
  gap: 14px;
}

.phone-arrow {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--charcoal);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.3rem;
  height: 34px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 2px;
  width: 34px;
}

.phone-arrow:hover {
  background: rgba(15, 111, 131, 0.08);
}

.phone-dots {
  display: flex;
  gap: 8px;
}

.phone-dot {
  background: rgba(23, 33, 43, 0.18);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  height: 9px;
  padding: 0;
  width: 9px;
}

.phone-dot.active {
  background: var(--sea);
  width: 22px;
}

.phone-caption {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  min-height: 1.4em;
  text-align: center;
}

.features,
.guide,
.faq {
  margin: 0 auto;
  max-width: 1080px;
  padding: 0 clamp(20px, 4vw, 40px) 64px;
}

.section-title {
  color: var(--charcoal);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.1;
  margin: 0 0 26px;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.guide-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(23, 33, 43, 0.06);
  padding: 22px;
}

.feature-card h3,
.guide-card h3 {
  color: var(--charcoal);
  font-size: 1.08rem;
  margin: 0 0 8px;
}

.feature-card p,
.guide-card p {
  color: var(--muted);
  margin: 0;
}

.guide-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.actions.center {
  justify-content: center;
  margin-top: 30px;
}

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 20px;
}

.faq-list details + details {
  margin-top: 10px;
}

.faq-list summary {
  color: var(--charcoal);
  cursor: pointer;
  font-weight: 700;
}

.faq-list details p {
  color: var(--muted);
  margin: 12px 0 0;
}

.cta-band {
  background: var(--charcoal);
  border-radius: 8px;
  color: white;
  margin: 0 auto 72px;
  max-width: 1000px;
  padding: clamp(32px, 6vw, 56px);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.1;
  margin: 0 0 10px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 22px;
}

.cta-band-button {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--charcoal);
  font-size: 1.05rem;
  padding: 12px 22px;
}

.cta-band-button:hover {
  background: #f3c675;
  border-color: #f3c675;
}

.policy article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(23, 33, 43, 0.08);
  margin-top: 28px;
  padding: clamp(24px, 5vw, 54px);
}

.policy h1 {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
}

.policy h2 {
  color: var(--charcoal);
  font-size: 1.15rem;
  margin: 34px 0 10px;
}

.policy p,
.policy li {
  color: #34414c;
}

.policy ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.policy li + li {
  margin-top: 8px;
}

.effective {
  color: var(--muted);
  margin: 14px 0 0;
}

.footer {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 auto;
  max-width: 1080px;
  padding: 0 clamp(20px, 4vw, 40px) 36px;
}

.events-page {
  margin: 0 auto;
  max-width: 1080px;
  padding: 10px clamp(20px, 4vw, 40px) 72px;
}

.events-page h1 {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
}

.event-day {
  margin-top: 40px;
}

.event-day h2 {
  color: var(--charcoal);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  margin: 0 0 14px;
}

.event-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.event-card {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(23, 33, 43, 0.05);
  cursor: pointer;
  display: flex;
  font: inherit;
  gap: 14px;
  padding: 12px 14px;
  text-align: left;
}

.event-card:hover {
  border-color: rgba(15, 111, 131, 0.5);
  box-shadow: 0 12px 30px rgba(23, 33, 43, 0.1);
}

.event-thumb {
  border-radius: 8px;
  flex: none;
  height: 72px;
  object-fit: cover;
  width: 72px;
}

.event-thumb.placeholder {
  background:
    radial-gradient(circle at 30% 30%, rgba(239, 184, 87, 0.5), transparent 40%),
    linear-gradient(135deg, rgba(15, 111, 131, 0.3), #dfeaec);
  display: block;
}

.event-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.event-title {
  color: var(--charcoal);
  font-weight: 700;
}

.event-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.sr-only {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.locked-meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.9rem;
  gap: 6px;
  margin: 0;
}

.blur-text {
  filter: blur(5px);
  opacity: 0.75;
  pointer-events: none;
  user-select: none;
}

.modal-locked {
  font-size: 1rem;
  margin: 6px 0 0;
}

.date-nav {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 34px;
  padding: 14px 14px 12px;
}

.week-bar {
  align-items: stretch;
  display: flex;
  gap: 8px;
}

.week-arrow {
  align-items: center;
  align-self: center;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--charcoal);
  display: inline-flex;
  flex: none;
  font-size: 1.3rem;
  height: 38px;
  justify-content: center;
  line-height: 1;
  padding-bottom: 2px;
  text-decoration: none;
  width: 38px;
}

.week-arrow:hover {
  border-color: rgba(15, 111, 131, 0.5);
}

.week-arrow.disabled {
  opacity: 0.35;
}

.week-strip {
  display: grid;
  flex: 1;
  gap: 6px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.day-cell {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--charcoal);
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 2px;
  text-align: center;
  text-decoration: none;
}

a.day-cell:hover {
  border-color: rgba(15, 111, 131, 0.55);
  box-shadow: 0 6px 16px rgba(23, 33, 43, 0.08);
}

.day-cell.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: white;
}

.day-cell.today:not(.active) {
  border-color: var(--sea);
}

.day-cell.disabled {
  opacity: 0.45;
}

.cell-dow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cell-num {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
}

.cell-count {
  color: var(--muted);
  font-size: 0.68rem;
  white-space: nowrap;
}

.day-cell.active .cell-count {
  color: rgba(255, 255, 255, 0.75);
}

.date-nav-foot {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
}

.today-link {
  color: var(--sea);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.today-link.active,
.today-link:hover {
  text-decoration: underline;
}

.month-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.month-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.month-link:hover {
  color: var(--sea);
}

@media (max-width: 560px) {
  .cell-count {
    display: none;
  }

  .day-cell {
    padding: 7px 1px;
  }
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.cat-chip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 7px 14px;
  text-decoration: none;
}

.cat-chip:hover {
  border-color: rgba(15, 111, 131, 0.5);
}

.cat-chip.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: white;
}

.event-day h2 a {
  color: inherit;
  text-decoration: none;
}

.event-day h2 a:hover {
  color: var(--sea);
  text-decoration: underline;
}

.guide-card h3 a {
  color: inherit;
}

.guide-card h3 a:hover {
  color: var(--sea);
}

.pick-badge {
  color: #b07d1e;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.type-badge {
  background: rgba(15, 111, 131, 0.1);
  border-radius: 999px;
  color: var(--sea);
  flex: none;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 0 auto;
  padding: 4px 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.event-modal {
  background: var(--paper);
  border: none;
  border-radius: 12px;
  box-shadow: 0 40px 120px rgba(23, 33, 43, 0.4);
  max-height: min(88vh, 900px);
  max-width: min(92vw, 520px);
  overflow: auto;
  padding: 0;
  width: 100%;
}

.event-modal::backdrop {
  background: rgba(23, 33, 43, 0.66);
}

.modal-close {
  background: rgba(23, 33, 43, 0.65);
  border: none;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  font-size: 1.4rem;
  height: 38px;
  line-height: 1;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 38px;
}

.modal-teaser {
  background: #101820;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.modal-teaser img {
  display: block;
  filter: blur(14px) saturate(1.1);
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  width: 100%;
}

.teaser-overlay {
  align-items: center;
  background: rgba(16, 24, 32, 0.35);
  display: flex;
  inset: 0;
  justify-content: center;
  position: absolute;
}

.teaser-pill {
  background: rgba(16, 24, 32, 0.82);
  border-radius: 999px;
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 18px;
}

.teaser-pill::before {
  content: "🔒 ";
}

.modal-body {
  padding: 20px 22px 24px;
}

.modal-body h2 {
  color: var(--charcoal);
  font-size: 1.35rem;
  margin: 8px 0 4px;
}

.modal-body .type-badge {
  display: inline-block;
  margin: 0;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.modal-app-cta {
  background: var(--sun);
  border-color: var(--sun);
}

.modal-app-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 14px 0 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}

.footer-nav a {
  color: var(--charcoal);
  font-weight: 700;
}

.disclaimer {
  font-size: 0.8rem;
  margin-top: 10px;
  max-width: 720px;
}

@media (max-width: 760px) {
  .masthead {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    border-radius: 0;
  }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
