:root {
  --ink: #0e1620;
  --paper: #f3efe6;
  --sand: #e8d7b0;
  --gold: #f0c14b;
  --teal: #1f8a8a;
  --teal-deep: #145e5e;
  --crate: #e26a2c;
  --line: rgba(14, 22, 32, 0.12);
  --max: 1080px;
  --display: "Bungee", Impact, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(240, 193, 75, 0.22), transparent 55%),
    radial-gradient(700px 360px at 100% 0%, rgba(31, 138, 138, 0.18), transparent 50%),
    linear-gradient(180deg, #1a2430 0%, #243445 28%, #dcc9a0 28.1%, var(--paper) 100%);
  line-height: 1.5;
  min-height: 100vh;
}
a { color: var(--teal-deep); text-underline-offset: 0.15em; }
a:hover { color: var(--crate); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 0.5rem; top: 0.5rem; background: #000; color: #fff; padding: 0.5rem; z-index: 99; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.muted { color: rgba(14, 22, 32, 0.65); }

.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(14, 22, 32, 0.82);
  border-bottom: 1px solid rgba(240, 193, 75, 0.25);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0; flex-wrap: wrap;
}
.brand {
  font-family: var(--display);
  color: var(--gold) !important;
  text-decoration: none;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
}
.nav nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.nav nav a {
  color: #e8eef5; text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.nav nav a.is-active, .nav nav a:hover { color: var(--gold); }

.hero {
  padding: 3.5rem 0 2.5rem;
  color: #f5f7fa;
}
.hero-visual {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: flex-end;
  padding: 0 0 2.75rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.02);
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,15,20,0.35) 0%, rgba(10,15,20,0.72) 55%, rgba(10,15,20,0.92) 100%),
    radial-gradient(700px 280px at 20% 80%, rgba(240,193,75,0.18), transparent 60%);
}
.hero-copy { position: relative; z-index: 1; padding-top: 5rem; }
.eyebrow {
  margin: 0 0 0.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(240, 193, 75, 0.85);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
  color: var(--gold);
  text-shadow: 0 4px 0 rgba(0,0,0,0.35);
}
.hero .lead {
  font-size: 1.15rem;
  max-width: 36rem;
  color: rgba(245, 247, 250, 0.9);
  margin: 0 0 1.5rem;
}
.shot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
@media (max-width: 900px) { .shot-grid { grid-template-columns: repeat(2, 1fr); } }
.shot {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--line);
  background: #1a2430;
  aspect-ratio: 16/10;
}
.shot img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
}
.feature-dl-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
  align-items: center;
}
@media (max-width: 800px) { .feature-dl-grid { grid-template-columns: 1fr; } }
.phone-shot {
  width: 100%;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #1a2430;
}
.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(31,138,138,0.15);
  color: var(--teal-deep);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.35rem;
}
.plain { margin: 0; padding-left: 1.2rem; }
.plain li { margin: 0.35rem 0; }
code {
  font-size: 0.9em;
  background: rgba(14,22,32,0.06);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
.cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.25rem;
  border-radius: 8px; border: 3px solid #0a0f14;
  font-family: var(--display);
  font-size: 0.95rem;
  text-decoration: none !important;
  color: #0e1620 !important;
  background: var(--gold);
  box-shadow: 0 4px 0 #0a0f14;
}
.btn:hover { transform: translateY(-1px); }
.btn.secondary { background: #f3efe6; }
.btn.teal { background: #7fd4d0; }

.panel-band {
  background: var(--paper);
  border-radius: 18px 18px 0 0;
  margin-top: -0.5rem;
  padding: 2.5rem 0 3.5rem;
  box-shadow: 0 -12px 40px rgba(0,0,0,0.18);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 800px) { .grid-3 { grid-template-columns: 1fr; } }
.stat-card, .card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
}
.stat-card .n {
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--teal-deep);
  line-height: 1.1;
}
.stat-card .l { font-size: 0.9rem; color: rgba(14,22,32,0.65); margin-top: 0.25rem; }
.card h2, .section-title {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  color: var(--ink);
}
.how ol { margin: 0; padding-left: 1.2rem; }
.how li { margin: 0.4rem 0; }

table.board {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 2px solid var(--line); border-radius: 12px; overflow: hidden;
}
table.board th, table.board td {
  padding: 0.7rem 0.85rem; text-align: left; border-bottom: 1px solid var(--line);
}
table.board th {
  background: #1a2430; color: var(--gold); font-family: var(--display); font-size: 0.8rem;
}
table.board tr:last-child td { border-bottom: 0; }
table.board tr:nth-child(even) td { background: rgba(232, 215, 176, 0.25); }

.form {
  max-width: 420px; display: grid; gap: 0.75rem;
}
.form label { font-weight: 700; font-size: 0.9rem; }
.form input {
  width: 100%; padding: 0.7rem 0.8rem; border-radius: 8px;
  border: 2px solid var(--line); font: inherit;
}
.form .err { color: #a11818; font-weight: 600; }
.form .ok { color: #146046; font-weight: 600; }

.site-footer {
  background: #0e1620; color: rgba(245,247,250,0.85);
  padding: 1.75rem 0;
}
.site-footer a { color: var(--gold); }
.foot { display: grid; gap: 0.35rem; }
.foot .muted { color: rgba(245,247,250,0.55); }

.dl-list { display: grid; gap: 0.75rem; }
.dl-item {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  align-items: center; background: #fff; border: 2px solid var(--line);
  border-radius: 12px; padding: 1rem 1.1rem;
}
