:root {
  --bg: #101114;
  --bg-2: #1B1C21;
  --accent: #D71920;
  --accent-2: #A80F17;
  --text: #FFFFFF;
  --muted: #C4C4C4;
  --border: #45464D;
  --err: #FF8A8E;
  --font-head: Montserrat, system-ui, sans-serif;
  --font-body: Outfit, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.4; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px; background: var(--accent); border-radius: 6px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid #FF6B70; outline-offset: 3px; }
.container { max-width: 1280px; margin: 0 auto; padding-inline: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Rules / dividers ---------- */
.rule { display: block; height: 2px; flex: none; }
.rule--fade-in { width: 100px; background: linear-gradient(90deg, transparent, var(--accent)); }
.rule--fade-out { width: 100px; background: linear-gradient(90deg, var(--accent), transparent); }
.rule--solid { width: 76px; background: var(--accent-2); }
.rule--red { width: 72px; background: var(--accent); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid #26272D; background: rgba(16,17,20,.92); backdrop-filter: blur(8px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 8px; }
.nav__logo img { display: block; height: 70px; width: auto; }
.nav__right { display: flex; align-items: center; gap: 40px; }
.nav__links { display: flex; align-items: center; gap: 40px; font-size: 17px; }
.nav__link { position: relative; padding: 8px 2px; color: #E6E6E6; transition: color .2s; }
.nav__link:hover { color: #FFFFFF; }
.nav__link.is-active::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -2px; height: 2px; border-radius: 2px; background: #8A8B92; }
.btn-skew {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 34px;
  font-size: 17px; font-weight: 500; color: #FFFFFF;
  background: linear-gradient(180deg, #E3262D, var(--accent-2));
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: filter .2s, transform .2s;
}
.btn-skew:hover { filter: brightness(1.15); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero { padding: 52px 20px 56px; background: radial-gradient(ellipse 70% 60% at 50% 30%, #1A1B20 0%, var(--bg) 70%); }
.hero__inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow { display: flex; align-items: center; gap: 16px; justify-content: center; }
.eyebrow p { font-size: 15px; letter-spacing: .28em; font-weight: 500; color: #E6E6E6; }
.hero__title { margin: 14px 0 0; font-family: var(--font-head); font-weight: 900; font-size: clamp(36px, 7vw, 72px); line-height: 1.02; letter-spacing: -.01em; }
.accent { color: #E01E26; text-shadow: 0 0 22px rgba(215,25,32,.45); }
.hero__lead { margin-top: 22px; font-size: 20px; line-height: 1.45; color: #E8E8E8; font-weight: 300; }

/* ---------- Form ---------- */
.form { position: relative; width: 100%; max-width: 880px; margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.form__row { width: 100%; max-width: 560px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; text-align: left; }
.form__group { display: flex; flex-direction: column; gap: 6px; }
.field {
  display: flex; align-items: center; gap: 16px; height: 52px; padding: 0 20px; cursor: text;
  border: 1.5px solid var(--border); border-radius: 6px; background: rgba(255,255,255,.02); color: #FFFFFF;
  transition: border-color .2s, box-shadow .2s;
}
.field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(215,25,32,.18); }
.field.is-error { border-color: #E5484D; }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #FFFFFF; font: 400 16px/1.2 var(--font-body); }
.field input::placeholder { color: var(--muted); opacity: 1; }
.field input:-webkit-autofill { -webkit-text-fill-color: #FFFFFF; transition: background-color 9999s; }
.field__err, .form__err { min-height: 0; font-size: 14px; color: var(--err); margin-left: 4px; }
.field__err:empty, .form__err:empty { display: none; }
.form__err { font-size: 15px; margin: -6px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.btn-primary {
  width: 360px; max-width: 100%; height: 54px; cursor: pointer;
  border: 1px solid #F0434A; border-radius: 6px; color: #FFFFFF;
  background: linear-gradient(180deg, #E8262E 0%, #B5121A 100%);
  font: 800 24px/1 var(--font-head); letter-spacing: .01em;
  box-shadow: 0 8px 26px rgba(215,25,32,.35), inset 0 1px 0 rgba(255,255,255,.25);
  transition: filter .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover { filter: brightness(1.12); box-shadow: 0 10px 34px rgba(215,25,32,.45), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { cursor: progress; filter: saturate(.7) brightness(.9); }
.btn-primary__idle, .btn-primary__busy { display: flex; align-items: center; justify-content: center; gap: 14px; }
.btn-primary__busy { display: none; font-size: 20px; }
.btn-primary.is-busy .btn-primary__idle { display: none; }
.btn-primary.is-busy .btn-primary__busy { display: flex; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(255,255,255,.35); border-top-color: #FFFFFF; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.check { display: flex; align-items: center; gap: 14px; min-height: 44px; font-size: 16px; color: #E6E6E6; cursor: pointer; text-align: left; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none; margin: 0; width: 22px; height: 22px; cursor: pointer;
  border-radius: 4px; border: 1.5px solid #6A6B73; background: var(--bg-2); display: grid; place-content: center;
}
.check input:checked { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 10px rgba(215,25,32,.5); }
.check input:checked::after { content: ""; width: 6px; height: 11px; border: solid #FFFFFF; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.success {
  width: 100%; max-width: 640px; margin-top: 28px; padding: 26px 28px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  border: 1.5px solid #B3141B; border-radius: 10px; background: linear-gradient(180deg, #2A0E11, #17181C);
  box-shadow: 0 0 30px rgba(215,25,32,.25); animation: fadeUp .45s ease both;
}
.success[hidden] { display: none; }
.success__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); box-shadow: 0 0 22px rgba(215,25,32,.7); }
.success__title { margin-top: 6px; font: 800 24px/1.2 var(--font-head); overflow-wrap: anywhere; }
.success__text { font-size: 16px; line-height: 1.5; color: var(--muted); }
.btn-ghost { margin-top: 8px; min-height: 44px; padding: 0 22px; border-radius: 6px; border: 1.5px solid var(--border); background: transparent; color: #FFFFFF; font: 500 15px var(--font-body); cursor: pointer; transition: border-color .2s; }
.btn-ghost:hover { border-color: #8A8B92; }

.counter { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 22px; width: 100%; }
.counter__text { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; justify-content: center; font-size: 22px; color: #EDEDED; }
.counter__num { font: 800 40px/1 var(--font-head); color: #FFFFFF; font-variant-numeric: tabular-nums; }
.counter__num.bump { animation: bump .5s ease; }
@keyframes bump { 40% { color: #FF4A50; transform: scale(1.06); } }

/* ---------- Rewards ---------- */
.rewards { padding: 44px 20px 56px; border-top: 1px solid #26272D; background: linear-gradient(180deg, var(--bg-2) 0%, #18191D 100%); }
.rewards__inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.section-head { display: flex; align-items: center; justify-content: center; gap: 30px; width: 100%; }
.section-head h2 { margin: 0; font: 800 clamp(26px, 4vw, 40px)/1.1 var(--font-head); letter-spacing: .01em; text-align: center; }
.rewards__lead { margin-top: 16px; max-width: 680px; text-align: center; font-size: 19px; line-height: 1.45; color: #E8E8E8; font-weight: 300; }

.milestones { width: 100%; margin-top: 30px; padding: 4px 4px 18px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.milestones__track { min-width: 940px; display: flex; flex-direction: column; gap: 16px; }
.milestones__nodes { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; height: 50px; align-items: center; }
.milestones__line { position: absolute; left: calc((100% - 72px) / 10); right: calc((100% - 72px) / 10); top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: #5A5B62; }
.milestones__fill { width: 0; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #B5121A, #FF3B42); box-shadow: 0 0 12px rgba(215,25,32,.7); transition: width 1s cubic-bezier(.2,.8,.2,1); }
.node-cell { position: relative; display: flex; justify-content: center; }
.node { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #8A8B92; background: var(--bg-2); color: #E6E6E6; transition: all .4s; }
.node.is-unlocked { border-color: var(--accent); background: var(--accent); color: #FFFFFF; box-shadow: 0 0 14px rgba(215,25,32,.6); }
.node.is-current { border: 3px solid #FF5A60; background: var(--accent); color: #FFFFFF; box-shadow: 0 0 0 5px rgba(215,25,32,.25), 0 0 26px rgba(215,25,32,.85); }

.milestones__cards { list-style: none; margin: 0; padding: 0 0 16px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.card {
  position: relative; min-height: 226px; padding: 18px 12px 30px; border-radius: 8px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border: 1.5px solid var(--border); background: linear-gradient(180deg, #1F2026, #17181C);
  transition: transform .25s, box-shadow .4s, border-color .4s;
}
.card:hover { transform: translateY(-3px); }
.card.is-unlocked { border-color: #B3141B; box-shadow: 0 0 18px rgba(215,25,32,.22); }
.card.is-current { border-color: #E01E26; background: linear-gradient(180deg, #3A0E12, #1C0F12 70%); box-shadow: 0 0 30px rgba(215,25,32,.45), inset 0 0 26px rgba(215,25,32,.18); }
.card__goal { font: 800 26px/1 var(--font-head); }
.card__sub { margin-top: 4px; font-size: 16px; color: #D8D8D8; }
.card__art { height: 86px; margin: 10px 0 6px; display: flex; align-items: center; justify-content: center; }
.card__title { font-size: 17px; font-weight: 500; }
.card__desc { margin-top: 2px; font-size: 15px; line-height: 1.3; color: #D2D2D2; }
.card__badge {
  display: none; position: absolute; left: 50%; bottom: -15px; transform: translateX(-50%);
  padding: 6px 16px; border-radius: 8px; border: 1px solid #FF5A60;
  background: linear-gradient(180deg, #E8262E, var(--accent-2));
  font: 800 15px/1 var(--font-head); letter-spacing: .04em; box-shadow: 0 0 14px rgba(215,25,32,.6);
}
.card.is-unlocked .card__badge, .card.is-current .card__badge { display: inline-flex; animation: fadeIn .4s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Progress ---------- */
.progress { width: 100%; margin-top: 22px; padding: 20px 32px; display: flex; align-items: center; gap: 28px; border: 1.5px solid #3A3B42; border-radius: 12px; background: #141519; }
.progress__label { font-size: 20px; color: #EDEDED; white-space: nowrap; }
.progress__bar { flex: 1; min-width: 120px; height: 26px; border-radius: 14px; background: #3C3D44; border: 1px solid #55565D; overflow: hidden; }
.progress__fill { width: 0; height: 100%; border-radius: 14px; background: linear-gradient(180deg, #F0343B 0%, #C8141C 60%, var(--accent-2) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); transition: width 1s cubic-bezier(.2,.8,.2,1); }
.progress__value { font-size: 20px; white-space: nowrap; color: #EDEDED; }
.progress__value strong { font: 800 22px var(--font-head); color: #FFFFFF; }

/* ---------- Benefits ---------- */
.benefits { list-style: none; margin: 46px 0 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 48px; font-size: 18px; color: #EDEDED; }
.benefits li { display: flex; align-items: center; gap: 16px; }
.benefits svg { color: #FFFFFF; }
.benefits__sep { width: 1px; height: 46px; background: var(--border); }

.footer { border-top: 1px solid #26272D; padding: 22px 20px; text-align: center; font-size: 14px; color: #A3A4AA; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .milestones__cards, .milestones__nodes { gap: 14px; }
  .milestones__line { left: calc((100% - 56px) / 10); right: calc((100% - 56px) / 10); }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero__lead { font-size: 18px; }
}
@media (max-width: 700px) {
  .container { padding-inline: 16px; }
  .nav__logo img { height: 48px; }
  .btn-skew { padding: 0 22px; font-size: 15px; }
  .hero { padding: 36px 16px 44px; }
  .eyebrow p { font-size: 12px; letter-spacing: .2em; }
  .rule--fade-in, .rule--fade-out { width: 36px; }
  .hero__lead { font-size: 16px; }
  .hero__lead br { display: none; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .btn-primary { width: 100%; font-size: 21px; }
  .check { font-size: 14px; }
  .counter { gap: 12px; }
  .counter .rule { display: none; }
  .counter__num { font-size: 32px; }
  .counter__text { font-size: 18px; gap: 8px; }
  .rewards { padding: 36px 16px 44px; }
  .section-head { gap: 14px; }
  .section-head .rule { width: 28px; }
  .rewards__lead { font-size: 16px; }
  .progress { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
  .progress__bar { flex: none; width: 100%; }
  .progress__label, .progress__value { white-space: normal; text-align: center; font-size: 17px; }
  .benefits { flex-direction: column; gap: 20px; margin-top: 34px; }
  .benefits .benefits__sep { display: none; }
}
.form[hidden] { display: none; }
