:root {
  --bg: #FAF9F7;
  --ink: #17181A;
  --red: #C8102E;
  --red-hover: #A50D26;
  --red-light: #FF5A6E;
  --pink: #FF8A98;
  --beige: #F1EEE9;
  --border: #E2DDD5;
  --border-2: #C9C3BA;
  --muted: #6B6660;
  --muted-2: #9B958D;
  --body: #3E3B37;
  --seg: #E9E5DF;
  --pad-x: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  font-family: 'Archivo', 'Helvetica Neue', sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--red); text-decoration: none; }
a:hover { color: #8E0B20; text-decoration: underline; }
input, textarea, select, button { font-family: 'Archivo', sans-serif; }

.h2 { margin: 0; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; }
.container { max-width: 1160px; margin: 0 auto; }

.btn {
  display: inline-block; cursor: pointer; border: none; text-align: center;
  font-weight: 800; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 16px 28px; border-radius: 4px; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); color: #fff; }
.btn-ghost {
  background: rgba(250, 249, 247, 0.12); border: 1px solid rgba(250, 249, 247, 0.4);
  color: var(--bg); font-weight: 700;
}
.btn-ghost:hover { background: rgba(250, 249, 247, 0.22); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; font-size: 14px; padding: 15px 26px; border-radius: 5px; }
.btn-dark:hover { background: #000; color: #fff; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 94vh; display: flex; flex-direction: column;
  background: var(--ink); color: var(--bg); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg-fallback {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 70% 20%, #2A2C30 0%, #17181A 70%);
}
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(23,24,26,0.55) 0%, rgba(23,24,26,0.25) 40%, rgba(23,24,26,0.88) 100%);
}
.hero-head {
  position: relative; z-index: 2; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding: 22px var(--pad-x);
}
.wordmark { font-weight: 900; font-size: 18px; letter-spacing: 0.14em; text-transform: uppercase; }
.wordmark em { color: var(--red); font-style: normal; }
.hero-head a { color: var(--bg); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; opacity: 0.85; }
.hero-main {
  position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 0 var(--pad-x) 28px; max-width: 880px;
}
.hero-badges { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.badge-date {
  background: var(--red); color: #fff; font-weight: 800; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 12px; border-radius: 3px;
}
.badge-days { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; }
.hero h1 {
  margin: 0 0 18px; font-weight: 900; font-size: clamp(40px, 7vw, 84px);
  line-height: 0.98; letter-spacing: -0.02em; text-transform: uppercase; text-wrap: balance;
}
.hero-lead { margin: 0 0 8px; font-size: clamp(16px, 2vw, 20px); line-height: 1.5; max-width: 560px; opacity: 0.95; }
.hero-fine { margin: 0 0 26px; font-size: 12.5px; opacity: 0.65; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px 44px;
  padding: 20px var(--pad-x) 30px; border-top: 1px solid rgba(250,249,247,0.2);
}
.hero-stats b { font-weight: 900; font-size: 28px; }
.hero-stats .accent { color: var(--red-light); }
.hero-stats span { font-size: 13px; opacity: 0.75; margin-left: 8px; letter-spacing: 0.04em; }

/* ---------- TRAIL ---------- */
.trail { padding: 56px var(--pad-x) 64px; }
.trail-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 22px;
}
.trail-head h2 { font-size: clamp(22px, 3vw, 30px); }
.trail-head p { margin: 0; font-size: 14px; color: var(--muted); }
.trail-grid { display: grid; grid-template-columns: repeat(27, 1fr); gap: 4px; }
@media (max-width: 700px) { .trail-grid { grid-template-columns: repeat(9, 1fr); } }
.seg { height: 38px; border-radius: 2px; background: var(--seg); overflow: hidden; position: relative; }
.seg > i { position: absolute; inset: 0; background: var(--red); }
.trail-scale {
  display: flex; justify-content: space-between; margin-top: 8px;
  font-size: 12px; color: var(--muted-2); font-weight: 600;
}

/* ---------- SPONSOR ---------- */
.sponsor { background: var(--beige); padding: 72px var(--pad-x); }
.sponsor-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px;
}
.sponsor h2 { margin-bottom: 10px; font-size: clamp(28px, 4vw, 40px); }
.sponsor-intro { margin: 0 0 28px; font-size: 16px; line-height: 1.55; color: var(--body); max-width: 460px; }
.tier-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px; max-width: 520px;
}
.tier {
  cursor: pointer; text-align: left; padding: 14px 16px; border-radius: 6px;
  border: 1.5px solid var(--border-2); background: var(--bg); color: var(--ink);
}
.tier b { display: block; font-weight: 900; font-size: 22px; }
.tier span { display: block; font-size: 13px; opacity: 0.75; margin-top: 2px; }
.tier.selected { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tier-custom {
  display: flex; flex-direction: column; justify-content: center; padding: 14px 16px;
  border-radius: 6px; border: 1.5px solid var(--border-2); background: var(--bg);
}
.tier-custom.selected { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.tier-custom small {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.tier-custom .row { display: flex; align-items: baseline; gap: 4px; margin-top: 2px; }
.tier-custom .row b { font-weight: 900; font-size: 20px; }
.tier-custom input {
  border: none; background: transparent; outline: none;
  font-weight: 900; font-size: 20px; width: 100%; color: var(--ink);
}
.impact-card { align-self: start; background: var(--ink); color: var(--bg); border-radius: 10px; padding: 32px 30px; }
.impact-card .label {
  margin: 0 0 6px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6;
}
.impact-card .amount { margin: 0 0 6px; font-weight: 900; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; }
.impact-card .impact { margin: 0 0 22px; font-size: 17px; color: var(--pink); font-weight: 700; }
.impact-card .btn { display: block; font-size: 15px; padding: 16px 24px; border-radius: 5px; }
.impact-card .fine { margin: 16px 0 0; font-size: 12.5px; line-height: 1.55; opacity: 0.6; }

/* ---------- PROBLEM ---------- */
.problem { padding: 80px var(--pad-x); }
.problem .intro { max-width: 680px; }
.problem h2 { margin-bottom: 18px; font-size: clamp(28px, 4vw, 40px); }
.problem .intro p { margin: 0 0 44px; font-size: 17px; line-height: 1.6; color: var(--body); }
.model-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.model-card {
  border: 1px solid var(--border); border-top: 4px solid var(--red);
  border-radius: 6px; padding: 20px 18px; background: #fff;
}
.model-card .num { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; color: var(--red); }
.model-card .name { margin: 0 0 6px; font-weight: 900; font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase; }
.model-card .desc { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ---------- WHY LJ ---------- */
.why-lj { background: var(--ink); color: var(--bg); padding: 80px var(--pad-x); }
.why-lj h2 { margin-bottom: 48px; font-size: clamp(28px, 4vw, 40px); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.stat b { display: block; font-weight: 900; font-size: clamp(48px, 6vw, 72px); line-height: 1; color: var(--red-light); }
.stat p { margin: 10px 0 0; font-size: 15px; line-height: 1.5; opacity: 0.8; }
.why-lj-foot {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin-top: 44px;
  border-top: 1px solid rgba(250,249,247,0.15); padding-top: 20px;
}
.why-lj-foot a { color: var(--red-light); font-weight: 700; font-size: 15px; }
.why-lj-foot a:hover { color: var(--pink); }
.why-lj-foot span { font-size: 12.5px; opacity: 0.5; }

/* ---------- WHY ME ---------- */
.why-me { padding: 80px var(--pad-x); }
.why-me-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px; align-items: center;
}
.portrait { height: 460px; border-radius: 10px; background-size: cover; background-position: center; }
.portrait-fallback {
  height: 460px; border-radius: 10px;
  background: linear-gradient(135deg, var(--beige), var(--seg));
}
.why-me h2 { margin-bottom: 18px; font-size: clamp(28px, 4vw, 40px); }
.why-me-text { font-size: 17px; line-height: 1.65; color: var(--body); display: grid; gap: 14px; }
.why-me-text p { margin: 0; }
.signature { margin: 20px 0 0; font-weight: 800; font-size: 15px; }

/* ---------- TEAM ---------- */
.team { background: var(--ink); color: var(--bg); padding: 80px var(--pad-x); }
.team h2 { margin-bottom: 12px; font-size: clamp(28px, 4vw, 40px); }
.team .kicker { color: var(--red-light); }
.team .intro { margin: 0 0 40px; font-size: 16px; line-height: 1.55; opacity: 0.85; max-width: 560px; }
.runner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.runner-card { text-align: center; }
.runner-photo {
  width: 100%; aspect-ratio: 1; border-radius: 10px;
  background-size: cover; background-position: center; margin-bottom: 14px;
}
.runner-photo-fallback { background: linear-gradient(135deg, #2A2C30, #1D1F22); }
.runner-name { margin: 0 0 4px; font-weight: 900; font-size: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.runner-race { margin: 0; font-size: 13.5px; opacity: 0.75; }
.runner-km {
  display: inline-block; background: var(--red); color: #fff; font-weight: 800;
  font-size: 12px; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 3px; text-transform: uppercase;
}

/* ---------- CORPORATE ---------- */
.corporate { background: var(--beige); padding: 80px var(--pad-x); }
.kicker {
  margin: 0 0 8px; font-size: 13px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--red);
}
.corporate h2 { margin-bottom: 12px; font-size: clamp(28px, 4vw, 40px); }
.corporate .intro { margin: 0 0 40px; font-size: 16px; line-height: 1.55; color: var(--body); max-width: 560px; }
.level-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.level {
  background: #fff; color: var(--ink); border: 1px solid var(--border);
  border-radius: 8px; padding: 24px 22px; display: flex; flex-direction: column; gap: 8px;
}
.level.featured { background: var(--ink); color: var(--bg); }
.level .name { margin: 0; font-weight: 900; font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase; }
.level .price { margin: 0; font-weight: 800; font-size: 15px; color: var(--red); }
.level .perks { margin: 0; font-size: 14px; line-height: 1.5; opacity: 0.75; }
.corporate-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.corporate-cta span { font-size: 13.5px; color: var(--muted); }
.logos-title {
  margin: 48px 0 16px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2);
}
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.logo-slot {
  height: 72px; border-radius: 6px; background: #fff; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; padding: 10px;
}
.logo-slot img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-slot.empty {
  background: repeating-linear-gradient(45deg, #EAE6E0 0 10px, var(--beige) 10px 20px);
  border: 1px dashed var(--border-2);
}
.logo-slot.empty span { font-family: monospace; font-size: 11px; color: var(--muted-2); }

/* ---------- WALL ---------- */
.wall { padding: 72px var(--pad-x); }
.wall-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.wall-head h2 { font-size: clamp(24px, 3vw, 32px); }
.wall-head span { font-size: 14px; color: var(--muted); }
.wall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.wall-card { border: 1px solid var(--border); border-radius: 8px; background: #fff; padding: 18px 18px 16px; }
.wall-card b { display: block; margin-bottom: 4px; font-weight: 800; font-size: 15px; }
.wall-card p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); font-style: italic; }

/* ---------- FAQ ---------- */
.faq { background: var(--beige); padding: 72px var(--pad-x); }
.faq-inner { max-width: 820px; margin: 0 auto; }
.faq h2 { margin-bottom: 28px; font-size: clamp(24px, 3vw, 32px); }
.faq details {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 18px 22px; margin-bottom: 10px;
}
.faq summary { font-weight: 800; font-size: 16px; cursor: pointer; }
.faq details p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--body); }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: var(--bg); padding: 44px var(--pad-x); }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 20px 40px; align-items: flex-start;
}
.footer .wordmark { font-size: 16px; }
.footer .wordmark em { color: var(--red-light); }
.footer .sub { margin: 6px 0 0; font-size: 13px; opacity: 0.6; }
.footer .legal { margin: 0; font-size: 12.5px; line-height: 1.6; opacity: 0.55; max-width: 520px; }
.footer .legal a { color: var(--pink); }

/* ---------- FORM PAGES ---------- */
.form-page { max-width: 720px; margin: 0 auto; padding: 48px var(--pad-x) 80px; }
.form-page h1 {
  margin: 0 0 10px; font-weight: 900; font-size: clamp(28px, 5vw, 44px);
  text-transform: uppercase; letter-spacing: -0.01em;
}
.form-page .sub { margin: 0 0 32px; font-size: 16px; line-height: 1.55; color: var(--body); }
.topbar { padding: 22px var(--pad-x); display: flex; justify-content: space-between; align-items: center; }
.topbar .wordmark a { color: var(--ink); }
.kind-toggle { display: flex; gap: 10px; margin-bottom: 26px; }
.kind-toggle label {
  flex: 1; text-align: center; padding: 14px; border-radius: 6px;
  border: 1.5px solid var(--border-2); background: var(--bg);
  font-weight: 800; cursor: pointer; text-transform: uppercase;
  font-size: 13px; letter-spacing: 0.08em;
}
.kind-toggle input { display: none; }
.kind-toggle input:checked + span { color: inherit; }
.kind-toggle label.checked { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.field input[type="text"], .field input[type="email"], .field input[type="number"], .field textarea {
  width: 100%; padding: 13px 14px; font-size: 16px; border-radius: 6px;
  border: 1.5px solid var(--border-2); background: #fff; color: var(--ink); outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0; font-size: 15px; color: var(--body); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--red); }
.errors {
  background: #FDECEE; border: 1px solid var(--red); border-radius: 6px;
  padding: 14px 18px; margin-bottom: 22px; color: #8E0B20; font-size: 15px;
}
.errors ul { margin: 0; padding-left: 18px; }
.privacy-note { font-size: 13px; color: var(--muted); line-height: 1.55; margin-top: 18px; }

/* thanks */
.steps { counter-reset: step; display: grid; gap: 14px; margin: 30px 0; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step .n {
  counter-increment: step; flex: 0 0 32px; height: 32px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 900; display: flex;
  align-items: center; justify-content: center; font-size: 15px;
}
.step p { margin: 2px 0 0; font-size: 16px; line-height: 1.5; color: var(--body); }

@media (max-width: 700px) {
  .hero { min-height: 88vh; }
  .hero-stats b { font-size: 22px; }
}
