@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  --ink: #18152a;
  --muted: #716d83;
  --line: #e9e5f2;
  --purple: #7048ed;
  --purple-dark: #4f2fc4;
  --cream: #fbfaff;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
.page-shell { overflow: hidden; }

.hero {
  min-height: 600px;
  padding: 28px clamp(24px, 6vw, 96px) 74px;
  color: var(--white);
  background:
    radial-gradient(circle at 77% 14%, rgba(255,255,255,.16), transparent 25%),
    radial-gradient(circle at 15% 100%, rgba(255,132,110,.14), transparent 29%),
    linear-gradient(135deg, #6942e1 0%, #7750eb 46%, #5a36c8 100%);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.04em;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: #ffcf72;
  font-size: 25px;
  filter: drop-shadow(0 0 12px rgba(255,207,114,.5));
}
.topbar-note {
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  color: rgba(255,255,255,.84);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.02fr) minmax(300px,.98fr);
  align-items: center;
  gap: clamp(40px,8vw,130px);
  max-width: 1180px;
  min-height: 475px;
  margin: 0 auto;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: #8467ef;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #d6c9ff; }
.eyebrow-dot, .tiny-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffcf72;
  box-shadow: 0 0 0 5px rgba(255,207,114,.14);
}
h1, h2 { letter-spacing: -.055em; }
h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(47px,7vw,82px);
  font-weight: 600;
  line-height: .98;
}
h1 em, h2 em {
  color: #ffcf72;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
}
.hero-lead {
  max-width: 510px;
  margin: 29px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.65;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 34px;
  color: rgba(255,255,255,.73);
  font-size: 12px;
}
.hero-proof b { margin-right: 6px; color: #ffcf72; font-size: 10px; }
.visual-card {
  position: relative;
  width: min(100%,445px);
  aspect-ratio: 1 / 1.08;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 36% 36% 43% 43%;
  background: linear-gradient(145deg, rgba(255,255,255,.17), rgba(255,255,255,.04));
  box-shadow: 20px 28px 70px rgba(39,20,116,.28), inset 0 1px rgba(255,255,255,.18);
  transform: rotate(4deg);
}
.visual-card::before, .visual-card::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  filter: blur(1px);
}
.visual-card::before {
  width: 130px;
  height: 130px;
  top: 18%;
  left: 18%;
  background: rgba(255,207,114,.16);
}
.visual-card::after {
  width: 180px;
  height: 180px;
  right: 4%;
  bottom: 10%;
  background: rgba(255,132,110,.17);
}
.orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
}
.orbit-one { width: 73%; height: 55%; top: 23%; left: 14%; transform: rotate(-29deg); }
.orbit-two { width: 45%; height: 81%; top: 9%; left: 28%; transform: rotate(31deg); }
.spark-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  color: #ffcf72;
  font-size: 57px;
  background: radial-gradient(circle, rgba(255,207,114,.36), rgba(255,207,114,.05) 66%);
  box-shadow: 0 0 55px rgba(255,207,114,.23);
  transform: translate(-50%,-50%) rotate(-4deg);
}
.visual-caption {
  position: absolute;
  right: 11%;
  bottom: 9%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 12px;
  color: rgba(255,255,255,.72);
  font-size: 10px;
  background: rgba(31,17,94,.2);
  transform: rotate(-4deg);
}
.visual-caption .tiny-dot { width: 5px; height: 5px; }

.signup-section {
  display: grid;
  grid-template-columns: minmax(280px,.82fr) minmax(340px,1fr);
  gap: clamp(40px,9vw,145px);
  max-width: 1080px;
  margin: 0 auto;
  padding: 100px 24px 112px;
}
.signup-intro { padding-top: 10px; }
h2 {
  max-width: 470px;
  margin: 0;
  font-size: clamp(34px,4vw,51px);
  line-height: 1.03;
}
.signup-intro > p:not(.eyebrow) {
  max-width: 425px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.tester-note {
  display: flex;
  gap: 14px;
  max-width: 410px;
  margin-top: 36px;
  padding: 18px 19px;
  border: 1px solid #e2dafc;
  border-radius: 17px;
  background: #f3f0ff;
}
.note-icon { color: var(--purple); font-size: 22px; line-height: 1.1; }
.tester-note p { margin: 0; color: #635b7e; font-size: 13px; line-height: 1.6; }
.tester-note strong { color: var(--ink); }
.beta-form {
  padding: clamp(24px,4vw,38px);
  border: 1px solid rgba(112,72,237,.11);
  border-radius: 25px;
  background: var(--white);
  box-shadow: 0 22px 60px rgba(50,33,107,.09);
}
.form-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 27px;
  color: #a49ead;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.form-step { color: var(--purple); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 17px; }
.field > span { color: #4b455d; font-size: 12px; font-weight: 700; }
.field i, .check-row i { color: #e96f5c; font-style: normal; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  color: var(--ink);
  background: #fdfcff;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
input, select { height: 47px; padding: 0 14px; }
textarea { min-height: 87px; padding: 13px 14px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #b1acbd; }
input:focus, select:focus, textarea:focus {
  border-color: #987cff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(112,72,237,.1);
}
.field-error { min-height: 0; margin: -3px 0 0; color: #cf5545; font-size: 11px; }
.check-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  color: #6d6878;
  font-size: 12px;
  line-height: 1.45;
  cursor: pointer;
}
.check-row input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.check-box {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid #d5cfdf;
  border-radius: 5px;
  background: #fff;
  transition: background .18s, border-color .18s;
}
.check-row input:checked + .check-box {
  border-color: var(--purple);
  background: var(--purple) center / 11px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 6 2.3 2.2L10 2.7' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.check-row input:focus-visible + .check-box { box-shadow: 0 0 0 4px rgba(112,72,237,.14); }
.checkbox-error { display: block; margin: -5px 0 4px 28px; }
.privacy-copy { margin: 20px 0 23px; color: #9993a3; font-size: 11px; line-height: 1.55; }
.privacy-copy a { color: var(--purple); text-underline-offset: 2px; }
.submit-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  padding: 0 17px 0 21px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(110deg, var(--purple), var(--purple-dark));
  box-shadow: 0 10px 18px rgba(91,54,200,.22);
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.submit-button:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 14px 23px rgba(91,54,200,.25); }
.submit-button:active { transform: translateY(0); }
.submit-button:disabled { cursor: wait; filter: saturate(.55); opacity: .75; }
.button-arrow {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--purple-dark);
  background: #ffcf72;
  font-size: 18px;
}
.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 14px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
}
.form-status.visible { display: block; }
.form-status.success { color: #236c4a; background: #eaf8f0; }
.form-status.error { color: #a74437; background: #fff0ed; }
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 23px 24px 34px;
  border-top: 1px solid #e7e2ee;
  color: #a19aaa;
  font-size: 11px;
}
.brand-small { color: var(--ink); font-size: 15px; }
.brand-small .brand-mark { width: 21px; height: 21px; font-size: 18px; }

@media (max-width: 760px) {
  .hero { min-height: 0; padding: 22px 20px 52px; }
  .topbar-note { padding: 7px 10px; font-size: 9px; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 42px; min-height: 0; padding-top: 78px; }
  .hero-lead { font-size: 15px; }
  .hero-proof { gap: 10px 16px; line-height: 1.5; }
  .visual-card { width: min(84vw,355px); align-self: center; }
  .signup-section { display: block; padding: 70px 20px 75px; }
  .signup-intro { margin-bottom: 38px; }
  .signup-intro > p:not(.eyebrow) { font-size: 15px; }
  .beta-form { padding: 23px 20px; border-radius: 20px; }
  .footer { align-items: flex-start; gap: 18px; padding-inline: 20px; }
  .footer > span:last-child { max-width: 150px; text-align: right; line-height: 1.4; }
}
@media (max-width: 470px) {
  h1 { font-size: 45px; }
  .field-grid { display: block; }
  .visual-caption { right: 6%; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
