:root {
  --bg: #08111f;
  --bg-deep: #050b14;
  --surface: rgba(15, 28, 47, 0.78);
  --surface-strong: #101d30;
  --surface-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.17);
  --text: #f7f9fc;
  --muted: #a9b5c7;
  --blue: #72d7ff;
  --indigo: #7587ff;
  --violet: #a177ff;
  --mint: #6fe6c0;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  --radius-lg: 30px;
  --radius-md: 22px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 4%, rgba(117, 135, 255, 0.13), transparent 30rem),
    radial-gradient(circle at 8% 32%, rgba(114, 215, 255, 0.08), transparent 28rem),
    linear-gradient(180deg, #08111f 0%, #091321 52%, #060d18 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: 8px;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 30rem;
  height: 30rem;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.16;
}

.ambient-one {
  top: -10rem;
  right: -8rem;
  background: var(--violet);
}

.ambient-two {
  top: 52rem;
  left: -14rem;
  background: var(--blue);
}

.site-header,
.hero,
.products,
.manifesto,
.site-footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.16rem;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 12px 22px rgba(117, 135, 255, 0.24));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #c5cede;
  font-size: 0.94rem;
  font-weight: 650;
}

.main-nav > a:not(.nav-cta) {
  transition: color 180ms ease;
}

.main-nav > a:not(.nav-cta):hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong);
}

.hero {
  min-height: 650px;
  padding: 72px 0 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  gap: 66px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: #b9c4d4;
  font-size: 0.78rem;
  line-height: 1.3;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(111, 230, 192, 0.09), 0 0 22px rgba(111, 230, 192, 0.55);
}

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

h1 {
  margin-bottom: 25px;
  max-width: 770px;
  font-size: clamp(3.25rem, 7vw, 6.75rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
  font-weight: 800;
}

h1 span {
  color: transparent;
  background: linear-gradient(100deg, #eefaff 2%, var(--blue) 36%, #8999ff 65%, #bc96ff 98%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 665px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.6vw, 1.22rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 21px;
  border-radius: 15px;
  font-size: 0.96rem;
  font-weight: 760;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #07101b;
  background: linear-gradient(110deg, #87e1ff, #7d91ff 59%, #ac82ff);
  box-shadow: 0 14px 36px rgba(117, 135, 255, 0.24);
}

.button-primary:hover {
  box-shadow: 0 18px 42px rgba(117, 135, 255, 0.34);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: #dce4ef;
}

.button-secondary:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.075);
}

.hero-note {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 26px;
  color: #8290a4;
  font-size: 0.8rem;
  font-weight: 650;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-note span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #5f6f83;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(157, 172, 205, 0.1);
  border-radius: 50%;
}

.orbit-a {
  width: 480px;
  height: 480px;
}

.orbit-b {
  width: 360px;
  height: 360px;
}

.visual-card {
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(21, 37, 61, 0.95), rgba(12, 24, 41, 0.91));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.visual-main {
  position: relative;
  z-index: 2;
  width: min(100%, 410px);
  padding: 22px;
  border-radius: 30px;
  transform: rotate(-2.2deg);
}

.visual-card-top,
.product-card-head,
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  font-weight: 760;
}

.mini-mark {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 4px 12px rgba(117, 135, 255, 0.35);
}

.live-pill,
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: #9aa7ba;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.03em;
}

.live-pill,
.status-live {
  color: #a9f5db;
  border-color: rgba(111, 230, 192, 0.2);
  background: rgba(111, 230, 192, 0.08);
}

.puzzle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 30px 0 27px;
}

.puzzle-grid span {
  aspect-ratio: 1;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.puzzle-grid .filled {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 20px rgba(0, 0, 0, 0.14);
}

.puzzle-grid .cyan { background: linear-gradient(140deg, #72d7ff, #4eabc9); }
.puzzle-grid .violet { background: linear-gradient(140deg, #a177ff, #7566d7); }
.puzzle-grid .blue { background: linear-gradient(140deg, #7587ff, #5264c9); }
.puzzle-grid .soft { background: linear-gradient(140deg, #d4def1, #8795ad); }

.visual-copy strong,
.visual-copy span {
  display: block;
}

.visual-copy strong {
  margin-bottom: 7px;
  font-size: 1.13rem;
  letter-spacing: -0.025em;
}

.visual-copy span {
  color: #91a0b5;
  font-size: 0.83rem;
  line-height: 1.55;
}

.floating-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(11, 23, 39, 0.88);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.chip-one {
  top: 67px;
  right: -8px;
  transform: rotate(3deg);
}

.chip-two {
  left: 0;
  bottom: 62px;
  transform: rotate(-2deg);
}

.chip-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: #dff8ff;
  background: linear-gradient(145deg, rgba(114, 215, 255, 0.21), rgba(117, 135, 255, 0.12));
  font-size: 1.3rem;
}

.brain-icon {
  color: #eadfff;
  background: linear-gradient(145deg, rgba(161, 119, 255, 0.22), rgba(117, 135, 255, 0.12));
}

.floating-chip strong,
.floating-chip small {
  display: block;
}

.floating-chip strong {
  margin-bottom: 2px;
  font-size: 0.78rem;
}

.floating-chip small {
  color: #8391a5;
  font-size: 0.69rem;
}

.products {
  padding: 112px 0 54px;
}

.section-heading {
  max-width: 770px;
  margin-bottom: 42px;
}

.section-heading h2,
.manifesto h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-heading > p:last-child,
.manifesto > div > p:last-child {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.88fr;
  gap: 18px;
}

.product-card {
  min-height: 380px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(17, 31, 51, 0.9), rgba(10, 21, 36, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.product-live {
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.product-live::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  top: -150px;
  right: -80px;
  border-radius: 50%;
  background: rgba(114, 215, 255, 0.13);
  filter: blur(40px);
}

.product-live:hover {
  transform: translateY(-4px);
  border-color: rgba(114, 215, 255, 0.24);
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.18);
}

.product-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.04);
}

.puzzles-icon {
  padding: 9px;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.puzzles-icon span {
  border-radius: 4px;
}

.puzzles-icon span:nth-child(1) { background: var(--blue); }
.puzzles-icon span:nth-child(2) { background: var(--violet); }
.puzzles-icon span:nth-child(3) { background: #8796ff; }
.puzzles-icon span:nth-child(4) { background: #cad5e9; }

.brain-product-icon {
  color: #d8c4ff;
  font-size: 1.45rem;
}

.product-card-copy {
  margin-top: auto;
  padding-top: 52px;
}

.product-label {
  margin-bottom: 8px;
  color: #758398;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 13px;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  letter-spacing: -0.045em;
}

.product-card-copy > p:last-child {
  margin-bottom: 0;
  color: #99a6b8;
  font-size: 0.9rem;
  line-height: 1.65;
}

.product-card-footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
  color: #dce5f3;
  font-size: 0.85rem;
  font-weight: 700;
}

.product-card-footer .arrow {
  transition: transform 180ms ease;
}

.product-live:hover .arrow {
  transform: translate(3px, -3px);
}

.product-card-footer.muted {
  color: #6f7d91;
}

.product-soon {
  opacity: 0.87;
}

.product-future {
  justify-content: flex-end;
  background: linear-gradient(160deg, rgba(16, 26, 44, 0.72), rgba(8, 17, 30, 0.7));
}

.future-lines {
  position: absolute;
  inset: 22px 22px auto;
  height: 138px;
  display: flex;
  gap: 9px;
  align-items: flex-end;
}

.future-lines span {
  flex: 1;
  border-radius: 12px 12px 5px 5px;
  background: linear-gradient(180deg, rgba(117, 135, 255, 0.23), rgba(117, 135, 255, 0.03));
}

.future-lines span:nth-child(1) { height: 44%; }
.future-lines span:nth-child(2) { height: 72%; }
.future-lines span:nth-child(3) { height: 100%; }

.manifesto {
  margin-top: 82px;
  margin-bottom: 110px;
  padding: 56px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0 100%, rgba(114, 215, 255, 0.09), transparent 20rem),
    linear-gradient(145deg, rgba(18, 32, 52, 0.82), rgba(10, 21, 35, 0.72));
}

.manifesto-mark {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border-radius: 34px;
  color: #08111f;
  background: linear-gradient(135deg, var(--blue), #8295ff 53%, var(--violet));
  font-size: 4.25rem;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.08em;
  box-shadow: 0 20px 48px rgba(117, 135, 255, 0.2);
}

.site-footer {
  min-height: 126px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #778599;
  font-size: 0.79rem;
}

.site-footer p {
  margin: 0;
}

.site-footer strong {
  color: #9aa8ba;
  font-weight: 700;
}

.footer-brand {
  color: #aeb9c8;
  font-size: 0.95rem;
}

.footer-mark {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #09111f;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-size: 0.83rem;
  font-weight: 850;
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 78px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-visual {
    width: min(100%, 590px);
    min-height: 520px;
    margin: 0 auto;
  }

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

  .product-future {
    grid-column: 1 / -1;
    min-height: 270px;
  }

  .future-lines {
    left: auto;
    width: 38%;
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero,
  .products,
  .manifesto,
  .site-footer {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    min-height: 78px;
  }

  .main-nav > a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    padding: 9px 13px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: auto;
    padding: 68px 0 42px;
  }

  h1 {
    font-size: clamp(3.15rem, 16vw, 5rem);
  }

  .hero-lead {
    line-height: 1.65;
  }

  .hero-note {
    gap: 10px 18px;
  }

  .hero-visual {
    min-height: 450px;
  }

  .visual-main {
    width: calc(100% - 26px);
  }

  .orbit-a {
    width: 390px;
    height: 390px;
  }

  .orbit-b {
    width: 300px;
    height: 300px;
  }

  .floating-chip {
    min-width: 148px;
  }

  .chip-one {
    top: 48px;
    right: 0;
  }

  .chip-two {
    left: 0;
    bottom: 43px;
  }

  .products {
    padding-top: 80px;
  }

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

  .product-future {
    grid-column: auto;
  }

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

  .future-lines {
    width: 46%;
  }

  .manifesto {
    margin-top: 64px;
    margin-bottom: 78px;
    padding: 32px 26px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .manifesto-mark {
    width: 78px;
    height: 78px;
    border-radius: 23px;
    font-size: 2.9rem;
  }

  .site-footer {
    min-height: auto;
    padding: 30px 0 36px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .copyright {
    color: #5f6d80;
  }
}

@media (max-width: 470px) {
  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand {
    gap: 9px;
    font-size: 1rem;
  }

  .nav-cta span {
    display: none;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-note span {
    width: 100%;
  }

  .hero-visual {
    min-height: 410px;
    transform: scale(0.94);
    transform-origin: center top;
  }

  .floating-chip {
    padding: 10px;
  }

  .chip-one {
    right: -6px;
  }

  .chip-two {
    left: -6px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
