:root {
  --bg: #04080f;
  --bg-raise: #08111b;
  --ink: #f3f7fb;
  --muted: #9eb0c6;
  --dim: #6e849c;
  --line: rgba(150, 214, 255, 0.16);
  --green: #3dff9a;
  --cyan: #3ce7ff;
  --max: 1120px;
  --header: 72px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(900px 480px at 0% -10%, rgba(61, 255, 154, 0.16), transparent 58%),
    radial-gradient(820px 520px at 100% 0%, rgba(60, 140, 255, 0.2), transparent 55%),
    radial-gradient(700px 420px at 70% 100%, rgba(60, 231, 255, 0.08), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 72%);
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

h1, h2, h3, p {
  margin: 0;
  text-wrap: balance;
}

h1, h2, h3, .brand span, .figure, .idx, .num, .expertise span, .steps span {
  font-family: Unbounded, Manrope, sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: #04140c;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 50;
}

.skip:focus {
  top: 12px;
}

.grad {
  display: inline-block;
  padding: 0 0.12em 0.06em 0;
  background: linear-gradient(105deg, #d8ffe9 0%, #5dffb0 32%, #3ce7ff 68%, #8eb6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  margin: 0 0 14px;
  color: #b7fff0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px 16px;
  min-height: var(--header);
  padding: max(10px, env(safe-area-inset-top)) 20px 10px;
  background: rgba(4, 8, 15, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  justify-self: start;
}

.brand img {
  width: 44px;
  height: 44px;
  max-width: 44px;
  flex: 0 0 44px;
  object-fit: cover;
  border-radius: 50%;
  mix-blend-mode: screen;
}

.brand span {
  font-size: 16px;
  letter-spacing: -0.04em;
}

.nav {
  display: none;
  grid-column: 1 / -1;
  gap: 4px;
  padding-bottom: 8px;
}

.nav.open {
  display: grid;
}

.nav a {
  padding: 12px 4px;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid rgba(150, 214, 255, 0.08);
}

.nav a:hover,
.nav a:focus-visible {
  color: white;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(100deg, #e7fff3, #63ffb5 42%, #3ce7ff);
  color: #04140c;
  font-weight: 700;
  font-size: 14px;
}

.btn:hover {
  filter: brightness(1.06);
}

.menu {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 18, 30, 0.7);
  color: white;
  padding: 0;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 0 auto;
  background: white;
  border-radius: 2px;
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }

.menu[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero,
.section,
.close,
.footer {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  display: grid;
  gap: 8px;
  padding: 18px 0 10px;
}

.hero h1 {
  font-size: clamp(1.48rem, 5.2vw, 2.9rem);
  line-height: 1.08;
  max-width: 100%;
}

.lead {
  margin-top: 16px;
  max-width: 38em;
  color: var(--muted);
  font-size: 1.02rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.chips li,
.tags li {
  border: 1px solid rgba(120, 230, 255, 0.22);
  background: rgba(7, 18, 30, 0.66);
  color: #def8ff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero-visual {
  display: grid;
  place-items: center;
  order: -1;
}

.hero-visual img {
  width: min(280px, 78vw);
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 28px rgba(60, 231, 255, 0.18));
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 28px 0 8px;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.stats div {
  background: rgba(6, 14, 24, 0.92);
  padding: 16px 16px 14px;
}

.stats div:last-child {
  grid-column: 1 / -1;
}

.stats dt {
  color: var(--dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stats dd {
  margin: 6px 0 0;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: -0.04em;
}

.section {
  padding: 72px 0 8px;
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 22px;
}

.idx {
  margin: 8px 0 0;
  color: var(--green);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.section h2,
.close h2 {
  font-size: clamp(1.7rem, 2vw + 1rem, 2.7rem);
  line-height: 1.12;
}

.section-lead {
  margin-top: 8px;
  color: var(--muted);
  max-width: 40em;
}

.about-grid,
.volume,
.offers {
  display: grid;
  gap: 14px;
}

.panel {
  background:
    linear-gradient(180deg, rgba(16, 32, 48, 0.72), rgba(6, 12, 22, 0.88));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 20px;
}

.panel-glow {
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(61, 255, 154, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(12, 32, 36, 0.9), rgba(5, 12, 20, 0.92));
  border-color: rgba(90, 255, 190, 0.28);
}

.about-copy p,
.panel p,
.steps p {
  color: #d5e2ef;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.block-label {
  margin: 4px 0 10px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.expertise {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}

.expertise li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 18px;
  background: rgba(6, 14, 24, 0.78);
  border-top: 1px solid var(--line);
}

.expertise li:first-child {
  border-top: 0;
}

.expertise span,
.steps span,
.num {
  color: #9dffe0;
}

.expertise span {
  font-size: 13px;
}

.expertise p {
  margin: 0;
  font-size: 1.02rem;
}

.figure {
  margin: 8px 0 12px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.figure span {
  font-size: 0.42em;
  letter-spacing: -0.03em;
  color: #c9ffe8;
}

.volume h3,
.offer h3,
.steps h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

.offers .num {
  margin-bottom: 28px;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.params {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}

.params div {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  background: rgba(6, 14, 24, 0.86);
  border-top: 1px solid var(--line);
}

.params div:first-child {
  border-top: 0;
}

.params dt {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.params dd {
  margin: 0;
  color: var(--ink);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(6, 14, 24, 0.72);
}

.steps span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(90, 255, 190, 0.4);
  background: radial-gradient(circle at 35% 30%, rgba(61, 255, 154, 0.28), rgba(4, 12, 20, 0.2) 62%);
  font-size: 13px;
}

.close {
  margin-top: 72px;
  padding: 48px 0 20px;
  text-align: center;
}

.close .kicker,
.close-points {
  justify-content: center;
}

.close h2 {
  margin-inline: auto;
  max-width: 12em;
}

.close-points {
  margin: 16px auto 0;
  max-width: 34em;
  color: var(--muted);
}

.lockup {
  width: min(760px, 100%);
  margin: 28px auto 0;
  mix-blend-mode: screen;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
  color: var(--dim);
  font-size: 14px;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

::selection {
  background: rgba(61, 255, 154, 0.28);
  color: white;
}

@media (min-width: 720px) {
  .volume,
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .params div {
    grid-template-columns: minmax(180px, 240px) 1fr;
    gap: 18px;
    align-items: baseline;
    padding: 20px 24px;
  }
}

@media (min-width: 960px) {
  .header {
    grid-template-columns: auto 1fr auto;
    padding-inline: max(20px, calc((100% - var(--max)) / 2));
  }

  .brand { grid-area: 1 / 1; }
  .nav {
    display: flex;
    grid-area: 1 / 2;
    justify-content: center;
    justify-self: center;
    gap: 8px;
    padding: 0;
  }
  .header-actions { grid-area: 1 / 3; }

  .nav a {
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .menu {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 36px;
    min-height: calc(100svh - var(--header));
    padding-top: 12px;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-visual {
    order: 0;
    grid-column: 2;
    grid-row: 1;
  }

  .hero-visual img {
    width: min(480px, 40vw);
  }

  .stats {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 18px;
  }

  .stats div:last-child {
    grid-column: auto;
  }

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

  .section {
    padding-top: 104px;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .steps li {
    grid-template-columns: 1fr;
    min-height: 100%;
  }
}

@media (max-width: 380px) {
  .hero,
  .section,
  .close,
  .footer {
    width: min(var(--max), calc(100% - 28px));
  }

  .btn {
    padding-inline: 12px;
  }

  .brand span {
    font-size: 15px;
  }
}

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