:root {
  --bg: #080510;
  --bg-deep: #05040a;
  --surface: #12101b;
  --ink: #fffaff;
  --muted: #b7afbe;
  --muted-low: #817988;
  --violet: #9a5cff;
  --pink: #ff4d9d;
  --peach: #ff9cba;
  --mint: #75e8c0;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(ellipse 72% 42% at 7% -4%, rgba(116, 54, 210, 0.34), transparent 70%),
    radial-gradient(ellipse 62% 44% at 96% 4%, rgba(255, 58, 145, 0.19), transparent 72%),
    radial-gradient(ellipse 72% 48% at 54% 42%, rgba(69, 36, 129, 0.13), transparent 72%),
    linear-gradient(155deg, #0b0714 0%, var(--bg) 48%, var(--bg-deep) 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 50%);
  content: "";
  pointer-events: none;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #0a0810;
  background: white;
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  width: min(calc(100% - 48px), var(--max));
  min-height: 94px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 0.96rem;
  font-weight: 730;
  letter-spacing: -0.015em;
}

.brand img,
.footer-brand img,
.closing > img {
  border-radius: 22%;
  box-shadow: 0 10px 34px rgba(194, 61, 200, 0.24);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #cec5d3;
  font-size: 0.84rem;
  font-weight: 650;
}

.site-nav a,
.header-cta,
footer nav a,
.text-cta {
  transition: color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.header-cta:hover,
footer nav a:hover {
  color: white;
}

.header-cta {
  color: #d9d0de;
  font-size: 0.84rem;
  font-weight: 670;
}

.hero {
  position: relative;
  display: grid;
  width: min(calc(100% - 48px), var(--max));
  min-height: min(780px, calc(100svh - 94px));
  margin: 0 auto;
  padding: 74px 0 96px;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 4%;
  width: min(720px, 62vw);
  height: min(520px, 44vw);
  border-radius: 50%;
  background:
    conic-gradient(
      from 218deg at 50% 50%,
      rgba(116, 65, 255, 0.38),
      rgba(255, 65, 160, 0.27),
      rgba(255, 151, 181, 0.18),
      rgba(116, 65, 255, 0.38)
    );
  filter: blur(100px);
  opacity: 0.6;
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  animation: rise-in 650ms cubic-bezier(.2, .8, .2, 1) both;
}

.eyebrow {
  margin: 0 0 17px;
  color: #cfc4d5;
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  margin-right: 5px;
  color: var(--pink);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.65rem, 6.15vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.067em;
}

h1 span {
  color: transparent;
  background: linear-gradient(102deg, #d4b9ff 0%, #f075cf 43%, #ff5c9f 72%, #ffb0c8 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.lede {
  max-width: 555px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.45vw, 1.2rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  align-items: center;
  gap: 23px;
}

.app-store-badge {
  width: 168px;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  opacity: 1;
  appearance: none;
  cursor: default;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.32));
}

.app-store-badge img {
  width: 100%;
}

.text-cta {
  color: #e8ddea;
  font-size: 0.9rem;
  font-weight: 690;
}

.text-cta span {
  display: inline-block;
  margin-left: 4px;
  color: var(--pink);
  transition: transform 160ms ease;
}

.text-cta:hover {
  color: white;
}

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

.trust-line {
  display: flex;
  margin: 17px 0 0;
  align-items: center;
  gap: 8px;
  color: var(--muted-low);
  font-size: 0.76rem;
  font-weight: 580;
}

.trust-line > span:first-child {
  color: var(--mint);
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: min(720px, 58vw);
  margin: -50px -95px -70px -42px;
  justify-self: center;
  animation: art-in 850ms 90ms cubic-bezier(.2, .8, .2, 1) both;
}

.hero-visual > img {
  position: relative;
  z-index: 1;
  width: 100%;
  filter: drop-shadow(0 38px 48px rgba(0, 0, 0, 0.34));
}

.hero-aura {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 7%;
  left: 4%;
  height: 44%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 62% 45%, rgba(255, 80, 160, 0.34), transparent 48%),
    radial-gradient(circle at 30% 50%, rgba(125, 75, 255, 0.36), transparent 54%);
  filter: blur(58px);
}

.how {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 118px 0 138px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 54px;
}

.section-heading h2,
.privacy-callout h2,
.closing h2,
.legal-page h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 58px);
}

.step {
  position: relative;
  min-width: 0;
}

.step-art {
  position: relative;
  display: grid;
  aspect-ratio: 1.08;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 38% 62% 50% 50% / 55% 42% 58% 45%;
  place-items: center;
}

.step-art-violet {
  background:
    radial-gradient(circle at 62% 30%, rgba(255, 139, 190, 0.26), transparent 32%),
    linear-gradient(145deg, rgba(111, 66, 207, 0.33), rgba(35, 24, 61, 0.48));
}

.step-art-pink {
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 168, 199, 0.25), transparent 34%),
    linear-gradient(145deg, rgba(213, 59, 139, 0.26), rgba(58, 24, 58, 0.46));
}

.step-art-mint {
  background:
    radial-gradient(circle at 65% 25%, rgba(121, 235, 198, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(60, 169, 145, 0.22), rgba(23, 45, 48, 0.48));
}

.step-art img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.step-art-symbol {
  color: #dbc8ff;
  font-size: clamp(6rem, 9vw, 8rem);
  font-weight: 300;
}

.mini-check {
  position: absolute;
  right: 26%;
  bottom: 23%;
  display: grid;
  width: 46px;
  height: 46px;
  color: #08261f;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(74, 217, 171, 0.28);
  place-items: center;
  font-size: 1rem;
  font-weight: 900;
}

.step-number {
  margin: 0 0 13px;
  color: #c9a7e7;
  font-size: 0.69rem;
  font-weight: 780;
  letter-spacing: 0.15em;
}

.step h3 {
  margin: 0;
  font-size: 1.38rem;
  letter-spacing: -0.026em;
}

.step > p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.privacy-callout {
  position: relative;
  display: grid;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto 128px;
  padding: clamp(34px, 5vw, 58px);
  overflow: hidden;
  border-radius: 42px;
  background:
    radial-gradient(circle at 7% 115%, rgba(143, 82, 255, 0.35), transparent 48%),
    radial-gradient(circle at 92% -10%, rgba(255, 74, 153, 0.2), transparent 42%),
    linear-gradient(126deg, rgba(31, 24, 46, 0.94), rgba(15, 12, 23, 0.95));
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.privacy-icon {
  display: grid;
  width: 64px;
  height: 64px;
  color: #eadfff;
  border-radius: 21px;
  background: linear-gradient(140deg, rgba(153, 88, 255, 0.42), rgba(255, 79, 154, 0.24));
  box-shadow: 0 16px 38px rgba(99, 42, 174, 0.2);
  place-items: center;
  font-size: 2.3rem;
}

.privacy-callout .eyebrow {
  margin-bottom: 9px;
}

.privacy-callout h2 {
  font-size: clamp(1.9rem, 3.3vw, 3.2rem);
}

.privacy-callout p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
}

.privacy-callout > a {
  padding: 12px 0 12px 20px;
  color: #e3d5e7;
  font-size: 0.84rem;
  font-weight: 690;
  white-space: nowrap;
}

.privacy-callout > a span {
  display: inline-block;
  margin-left: 6px;
  color: var(--pink);
  transition: transform 160ms ease;
}

.privacy-callout > a:hover span {
  transform: translateX(4px);
}

.closing {
  width: min(calc(100% - 48px), 820px);
  margin: 0 auto;
  padding: 55px 0 140px;
  text-align: center;
}

.closing > img {
  margin: 0 auto 28px;
}

.closing .eyebrow {
  margin-bottom: 18px;
}

.closing h2 {
  font-size: clamp(2.6rem, 5.1vw, 4.9rem);
}

.closing > p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

footer {
  display: grid;
  width: min(calc(100% - 48px), var(--max));
  min-height: 132px;
  margin: 0 auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: #817987;
  font-size: 0.76rem;
}

footer nav {
  display: flex;
  gap: 25px;
}

footer > p {
  justify-self: end;
}

.button {
  display: inline-flex;
  min-height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: 17px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 720;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

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

.button-primary {
  color: white;
  background: linear-gradient(115deg, var(--violet), var(--pink));
  box-shadow: 0 14px 38px rgba(188, 61, 201, 0.25);
}

.button-primary:hover {
  box-shadow: 0 18px 48px rgba(188, 61, 201, 0.38);
}

.legal-page {
  width: min(calc(100% - 48px), 760px);
  min-height: calc(100svh - 226px);
  margin: 0 auto;
  padding: 82px 0 130px;
}

.legal-page .eyebrow {
  margin-bottom: 14px;
}

.legal-page > .intro {
  margin: 24px 0 58px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.62;
}

.legal-page > .intro a {
  color: #e7cdff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section {
  padding: 21px 0;
}

.legal-section h2 {
  margin: 0 0 9px;
  font-size: 1.18rem;
  letter-spacing: -0.015em;
}

.legal-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.67;
}

.legal-section a {
  color: #e7cdff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-cta {
  margin-top: 2px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes art-in {
  from {
    opacity: 0;
    transform: translateX(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@media (max-width: 980px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .step:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 14px);
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .hero-visual {
    width: 54vw;
    margin: -35px 0 -55px -10px;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding-top: 88px;
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    width: min(760px, 94vw);
    margin: -12px auto -42px;
  }
}

@media (max-width: 720px) {
  body {
    background:
      radial-gradient(ellipse 100% 30% at 0 -4%, rgba(116, 54, 210, 0.4), transparent 72%),
      radial-gradient(ellipse 100% 32% at 100% 7%, rgba(255, 58, 145, 0.22), transparent 72%),
      linear-gradient(165deg, #0b0714 0%, var(--bg) 46%, var(--bg-deep) 100%);
  }

  body::before {
    background-size: 50px 50px;
    opacity: 0.55;
  }

  .site-header {
    width: min(calc(100% - 36px), var(--max));
    min-height: 76px;
  }

  .brand {
    font-size: 0.9rem;
  }

  .brand img {
    width: 37px;
    height: 37px;
  }

  .site-nav {
    gap: 16px;
    font-size: 0.78rem;
  }

  .site-nav a:last-child {
    display: none;
  }

  .hero {
    width: min(calc(100% - 36px), var(--max));
    padding: 57px 0 64px;
  }

  .hero::after {
    right: -18px;
    bottom: 4%;
    width: calc(100% + 36px);
    height: 34%;
    filter: blur(70px);
  }

  h1 {
    font-size: clamp(3.05rem, 14.3vw, 4.6rem);
  }

  .lede {
    margin-top: 23px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 29px;
    gap: 19px;
  }

  .app-store-badge {
    width: 154px;
  }

  .text-cta {
    font-size: 0.84rem;
  }

  .trust-line {
    margin-top: 14px;
    font-size: 0.7rem;
  }

  .hero-visual {
    width: calc(100% + 36px);
    max-width: 580px;
    margin: 1px -18px -22px;
  }

  .how {
    width: min(calc(100% - 36px), var(--max));
    padding: 92px 0 106px;
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .section-heading h2,
  .privacy-callout h2,
  .closing h2,
  .legal-page h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.45rem);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .step:last-child {
    width: auto;
    grid-column: auto;
  }

  .step-art {
    aspect-ratio: 1.12;
    margin-bottom: 25px;
  }

  .privacy-callout {
    width: min(calc(100% - 36px), var(--max));
    margin-bottom: 84px;
    padding: 31px 25px;
    border-radius: 31px;
    grid-template-columns: auto 1fr;
    gap: 19px;
  }

  .privacy-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    font-size: 1.8rem;
  }

  .privacy-callout > a {
    padding: 12px 0 0;
    grid-column: 1 / -1;
  }

  .closing {
    width: min(calc(100% - 36px), var(--max));
    padding: 46px 0 105px;
  }

  .closing > img {
    width: 64px;
    height: 64px;
  }

  footer {
    width: min(calc(100% - 36px), var(--max));
    padding: 35px 0 42px;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
  }

  footer > p {
    justify-self: start;
    margin: 0;
  }

  .legal-page {
    width: min(calc(100% - 36px), 760px);
    min-height: calc(100svh - 224px);
    padding: 58px 0 95px;
  }
}

@media (max-width: 380px) {
  .brand span {
    max-width: 92px;
    line-height: 1.05;
  }

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

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

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