:root {
  --black: #050505;
  --dark: #101010;
  --red: #d71920;
  --red-bright: #ef2028;
  --white: #ffffff;
  --gray: #b8b8b8;
  --border: #292929;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(215, 25, 32, 0.22);
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  width: min(1200px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
}

.brand img {
  display: block;
  width: auto;
  max-width: 180px;
  max-height: 68px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.brand img:hover {
  transform: scale(1.03);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header nav a {
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: #ff646b;
  background: #181818;
}

.site-header nav a:last-child {
  color: #fff;
  background: var(--red);
}

.site-header nav a:last-child:hover,
.site-header nav a:last-child:focus-visible {
  background: var(--red-bright);
}

.hero {
  position: relative;
  display: grid;
  width: min(1100px, calc(100% - 48px));
  min-height: 660px;
  margin: 0 auto;
  padding: 76px 0 86px;
  align-items: center;
  justify-items: center;
  gap: 48px;
  overflow: hidden;
  text-align: center;
}

.hero::after {
  position: absolute;
  right: -190px;
  bottom: -260px;
  width: 560px;
  height: 560px;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, rgba(215, 25, 32, 0.2), transparent 68%);
}

.hero-text {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  color: var(--red);
}

.hero-text > p:not(.privacy) {
  max-width: 650px;
  margin: 28px auto;
  color: var(--gray);
  font-size: 1.2rem;
  line-height: 1.6;
}

.primary-button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 28px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--white);
  background: var(--red);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--red-bright);
  transform: translateY(-2px);
}

.privacy {
  margin: 16px 0 0;
  color: #969696;
  font-size: 0.85rem;
}

.hero-ninja {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(680px, 100%);
  min-height: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  border-radius: 18px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22)),
    radial-gradient(circle at center, #222, #080808 70%);
}

.hero-ninja img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
}

.how-it-works {
  padding: 86px 24px;
  border-top: 1px solid #242424;
  border-bottom: 1px solid #242424;
  background: var(--dark);
}

.how-it-works h2 {
  margin: 0 0 52px;
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  text-transform: uppercase;
}

.how-it-works h2::after {
  display: block;
  width: 58px;
  height: 4px;
  margin: 15px auto 0;
  content: "";
  background: var(--red);
}

.steps {
  display: grid;
  width: min(1100px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.steps article {
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #0b0b0b;
  text-align: center;
}

.step-icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  place-items: center;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-size: 1.75rem;
  font-weight: 900;
}

.steps h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
  text-transform: uppercase;
}

.steps p {
  margin: 0;
  color: var(--gray);
  line-height: 1.55;
}

@media (max-width: 760px) {
  .header-inner {
    width: calc(100% - 28px);
    min-height: 72px;
    gap: 12px;
  }

  .brand img {
    max-width: 125px;
    max-height: 50px;
  }

  .site-header nav {
    gap: 6px;
  }

  .site-header nav a {
    padding: 9px 10px;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }

  .hero {
    width: calc(100% - 28px);
    min-height: auto;
    padding: 48px 0 58px;
    gap: 32px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12.5vw, 3.4rem);
    line-height: 0.98;
  }

  .hero-text > p:not(.privacy) {
    margin: 21px auto 24px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .primary-button {
    width: min(100%, 320px);
  }

  .hero-ninja {
    width: 100%;
    border-radius: 12px;
  }

  .hero-ninja img {
    max-height: 340px;
  }

  .how-it-works {
    padding: 58px 16px;
  }

  .how-it-works h2 {
    margin-bottom: 34px;
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps article {
    padding: 26px 20px;
  }
}

@media (max-width: 390px) {
  .brand img {
    max-width: 110px;
  }

  .site-header nav a {
    padding-inline: 8px;
    font-size: 0.67rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
