:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #17171c;
  background: #f8f8fb;
  font-synthesis: none;
  --purple: #7545d4;
  --muted: #62616d;
}

* { box-sizing: border-box; }
body { position: relative; isolation: isolate; margin: 0; background: linear-gradient(110deg, #f8f8fb 32%, #f2e9fb 65%, #e5d0f7 100%); }
body::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(130deg, #b777e900 35%, #b777e92b 70%, #b777e908); clip-path: polygon(0 100%, 100% 28%, 100% 100%); }
button, input { font: inherit; }
button, a, input, label { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
a { color: inherit; }

.landing {
  --hero-padding: clamp(24px, calc((100svh - 700px) / 4), 64px);
  --phone-offset: 40px;
  width: min(1180px, calc(100% - 112px));
  min-height: 100svh;
  margin-inline: auto;
  padding-block: var(--hero-padding);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  align-content: center;
  align-items: center;
  gap: 26px 64px;
}

.intro { grid-column: 1; grid-row: 1; align-self: end; container-type: inline-size; }
.hero-details { grid-column: 1; grid-row: 2; align-self: start; position: relative; z-index: 1; }
.brand { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; font-size: 34px; font-weight: 650; letter-spacing: -1.1px; }
.brand-icon { display: block; width: 64px; height: 64px; overflow: hidden; border-radius: 16px; background: white; box-shadow: 0 2px 6px #2a163d0c; }
.brand-icon img { display: block; width: 100%; height: 100%; transform: scale(1.6); }
h1 { margin: 36px 0 0; font-size: 64px; font-size: clamp(26px, 9.3cqi, 64px); line-height: 1.12; font-weight: 750; letter-spacing: -.045em; }
.headline-line { display: block; }
.mobile-break { display: none; }
.headline-accent { color: #7545d4; }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .headline-accent { background: linear-gradient(105deg, #7545d4 10%, #a06ac4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
@media (forced-colors: active) {
  .headline-accent { background: none; color: CanvasText; }
}
.keep-together { white-space: nowrap; }
.supporting-list { max-width: 530px; margin: 0; padding: 0; list-style: none; color: #595961; font-size: 20px; line-height: 1.65; letter-spacing: -.25px; }
.supporting-list li { display: flex; align-items: baseline; gap: 10px; }
.list-emoji { flex: 0 0 1.25em; text-align: center; }
.payoff { margin: 22px 0 0; color: #34313c; font-size: 20px; font-weight: 500; line-height: 1.65; letter-spacing: -.25px; }
.waitlist { margin-top: 36px; max-width: 580px; }
fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.platforms legend { margin-bottom: 12px; padding: 0; font-size: 14px; font-weight: 600; color: #484650; }
.platform-options { display: flex; gap: 10px; }
.platform-option { position: relative; cursor: pointer; }
.platform-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.platform-option > span { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; min-width: 126px; padding: 10px 20px; border: 1px solid #dedce5; border-radius: 9px; background: #fff9; color: #5d5966; font-size: 15px; font-weight: 550; transition: background-color .15s, border-color .15s; }
.platform-option svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.platform-option .apple-icon { fill: currentColor; stroke: none; }
.platform-option .android-eyes { stroke-width: 2.8; }
.platform-option:hover > span { border-color: #a68acf; }
.platform-option input:checked + span { color: #6839bd; border-color: #9670d7; background: #efe7fb; }
.platform-option input:focus-visible + span, :focus-visible { outline: 3px solid #9f7bdd; outline-offset: 4px; }
.platform-option input:disabled + span { cursor: default; opacity: .65; }
.platform-hint, .email-note { margin: 11px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
#email-fields { margin-top: 17px; }
.email-row { display: flex; border: 1px solid #dcd9e2; background: white; border-radius: 10px; box-shadow: 0 1px 2px #1e123408; }
.email-row:focus-within { border-color: #9670d7; box-shadow: 0 0 0 3px #7545d414; }
#email { width: 100%; min-width: 0; height: 60px; border: 0; border-radius: 10px 0 0 10px; padding: 0 18px; background: transparent; color: #282330; font-size: 16px; outline: none; }
#email::placeholder { color: #83808d; }
#email[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #b24456; }
button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; padding: 0 23px; margin: -1px; border: 1px solid transparent; border-radius: 0 10px 10px 0; background: var(--purple); color: white; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .15s; }
button:hover { background: #6436be; }
button:disabled { cursor: wait; background: #8764c7; }
.form-status { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #a33246; }
.form-status:empty { display: none; }
.form-status[data-state="loading"] { color: var(--muted); }
.spinner { width: 15px; height: 15px; border: 2px solid #ffffff60; border-top-color: white; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success { display: flex; align-items: flex-start; gap: 14px; padding: 22px; border: 1px solid #dcd0f0; border-radius: 12px; background: #f0eafa; }
.success-icon { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--purple); color: white; }
.success > div { min-width: 0; overflow-wrap: anywhere; }
.success h2 { margin: 1px 0 6px; font-size: 21px; letter-spacing: -.5px; }
.success p { margin: 0; color: #635671; font-size: 14px; line-height: 1.6; }
.no-script { color: var(--muted); font-size: 14px; line-height: 1.6; }

.preview { grid-column: 2; grid-row: 1 / span 2; position: relative; isolation: isolate; margin: var(--phone-offset) 0 0; justify-self: center; width: 100%; max-width: min(400px, calc((100svh - var(--hero-padding) * 2 - var(--phone-offset)) * 655 / 1325)); }
/* Frame the 1187 × 1325 PNG around the full phone, with clear padding on both sides. */
.phone-image { display: block; width: 100%; height: auto; aspect-ratio: 655 / 1325; object-fit: cover; object-position: 46% center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1100px) {
  .landing { --hero-padding: clamp(24px, 4svh, 48px); width: calc(100% - 80px); grid-template-columns: minmax(0, 1fr) 280px; gap: 26px 48px; }
  .supporting-list, .payoff { font-size: 18px; }
  button { padding-inline: 17px; font-size: 14px; }
}

@media (min-width: 801px) and (max-height: 850px) {
  .landing { --hero-padding: 20px; --phone-offset: 20px; row-gap: 20px; }
  .brand { font-size: 30px; }
  .brand-icon { width: 56px; height: 56px; }
  h1 { margin-top: 24px; font-size: clamp(26px, 8.4cqi, 56px); line-height: 1.1; }
  .supporting-list, .payoff { font-size: 18px; line-height: 1.5; }
  .payoff { margin-top: 16px; }
  .waitlist { margin-top: 24px; }
}

@media (max-width: 800px) {
  body { background: linear-gradient(125deg, #f8f8fb 8%, #f0e3fb 40%, #dec4f4 80%, #d5b1ef 100%); }
  body::before { display: none; }
  .landing { width: min(560px, calc(100% - 48px)); grid-template-columns: 1fr; gap: 0; padding-block: 48px 36px; }
  .hero-details { grid-row: 3; padding-top: 12px; }
  .hero-details::before { content: ""; position: absolute; inset-block: -20px -36px; inset-inline: calc((100% - 100vw) / 2); z-index: -1; background: #f8f8fb; clip-path: polygon(0 0, 100% 20px, 100% 100%, 0 100%); pointer-events: none; }
  .brand { font-size: 29px; gap: 13px; }
  .brand-icon { width: 54px; height: 54px; border-radius: 14px; }
  h1 { margin-top: 26px; margin-bottom: 10px; font-size: clamp(22.1px, 7.905cqi, 54.4px); line-height: 1.1; letter-spacing: -.04em; }
  .mobile-break { display: initial; }
  .desktop-break { display: none; }
  .supporting-list, .payoff { max-width: 470px; font-size: 17px; line-height: 1.5; }
  .payoff { margin-top: 14px; }
  .waitlist { margin-top: 24px; }
  .platforms legend { margin-bottom: 10px; }
  .platform-option { flex: 1; }
  .platform-option > span { min-width: 0; }
  .platform-hint, .email-note { margin-top: 8px; }
  #email-fields { margin-top: 12px; }
  .email-row { flex-direction: column; border: 0; box-shadow: none; background: transparent; gap: 10px; }
  .email-row:focus-within { box-shadow: none; }
  #email { border: 1px solid #dcd9e2; border-radius: 9px; background: white; height: 54px; }
  #email:focus { border-color: #9670d7; box-shadow: 0 0 0 3px #7545d414; }
  button { height: 52px; margin: 0; border-radius: 9px; font-size: 15px; }
  .preview { grid-column: 1; grid-row: 2; width: calc(100% + 48px); max-width: none; height: auto; margin: 0; padding-bottom: 12px; }
  .phone-image { position: relative; left: 3vw; width: min(78vw, 380px); margin: 0 auto; }
}

@media (max-width: 420px) {
  .landing { width: calc(100% - 40px); padding-top: 32px; }
  .preview { width: calc(100% + 40px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
