:root {
  --bg: #000000;
  --text: #f7f5fa;

  --accent: #50207a;
  --accent-2: #d6b9fc;
  --accent-3: #838ce5;

  --hairline: rgba(247, 245, 250, 0.10);
  --soft: rgba(247, 245, 250, 0.08);
  --soft-2: rgba(247, 245, 250, 0.05);

  --content-max: 1200px;
  --text-max: 760px;

  --radius-lg: 22px;
  --radius-md: 16px;

  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Space Grotesk", sans-serif;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(214, 185, 252, 0.22);
}

a {
  color: inherit;
}

.container {
  width: min(var(--content-max), 100%);
  margin-inline: auto;
  padding-inline: clamp(1.4rem, 4vw, 3.2rem);
}

.page-main {
  width: 100%;
}

.step,
.hero {
  scroll-margin-top: 110px;
}

p {
  margin: 0 0 1.05em 0;
  font-size: clamp(1.12rem, 0.9vw + 0.95rem, 1.55rem);
  line-height: 1.78;
  max-width: var(--text-max);
  color: rgba(247, 245, 250, 0.88);
}

.muted {
  opacity: 0.68;
}

h1,
h2 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.02em;
  color: rgba(247, 245, 250, 0.98);
}

.hero__title {
  margin: 0 0 0.4em 0;
  font-size: clamp(3.1rem, 4.2vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  max-width: 18ch;
}

.step__title {
  margin: 0 0 0.25em 0;
  font-size: clamp(2.1rem, 2.2vw, 2.65rem);
  font-weight: 650;
  line-height: 1.15;
}

.eyebrow {
  margin: 0 0 0.8rem 0;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(214, 185, 252, 0.78);
}

.hero__subtitle {
  margin: 0 0 1.3em 0;
  font-size: clamp(1.25rem, 0.9vw + 1.05rem, 1.7rem);
  line-height: 1.55;
  max-width: 38ch;
  color: rgba(247, 245, 250, 0.78);
}

.step__lead {
  margin: 0;
  font-size: clamp(1.15rem, 0.65vw + 1rem, 1.45rem);
  line-height: 1.55;
  color: rgba(247, 245, 250, 0.78);
  max-width: 58ch;
}

.hero {
  position: relative;
  padding: clamp(7rem, 16vh, 10rem) 0 clamp(5.5rem, 13vh, 8.5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -120px -80px auto -80px;
  height: 520px;
  background:
    radial-gradient(800px 260px at 18% 25%, rgba(214, 185, 252, 0.18), transparent 60%),
    radial-gradient(700px 260px at 62% 18%, rgba(131, 140, 229, 0.16), transparent 62%),
    radial-gradient(520px 320px at 88% 40%, rgba(80, 32, 122, 0.20), transparent 62%);
  pointer-events: none;
  filter: blur(2px);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.2rem, 5vw, 4.8rem);
  align-items: center;
}

.hero__content {
  position: relative;
}

.hero__actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.btn {
  text-decoration: none;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.btn--primary {
  color: #000;
  background: linear-gradient(90deg, rgba(214, 185, 252, 0.92), rgba(131, 140, 229, 0.88));
  box-shadow: 0 16px 45px rgba(214, 185, 252, 0.12);
}

.btn--ghost {
  color: rgba(247, 245, 250, 0.92);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(214, 185, 252, 0.26);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
}

.btn:focus-visible {
  outline: 2px solid rgba(214, 185, 252, 0.55);
  outline-offset: 3px;
}

.hero__visual {
  position: relative;
  width: 100%;
  display: grid;
  justify-items: end;
}

.glass-card {
  width: min(420px, 100%);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(900px 240px at 10% 0%, rgba(214, 185, 252, 0.12), transparent 60%),
    radial-gradient(900px 240px at 100% 40%, rgba(131, 140, 229, 0.10), transparent 62%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  padding: 1.6rem 1.55rem;
}

.glass-card__label {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 245, 250, 0.62);
  margin: 0 0 1.1rem 0;
}

.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 160px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 1));
  pointer-events: none;
}

.content {
  position: relative;
  padding: clamp(5.5rem, 13vh, 8.5rem) 0;
}

.steps {
  display: grid;
}

.step {
  position: relative;
  padding: clamp(6rem, 14vh, 9rem) 0;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(980px, 88%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(214, 185, 252, 0.16),
    rgba(247, 245, 250, 0.08),
    rgba(131, 140, 229, 0.14),
    transparent
  );
}

.step__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.2rem, 2.2vw, 1.8rem);
  align-items: baseline;
  margin-bottom: clamp(2.1rem, 4.2vw, 3.2rem);
}

.step__num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: clamp(2.4rem, 3.2vw, 3.2rem);
  line-height: 1;
  color: rgba(247, 245, 250, 0.16);
  transform: translateY(0.08em);
}

.step__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.2rem, 5vw, 4.6rem);
  align-items: start;
}

.step__body {
  max-width: var(--text-max);
}

.bullets {
  margin: 1.05rem 0 1.35rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  max-width: 56ch;
}

.bullets li {
  position: relative;
  padding-left: 1.2rem;
  font-size: clamp(1.08rem, 0.75vw + 0.95rem, 1.35rem);
  line-height: 1.55;
  color: rgba(247, 245, 250, 0.82);
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(214, 185, 252, 0.9), rgba(131, 140, 229, 0.75));
  box-shadow: 0 0 0 5px rgba(214, 185, 252, 0.08);
}

.step__diagram {
  width: 100%;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(900px 240px at 12% 10%, rgba(214, 185, 252, 0.10), transparent 65%),
    radial-gradient(900px 240px at 92% 40%, rgba(131, 140, 229, 0.09), transparent 68%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  padding: clamp(1.35rem, 2.2vw, 1.9rem);
}

.flow {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  gap: 0.75rem;
}

.flow--stack {
  grid-auto-flow: row;
  justify-items: start;
}

.flow--vertical {
  grid-auto-flow: row;
  justify-items: start;
}

.flow__node {
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(247, 245, 250, 0.10);
  color: rgba(247, 245, 250, 0.88);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.flow__node--accent {
  background: linear-gradient(180deg, rgba(214, 185, 252, 0.92), rgba(131, 140, 229, 0.84));
  color: #000;
  border-color: rgba(214, 185, 252, 0.35);
}

.flow__arrow {
  width: 26px;
  height: 1px;
  background: rgba(247, 245, 250, 0.28);
  position: relative;
}

.flow__arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  border-top: 1px solid rgba(247, 245, 250, 0.28);
  border-right: 1px solid rgba(247, 245, 250, 0.28);
}

.flow__arrow--down {
  width: 1px;
  height: 26px;
  background: rgba(247, 245, 250, 0.28);
  position: relative;
}

.flow__arrow--down::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%) rotate(135deg);
  width: 7px;
  height: 7px;
  border-top: 1px solid rgba(247, 245, 250, 0.28);
  border-right: 1px solid rgba(247, 245, 250, 0.28);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.25rem 0 1.55rem 0;
  max-width: 60ch;
}

.pill {
  padding: 0.55rem 0.85rem;
  font-size: 0.98rem;
  line-height: 1.1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(247, 245, 250, 0.82);
}

.callout--subtle {
  margin-top: 2.2rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(214, 185, 252, 0.18);
}

.callout__text {
  margin: 0;
  font-size: clamp(1.12rem, 0.8vw + 0.95rem, 1.42rem);
  line-height: 1.65;
  color: rgba(247, 245, 250, 0.78);
}

.closing {
  margin-top: clamp(3rem, 6vw, 4.6rem);
}

.closing__line {
  margin: 0;
  max-width: 78ch;
  font-size: clamp(1.12rem, 0.85vw + 0.95rem, 1.45rem);
  line-height: 1.78;
  color: rgba(247, 245, 250, 0.72);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: transform, opacity;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    transition: none;
    transform: none;
    opacity: 1;
  }
  .btn {
    transition: none;
  }
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    justify-items: start;
  }
  .glass-card {
    width: min(520px, 100%);
  }
  .step__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.65rem 2.8rem;
  display: flex;
  justify-content: center;
  z-index: 30;
  backdrop-filter: blur(0px);
  transform: translateY(-80%);
  opacity: 0;
  pointer-events: none;
  transition: padding 0.3s ease, backdrop-filter 0.3s ease, background-color 0.3s ease;
}

.site-header.header--scrolled {
  padding: 1.2rem 2.8rem;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
}

.header__inner {
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.header__brand {
  justify-self: start;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--text);
}

.header__nav {
  display: inline-flex;
  justify-content: center;
  gap: 2rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 1.08rem;
}

.header__link {
  position: relative;
  text-decoration: none;
  color: rgba(247, 245, 250, 0.82);
  padding: 0.25rem 0;
  transition: color 0.2s ease, transform 0.25s ease;
}

.header__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.header__link:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.header__link:hover::after {
  transform: scaleX(1);
}

.header__login {
  justify-self: end;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 1.08rem;
  color: rgba(214, 185, 252, 0.9);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.25s ease;
}

.header__login:hover {
  color: var(--text);
  background: rgba(80, 32, 122, 0.2);
  transform: translateY(-2px);
}

.page-ready .site-header {
  animation: headerReveal 0.8s ease-out forwards;
  pointer-events: auto;
}

.header__burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(214, 185, 252, 0.3);
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  justify-self: end;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header__burger:hover {
  transform: translateY(-1px);
  border-color: rgba(131, 140, 229, 0.6);
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.site-header.header--menu-open .header__burger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.page-ready .header__link:nth-child(1) {
  animation: navRise 0.5s ease-out 0.1s both;
}

.page-ready .header__link:nth-child(2) {
  animation: navRise 0.5s ease-out 0.18s both;
}

.page-ready .header__link:nth-child(3) {
  animation: navRise 0.5s ease-out 0.26s both;
}

.page-ready .header__login {
  animation: navRise 0.5s ease-out 0.34s both;
}

@keyframes navRise {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header.header--menu-open .header__burger span:nth-child(2) {
  opacity: 0;
}

.site-header.header--menu-open .header__burger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 0.5rem;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -12px);
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(214, 185, 252, 0.2);
    border-radius: 12px;
    display: grid;
    grid-auto-rows: auto;
    gap: 0.7rem;
    width: min(280px, 90vw);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-header.header--menu-open .header__nav {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 12px);
  }

  .header__nav .header__link {
    text-align: center;
    font-size: 1.02rem;
  }

  .header__link::after {
    display: none;
  }

  .header__login {
    display: none;
  }

  .header__burger {
    display: inline-flex;
  }
}

@keyframes headerReveal {
  0% {
    transform: translateY(-80%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.footer {
  width: 100%;
  background: #050505;
  padding: clamp(2.8rem, 6vh, 4rem) clamp(1.6rem, 4.6vw, 3.2rem);
  color: rgba(247, 245, 250, 0.8);
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.2rem);
  align-items: start;
}

.footer__heading {
  margin: 0 0 0.6rem 0;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(214, 185, 252, 0.9);
}

.footer__text {
  margin: 0 0 0.4rem 0;
  color: rgba(247, 245, 250, 0.82);
  line-height: 1.6;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.footer__logo {
  width: 32px;
  height: 32px;
  display: block;
}

.footer__text--muted {
  color: rgba(247, 245, 250, 0.65);
  font-size: 0.95rem;
}

.footer__nav {
  display: grid;
  gap: 0.35rem;
}

.footer__link {
  color: rgba(247, 245, 250, 0.82);
  text-decoration: none;
  font-size: 0.98rem;
  transition: color 0.2s ease;
}

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

.footer__bottom {
  margin-top: clamp(1.8rem, 3vh, 2.4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  display: grid;
  gap: 0.2rem;
}

.footer__bottom-text {
  margin: 0;
  color: rgba(247, 245, 250, 0.68);
  font-size: 0.95rem;
}

.footer__bottom-text--muted {
  color: rgba(247, 245, 250, 0.55);
}

.page-fade {
  opacity: 0;
  transition: opacity 0.45s ease;
}

body.page-ready .page-fade {
  opacity: 1;
}
@media (max-width: 980px) {
  .container {
    padding-inline: clamp(1.1rem, 4.2vw, 2rem);
  }

  .hero {
    padding: clamp(6.2rem, 14vh, 8.2rem) 0 clamp(4.8rem, 12vh, 7rem);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: clamp(1.6rem, 5vw, 2.8rem);
    align-items: start;
  }

  .hero__visual {
    justify-items: start;
  }

  .glass-card {
    width: min(560px, 100%);
  }

  .content {
    padding: clamp(4.6rem, 11vh, 7rem) 0;
  }

  .step {
    padding: clamp(4.8rem, 12vh, 7.2rem) 0;
  }

  .step__header {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-bottom: clamp(1.7rem, 4vw, 2.6rem);
  }

  .step__num {
    font-size: clamp(2.2rem, 8vw, 3rem);
    transform: none;
  }

  .step__grid {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 5vw, 2.6rem);
  }

  .step__diagram {
    padding: clamp(1.15rem, 3.2vw, 1.6rem);
  }

  .flow {
    grid-auto-flow: row;
    justify-items: start;
  }

  .flow__arrow {
    width: 1px;
    height: 22px;
  }

  .flow__arrow::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -1px;
    transform: translateX(-50%) rotate(135deg);
  }

  .flow__arrow--down {
    height: 22px;
  }

  .pill-grid {
    gap: 0.5rem;
  }

  .pill {
    font-size: 1rem;
    padding: 0.55rem 0.85rem;
  }

  .closing {
    margin-top: clamp(2.4rem, 6vw, 3.6rem);
  }
}

@media (max-width: 768px) {
  .hero__title {
    max-width: 20ch;
  }

  .hero__subtitle {
    max-width: 42ch;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.35rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .step:not(:last-child)::after {
    width: min(760px, 86%);
  }

  .bullets {
    gap: 0.5rem;
    max-width: 60ch;
  }

  .bullets li {
    padding-left: 1.1rem;
  }

  .bullets li::before {
    top: 0.6em;
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 4px rgba(214, 185, 252, 0.08);
  }

  .step__diagram {
    border-radius: 18px;
  }
}

@media (max-width: 520px) {
  .container {
    padding-inline: 1.05rem;
  }

  .hero {
    padding: 6.4rem 0 4.6rem;
  }

  .hero::before {
    inset: -140px -120px auto -120px;
    height: 520px;
  }

  .hero__title {
    font-size: clamp(2.6rem, 9vw, 3.1rem);
    line-height: 1.06;
  }

  .hero__subtitle {
    font-size: clamp(1.15rem, 2.2vw + 1rem, 1.35rem);
    line-height: 1.55;
  }

  p {
    font-size: clamp(1.1rem, 1.6vw + 1rem, 1.3rem);
    line-height: 1.78;
  }

  .step__title {
    font-size: clamp(1.75rem, 5.8vw, 2.15rem);
  }

  .step__lead {
    font-size: clamp(1.08rem, 2.2vw + 1rem, 1.25rem);
  }

  .glass-card {
    padding: 1.25rem 1.15rem;
    border-radius: 20px;
  }

  .glass-card__label {
    font-size: 0.78rem;
  }

  .content {
    padding: 4.6rem 0;
  }

  .step {
    padding: 4.9rem 0;
  }

  .step:not(:last-child)::after {
    width: min(620px, 86%);
  }

  .step__diagram {
    padding: 1.1rem;
  }

  .flow__node {
    font-size: 0.98rem;
    padding: 0.7rem 0.85rem;
    border-radius: 14px;
  }

  .bullets li {
    font-size: clamp(1.05rem, 1.8vw + 0.95rem, 1.2rem);
  }

  .pill {
    font-size: 0.98rem;
  }

  .callout--subtle {
    padding: 1rem 1rem;
    border-radius: 14px;
  }

  .callout__text {
    font-size: clamp(1.06rem, 1.6vw + 0.95rem, 1.25rem);
  }

  .closing__line {
    font-size: clamp(1.06rem, 1.6vw + 0.95rem, 1.22rem);
  }
}

@media (max-width: 360px) {
  .hero__title {
    font-size: 2.45rem;
  }

  .step__num {
    font-size: 2.15rem;
  }

  .flow__node {
    width: 100%;
  }
}
@media (max-width: 980px) {
  .step__diagram,
  .glass-card {
    background:
      radial-gradient(900px 260px at 18% 10%, rgba(214, 185, 252, 0.14), transparent 62%),
      radial-gradient(900px 260px at 92% 38%, rgba(131, 140, 229, 0.12), transparent 66%),
      rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
      0 22px 70px rgba(0, 0, 0, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
  }

  .step__diagram {
    position: relative;
    overflow: hidden;
    padding: clamp(1.25rem, 3.2vw, 1.8rem);
  }

  .step__diagram::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
      radial-gradient(420px 160px at 20% 0%, rgba(214, 185, 252, 0.16), transparent 60%),
      radial-gradient(420px 160px at 90% 35%, rgba(131, 140, 229, 0.14), transparent 62%);
    opacity: 0.75;
    pointer-events: none;
    filter: blur(2px);
  }

  .step__diagram::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.10),
      transparent 35%,
      transparent 65%,
      rgba(255, 255, 255, 0.06)
    );
    opacity: 0.35;
    pointer-events: none;
  }

  .flow {
    position: relative;
    display: grid;
    grid-auto-flow: row;
    justify-items: stretch;
    gap: 0.9rem;
    z-index: 1;
  }

  .flow__node {
    position: relative;
    width: 100%;
    padding: 0.95rem 1.05rem;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(247, 245, 250, 0.12);
    box-shadow:
      0 12px 28px rgba(0, 0, 0, 0.45),
      inset 0 1px 0 rgba(255, 255, 255, 0.07);
    color: rgba(247, 245, 250, 0.90);
    font-size: clamp(1.02rem, 1.1vw + 0.95rem, 1.18rem);
    line-height: 1.25;
    text-align: left;
  }

  .flow__node::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
      radial-gradient(420px 120px at 15% 15%, rgba(214, 185, 252, 0.10), transparent 55%),
      radial-gradient(420px 120px at 90% 45%, rgba(131, 140, 229, 0.09), transparent 60%);
    opacity: 0.8;
    pointer-events: none;
  }

  .flow__node--accent {
    color: #06040a;
    border-color: rgba(214, 185, 252, 0.35);
    background:
      linear-gradient(180deg, rgba(214, 185, 252, 0.96), rgba(131, 140, 229, 0.86));
    box-shadow:
      0 18px 40px rgba(214, 185, 252, 0.14),
      0 14px 44px rgba(0, 0, 0, 0.48),
      inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }

  .flow__arrow,
  .flow__arrow--down {
    width: 100%;
    height: 18px;
    background: transparent;
    position: relative;
    justify-self: stretch;
  }

  .flow__arrow::before,
  .flow__arrow--down::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 50%;
    height: 1px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent, rgba(247, 245, 250, 0.28), transparent);
  }

  .flow__arrow::after,
  .flow__arrow--down::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%) rotate(45deg);
    border-right: 1px solid rgba(247, 245, 250, 0.28);
    border-bottom: 1px solid rgba(247, 245, 250, 0.28);
    opacity: 0.9;
  }

  .flow--vertical .flow__arrow--down::before {
    left: 50%;
    right: auto;
    width: 1px;
    height: 100%;
    top: 0;
    transform: none;
    background: linear-gradient(180deg, transparent, rgba(247, 245, 250, 0.28), transparent);
  }

  .flow--vertical .flow__arrow--down::after {
    top: auto;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
    border-right: 1px solid rgba(247, 245, 250, 0.28);
    border-bottom: 1px solid rgba(247, 245, 250, 0.28);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: clamp(1.6rem, 5vw, 2.8rem);
    align-items: start;
  }

  .hero__visual {
    justify-items: start;
  }

  .glass-card {
    width: min(560px, 100%);
  }

  .step__grid {
    grid-template-columns: 1fr;
    gap: clamp(1.6rem, 5vw, 2.8rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .step__diagram {
    border-radius: 20px;
    padding: 1.15rem;
  }

  .flow {
    gap: 0.85rem;
  }

  .flow__node {
    border-radius: 18px;
    padding: 0.9rem 1rem;
  }

  .flow__arrow,
  .flow__arrow--down {
    height: 16px;
  }
}

@media (max-width: 360px) {
  .flow__node {
    padding: 0.85rem 0.95rem;
  }
}

