/* SOAK 2026 · "the burn is over" page
 * Palette pulled verbatim from the Ranger Forms app:
 *   --color-dark-bg     #1a1f3a   deep navy
 *   --color-header-bg   #2d3561   mid blue-violet
 *   --color-warm-accent #ff6b35   warm orange (signature)
 *   --color-border      #4a5899   blue-purple rule
 *   --color-light-text  #e8eaf6   off-white text
 *   --color-success     #4caf50
 *   --color-danger      #f44336
 */

:root {
  --bg:        #1a1f3a;
  --bg-alt:    #2d3561;
  --bg-card:   #232844;
  --accent:    #ff6b35;
  --accent-soft: rgba(255, 107, 53, 0.14);
  --rule:      #4a5899;
  --text:      #e8eaf6;
  --text-dim:  #a8b0d0;
  --must:      #f44336;
  --link:      #ff8a5c;
  --shadow:    rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
               "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 28px;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { color: var(--accent); text-decoration-thickness: 2px; }


/* ─── Hero ─────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(ellipse at top right,
                    rgba(255, 107, 53, 0.18) 0%,
                    rgba(255, 107, 53, 0.04) 35%,
                    transparent 70%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  padding: 68px 0 56px;
  border-bottom: 3px solid var(--accent);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: start;
}
.hero__copy { min-width: 0; }

.kicker {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 12px;
}
.hero__title {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--text);
  line-height: 1.05;
}
.hero__subtitle {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 56ch;
  margin: 0 0 18px;
}
.hero__cta {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 56ch;
  margin: 0;
  padding: 16px 18px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}


/* ─── Feedback card (right of hero) ────────────────────── */
.hero__feedback { display: flex; justify-content: flex-end; }

.feedback-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 20px;
  width: 240px;
  text-align: center;
  box-shadow: 0 4px 16px var(--shadow);
}
.feedback-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.feedback-card__blurb {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.45;
  margin: 0 0 14px;
}
.feedback-card__qr {
  display: block;
  width: 180px;
  height: 180px;
  margin: 0 auto 12px;
  border-radius: 6px;
  background: #fff;
  padding: 8px;
  /* Subtle orange glow so it reads as the interactive element */
  box-shadow: 0 0 0 2px var(--accent-soft);
}
.feedback-card__link {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}
.feedback-card__link:hover { text-decoration: underline; }


/* ─── Sections ─────────────────────────────────────────── */
.section { padding: 56px 0; }
.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.section__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.prose {
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--text);
  max-width: 64ch;
  margin: 0 0 16px;
}
.prose--small {
  font-size: 0.95rem;
  color: var(--text-dim);
}
.prose strong { color: var(--accent); }


/* ─── Stat grid ────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 6px var(--shadow);
}
.stat__value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-top: 8px;
  line-height: 1.35;
}


/* ─── Tables ───────────────────────────────────────────── */
.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--text);
}
.table--narrow { max-width: 540px; }
.table th, .table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}
.table th {
  background: var(--bg-alt);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.025);
}
.table td.num, .table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.table strong { color: var(--accent); }

.badge {
  display: inline-block;
  background: var(--must);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: 1px;
}


/* ─── Footer ───────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--rule);
  background: var(--bg-alt);
  padding: 28px 0 40px;
  margin-top: 32px;
}
.footer p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 0 0 6px;
}
.footer p:last-child { margin-bottom: 0; }
.footer code {
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.85em;
  color: var(--text);
}


/* ─── Mobile ───────────────────────────────────────────── */
@media (max-width: 720px) {
  .hero { padding: 48px 0 36px; }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero__feedback { justify-content: flex-start; }
  .feedback-card { width: 100%; max-width: 320px; }
  .feedback-card__qr { width: 200px; height: 200px; }
  .section { padding: 40px 0; }
  .stat__value { font-size: 2.1rem; }
  .table th, .table td { padding: 8px 10px; }
}
