:root {
  --mohz-lumen: #fffcf4;
  --mohz-blackout: #0f0f0f;
  --mohz-neutral-600: #3f3e3c;
  --mohz-neutral-700: #1c1b19;
  --mohz-neutral-900: #020202;
  --mohz-blue-300: #7e93ff;
  --mohz-magenta-500: #ff0090;
  --mohz-red-500: #ff4754;
  --background: var(--mohz-blackout);
  --foreground: var(--mohz-lumen);
  --muted: var(--mohz-neutral-700);
  --muted-foreground: #c1bfba;
  --border: var(--mohz-neutral-600);
  --input: #91908c;
  --ring: var(--mohz-blue-300);
  --primary: var(--mohz-lumen);
  --primary-foreground: var(--mohz-blackout);
  --community: var(--mohz-magenta-500);
  --destructive: var(--mohz-red-500);
  --font-display: "Krona One", sans-serif;
  --font-sans: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
}

button, input, select { font: inherit; }

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

.experience {
  isolation: isolate;
  position: relative;
  display: flex;
  width: 100%;
  min-height: 100svh;
  max-width: 32rem;
  margin: 0 auto;
  overflow: hidden;
  flex-direction: column;
  background: var(--background);
}

.experience::before,
.experience::after,
.ambient {
  position: absolute;
  z-index: -1;
  display: block;
  content: "";
  border: 1px solid var(--border);
  opacity: .35;
  pointer-events: none;
}

.experience::before {
  width: 26rem;
  height: 11rem;
  top: 11rem;
  left: -12rem;
  transform: rotate(-24deg);
}

.experience::after {
  width: 24rem;
  height: 16rem;
  bottom: -8rem;
  right: -10rem;
  transform: rotate(34deg);
}

.ambient-one {
  width: 15rem;
  height: 15rem;
  top: -8rem;
  right: -7rem;
  transform: rotate(45deg);
}

.ambient-two {
  width: 9rem;
  height: 19rem;
  bottom: 9rem;
  left: -6rem;
  transform: rotate(28deg);
}

.topbar {
  display: flex;
  min-height: 3.25rem;
  padding: .875rem 1.5rem 0;
  align-items: center;
  justify-content: space-between;
}

.logo { width: 4.5rem; height: auto; }

.educational-label,
.eyebrow,
.step-label {
  margin: 0;
  color: var(--community);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.educational-label { color: var(--muted-foreground); font-size: .625rem; }

.progress-wrap { padding: .75rem 1.5rem .125rem; }

.progress {
  display: flex;
  gap: .3rem;
}

.progress span {
  display: block;
  flex: 1 1 0;
  height: .1875rem;
  border-radius: 100vmax;
  background: var(--border);
}

.progress span.is-complete { background: var(--foreground); }

.prototype-note {
  min-height: 1.5rem;
  margin: .25rem 1.5rem 0;
  color: var(--muted-foreground);
  font-size: .75rem;
  line-height: 1.25rem;
}

body:not([data-demo="true"]) .prototype-note {
  display: none;
}

.screen {
  display: none;
  flex: 1;
  min-height: 0;
  padding: 1.25rem 1.5rem 1.5rem;
  flex-direction: column;
  animation: screen-in .25s ease-out both;
}

.screen.is-active { display: flex; }

#lead-form {
  display: none;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

#lead-form.is-active { display: flex; }

.screen-copy { max-width: 28rem; }

h1 {
  max-width: 28rem;
  margin: .75rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 6.5vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.23;
}

.lead {
  margin: .875rem 0 0;
  color: var(--muted-foreground);
  font-size: .9375rem;
  line-height: 1.5;
}

.hero-screen {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh - 7rem);
}

.hero-scene {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background: var(--background);
}

.hero-scene::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(15, 15, 15, .18);
}

.hero-picture { display: block; width: 100%; height: 100%; }

.hero-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  filter: blur(3px);
  transform: scale(1.04);
}

.hero-copy { margin-top: clamp(1.5rem, 5svh, 3.5rem); }
.hero-copy h1 { max-width: 21rem; }
.hero-footer .lead { max-width: 21rem; margin: 0 0 1.5rem; color: var(--foreground); }

.screen-footer { margin-top: auto; }

.microcopy, .legal-copy {
  margin: 0 0 1rem;
  color: var(--muted-foreground);
  font-size: .8125rem;
  line-height: 1.45;
}

.button {
  display: inline-flex;
  width: 100%;
  min-height: 3.5rem;
  padding: .75rem 1rem;
  border: 1px solid transparent;
  border-radius: 1.25rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}

.button:active { transform: translateY(1px); }
.button:focus-visible, .text-action:focus-visible, .back-button:focus-visible, input:focus-visible, .choice-card:focus-within { outline: 3px solid color-mix(in srgb, var(--ring) 55%, transparent); outline-offset: 3px; }

.button-primary { background: var(--primary); color: var(--primary-foreground); }
.button-primary:hover { opacity: .88; }

.insight-list {
  display: grid;
  gap: .875rem;
  padding: 0;
  margin: auto 0;
  list-style: none;
}

.insight-list li {
  display: grid;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: .875rem;
  grid-template-columns: 2.25rem 1fr;
  gap: .75rem;
  color: var(--foreground);
  font-size: .9375rem;
  line-height: 1.45;
}

.insight-list span { color: var(--community); font-size: .75rem; font-weight: 700; }

.form-header { display: flex; min-height: 2.5rem; align-items: start; justify-content: space-between; }
.back-button { min-height: 2.75rem; padding: .25rem 0; border: 0; background: transparent; color: var(--muted-foreground); cursor: pointer; font-size: .875rem; text-decoration: underline; text-underline-offset: .25rem; }

.field-stack { display: grid; gap: .5rem; margin: 0; }
.field-stack label, .choice-stack legend { color: var(--foreground); font-size: .875rem; font-weight: 700; }
.field-stack label span { color: var(--muted-foreground); font-weight: 400; }

.capture-form-screen {
  overflow-y: auto;
}

.capture-fields {
  display: grid;
  gap: .875rem;
  margin: 1.5rem 0 0;
}

.capture-form-screen .field-phone { margin-top: .5rem; }
.capture-form-screen .screen-footer { margin-top: 1.5rem; }

.field-help {
  margin: -.125rem 0 0;
  color: var(--muted-foreground);
  font-size: .75rem;
  line-height: 1.35;
}

input:not([type="checkbox"]):not([type="radio"]), select {
  width: 100%;
  min-height: 3.5rem;
  padding: .75rem 1rem;
  border: 1px solid var(--input);
  border-radius: 1.25rem;
  background: transparent;
  color: var(--foreground);
  font-size: 1rem;
}

input::placeholder { color: var(--muted-foreground); opacity: 1; }
select { appearance: none; }

.field-error { min-height: 1.25rem; margin: 0; color: var(--destructive); font-size: .8125rem; line-height: 1.25rem; }

.choice-stack { display: grid; gap: .75rem; padding: 0; margin: auto 0 1.5rem; border: 0; }
.choice-card { display: flex; min-height: 4.5rem; padding: 1rem; border: 1px solid var(--border); border-radius: .875rem; align-items: center; gap: .875rem; cursor: pointer; font-size: 1rem; line-height: 1.35; }
.choice-card:has(input:checked) { border-color: var(--foreground); background: var(--muted); }
.choice-card input, .consent-row input { width: 1.125rem; height: 1.125rem; margin: 0; accent-color: var(--foreground); flex: 0 0 auto; }

.consent-stack { display: grid; gap: .75rem; margin: 1.5rem 0; }
.consent-row { display: flex; gap: .75rem; align-items: start; color: var(--muted-foreground); cursor: pointer; font-size: .8125rem; line-height: 1.45; }
.consent-row a { color: var(--foreground); text-underline-offset: .2rem; }
.consent-row.optional { margin-top: .5rem; }

.success-screen { padding-top: .75rem; justify-content: center; text-align: center; }
.success-copy { margin: 0 auto; }
.success-copy h1 { margin-right: auto; margin-left: auto; }
.guide-cover { display: block; width: min(9rem, 40vw); height: auto; margin: 1rem auto; border: 1px solid var(--border); border-radius: .875rem; }
.guide-actions { display: grid; gap: .625rem; }
.text-action { min-height: 2.5rem; border: 0; background: transparent; color: var(--foreground); cursor: pointer; font-family: var(--font-sans); font-size: .875rem; font-weight: 700; text-decoration: underline; text-underline-offset: .3rem; }
.share-status { min-height: 1.25rem; margin: 0; color: var(--muted-foreground); font-size: .75rem; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@keyframes screen-in { from { opacity: 0; transform: translateY(.75rem); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 48rem) {
  body { padding: 2rem; background: var(--mohz-neutral-900); }
  .experience { min-height: calc(100svh - 4rem); border: 1px solid var(--border); border-radius: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
