/* Event Radar — local stylesheet only. No external fonts, trackers or cookies. */

:root {
  --bg: #fcfbf8;
  --bg-soft: #f3f1eb;
  --paper: #ffffff;
  --ink: #071a31;
  --muted: #384658;
  --muted-soft: #5c6b7a;
  --line: #e8e4dc;
  --line-strong: #d4cfc5;
  --brand: #071a31;
  --brand-soft: #163152;
  --link: #163152;
  --stage-a: #c8e0ff;
  --stage-b: #d9d4ff;
  --stage-c: #b7d6ff;
  --stage-d: #e7f0ff;
  --chip: #eef4ff;
  --chip-ink: #163152;
  --placeholder-bg: #fff3d6;
  --placeholder-line: #c4891a;
  --max: 72rem;
  --text: 42rem;
  --radius: 20px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(7, 26, 49, 0.05), 0 16px 40px rgba(7, 26, 49, 0.08);
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

a:hover { color: var(--ink); }

a:focus-visible,
.btn:focus-visible,
.skip:focus-visible,
.text-link:focus-visible {
  outline: 3px solid #4c8dff;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
}

.skip:focus { top: 0.75rem; color: #fff; }

.wrap {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

.narrow { width: min(var(--text), calc(100% - 3rem)); margin-inline: auto; }

/* Header */

.site-header {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.05rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-right: 0.5rem;
}

.logo:hover { color: var(--ink); }

.logo-mark {
  width: 1.7rem;
  height: 1.7rem;
  flex: none;
}

nav {
  margin-left: 0.25rem;
  flex: 1;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 450;
}

nav a:hover { text-decoration: underline; text-underline-offset: 0.25em; }

.header-actions {
  margin-left: auto;
  flex: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  line-height: 1.2;
}

.btn:hover {
  background: var(--brand-soft);
  border-color: var(--brand-soft);
  color: #fff;
}

.btn-header {
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
}

.btn-lg {
  padding: 0.9rem 1.45rem;
  font-size: 1.05rem;
}

/* Hero */

.hero {
  padding: 3.25rem 0 1.5rem;
}

.hero-copy {
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: 2.75rem;
}

.hero h1 {
  font-weight: 750;
  font-size: clamp(2.15rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 1.15rem;
}

.hero .lead {
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 36rem;
  margin: 0 auto 1.6rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  gap: 0.7rem;
}

.buy-note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 28rem;
  text-align: center;
  line-height: 1.45;
}

.buy-stripe {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 34rem;
  text-align: center;
  line-height: 1.45;
}

.meta-line {
  color: var(--muted-soft);
  font-size: 0.95rem;
  margin: 0;
}

.hero-stage {
  background:
    radial-gradient(80% 70% at 8% 18%, rgba(255, 255, 255, 0.82) 0%, transparent 52%),
    radial-gradient(70% 75% at 96% 6%, #d0c2ff 0%, transparent 58%),
    radial-gradient(85% 90% at 88% 98%, #7eb6ff 0%, transparent 52%),
    linear-gradient(185deg, #a8cdff 0%, #d7e8ff 100%);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem 1.75rem;
}

.hero-card {
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.5rem 2rem;
  padding: 2.1rem 2rem 2rem;
  align-items: center;
}

.hero-card-copy .eyebrow { margin-bottom: 0.65rem; }

.hero-card-copy h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.hero-card-copy p {
  color: var(--muted);
  margin: 0 0 1.15rem;
  max-width: 30rem;
}

.text-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 0.1em;
}

.text-link .link-label {
  border-bottom: 1px solid currentColor;
}

.text-link .link-arrow {
  display: inline-block;
  margin-left: 0.35em;
  border: 0;
  font-weight: 700;
}

.text-link:hover { color: var(--brand-soft); }

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

/* Schematic list document (decorative) */

.list-stage { min-width: 0; }

.list-doc {
  background: #f6f8fc;
  border: 1px solid #e4ebf4;
  border-radius: 16px;
  padding: 1rem 1rem 1.1rem;
}

.list-doc-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.list-doc-mark {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 3px #d9e6f8;
}

.list-doc-name {
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--ink);
}

.list-doc-cities {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.list-doc-cities li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #e4ebf4;
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font-size: 0.85rem;
}

.pill-city { font-weight: 650; color: var(--ink); }
.pill-num { color: var(--muted-soft); }

.list-doc-cols {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr;
  gap: 0.5rem;
  padding: 0 0.35rem 0.4rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.list-doc-row {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.list-doc-row i {
  display: block;
  height: 0.55rem;
  border-radius: 4px;
  background: #d7e0ec;
}

.list-doc-row.dim i { opacity: 0.55; }

/* Sections */

section { padding: 3.25rem 0; }

#whats-in-the-list,
#who-its-for,
#buy,
#samples {
  scroll-margin-top: 5.5rem;
}

section h2,
.counts-band h2,
.section-intro h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 0.85rem;
  font-weight: 700;
}

section p { margin: 0 0 1rem; }

.section-intro,
.counts-band .wrap {
  text-align: center;
  max-width: 44rem;
}

.section-intro {
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

.section-intro p,
.counts-band p:not(.eyebrow):not(.city) {
  color: var(--muted);
}

.counts-band .wrap {
  max-width: var(--max);
}

.counts-band h2 { margin-bottom: 1.6rem; }

/* Counts */

.counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  text-align: initial;
}

.count-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem 1.15rem 1.2rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(7, 26, 49, 0.04), 0 8px 24px rgba(7, 26, 49, 0.04);
}

.count-card .city {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 0.2rem;
}

.count-card .num {
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  line-height: 1;
  color: var(--ink);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  margin: 0.15rem 0;
}

.count-card .unit {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted-soft);
  font-size: 0.9rem;
}

/* Role chips */

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.role-grid li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 0.9rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Columns list */

.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.columns li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.15rem 1rem;
}

.columns strong {
  display: block;
  color: var(--ink);
  font-weight: 650;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.columns span { color: var(--muted); font-size: 0.95rem; }

@media (min-width: 721px) {
  .columns li:last-child { grid-column: 1 / -1; }
}

/* Buy */

.buy-block {
  background: var(--ink);
  color: #f4f7fb;
  border-radius: calc(var(--radius-lg) + 2px);
  padding: 3rem 2rem 2.6rem;
  text-align: center;
}

.buy-block h2 {
  color: #fff;
  margin-bottom: 0.35rem;
}

.buy-block .price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  text-align: center;
  gap: 0.4rem;
  margin: 0.35rem 0 0.95rem;
  color: #fff;
}

.buy-block .price .amount {
  display: block;
  margin: 0;
  font-size: clamp(2.8rem, 5.5vw, 4rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}

.buy-block .price span:not(.amount) {
  display: block;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #c5d0dc;
}

.buy-block p:not(.price) {
  color: #d5deea;
  max-width: 38rem;
  margin: 0 auto 0.85rem;
}

.buy-block .btn {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  margin: 0.85rem 0 0.15rem;
}

.buy-block .btn:hover {
  background: #e8eef8;
  border-color: #e8eef8;
  color: var(--ink);
}

.buy-block .buy-note {
  color: #c5d0dc;
  max-width: 32rem;
  margin: 0.55rem auto 0;
}

.buy-block .buy-stripe {
  color: #c5d0dc;
  max-width: 36rem;
  margin: 0.7rem auto 0;
}

/* Disclaimer */

.disclaimer-band { padding: 1.5rem 0 3rem; }

.disclaimer {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Samples (only rendered when show_samples is true) */

.samples h3 {
  font-size: 1.35rem;
  color: var(--ink);
  margin: 1.75rem 0 0.75rem;
}

.sample-note { color: var(--muted); }

.event-cards {
  display: grid;
  gap: 1rem;
}

.event-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem 0.9rem;
}

.event-card h4 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.event-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 0.25rem 0.75rem;
  font-size: 0.95rem;
}

.event-card dt {
  color: var(--muted);
  font-weight: 550;
}

.event-card dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.event-card .notes {
  grid-column: 1 / -1;
  color: var(--ink);
  margin-top: 0.2rem;
}

.event-card .notes dt { margin-bottom: 0.15rem; }

/* Footer */

.site-footer {
  background: var(--ink);
  color: #c5d0dc;
  margin-top: 1rem;
  padding: 2.5rem 0 2.75rem;
  font-size: 0.95rem;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.site-footer .brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.site-footer .logo-mark { width: 1.45rem; height: 1.45rem; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 0.4rem 0 0;
}

.footer-links a { color: #e8eef8; text-decoration: none; }

.footer-links a:hover { text-decoration: underline; color: #fff; }

.address { margin: 0; color: #c5d0dc; }

.placeholder {
  display: inline;
  background: var(--placeholder-bg);
  border: 1px dashed var(--placeholder-line);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  padding: 0.05em 0.4em;
  border-radius: 4px;
  overflow-wrap: anywhere;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Legal pages */

.legal-main { padding: 3rem 0 4rem; }

.legal-main h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 1.15rem;
}

.legal-body h2 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 1.6rem 0 0.5rem;
}

.legal-body p { margin: 0 0 1rem; color: var(--ink); }

.legal-body ul, .legal-body ol { margin: 0 0 1rem; padding-left: 1.25rem; }

.pending {
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

/* Responsive */

@media (max-width: 840px) {
  .hero-card { grid-template-columns: 1fr; padding: 1.5rem 1.25rem 1.35rem; }
}

@media (max-width: 720px) {
  .wrap, .narrow { width: min(var(--max), calc(100% - 1.5rem)); }

  .site-header { position: static; }

  .header-inner {
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
    padding: 0.85rem 0;
  }

  nav { flex-basis: 100%; margin-left: 0; order: 3; }
  nav ul { gap: 0.2rem 1.1rem; padding-bottom: 0.15rem; }

  .header-actions { margin-left: auto; }

  #whats-in-the-list,
  #who-its-for,
  #buy,
  #samples {
    scroll-margin-top: 0.75rem;
  }

  .hero { padding: 1.8rem 0 1.1rem; }

  .hero-copy { margin-bottom: 1.6rem; }

  .hero-stage { padding: 1.15rem 0.85rem 1rem; border-radius: 22px; }

  .counts,
  .columns,
  .role-grid { grid-template-columns: 1fr 1fr; }

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

  section { padding: 2.1rem 0; }

  .hero-actions { justify-content: center; }

  .hero-actions .btn-lg,
  .buy-block .btn-lg { width: 100%; }

  .buy-block { padding: 2rem 1.2rem 1.8rem; border-radius: 22px; }

  .event-card dl { grid-template-columns: 1fr; }

  .event-card dt { margin-top: 0.35rem; }

  .site-footer { border-radius: 22px 22px 0 0; }
}

@media (max-width: 520px) {
  .counts { grid-template-columns: 1fr; }
  .columns { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
