@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --background: #15141b;
  --foreground: #f5f2fb;
  --border: #f4f0fa29;
  --font-geist-sans: Geist, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-geist-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}

button {
  font: inherit;
}

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

.site-header {
  border-bottom: 1px solid var(--border);
  z-index: 5;
  justify-content: space-between;
  align-items: center;
  height: 92px;
  padding: 0 clamp(24px, 4.5vw, 72px);
  display: flex;
  position: relative;
}

.wordmark {
  color: #fff;
  letter-spacing: -0.07em;
  font-size: clamp(20px, 1.8vw, 27px);
  font-weight: 800;
  text-decoration: none;
}

.header-cta {
  color: #d7d1e2;
  cursor: pointer;
  background: none;
  border: 0;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  display: flex;
}

.header-cta svg {
  width: 15px;
  height: 15px;
}

.header-cta,
.primary-cta,
a.next-button {
  text-decoration: none;
}

.primary-cta,
a.next-button {
  justify-content: center;
  align-items: center;
  transition: background 0.2s;
  display: inline-flex;
}

a:focus-visible {
  outline-offset: 4px;
  outline: 3px solid #b99dff;
}

.hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(400px, 0.65fr);
  gap: clamp(48px, 8vw, 132px);
  min-height: 760px;
  padding: 64px clamp(24px, 4.5vw, 72px) 72px;
  display: grid;
  overflow: hidden;
}

.hero-copy {
  flex-direction: column;
  min-width: 0;
  padding-top: 42px;
  display: flex;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  font-size: 13px;
  font-weight: 750;
  display: flex;
}

.eyebrow > span {
  background: currentColor;
  width: 24px;
  height: 2px;
  display: inline-block;
}

.hero h1 {
  letter-spacing: -0.075em;
  max-width: 850px;
  margin: 0;
  font-size: clamp(64px, 7.4vw, 108px);
  font-weight: 760;
  line-height: 0.93;
}

.hero h1 em {
  color: #b99dff;
  letter-spacing: -0.055em;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.lede {
  color: #bdb8ca;
  margin: 38px 0 30px;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.7;
}

.primary-cta {
  color: #17151d;
  background: #ad8cf8;
  border-radius: 12px;
  gap: 8px;
  width: fit-content;
  height: 56px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 760;
}

.primary-cta:hover {
  background: #bfa5ff;
}

.primary-cta svg {
  width: 17px;
  height: 17px;
}

.hero-steps {
  border-top: 1px solid var(--border);
  color: #d1ccda;
  grid-template-columns: repeat(3, 1fr);
  max-width: 760px;
  margin-top: auto;
  padding-top: 46px;
  font-size: 14px;
  display: grid;
}

.hero-steps div {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.hero-steps span {
  color: #b99dff;
  font-size: 13px;
}

.phone-shell {
  color: #17151d;
  background: #f5f2fb;
  border-radius: 28px;
  place-self: start end;
  width: min(100%, 470px);
  min-height: 640px;
  animation: 0.65s cubic-bezier(0.2, 0.75, 0.2, 1) both rise;
  overflow: hidden;
  box-shadow: 0 40px 100px #00000047;
}

.phone-topbar {
  border-bottom: 1px solid #d9d3e1;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  padding: 0 28px;
  display: flex;
}

.phone-logo {
  color: #6849ad;
  letter-spacing: -0.07em;
  font-size: 22px;
  font-weight: 850;
}

.step-count {
  color: #787180;
  font-size: 13px;
}

.builder-content {
  flex-direction: column;
  min-height: 564px;
  padding: 24px 28px 28px;
  display: flex;
}

.profile-image {
  object-fit: cover;
  object-position: center 28%;
  border-radius: 16px;
  width: 100%;
  height: 236px;
  margin-bottom: 24px;
}

.builder-heading h2,
.success-state h2 {
  letter-spacing: -0.06em;
  margin: 0 0 14px;
  font-size: clamp(38px, 3vw, 50px);
  line-height: 0.97;
}

.builder-heading p,
.success-state > p {
  color: #77707e;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.progress {
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: auto;
  padding-top: 24px;
  display: grid;
}

.progress span {
  background: #dcd6e4;
  border-radius: 10px;
  height: 4px;
  transition: background 0.2s;
}

.progress span.active {
  background: #6849ad;
}

.builder-actions {
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  display: flex;
}

.next-button {
  color: #fff;
  background: #694bad;
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  min-width: 128px;
  height: 54px;
  margin-left: auto;
  padding: 0 22px;
  font-size: 15px;
}

.next-button:hover {
  background: #7c5bc3;
}

.next-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

.back-button {
  color: #5b5462;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.back-button:hover {
  background: #ebe6f3;
}

.back-button svg {
  width: 20px;
  height: 20px;
}

.choice-grid {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 30px;
  display: grid;
}

.choice {
  color: #3a3440;
  cursor: pointer;
  text-align: left;
  background: none;
  border: 1px solid #d5cedc;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  padding: 11px 14px;
  transition: all 0.2s;
  display: flex;
}

.choice svg {
  width: 17px;
  height: 17px;
}

.choice:hover,
.choice.selected {
  color: #533394;
  background: #ebe4fa;
  border-color: #6849ad;
}

.pace-list {
  gap: 10px;
  margin-top: 26px;
  display: grid;
}

.pace-option {
  color: #29232f;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 1px solid #d9d3e1;
  border-radius: 12px;
  align-items: flex-start;
  gap: 13px;
  width: 100%;
  padding: 14px;
  display: flex;
}

.pace-option.selected {
  background: #ede6fa;
  border-color: #6849ad;
}

.radio-dot {
  border: 1px solid #8c8492;
  border-radius: 50%;
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  box-shadow: inset 0 0 0 4px #f5f2fb;
}

.pace-option.selected .radio-dot {
  background: #6849ad;
  border-color: #6849ad;
}

.pace-option strong,
.pace-option small {
  display: block;
}

.pace-option strong {
  margin-bottom: 3px;
  font-size: 15px;
}

.pace-option small {
  color: #817988;
  font-size: 13px;
  line-height: 1.4;
}

.success-state {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 564px;
  padding: 48px 34px 34px;
  display: flex;
}

.success-state .eyebrow {
  color: #6849ad;
  margin-bottom: 18px;
}

.success-state > p {
  margin-bottom: 34px;
}

.success-icon {
  color: #6849ad;
  background: #e9dffa;
  border-radius: 50%;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 36px;
  display: grid;
}

.success-icon svg {
  fill: currentColor;
  width: 30px;
  height: 30px;
}

footer {
  border-top: 1px solid var(--border);
  color: #a9a3b4;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 118px;
  padding: 28px clamp(24px, 4.5vw, 72px);
  display: grid;
}

footer p {
  margin: 0;
  font-size: 14px;
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .hero-copy {
    padding-top: 12px;
  }

  .phone-shell {
    justify-self: center;
    width: min(100%, 540px);
  }

  .hero-steps {
    margin-top: 54px;
  }
}

@media (max-width: 600px) {
  .site-header {
    height: 76px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    gap: 50px;
    min-height: 0;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(54px, 17vw, 76px);
  }

  .lede {
    font-size: 16px;
    line-height: 1.65;
  }

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

  .hero-steps div {
    grid-template-columns: 34px 1fr;
    gap: 0;
    display: grid;
  }

  .phone-shell {
    border-radius: 22px;
    min-height: 600px;
  }

  .builder-content {
    min-height: 524px;
    padding: 20px;
  }

  .profile-image {
    height: 220px;
  }

  .builder-heading h2 {
    font-size: 38px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer p {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
