:root {
  --bg: #0e0a12;
  --bg-elevated: #1a1220;
  --ink: #f7eef4;
  --muted: #b5a3b0;
  --line: rgba(247, 238, 244, 0.12);
  --pink: #eb0d7a;
  --pink-hot: #ff3b8d;
  --pink-deep: #c2186c;
  --magenta: #930c99;
  --gold: #ffc44d;
  --white: #ffffff;
  --max: 1120px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Figtree", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Nav ——— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(14, 10, 18, 0.72);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}

.site-nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(14, 10, 18, 0.92);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 0;
  border-radius: var(--radius);
  padding: 0.88rem 1.4rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(120deg, var(--pink), var(--magenta));
  color: var(--white);
  box-shadow: 0 16px 36px rgba(235, 13, 122, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(120deg, var(--pink-hot), var(--pink-deep));
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(247, 238, 244, 0.22);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: stretch;
  overflow: hidden;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 70% 35%, rgba(235, 13, 122, 0.38), transparent 58%),
    radial-gradient(ellipse 50% 45% at 15% 80%, rgba(147, 12, 153, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 90%, rgba(255, 196, 77, 0.08), transparent 50%),
    linear-gradient(180deg, #160c18 0%, var(--bg) 55%, #0a070e 100%);
}

.hero__atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 238, 244, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 238, 244, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 75%);
  opacity: 0.45;
}

.hero__glow {
  position: absolute;
  width: min(52vw, 520px);
  height: min(52vw, 520px);
  right: 8%;
  top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 13, 122, 0.45), transparent 68%);
  filter: blur(20px);
  animation: breathe 7s ease-in-out infinite;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 4.25rem);
  min-height: calc(100dvh - 4.25rem);
  padding: 2rem 0 3rem;
}

.hero__copy {
  max-width: 36rem;
  padding-bottom: 1rem;
}

.hero__brand {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(3.6rem, 10vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  margin: 0 0 1.35rem;
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.95s var(--ease) 0.08s forwards;
}

.hero__brand span {
  background: linear-gradient(120deg, var(--pink-hot), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__headline {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.28;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  max-width: 22ch;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.95s var(--ease) 0.2s forwards;
}

.hero__support {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 28rem;
  margin: 0 0 1.75rem;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.95s var(--ease) 0.32s forwards;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.95s var(--ease) 0.44s forwards;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(72vh, 640px);
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  animation: rise-scale 1.15s var(--ease) 0.26s forwards;
}

.phone {
  position: relative;
  width: min(72%, 290px);
  aspect-ratio: 9 / 18.2;
  border-radius: 36px;
  padding: 11px;
  background: linear-gradient(160deg, #3a2a3a, #120c16 55%, #1c1222);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: floaty 5.8s ease-in-out infinite;
}

.phone__bezel {
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #120c16;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 1rem 0.55rem;
  font-size: 0.72rem;
  color: rgba(247, 238, 244, 0.75);
  z-index: 2;
}

.phone__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.phone__live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #37e07a;
  box-shadow: 0 0 0 3px rgba(55, 224, 122, 0.2);
}

.phone__stage {
  flex: 1;
  margin: 0 0.65rem;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 45%, rgba(14, 10, 18, 0.9) 100%),
    radial-gradient(ellipse 90% 70% at 50% 30%, rgba(235, 13, 122, 0.45), transparent 58%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(147, 12, 153, 0.35), transparent 50%),
    linear-gradient(160deg, #4a1840 0%, #241c2c 45%, #120c16 100%);
}

.phone__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.06) 48%, transparent 56%),
    radial-gradient(circle at 70% 18%, rgba(255, 196, 77, 0.16), transparent 38%);
}

.phone__stage::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 96px;
  right: 0.7rem;
  bottom: 3.4rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 59, 141, 0.35), transparent 55%),
    linear-gradient(180deg, #2a1430, #120c16);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.phone__meta {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 1;
}

.phone__meta strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

.phone__meta span {
  font-size: 0.75rem;
  color: rgba(247, 238, 244, 0.72);
}

.phone__controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  padding: 0.85rem 1rem 1.1rem;
}

.phone__ctrl {
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
}

.phone__ctrl--end {
  background: rgba(255, 75, 75, 0.22);
  border-color: rgba(255, 75, 75, 0.35);
}

.phone__ctrl-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: rgba(247, 238, 244, 0.7);
}

.phone__ctrl--end .phone__ctrl-dot {
  width: 14px;
  height: 4px;
  border-radius: 2px;
  background: #ff6b6b;
}

/* ——— Sections ——— */
.section {
  position: relative;
  padding: 6rem 0;
}

.section--soft {
  background:
    radial-gradient(ellipse 60% 50% at 0% 50%, rgba(147, 12, 153, 0.12), transparent 55%),
    linear-gradient(180deg, transparent, rgba(26, 18, 32, 0.65), transparent);
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.section__title {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.section__text {
  color: var(--muted);
  max-width: 36rem;
  margin: 0;
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.flow-panel {
  position: relative;
  min-height: 340px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(235, 13, 122, 0.2), transparent 50%),
    linear-gradient(200deg, #24182c 0%, #120c16 100%);
  border: 1px solid var(--line);
}

.flow-panel__orb {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 13, 122, 0.4), transparent 70%);
  top: 12%;
  right: 8%;
  animation: breathe 7s ease-in-out infinite;
}

.flow-panel__copy {
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  bottom: 1.6rem;
}

.flow-panel__copy strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.flow-panel__copy span {
  color: var(--muted);
}

.feature-rail {
  display: grid;
  gap: 0;
  margin-top: 2.6rem;
}

.feature-rail__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: start;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.feature-rail__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.feature-rail__num {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  color: var(--pink-hot);
  font-size: 1.1rem;
  line-height: 1.45;
}

.feature-rail__item h3 {
  margin: 0 0 0.3rem;
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.feature-rail__item p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

/* ——— CTA ——— */
.cta-band {
  position: relative;
  margin: 1rem 0 0;
  padding: 4.5rem 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(235, 13, 122, 0.35), transparent 60%),
    linear-gradient(180deg, #160c18, #120c16);
}

.cta-band__inner {
  position: relative;
  display: grid;
  gap: 1.15rem;
  justify-items: start;
  max-width: 40rem;
}

.cta-band h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.045em;
  margin: 0;
  max-width: 12ch;
  line-height: 1.02;
}

.cta-band p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
}

.cta-band .btn-primary {
  margin-top: 0.35rem;
}

.note-18 {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: rgba(181, 163, 176, 0.9);
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.8rem 0 3.2rem;
  background: #0a070e;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h3 {
  font-family: "Syne", sans-serif;
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: var(--pink-hot);
}

.site-footer code {
  font-size: 0.82em;
  color: rgba(247, 238, 244, 0.65);
}

.footer-list {
  display: grid;
  gap: 0.55rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

/* ——— Legal pages ——— */
.legal-page {
  padding: 3rem 0 4.5rem;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(235, 13, 122, 0.12), transparent 55%),
    var(--bg);
}

.legal-shell {
  width: min(100% - 2.5rem, 820px);
  margin-inline: auto;
  background: rgba(26, 18, 32, 0.72);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2.6rem);
}

.legal-shell h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  margin: 0 0 0.5rem;
}

.legal-shell .meta {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.legal-shell h2 {
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.7rem;
}

.legal-shell p,
.legal-shell li {
  color: var(--muted);
}

.legal-shell strong {
  color: var(--ink);
}

.legal-shell a {
  color: var(--pink-hot);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-shell table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.8rem 0;
  font-size: 0.95rem;
}

.legal-shell th,
.legal-shell td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.legal-shell th {
  background: rgba(235, 13, 122, 0.12);
  color: var(--ink);
}

.legal-shell code {
  font-size: 0.88em;
  color: rgba(247, 238, 244, 0.8);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise-scale {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .hero__grid,
  .split,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__grid {
    min-height: auto;
    padding: 1.25rem 0 2.5rem;
    gap: 1.25rem;
  }

  .hero__copy {
    order: 0;
    padding-bottom: 0;
  }

  .hero__visual {
    order: 1;
    min-height: 380px;
  }

  .hero__brand {
    font-size: clamp(2.9rem, 12.5vw, 4.6rem);
    max-width: 100%;
  }

  .nav-links .hide-sm {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero__visual {
    min-height: 340px;
  }

  .phone {
    width: min(68%, 230px);
  }

  .cta-band {
    padding: 3.4rem 0;
  }

  .section {
    padding: 4.5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__brand,
  .hero__headline,
  .hero__support,
  .hero__cta,
  .hero__visual,
  .phone,
  .hero__glow,
  .flow-panel__orb {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
