:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #10141c;
  --surface-strong: #171c26;
  --line: #2a303c;
  --muted: #949cab;
  --text: #f7f8fa;
  --red: #ed1b2f;
  --red-bright: #ff4052;
  --green: #54e08b;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 50% 0%, rgba(237, 27, 47, 0.11), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  margin: 0;
  min-height: 100vh;
}

a {
  color: inherit;
}

.site-header {
  backdrop-filter: blur(18px);
  background: rgba(5, 5, 5, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  min-height: 76px;
  padding: 12px 24px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 17px;
  font-weight: 800;
  gap: 12px;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand img {
  border-radius: 11px;
  height: 44px;
  width: 44px;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav-links a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 7px 12px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--surface-strong);
  color: var(--text);
}

main {
  margin: 0 auto;
  max-width: var(--max);
  padding: 0 24px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 610px;
  padding: 76px 0 68px;
}

.eyebrow {
  color: var(--red-bright);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.24em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(44px, 7vw, 78px);
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin-bottom: 24px;
}

.hero-copy {
  color: #bbc1cc;
  font-size: 20px;
  max-width: 590px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  align-items: center;
  background: var(--red);
  border: 1px solid var(--red-bright);
  border-radius: 12px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 850;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  text-decoration: none;
}

.button:hover {
  background: var(--red-bright);
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
}

.button.secondary:hover {
  background: var(--surface-strong);
  border-color: #485162;
}

.timer-panel {
  background:
    linear-gradient(135deg, rgba(237, 27, 47, 0.1), transparent 38%),
    var(--surface);
  border: 1px solid rgba(237, 27, 47, 0.35);
  border-radius: 28px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.5);
  min-height: 380px;
  overflow: hidden;
  padding: 46px 34px;
  position: relative;
  text-align: center;
}

.timer-panel::before,
.timer-panel::after {
  background: var(--red);
  content: "";
  height: 4px;
  left: 34%;
  position: absolute;
  right: 34%;
}

.timer-panel::before {
  top: 0;
}

.timer-panel::after {
  bottom: 0;
}

.timer-mark {
  height: 320px;
  left: 50%;
  opacity: 0.08;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
}

.timer-round,
.timer-value,
.timer-bars {
  position: relative;
}

.timer-round {
  color: var(--red-bright);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.26em;
  margin-top: 48px;
}

.timer-value {
  font-size: clamp(68px, 8vw, 100px);
  font-variant-numeric: tabular-nums;
  font-weight: 780;
  letter-spacing: -0.07em;
  line-height: 1.1;
  margin: 16px 0 35px;
}

.timer-bars {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.timer-bars span {
  background: #353b46;
  border-radius: 2px;
  height: 7px;
  transform: skewX(-20deg);
  width: 38px;
}

.timer-bars .done {
  background: rgba(237, 27, 47, 0.6);
}

.timer-bars .current {
  background: var(--red-bright);
  box-shadow: 0 0 18px rgba(237, 27, 47, 0.8);
  transform: skewX(-20deg) scaleY(1.35);
}

.section {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 76px 0;
}

.section-heading {
  max-width: 700px;
}

.section-heading h2,
.page-intro h1 {
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 18px;
}

.section-heading p,
.page-intro .lead {
  color: var(--muted);
  font-size: 18px;
}

.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 38px;
}

.card {
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 220px;
  padding: 28px;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

a.card:hover {
  border-color: rgba(237, 27, 47, 0.75);
  transform: translateY(-3px);
}

.card-number {
  color: var(--red-bright);
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin-bottom: 44px;
}

.card h3 {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.support-strip {
  align-items: center;
  background: linear-gradient(110deg, rgba(237, 27, 47, 0.2), rgba(16, 20, 28, 0.9));
  border: 1px solid rgba(237, 27, 47, 0.35);
  border-radius: 22px;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 34px;
}

.support-strip h2 {
  font-size: 28px;
  margin-bottom: 4px;
}

.support-strip p {
  color: #bdc3ce;
  margin-bottom: 0;
}

.page-intro {
  max-width: 780px;
  padding: 94px 0 54px;
}

.content-layout {
  display: grid;
  gap: 60px;
  grid-template-columns: 230px minmax(0, 720px);
  padding-bottom: 96px;
}

.toc {
  align-self: start;
  border-left: 2px solid var(--line);
  padding-left: 18px;
  position: sticky;
  top: 112px;
}

.toc strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.toc a {
  color: var(--muted);
  display: block;
  font-size: 14px;
  padding: 5px 0;
  text-decoration: none;
}

.toc a:hover {
  color: var(--text);
}

.prose section {
  border-top: 1px solid var(--line);
  padding: 38px 0;
  scroll-margin-top: 100px;
}

.prose section:first-child {
  border-top: 0;
  padding-top: 0;
}

.prose h2 {
  font-size: 29px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.prose h3 {
  font-size: 20px;
  margin-bottom: 8px;
  margin-top: 30px;
}

.prose p,
.prose li {
  color: #c3c8d1;
  font-size: 17px;
}

.prose li + li {
  margin-top: 9px;
}

.steps {
  counter-reset: steps;
  list-style: none;
  padding: 0;
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  counter-increment: steps;
  margin-top: 12px;
  padding: 20px 20px 20px 66px;
  position: relative;
}

.steps li::before {
  align-items: center;
  background: var(--red);
  border-radius: 10px;
  color: white;
  content: counter(steps);
  display: flex;
  font-size: 14px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  left: 18px;
  position: absolute;
  top: 17px;
  width: 34px;
}

.callout {
  background: rgba(84, 224, 139, 0.07);
  border: 1px solid rgba(84, 224, 139, 0.28);
  border-radius: 14px;
  color: #d5f9e3;
  margin: 24px 0;
  padding: 18px 20px;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.faq-item h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.faq-item p {
  color: #c3c8d1;
  margin-bottom: 0;
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--muted);
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  font-size: 14px;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 30px 24px 44px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 850px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    gap: 44px;
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .timer-panel {
    min-height: 340px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

  .card-number {
    margin-bottom: 28px;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    display: none;
  }
}

@media (max-width: 600px) {
  main {
    padding: 0 18px;
  }

  .nav {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    font-size: 13px;
    padding: 6px 8px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .timer-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .support-strip,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card {
    transition: none;
  }
}
