:root {
  --bg: #0a090c;
  --panel: rgba(21, 19, 25, 0.74);
  --panel-solid: #151319;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f6f3f7;
  --muted: #aaa4af;
  --accent-a: #ff7a66;
  --accent-b: #c66bff;
  --accent-c: #76e4d1;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 68% 12%, rgba(198, 107, 255, 0.1), transparent 28%),
    radial-gradient(circle at 22% 35%, rgba(255, 122, 102, 0.07), transparent 26%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.page-glow {
  position: fixed;
  z-index: -1;
  width: 42vw;
  height: 42vw;
  max-width: 650px;
  max-height: 650px;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.18;
}
.glow-one { background: var(--accent-a); top: -22vw; left: -16vw; }
.glow-two { background: var(--accent-b); top: 15vh; right: -22vw; }

.section-shell, .site-header {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 10px 28px rgba(198, 107, 255, 0.18);
  color: white;
}
.header-cta {
  padding: 10px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: #efebf2;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, background 0.2s ease;
}
.header-cta:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.07); }

.hero {
  min-height: calc(100svh - 84px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  padding: 64px 0 90px;
}

.eyebrow, .section-label {
  color: #bbb4c1;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-c);
  box-shadow: 0 0 18px var(--accent-c);
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 780;
}
.gradient-text {
  background: linear-gradient(100deg, var(--accent-a), var(--accent-b) 60%, #e59eff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subcopy {
  max-width: 610px;
  color: #c3bdc7;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.primary-button, .secondary-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 780;
  color: white;
  background: linear-gradient(100deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 16px 42px rgba(198, 107, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 21px 48px rgba(198, 107, 255, 0.3); }
.microcopy { color: #807986; font-size: 12px; }
.signal-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 38px; color: #908a96; font-size: 12px; }

.hero-visual {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  transform: rotate(-18deg);
}
.orbit-a { width: 470px; height: 600px; }
.orbit-b { width: 380px; height: 500px; border-color: rgba(198,107,255,0.16); }

.profile-card {
  position: absolute;
  width: min(330px, 78vw);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(41,38,48,0.96), rgba(17,16,21,0.96));
  box-shadow: var(--shadow);
}
.card-front { overflow: hidden; z-index: 3; transform: rotate(-4deg); }
.card-mid { transform: translate(40px, 50px) rotate(7deg); opacity: 0.65; filter: saturate(0.75); z-index: 2; }
.card-back { transform: translate(-50px, 85px) rotate(-11deg); opacity: 0.32; z-index: 1; }
.card-photo {
  position: relative;
  height: 400px;
  overflow: hidden;
  background:
    radial-gradient(circle at 55% 28%, rgba(255,255,255,0.28), transparent 6%),
    radial-gradient(circle at 48% 38%, rgba(240, 164, 214, 0.45), transparent 24%),
    linear-gradient(150deg, #392f45 0%, #211e2a 42%, #17161c 100%);
}
.card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,5,8,0.72), transparent 48%);
}
.portrait-glow {
  position: absolute;
  inset: 12% 14% 0;
  border-radius: 50% 50% 18% 18%;
  background: radial-gradient(circle at 50% 40%, rgba(255, 198, 182, 0.55), transparent 26%), rgba(206,108,255,0.12);
  filter: blur(18px);
}
.portrait-head {
  position: absolute;
  z-index: 1;
  width: 92px;
  height: 112px;
  left: calc(50% - 46px);
  top: 21%;
  border-radius: 45% 45% 48% 48%;
  background: linear-gradient(155deg, #d8a887, #985e55);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.portrait-body {
  position: absolute;
  z-index: 1;
  width: 190px;
  height: 205px;
  left: calc(50% - 95px);
  bottom: -25px;
  border-radius: 46% 46% 8% 8%;
  background: linear-gradient(160deg, #8e4d62, #302a36);
}
.card-info {
  padding: 18px 18px 19px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.card-info h2 { font-size: 19px; margin-bottom: 4px; letter-spacing: -0.03em; }
.card-info h2 span { color: #aaa4af; font-weight: 450; }
.card-info p { color: #938d98; font-size: 11px; margin: 0; }
.status-pill {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(118,228,209,0.09);
  border: 1px solid rgba(118,228,209,0.13);
  color: #9ae8db;
  font-size: 9px;
  white-space: nowrap;
}
.fake-avatar { width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; color: white; font-size: 26px; font-weight: 750; margin: 18px; }
.avatar-teal { background: linear-gradient(145deg, #56d7cf, #253638); }
.avatar-lilac { background: linear-gradient(145deg, #c677f4, #4b315f); }
.fake-lines { padding: 0 18px 22px; display: grid; gap: 8px; }
.fake-lines span { height: 8px; display: block; border-radius: 999px; background: rgba(255,255,255,0.09); }
.fake-lines span:nth-child(1) { width: 70%; }
.fake-lines span:nth-child(2) { width: 48%; }
.fake-lines span:nth-child(3) { width: 56%; }
.floating-chip {
  position: absolute;
  z-index: 4;
  padding: 10px 13px;
  background: rgba(16,14,19,0.74);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  font-size: 11px;
  color: #dad3df;
}
.chip-top { top: 14%; right: 3%; }
.chip-bottom { bottom: 12%; left: 4%; }

.why { padding: 50px 0 120px; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 60px;
  padding: 24px 0 42px;
  border-bottom: 1px solid var(--border);
}
.why-grid h2 { max-width: 680px; margin: 0; font-size: clamp(36px, 5vw, 60px); line-height: 1.03; letter-spacing: -0.055em; }
.why-grid p { margin: 0; color: #aba5af; font-size: 16px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.feature-card {
  padding: 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.025);
  border-radius: var(--radius-md);
}
.feature-icon { color: #817b87; font-size: 12px; margin-bottom: 30px; }
.feature-card h3 { margin-bottom: 8px; letter-spacing: -0.025em; }
.feature-card p { margin: 0; color: #918b96; font-size: 13px; line-height: 1.6; }

.access-section {
  padding: 30px 0 120px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: start;
}
.access-copy h2 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.055em; line-height: 1.02; margin: 16px 0 20px; }
.access-copy > p { color: #a69fa9; max-width: 470px; line-height: 1.7; }
.premium-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 16px;
  max-width: 470px;
  border: 1px solid rgba(198,107,255,0.16);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(198,107,255,0.07), rgba(255,122,102,0.03));
}
.premium-icon { width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; background: rgba(255,255,255,0.08); }
.premium-note strong, .premium-note span { display: block; }
.premium-note strong { font-size: 13px; margin-bottom: 3px; }
.premium-note span { color: #928a99; font-size: 12px; line-height: 1.55; }

.tally-shell {
  min-height: 570px;
  border: 1px solid var(--border);
  background: rgba(17,15,21,0.72);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow);
}
.tally-container { width: 100%; height: 780px; overflow: hidden; border-radius: 20px; background: #fff; }
#tally-iframe { width: 100%; height: 100%; display: block; border: 0; }
.tally-placeholder { min-height: 540px; display: grid; place-items: center; text-align: center; align-content: center; padding: 50px; }
.placeholder-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; background: linear-gradient(135deg, var(--accent-a), var(--accent-b)); font-weight: 900; box-shadow: 0 15px 40px rgba(198, 107, 255, 0.2); margin-bottom: 18px; }
.tally-placeholder h3 { margin-bottom: 8px; font-size: 20px; }
.tally-placeholder p { max-width: 380px; color: #89828e; font-size: 13px; line-height: 1.65; }
code { color: #cdc4d1; }
.secondary-button { margin-top: 8px; padding: 10px 14px; color: #ddd6e1; background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-radius: 999px; font-size: 12px; }

.site-footer {
  border-top: 1px solid var(--border);
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #716a76;
  font-size: 12px;
}
.footer-links a:hover { color: #b7b0bb; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 45px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 540px; margin-top: -10px; }
  .why-grid, .access-section { grid-template-columns: 1fr; gap: 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .access-section { padding-bottom: 80px; }
}

@media (max-width: 600px) {
  .section-shell, .site-header { width: min(calc(100% - 28px), var(--max)); }
  .site-header { height: 70px; }
  .brand { font-size: 13px; }
  .brand-mark { width: 28px; height: 28px; border-radius: 9px; }
  .header-cta { font-size: 11px; padding: 9px 12px; }
  .hero { min-height: unset; padding: 54px 0 36px; gap: 18px; }
  h1 { font-size: clamp(47px, 15vw, 68px); }
  .hero-subcopy { font-size: 16px; line-height: 1.55; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 9px; }
  .primary-button { width: 100%; justify-content: space-between; }
  .signal-row { gap: 10px 16px; margin-top: 26px; }
  .hero-visual { min-height: 460px; transform: scale(0.94); margin-inline: -22px; }
  .profile-card { width: 300px; }
  .card-photo { height: 340px; }
  .orbit-a { width: 350px; height: 460px; }
  .orbit-b { width: 300px; height: 410px; }
  .chip-top { top: 8%; right: 1%; }
  .chip-bottom { bottom: 8%; left: 1%; }
  .why { padding: 36px 0 70px; }
  .why-grid { padding-bottom: 30px; }
  .why-grid h2 { font-size: 38px; }
  .access-section { padding-top: 10px; }
  .access-copy h2 { font-size: 42px; }
  .tally-shell { padding: 8px; border-radius: 23px; }
  .tally-container { height: 720px; }
  .tally-placeholder { min-height: 500px; padding: 30px 20px; }
  .site-footer { min-height: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.demo-form { padding: 30px 24px 24px; }
.form-heading { padding: 2px 2px 18px; }
.form-kicker { display: inline-block; color: #8a8390; font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; font-weight: 800; margin-bottom: 8px; }
.form-heading h3 { margin-bottom: 5px; font-size: 25px; letter-spacing: -0.04em; }
.form-heading p { margin: 0; color: #89828d; font-size: 12px; }
#demo-early-access-form { display: grid; gap: 13px; }
#demo-early-access-form label, #demo-early-access-form legend { color: #cbc5cf; font-size: 11px; font-weight: 700; }
#demo-early-access-form label > span, #demo-early-access-form legend > span { color: #d986ff; }
#demo-early-access-form label small { color: #746d78; font-size: 9px; margin-left: 5px; font-weight: 500; }
#demo-early-access-form input[type="email"],
#demo-early-access-form input[type="tel"],
#demo-early-access-form select {
  width: 100%;
  height: 47px;
  margin-top: 7px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 13px;
  outline: none;
  padding: 0 13px;
  color: #efeaf1;
  background: rgba(255,255,255,0.045);
  font: inherit;
  font-size: 12px;
  color-scheme: dark;
  transition: border-color .18s ease, background .18s ease;
}
#demo-early-access-form input:focus, #demo-early-access-form select:focus { border-color: rgba(198,107,255,0.55); background: rgba(255,255,255,0.06); }
#demo-early-access-form input::placeholder { color: #68616d; }
.form-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#demo-early-access-form fieldset { border: 0; padding: 3px 0 0; margin: 0; }
#demo-early-access-form legend { padding: 0 0 7px; }
.plan-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 11px;
  margin-top: 8px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
  cursor: pointer;
}
.plan-option:has(input:checked) { border-color: rgba(198,107,255,0.42); background: linear-gradient(150deg, rgba(198,107,255,0.08), rgba(255,122,102,0.03)); }
.plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.radio-ui { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 1px; border: 1px solid #69616e; border-radius: 50%; }
.plan-option input:checked + .radio-ui { border: 5px solid #c66bff; }
.plan-copy { display: block !important; min-width: 0; }
.plan-copy strong, .plan-copy small { display: block !important; }
.plan-copy strong { color: #e4dfe6; font-size: 11px; margin-bottom: 3px; }
.plan-copy small { color: #837b87; line-height: 1.45; font-size: 9px !important; font-weight: 500 !important; margin: 0 !important; }
.premium-badge { margin-left: auto; flex: 0 0 auto; color: #bc91cc !important; font-size: 8px !important; letter-spacing: .08em; padding-top: 2px; }
.form-submit { width: 100%; justify-content: space-between; margin-top: 2px; }
.form-footnote { margin: 2px 2px 0 !important; color: #625b67 !important; font-size: 9px !important; line-height: 1.5 !important; font-weight: 500 !important; }
.demo-success { padding: 11px 12px; border-radius: 12px; border: 1px solid rgba(118,228,209,0.17); background: rgba(118,228,209,0.06); color: #9be5db; font-size: 10px; line-height: 1.45; }
.tally-container { min-height: 700px; }
@media (max-width: 600px) {
  .demo-form { padding: 26px 17px 18px; }
  .tally-container { height: 720px; }
}
