/* The readable pages (spots/…): same sand, ink and chunky type as the app, built for reading. */

:root {
  --sand: #f5efe3; --sand-2: #ece3d2; --card: #fffdf8; --ink: #10222b; --muted: #5f6764; --line: #e4dac6;
  --accent: #0b6a80; --midnight: #14294b; --midnight-deep: #0a1730;
  --display: "Bricolage Grotesque", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --sand: #0c171c; --sand-2: #13232a; --card: #152830; --ink: #eef3f1; --muted: #9aaba6; --line: #22383f;
    --accent: #4cc6dd; color-scheme: dark;
  }
}
.tone-nah { --tone: #1d3a66; } .tone-meh { --tone: #d9603a; } .tone-okay { --tone: #c98a12; }
.tone-fun { --tone: #1f9d6b; } .tone-pumping { --tone: #13a3b8; }

* { box-sizing: border-box; }
html { background: var(--sand); }
body { margin: 0; background: var(--sand); color: var(--ink); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.02em; margin: 0; }

.site-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; background: linear-gradient(170deg, #1d3a66, var(--midnight-deep)); color: #fff;
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand img { border-radius: 10px; }
.brand span {
  font-family: var(--display); font-weight: 800; font-size: 1.15rem; text-transform: uppercase;
  letter-spacing: -0.02em; font-variation-settings: 'opsz' 96;
}
.open-app {
  color: var(--midnight); background: #fff; text-decoration: none; font-weight: 800; font-size: 0.9rem;
  padding: 9px 14px; border-radius: 999px; white-space: nowrap;
}

.spot-page { max-width: 680px; margin: 0 auto; padding: 18px 16px 40px; display: grid; gap: 26px; }
.crumbs { font-size: 0.85rem; color: var(--muted); }
.crumbs a { color: inherit; }
.spot-page h1 { font-size: clamp(2.3rem, 9vw, 3.4rem); font-weight: 800; }
.lede { font-size: 1.12rem; margin: -12px 0 0; }
.spot-page h2 { font-size: 1.45rem; font-weight: 800; margin-bottom: 8px; }
.spot-page h3 { font-size: 1.1rem; font-weight: 800; margin: 18px 0 8px; }
.spot-page p { margin: 0 0 8px; }
.small { font-size: 0.85rem; color: var(--muted); }

/* live call */
.live {
  --tone: #1d3a66;
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 18px; min-height: 180px;
}
.live-loading { color: var(--muted); }
.levels { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.levels button {
  font: inherit; font-size: 0.85rem; font-weight: 700; padding: 7px 12px; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; min-height: 36px;
}
.levels button.on { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.kicker { font-weight: 700; color: var(--muted); font-size: 0.95rem; }
.call {
  font-family: var(--display); font-weight: 800; font-size: clamp(3.2rem, 15vw, 4.6rem); line-height: 0.95;
  letter-spacing: -0.04em; color: var(--tone); margin: 4px 0 6px !important;
}
.tagline { font-size: 1.15rem; font-weight: 600; }
.reasons { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.week li {
  border-radius: 14px; padding: 8px 10px; background: color-mix(in srgb, var(--tone) 14%, transparent);
  border-left: 4px solid var(--tone); display: grid; line-height: 1.25;
}
.week .d { font-size: 0.8rem; color: var(--muted); font-weight: 700; }
.week strong { font-family: var(--display); font-size: 1.05rem; }
.week small { font-size: 0.78rem; color: var(--muted); }

/* facts */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0 0 12px; }
.facts div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; }
.facts dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 800; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; }

details { border-bottom: 1px solid var(--line); padding: 10px 0; }
summary { font-weight: 700; cursor: pointer; }
details p { margin: 8px 0 0 !important; }
.schools, .near { padding-left: 20px; display: grid; gap: 6px; margin: 0 0 8px; }
.near span { color: var(--muted); font-size: 0.85rem; }

.spot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.spot-list li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.spot-list a { font-family: var(--display); font-size: 1.25rem; text-decoration: none; color: var(--ink); }
.spot-list p { margin: 4px 0 !important; }
.spot-list small { color: var(--muted); }
.tag { font-size: 0.72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 3px; color: #fff; }
.lvl-learner { background: #1f9d6b; } .lvl-beginner { background: #12a4bf; }
.lvl-intermediate { background: #7a5bd6; } .lvl-advanced { background: #10222b; }
@media (prefers-color-scheme: dark) { .lvl-advanced { background: #55636a; } }

.cta {
  display: block; text-align: center; text-decoration: none; background: var(--ink); color: var(--sand);
  font-family: var(--display); font-weight: 800; font-size: 1.15rem; padding: 16px; border-radius: 999px;
}

.site-foot { background: var(--sand-2); padding: 24px 16px calc(28px + env(safe-area-inset-bottom)); }
.site-foot > * { max-width: 680px; margin-left: auto; margin-right: auto; }
.site-foot h2 { font-size: 1.1rem; margin-bottom: 8px; }
.site-foot ul { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.site-foot p { margin: 0 0 6px; font-size: 0.9rem; }
