:root {
  --bg: #0b0f12;
  --bg-soft: #101419;
  --line: #1f2329;
  --line-soft: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.6);
  --muted-2: rgba(255, 255, 255, 0.38);
  --red: #e11d2a;
  --blue: #2563eb;
  --max: 1120px;
  --side: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 22rem),
    var(--bg);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

.container {
  width: min(var(--max), calc(100% - (var(--side) * 2)));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(11, 15, 18, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(var(--max), calc(100% - (var(--side) * 2)));
  min-height: 58px;
  margin-inline: auto;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  color: var(--text);
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
}

.logo strong {
  font-weight: 700;
}

.logo span {
  font-weight: 300;
}

.logo i {
  color: var(--red);
  font-style: normal;
  font-weight: 700;
}

.header-nav,
.footer-links {
  display: flex;
  gap: clamp(18px, 3vw, 38px);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.header-nav span,
.footer-links span {
  cursor: default;
}

.header-inner .btn {
  justify-self: end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  background: var(--red);
  color: var(--text);
  cursor: default;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 180ms var(--ease),
    background-color 180ms var(--ease),
    border-color 180ms var(--ease);
}

.btn:hover {
  background: #f02535;
  transform: translateY(-1px);
}

.btn-small {
  min-height: 40px;
  padding-inline: 18px;
  font-size: 11px;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.04);
}

.section,
.section-large {
  position: relative;
  border-top: 1px solid var(--line);
}

.section {
  padding-block: clamp(96px, 13vw, 178px);
}

.section-large {
  padding-block: clamp(116px, 16vw, 220px);
}

.hero {
  overflow: hidden;
  border-top: 0;
}

.hero-inner {
  position: relative;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin-bottom: 0;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.93;
}

h1 {
  max-width: 1120px;
  font-size: clamp(60px, 9.2vw, 132px);
}

h2 {
  font-size: clamp(42px, 6.8vw, 84px);
}

h3 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.05;
}

em {
  position: relative;
  display: inline-block;
  color: var(--red);
  font-style: normal;
  transform: skewX(-8deg);
  transform-origin: left bottom;
}

em::after {
  position: absolute;
  right: 0.01em;
  bottom: 0.04em;
  left: 0.03em;
  height: 0.055em;
  content: "";
  background: var(--red);
  border-radius: 999px;
  opacity: 0.82;
  transform: skewX(8deg) rotate(-1.4deg);
  transform-origin: left center;
}

.hero-copy {
  max-width: 590px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 42px);
  margin-top: 42px;
  flex-wrap: wrap;
}

.note {
  position: relative;
  display: inline-block;
  color: var(--muted);
  font-size: 15px;
  font-style: oblique 8deg;
  line-height: 1.2;
}

.note::after {
  position: absolute;
  right: -8px;
  bottom: -8px;
  left: -8px;
  height: 10px;
  content: "";
  border-bottom: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0.55;
  transform: rotate(-3deg);
}

.note-red {
  color: var(--text);
}

.note-red::after {
  color: var(--red);
}

.bg-type {
  position: absolute;
  z-index: -1;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(120px, 25vw, 390px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
}

.bg-type-hero {
  top: -52px;
  right: -10vw;
  font-size: clamp(180px, 34vw, 560px);
}

.centered-intro {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.centered-intro p:not(.eyebrow),
.split-heading > p,
.offer-box p,
.final-inner p {
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
}

.centered-intro p:not(.eyebrow) {
  max-width: 630px;
  margin: 28px auto 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(76px, 10vw, 130px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.number-card {
  position: relative;
  min-height: 290px;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  background: var(--bg);
}

.number-card .bg-type {
  right: -18px;
  bottom: -28px;
  z-index: 0;
  font-size: clamp(130px, 17vw, 260px);
}

.number-card > *:not(.bg-type) {
  position: relative;
  z-index: 1;
}

.number-card strong {
  display: inline-block;
  margin-bottom: 76px;
  color: var(--text);
  font-size: clamp(58px, 8vw, 96px);
  line-height: 0.8;
}

.number-card h3 {
  max-width: 240px;
}

.number-card p,
.product-card p,
.package-card p,
.process-list p {
  color: var(--muted);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: end;
}

.split-heading > p {
  margin-bottom: 8px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(56px, 7vw, 92px);
  background: var(--line);
  border: 1px solid var(--line);
}

.product-card {
  display: flex;
  min-height: 310px;
  padding: clamp(26px, 3vw, 36px);
  background: var(--bg-soft);
  flex-direction: column;
}

.card-index {
  margin-bottom: 70px;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.product-card h3,
.package-card h3 {
  color: var(--text);
}

.product-card p {
  margin-bottom: 22px;
}

.product-card small {
  margin-top: auto;
  color: var(--text);
  font-size: 14px;
  font-style: oblique 8deg;
  line-height: 1.4;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.package-path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 5vw, 70px);
  margin-top: clamp(46px, 6vw, 78px);
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.package-path p {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 700;
  line-height: 1.2;
}

.package-path span {
  color: var(--red);
}

.package-path small {
  max-width: 420px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.package-card {
  position: relative;
  display: flex;
  min-height: 650px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  flex-direction: column;
}

.package-card-featured {
  border-color: rgba(225, 29, 42, 0.78);
  background:
    linear-gradient(180deg, rgba(225, 29, 42, 0.08), transparent 38%),
    var(--bg-soft);
}

.label {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(225, 29, 42, 0.66);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.package-head {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.package-type {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.package-head h3 {
  margin-bottom: 16px;
}

.package-head p {
  margin-bottom: 0;
}

.package-card ul {
  display: grid;
  gap: 13px;
  margin: 30px 0 0;
  padding: 0;
  color: var(--text);
  list-style: none;
}

.package-card li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.package-card li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 1px;
  content: "";
  background: var(--red);
}

.package-result {
  margin: auto 0 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.package-card .btn {
  align-self: flex-start;
}

.offer-box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(36px, 7vw, 90px);
  align-items: end;
  padding: clamp(36px, 7vw, 86px);
  overflow: hidden;
  border: 1px solid rgba(225, 29, 42, 0.82);
  background:
    linear-gradient(135deg, rgba(225, 29, 42, 0.08), transparent 42%),
    var(--bg-soft);
}

.offer-box .bg-type {
  right: 36px;
  bottom: -42px;
  z-index: 0;
  font-size: clamp(150px, 23vw, 330px);
}

.offer-box > *:not(.bg-type) {
  position: relative;
  z-index: 1;
}

.offer-box h2 {
  max-width: 880px;
  font-size: clamp(38px, 5.8vw, 72px);
}

.offer-box p {
  max-width: 650px;
  margin: 28px 0 0;
}

.offer-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 24px;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(50px, 9vw, 130px);
}

.process-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.process-list article {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.process-list span {
  color: var(--text);
  font-weight: 700;
}

.process-list p {
  margin-bottom: 0;
}

.final-cta {
  overflow: hidden;
}

.final-inner {
  max-width: 860px;
}

.final-inner p {
  max-width: 560px;
  margin: 32px 0 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0a0d10;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  padding-block: 54px;
}

.footer-inner p {
  margin: 18px 0 0;
  color: var(--blue);
  font-size: 13px;
}

.copyright {
  padding: 20px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-nav {
    justify-content: center;
  }

  .steps-grid,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .number-card {
    min-height: 250px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .package-card {
    min-height: auto;
  }

  .package-path {
    align-items: flex-start;
    flex-direction: column;
  }

  .offer-box,
  .process-layout,
  .split-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  :root {
    --side: 20px;
  }

  .header-inner {
    min-height: 64px;
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .header-nav {
    display: none;
  }

  .btn-small {
    min-height: 36px;
    padding-inline: 14px;
  }

  .section {
    padding-block: 82px;
  }

  .section-large {
    padding-block: 92px;
  }

  h1 {
    font-size: clamp(52px, 17vw, 82px);
  }

  h2 {
    font-size: clamp(36px, 11vw, 58px);
  }

  h3 {
    font-size: 22px;
  }

  .hero-copy,
  .centered-intro p:not(.eyebrow),
  .split-heading > p,
  .offer-box p,
  .final-inner p {
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-actions .btn,
  .offer-actions .btn {
    width: auto;
  }

  .centered-intro {
    text-align: left;
  }

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

  .product-card {
    min-height: 260px;
  }

  .card-index {
    margin-bottom: 48px;
  }

  .offer-box {
    padding: 30px;
  }

  .process-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
