:root {
  --bg: #07101d;
  --bg-deep: #030712;
  --surface: rgba(14, 22, 40, 0.82);
  --surface-strong: rgba(18, 28, 49, 0.94);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --line: rgba(141, 158, 255, 0.16);
  --line-strong: rgba(141, 158, 255, 0.3);
  --text: #f6f7ff;
  --muted: #adb7d8;
  --accent: #6f79ff;
  --accent-soft: #b1abff;
  --shadow: 0 30px 90px rgba(3, 7, 18, 0.5);
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shell: min(1240px, calc(100vw - 48px));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 16%, rgba(111, 121, 255, 0.18), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(177, 171, 255, 0.14), transparent 18%),
    linear-gradient(180deg, #040914 0%, #08101e 42%, #07101a 100%);
  font-family: "Avenir Next", "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.noise {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.12;
  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: 18px 18px;
  mask-image: radial-gradient(circle at center, black 36%, transparent 100%);
}

.glow {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.glow-a {
  top: -10rem;
  left: -14rem;
  width: 34rem;
  height: 34rem;
  background: rgba(111, 121, 255, 0.22);
}

.glow-b {
  right: -12rem;
  top: 10rem;
  width: 28rem;
  height: 28rem;
  background: rgba(111, 121, 255, 0.16);
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 18px 0 0;
}

.site-header__shell {
  width: var(--shell);
  margin: 0 auto;
  min-height: 70px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(7, 12, 24, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 42px rgba(3, 8, 20, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 0;
}

.brand__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
}

.brand__text {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

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

.site-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.96rem;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #fff;
  box-shadow: 0 18px 42px rgba(111, 121, 255, 0.3);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.button--header {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.button__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 6px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 54px;
  padding: 56px 0 28px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero h1,
.section-head h2,
.showcase__copy h2,
.cta h2 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero h1 {
  max-width: 9.8ch;
  font-size: clamp(2.35rem, 4.8vw, 4.7rem);
}

.hero__lead,
.section-head p,
.showcase__copy p,
.cta p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.hero__actions,
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.fact-card,
.flow-card,
.bullet-card,
.trust__card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.fact-card {
  padding: 18px 20px;
}

.fact-card strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
}

.fact-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero__visual {
  position: relative;
}

.hero-stack {
  position: relative;
  min-height: 760px;
}

.screen {
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(8, 13, 24, 0.74);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.screen img {
  width: 100%;
  border-radius: 28px;
}

.screen--main {
  position: absolute;
  top: 0;
  left: 96px;
  width: min(100%, 390px);
  transform: rotate(-5deg);
}

.screen--tilt-left {
  position: absolute;
  left: 0;
  bottom: 36px;
  width: min(44%, 250px);
  transform: rotate(-9deg);
}

.screen--tilt-right {
  position: absolute;
  right: 0;
  top: 100px;
  width: min(44%, 260px);
  transform: rotate(9deg);
}

.flow {
  padding: 48px 0 0;
}

.section-head {
  max-width: 820px;
}

.section-head h2,
.showcase__copy h2,
.cta h2 {
  font-size: clamp(1.95rem, 3.6vw, 3.2rem);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.flow-card {
  padding: 22px;
  min-height: 196px;
}

.flow-card__index {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-soft);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.flow-card h3,
.bullet-card h3,
.trust__card strong {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.flow-card p,
.bullet-card p,
.trust__card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
  padding: 90px 0 0;
}

.showcase--journal {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.bullet-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.bullet-card {
  padding: 22px;
}

.mosaic {
  position: relative;
  min-height: 760px;
}

.mosaic .screen--large {
  position: absolute;
  right: 54px;
  bottom: 0;
  width: min(100%, 380px);
}

.mosaic .screen--small-top {
  position: absolute;
  left: 0;
  top: 30px;
  width: min(44%, 250px);
  transform: rotate(-7deg);
}

.mosaic .screen--small-bottom {
  position: absolute;
  left: 44px;
  bottom: 70px;
  width: min(44%, 250px);
  transform: rotate(6deg);
}

.triple-screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.split-screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.split-screens__column {
  display: grid;
  gap: 18px;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 88px 0 0;
}

.trust__card {
  padding: 24px;
}

.cta {
  margin-top: 92px;
  padding: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 0% 0%, rgba(177, 171, 255, 0.16), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(111, 121, 255, 0.2), transparent 40%),
    var(--surface-strong);
  box-shadow: var(--shadow);
}

.site-footer {
  margin-top: 86px;
  padding: 24px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

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

@media (max-width: 1180px) {
  .hero,
  .showcase,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero-stack,
  .mosaic {
    min-height: auto;
  }

  .screen--main,
  .screen--tilt-left,
  .screen--tilt-right,
  .mosaic .screen--large,
  .mosaic .screen--small-top,
  .mosaic .screen--small-bottom {
    position: relative;
    inset: auto;
    width: min(100%, 380px);
    margin: 0 auto;
    transform: none;
  }

  .hero-stack,
  .mosaic {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }
}

@media (max-width: 960px) {
  .site-header__shell {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero__facts,
  .flow-grid,
  .triple-screens,
  .trust {
    grid-template-columns: 1fr;
  }

  .split-screens {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(1240px, calc(100vw - 28px));
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1,
  .section-head h2,
  .showcase__copy h2,
  .cta h2 {
    line-height: 1;
  }

  .hero__actions,
  .cta__actions {
    flex-direction: column;
  }

  .button,
  .button--header {
    width: 100%;
  }

  .fact-card,
  .flow-card,
  .bullet-card,
  .trust__card {
    padding: 20px;
  }

  .cta {
    padding: 26px;
    margin-top: 74px;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button {
    transition: none;
  }
}
