:root {
  color-scheme: light;
  --ink: #17182f;
  --muted: #667085;
  --soft: #8a90a3;
  --surface: #ffffff;
  --surface-tint: #f7f8ff;
  --line: #e5e7f0;
  --accent: #615dec;
  --accent-dark: #4f46d8;
  --cyan: #1ea7e8;
  --gold: #ffd95a;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(97, 93, 236, 0.1);
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 31px;
  height: 24px;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-links a {
  color: #555c70;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.header-links a:hover {
  color: var(--accent);
}

.header-download {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(97, 93, 236, 0.26);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(46, 42, 120, 0.07);
  backdrop-filter: blur(14px);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.header-download:hover {
  transform: translateY(-2px);
  border-color: rgba(97, 93, 236, 0.52);
  box-shadow: 0 12px 30px rgba(46, 42, 120, 0.12);
}

.header-download svg,
.primary-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(38px, 5vw, 86px);
  padding: 120px max(28px, calc((100vw - var(--max)) / 2)) 64px;
  overflow: hidden;
  background:
    linear-gradient(116deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 248, 255, 0.95) 47%, rgba(237, 245, 255, 0.94) 100%),
    radial-gradient(circle at 68% 18%, rgba(97, 93, 236, 0.16), transparent 38%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 82px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(97, 93, 236, 0.18), transparent);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(97, 93, 236, 0.11);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one {
  width: 720px;
  height: 720px;
  top: 8%;
  right: -150px;
}

.hero-orbit-two {
  width: 430px;
  height: 430px;
  top: 24%;
  right: -8px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 610px;
}

.release-status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 28px;
  padding: 8px 12px;
  border: 1px solid rgba(97, 93, 236, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #575f72;
  font-size: 12px;
  font-weight: 650;
  box-shadow: 0 8px 30px rgba(53, 51, 120, 0.06);
}

.release-status strong {
  color: var(--accent);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22b573;
  box-shadow: 0 0 0 5px rgba(34, 181, 115, 0.09);
}

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

.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(52px, 5.2vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.07em;
  font-weight: 780;
}

h1 em,
h2 em {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero-summary {
  max-width: 580px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.65;
}

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

.primary-button {
  min-height: 56px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 25px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, #514bdd 66%, #356fcf 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(97, 93, 236, 0.27), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.primary-button:hover {
  transform: translateY(-3px);
  filter: saturate(1.06);
  box-shadow: 0 24px 46px rgba(97, 93, 236, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.primary-button:focus-visible,
.header-download:focus-visible,
.copy-command:focus-visible,
.text-link:focus-visible,
.header-links a:focus-visible {
  outline: 3px solid rgba(97, 93, 236, 0.28);
  outline-offset: 4px;
}

.text-link {
  color: #3e4457;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 5px;
  color: var(--accent);
  transition: transform 170ms ease;
}

.text-link:hover span {
  transform: translateY(3px);
}

.release-meta {
  margin: 23px 0 0;
  color: var(--soft);
  font-size: 12px;
}

.product-scene {
  position: relative;
  z-index: 2;
  min-height: 630px;
  display: grid;
  place-items: center;
  perspective: 1300px;
}

.scene-glow {
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(97, 93, 236, 0.2), rgba(30, 167, 232, 0.08) 42%, transparent 70%);
  filter: blur(26px);
}

.browser-rail {
  position: absolute;
  z-index: 1;
  top: 85px;
  left: 2%;
  right: -12%;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid #dde1ed;
  border-radius: 18px 18px 0 0;
  background: rgba(244, 246, 251, 0.92);
  box-shadow: 0 30px 80px rgba(39, 42, 84, 0.12);
  transform: rotateY(-5deg) rotateX(1deg);
}

.browser-rail > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c9cedb;
}

.browser-rail p {
  flex: 1;
  margin: 0 0 0 10px;
  padding: 8px 16px;
  border-radius: 8px;
  background: #fff;
  color: #9aa0b0;
  font-size: 11px;
}

.product-window {
  position: relative;
  z-index: 3;
  width: min(100%, 520px);
  margin-left: 8%;
  padding: 16px;
  border: 1px solid rgba(211, 216, 233, 0.94);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  color: #20253c;
  box-shadow: 0 48px 110px rgba(34, 36, 77, 0.25), 0 4px 18px rgba(34, 36, 77, 0.06);
  transform: rotateY(-5deg) rotateX(2deg);
  animation: product-float 7s ease-in-out infinite;
}

.product-topbar,
.product-brand,
.product-actions,
.product-tabs,
.product-search,
.feed-heading,
.feed-heading > div,
.member-row,
.feed-row.compact {
  display: flex;
  align-items: center;
}

.product-topbar {
  min-height: 45px;
  justify-content: space-between;
  padding: 0 4px 13px;
}

.product-brand {
  gap: 9px;
}

.product-brand svg {
  width: 24px;
  color: var(--accent);
}

.product-brand strong {
  font-size: 14px;
}

.product-actions {
  gap: 9px;
  color: #8a90a3;
  font-size: 11px;
}

.product-actions b {
  padding: 5px 9px;
  border: 1px solid #f2c92b;
  border-radius: 7px;
  background: var(--gold);
  color: #4c3500;
}

.product-tabs {
  gap: 25px;
  padding: 13px 2px 11px;
  border-top: 1px solid #edf0f5;
  border-bottom: 1px solid #edf0f5;
  color: #8b90a1;
  font-size: 12px;
}

.product-tabs strong {
  position: relative;
  color: var(--accent);
}

.product-tabs strong::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  bottom: -12px;
  background: var(--accent);
}

.product-search {
  justify-content: space-between;
  margin: 14px 0;
  padding: 11px 12px;
  border: 1px solid #e5e7ef;
  border-radius: 9px;
  color: #a0a4b2;
  font-size: 11px;
}

.product-search b {
  padding: 6px 9px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
}

.feed-row {
  margin-top: 10px;
  border: 1px solid #e8eaf2;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #fbfbff 100%);
  overflow: hidden;
}

.feed-heading {
  min-height: 46px;
  gap: 9px;
  padding: 0 12px;
  border-bottom: 1px solid #eceef5;
}

.feed-heading strong,
.feed-row.compact strong {
  flex: 1;
  font-size: 12px;
}

.feed-heading > div {
  gap: 10px;
}

.feed-heading small,
.feed-row.compact small {
  display: grid;
  min-width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 7px;
  background: #f0efff;
  color: var(--accent);
}

.drag-handle {
  color: #a6abbb;
}

.member-row {
  min-height: 66px;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid #f0f1f6;
}

.member-row:last-child {
  border-bottom: 0;
}

.member-row > span:nth-child(2) {
  flex: 1;
}

.member-row strong,
.member-row small {
  display: block;
}

.member-row strong {
  font-size: 11px;
}

.member-row small {
  margin-top: 4px;
  color: #9398a8;
  font-size: 9px;
}

.member-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.avatar-purple {
  background: linear-gradient(135deg, #7c65ed, #a59af4);
}

.avatar-blue {
  background: linear-gradient(135deg, #209bd7, #68c7ed);
}

.member-action {
  padding: 6px 9px;
  border: 1px solid #dcdff0;
  border-radius: 7px;
  background: #fff;
  color: var(--accent);
  font-size: 9px;
  font-weight: 750;
}

.feed-row.compact {
  min-height: 45px;
  gap: 9px;
  padding: 0 12px;
}

.scene-note {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(213, 216, 235, 0.9);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.91);
  color: #4d5368;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(42, 43, 91, 0.14);
  backdrop-filter: blur(14px);
}

.scene-note span {
  color: var(--accent);
}

.note-one {
  top: 25%;
  left: -3%;
}

.note-two {
  right: -2%;
  bottom: 22%;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  left: max(28px, calc((100vw - var(--max)) / 2));
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8d92a2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 38px;
  height: 1px;
  background: #a8acb9;
  transition: width 180ms ease;
}

.scroll-cue:hover i {
  width: 58px;
}

.product-proof,
.install-section,
.trust-note,
footer {
  width: min(calc(100% - 56px), var(--max));
  margin-inline: auto;
}

.product-proof {
  padding: 150px 0 130px;
}

.section-index {
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2,
.install-intro h2,
.final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 84px;
  border-top: 1px solid var(--line);
}

.proof-list article {
  min-height: 245px;
  padding: 28px 40px 20px 0;
  border-right: 1px solid var(--line);
}

.proof-list article + article {
  padding-left: 40px;
}

.proof-list article:last-child {
  border-right: 0;
}

.proof-list article > span,
.install-steps > li > span {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 13px;
}

.proof-list h3 {
  margin: 72px 0 14px;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.proof-list p,
.install-intro > p,
.install-steps p,
.trust-note p {
  color: var(--muted);
  line-height: 1.7;
}

.proof-list p {
  max-width: 290px;
  margin: 0;
  font-size: 14px;
}

.install-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(60px, 9vw, 140px);
  padding: 140px 0;
  border-top: 1px solid var(--line);
}

.install-intro {
  position: sticky;
  top: 62px;
  align-self: start;
}

.install-intro > p:not(.section-index) {
  max-width: 470px;
  margin: 28px 0 30px;
  font-size: 15px;
}

.install-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 34px 0 38px;
  border-top: 1px solid var(--line);
}

.install-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.install-steps h3 {
  margin-bottom: 9px;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.install-steps p {
  max-width: 540px;
  margin: 0;
  font-size: 14px;
}

.copy-command {
  width: min(100%, 390px);
  min-height: 48px;
  margin-top: 16px;
  padding: 0 10px 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #dcdff0;
  border-radius: 10px;
  background: #f8f8fd;
  color: #4d5368;
  cursor: pointer;
}

.copy-command code {
  color: #373d51;
  font-size: 12px;
}

.copy-command span {
  padding: 7px 10px;
  border-radius: 7px;
  background: #ebeaff;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.trust-note {
  display: grid;
  grid-template-columns: 0.46fr 1fr;
  gap: 60px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.trust-note .section-index {
  margin: 8px 0 0;
}

.trust-note h2 {
  margin-bottom: 20px;
  font-size: clamp(29px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.trust-note p {
  max-width: 740px;
  margin: 0;
  font-size: 15px;
}

.final-cta {
  position: relative;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 28px;
  overflow: hidden;
  background: #17182f;
  color: #fff;
  text-align: center;
}

.final-glow {
  position: absolute;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(97, 93, 236, 0.4), transparent 67%);
}

.final-cta > *:not(.final-glow) {
  position: relative;
  z-index: 2;
}

.final-cta .release-status {
  margin-bottom: 30px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #cfd1df;
}

.final-cta h2 {
  margin-bottom: 40px;
}

.final-cta .primary-button {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.final-version {
  margin: 18px 0 0;
  color: #8f93a9;
  font-size: 11px;
}

footer {
  min-height: 120px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

footer p {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
}

footer > a:last-child {
  justify-self: end;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 28px;
  padding: 11px 16px;
  border-radius: 10px;
  background: #17182f;
  color: #fff;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hero-enter {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-enter 700ms cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

.hero-copy .hero-enter:nth-child(2) {
  animation-delay: 90ms;
}

.hero-copy .hero-enter:nth-child(3) {
  animation-delay: 170ms;
}

.hero-copy .hero-enter:nth-child(4) {
  animation-delay: 250ms;
}

.hero-copy .hero-enter:nth-child(5),
.product-scene.hero-enter {
  animation-delay: 330ms;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

@keyframes hero-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes product-float {
  0%,
  100% {
    transform: rotateY(-5deg) rotateX(2deg) translateY(0);
  }
  50% {
    transform: rotateY(-3deg) rotateX(1deg) translateY(-10px);
  }
}

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

  .header-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 0.95fr;
    gap: 24px;
  }

  .product-scene {
    min-height: 560px;
  }

  .scene-note {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 72px;
    padding: 0 20px;
  }

  .header-download {
    min-height: 40px;
    padding: 0 14px;
  }

  .header-download span {
    font-size: 0;
  }

  .header-download b {
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 118px 20px 70px;
  }

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

  .hero h1 {
    font-size: clamp(46px, 11.5vw, 68px);
  }

  .product-scene {
    width: min(100%, 620px);
    min-height: 600px;
    justify-self: center;
  }

  .browser-rail {
    left: 0;
    right: 0;
  }

  .product-window {
    width: min(92%, 500px);
    margin-left: 0;
  }

  .scroll-cue {
    display: none;
  }

  .product-proof,
  .install-section,
  .trust-note,
  footer {
    width: min(calc(100% - 40px), var(--max));
  }

  .product-proof {
    padding: 100px 0 80px;
  }

  .proof-list {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .proof-list article,
  .proof-list article + article {
    min-height: 0;
    padding: 25px 0 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-list h3 {
    margin: 30px 0 10px;
  }

  .install-section {
    grid-template-columns: 1fr;
    gap: 58px;
    padding: 90px 0;
  }

  .install-intro {
    position: static;
  }

  .trust-note {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .final-cta {
    min-height: 560px;
  }
}

@media (max-width: 540px) {
  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 27px;
  }

  .hero {
    padding-top: 105px;
  }

  .release-status {
    margin-bottom: 22px;
  }

  .hero h1 {
    margin-bottom: 22px;
    font-size: 45px;
  }

  .hero-summary {
    font-size: 16px;
  }

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

  .primary-button {
    width: 100%;
  }

  .product-scene {
    min-height: 485px;
  }

  .browser-rail {
    top: 37px;
    height: 45px;
    padding: 0 14px;
  }

  .browser-rail p {
    padding: 6px 9px;
  }

  .product-window {
    width: 100%;
    padding: 12px;
    transform: none;
    animation: none;
  }

  .member-row {
    min-height: 60px;
  }

  .section-heading h2,
  .install-intro h2,
  .final-cta h2 {
    font-size: 40px;
  }

  .install-steps li {
    grid-template-columns: 42px 1fr;
  }

  .final-cta {
    min-height: 520px;
    padding-inline: 20px;
  }

  footer {
    min-height: 170px;
    grid-template-columns: 1fr auto;
  }

  footer p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

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

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

  .hero-enter,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
