/* Paideia Tournament landing — aligned with coach/athlete/parent landings (orange tournament accent) */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');
:root {
  --navy: #0D1024;
  --navy2: #11142D;
  --navy3: #181D3D;
  --line: #2A3360;
  --gold: #E6B54A;
  --gold2: #F0C96A;
  --text-body: #C5CBE8;
  --muted: #9AA3CF;
  --tour-accent: #F97316;
  --tour-soft: #FB923C;
  --wm: 'Space Grotesk', sans-serif;
  --ui: 'Inter', sans-serif;
  --card-bg: #181D3D;
  --card-bg2: #11142D;
  --bg: var(--navy);
  --bg2: var(--navy2);
  --card: var(--card-bg);
  --card2: var(--card-bg2);
  --txt: #fff;
  --txt2: var(--text-body);
  --txt3: var(--muted);
  --tournament: #F97316;
  --tournament2: #FB923C;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--text-body);
  font-family: var(--ui);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
section { padding: 28px 20px; position: relative; }
.wrap { max-width: 980px; margin: 0 auto; }
.eyebrow {
  font-family: var(--ui);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}
.eyebrow-gold { color: var(--gold); }
h2 {
  font-family: var(--ui);
  font-weight: 800;
  font-size: clamp(22px, 3.2vw, 28px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 10px;
  color: #fff;
}
.lead {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 6px;
}
.gold {
  background: linear-gradient(120deg, #E6B54A, #F0C96A, #C9972E);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.orange {
  background: linear-gradient(120deg, #EA580C, #F97316, #FB923C);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

.dots {
  position: fixed; right: 14px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px; z-index: 40;
}
.dots a {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.22); transition: .25s; display: block;
}
.dots a.active {
  background: var(--tour-soft);
  transform: scale(1.4);
  box-shadow: 0 0 10px rgba(251,146,60,.55);
}
@media (max-width: 720px) { .dots { display: none; } }

/* Hero */
#hero {
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    radial-gradient(900px 480px at 50% -8%, rgba(249,115,22,.20), transparent 62%),
    radial-gradient(700px 400px at 50% 108%, rgba(230,181,74,.08), transparent 60%),
    var(--navy);
}
.hero-cluster { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-logo-wrap {
  position: relative;
  width: min(49.4vw, 192px);
  margin-bottom: 4px;
}
.hero-logo-wrap::after {
  content: '';
  position: absolute;
  left: 10%; right: 10%; bottom: -8px;
  height: 48px;
  background: radial-gradient(ellipse at center, rgba(249,115,22,.55) 0%, transparent 72%);
  filter: blur(12px);
  z-index: 0;
}
.hero-logo-wrap img, .hero-logo-wrap svg {
  width: 100%; height: auto; display: block;
  position: relative; z-index: 1;
  filter: drop-shadow(0 8px 28px rgba(249,115,22,.35));
}
.brand-wordmark {
  font-family: var(--wm);
  font-weight: 700;
  font-size: clamp(14.5px, 3vw, 26px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.08;
  margin-top: 8px;
  white-space: nowrap;
  background: linear-gradient(90deg, #C2410C 0%, #F97316 50%, #FB923C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-inline {
  font-family: var(--wm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #C2410C 0%, #F97316 50%, #FB923C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-cluster h2.hero-title {
  text-align: center;
  max-width: 720px;
  margin-top: 4px;
}
.hero-lead {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--text-body);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.55;
}
.hero-stats {
  display: flex; gap: 34px; justify-content: center; flex-wrap: wrap;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--line);
}
.hero-stat .num {
  font-family: var(--wm);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 32px);
  color: var(--gold2);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat .label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.chev {
  margin-top: 28px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.2em;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* Pain — before/after panel (same as coach/athlete) */
#pain { background: var(--navy2); }
.pain-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 18px; }
@media (max-width: 860px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-col {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 18px 16px;
  background: var(--card-bg);
}
.pain-col.before { border-left: 4px solid #F87171; }
.pain-col.mid { border-left: 4px solid #FBBF24; }
.pain-col.after { border-left: 4px solid #3FB86B; }
.pain-col .k {
  font-family: var(--ui);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pain-col.before .k { color: #FCA5A5; }
.pain-col.mid .k { color: #FDE68A; }
.pain-col.after .k { color: #9AF0C0; }
.pain-col .k .badge-x {
  width: 24px; height: 24px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex: 0 0 auto;
}
.pain-col.before .k .badge-x { background: rgba(248,113,113,.18); color: #F87171; }
.pain-col.mid .k .badge-x { background: rgba(251,191,36,.18); color: #FBBF24; }
.pain-col.after .k .badge-x { background: rgba(63,184,107,.2); color: #3FB86B; }
.pain-row {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--text-body); line-height: 1.45;
  padding: 8px 0;
  border-top: 1px solid rgba(42, 51, 96, 0.65);
}
.pain-row:first-of-type { border-top: 0; padding-top: 0; }
.pain-row .m { flex: 0 0 auto; font-weight: 700; margin-top: 1px; }
.pain-col.before .pain-row .m { color: #F87171; }
.pain-col.mid .pain-row .m { color: #FBBF24; }
.pain-col.after .pain-row .m { color: #3FB86B; }
.pain-time {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 10px;
}
.pain-time .num {
  font-family: var(--wm); font-weight: 700; font-size: 30px; line-height: 1;
}
.pain-col.before .pain-time .num { color: #F87171; }
.pain-col.mid .pain-time .num { color: #FBBF24; }
.pain-col.after .pain-time .num { color: #3FB86B; }
.pain-time .label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; line-height: 1.35; }
.prompt-box {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--navy);
  border: 1px solid rgba(230,181,74,.3);
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.5;
  text-align: left;
}
.prompt-box::before { content: '> '; color: var(--gold); font-weight: 700; }

/* Chat demo (AI builds the tournament) */
#chatdemo { background: var(--navy); }
.chat-frame {
  max-width: 640px;
  margin: 22px auto 0;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  text-align: left;
}
.chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: var(--card-bg2);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.chat-header .win-dots { display: flex; gap: 6px; }
.chat-header .win-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.chat-header .badge {
  font-size: 10px; color: var(--gold);
  padding: 3px 8px; background: rgba(230,181,74,.12);
  border: 1px solid rgba(230,181,74,.3); border-radius: 4px;
  letter-spacing: .08em; text-transform: uppercase;
}
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.msg.user {
  align-self: flex-end;
  max-width: 85%;
  background: rgba(249,115,22,.16);
  border: 1px solid rgba(249,115,22,.35);
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px 12px 4px 12px;
  font-size: 13.5px;
  line-height: 1.5;
}
.msg.ai-result {
  align-self: stretch;
  background: var(--card-bg2);
  border: 1px solid var(--line);
  border-radius: 4px 12px 12px 12px;
  overflow: hidden;
}
.result-header {
  padding: 12px 16px;
  background: linear-gradient(to right, rgba(230,181,74,.12), transparent);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}
.result-header .check {
  width: 18px; height: 18px;
  background: var(--gold); color: var(--navy);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 11px;
}
.result-header h3 {
  font-family: var(--wm); font-weight: 700; font-size: 13.5px;
  letter-spacing: .04em; color: #fff;
}
.result-fields {
  padding: 14px 16px;
  display: grid; grid-template-columns: auto 1fr;
  gap: 9px 16px;
}
.result-fields dt {
  font-size: 10.5px; color: var(--muted);
  letter-spacing: .08em; text-transform: uppercase;
  padding-top: 2px; font-weight: 700;
}
.result-fields dd { font-size: 13px; color: var(--text-body); }
.result-fields dd .gold-num { color: var(--gold2); font-weight: 700; }
.result-cta {
  padding: 12px 16px;
  background: var(--card-bg);
  border-top: 1px solid var(--line);
  display: flex; gap: 10px;
  font-family: var(--wm); font-weight: 600; font-size: 12.5px;
}
.result-cta .approve {
  flex: 1;
  background: linear-gradient(120deg, #E6B54A, #C9972E); color: #16192F;
  padding: 9px; border-radius: 8px; text-align: center;
}
.result-cta .edit {
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 9px 14px; border-radius: 8px;
}

/* Feature cards — same as coach/athlete */
#features { background: var(--navy2); }
#features-more { background: var(--navy); }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.feat {
  --c: var(--tour-accent);
  background: linear-gradient(165deg, color-mix(in srgb, var(--c) 8%, var(--card-bg)), var(--card-bg2));
  border: 1px solid color-mix(in srgb, var(--c) 28%, var(--line));
  border-radius: 12px;
  padding: 18px 18px 16px;
  transition: border-color .25s, transform .25s;
}
.feat:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--c) 50%, transparent);
}
.feat .ico {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--c) 22%, transparent);
  color: color-mix(in srgb, var(--c) 90%, #fff);
}
.feat .ico svg { width: 22px; height: 22px; fill: currentColor; }
.feat h3 {
  font-family: var(--ui);
  font-weight: 700;
  font-size: 16px;
  margin: 12px 0 6px;
  color: #fff;
}
.feat p { color: var(--muted); font-size: 13px; }
.feat ul { list-style: none; margin: 10px 0 0; }
.feat li {
  font-size: 12px;
  color: var(--text-body);
  padding: 3px 0 3px 16px;
  position: relative;
  line-height: 1.45;
}
.feat li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: color-mix(in srgb, var(--c) 22%, var(--gold2));
  font-weight: 700;
  font-size: 12px;
}
.feat-wide { grid-column: 1 / -1; }
.feat-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--gold2);
  line-height: 1.45;
}

/* Roles grid — same as coach tournaments block */
.feat-roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.frole {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.frole .fr-ico {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  color: #fff;
}
.frole .fr-ico svg { width: 18px; height: 18px; fill: currentColor; }
.frole b { font-family: var(--wm); font-weight: 600; font-size: 13px; display: block; color: #fff; }
.frole span { font-size: 11px; color: var(--muted); display: block; margin-top: 2px; line-height: 1.35; }

/* Guarantees */
#guarantees { background: var(--navy2); }
.guar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
@media (max-width: 720px) { .guar-grid { grid-template-columns: 1fr; } }
.guar-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: linear-gradient(165deg, rgba(230,181,74,.06), var(--card-bg));
}
.guar-card .num {
  font-family: var(--wm);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: var(--gold2);
  margin-bottom: 10px;
}
.guar-card h3 {
  font-family: var(--ui); font-weight: 700; font-size: 17px;
  color: #fff; margin-bottom: 6px;
}
.guar-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Prompts gallery */
#prompts { background: var(--navy); }
.prompts-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin-top: 22px;
}
@media (max-width: 720px) { .prompts-grid { grid-template-columns: 1fr; } }
.prompt-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  transition: border-color .25s, transform .25s;
}
.prompt-card:hover {
  border-color: rgba(249,115,22,.4);
  transform: translateY(-2px);
}
.prompt-card .role {
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--tour-soft); margin-bottom: 10px; font-weight: 700;
}
.prompt-card .text {
  font-size: 13.5px; line-height: 1.6; color: var(--text-body);
}
.prompt-card .text::before { content: '> '; color: var(--gold); font-weight: 700; }
.prompt-card .meta {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: 11px; color: var(--muted);
}
.prompt-card .meta span::before { content: '↳ '; color: var(--gold); }

/* Closing CTA */
#closing {
  background: radial-gradient(900px 500px at 50% 120%, rgba(249,115,22,.1), transparent 60%), var(--navy2);
  text-align: center;
  padding-bottom: 64px;
}
.cta { margin-top: 24px; font-family: var(--ui); font-weight: 800; font-size: clamp(20px, 3vw, 26px); }
.foot { margin-top: 14px; color: var(--muted); font-size: 12px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.btn {
  font-family: var(--wm);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: .25s;
  cursor: pointer;
  display: inline-block;
}
.btn-primary {
  background: linear-gradient(120deg, #EA580C, #F97316);
  color: #fff;
  border: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(249,115,22,.35); }
.btn-ghost {
  border: 1px solid var(--line); color: var(--text-body);
  background: rgba(255,255,255,.03);
}
.btn-ghost:hover { border-color: rgba(230,181,74,.45); transform: translateY(-2px); }

.feat .ico .material-symbols-outlined {
  font-size: 26px;
  color: var(--c, var(--tour-accent));
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
