:root {
  --ink: #271924;
  --muted: #7d6e75;
  --plum: #4b243f;
  --plum-deep: #2a1427;
  --copper: #c77748;
  --amber: #f0bf74;
  --cream: #f7eee4;
  --soft: #ead8c7;
  --rose: #b86f72;
  --sage: #8da48f;
  --white: #fffaf4;
  --line: rgba(75, 36, 63, 0.14);
  --shadow: 0 22px 58px rgba(42, 20, 39, 0.16);
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 28px;
  --radius-small: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(240, 191, 116, 0.32), transparent 28rem),
    radial-gradient(circle at 90% 10%, rgba(141, 164, 143, 0.22), transparent 30rem),
    linear-gradient(180deg, #fff8ef 0%, #f4e8dd 46%, #f8efe5 100%);
  color: var(--ink);
  font-family: var(--font-body);
}

button, input { font: inherit; }
button:focus-visible, input:focus-visible { outline: 3px solid rgba(199, 119, 72, 0.5); outline-offset: 3px; }
button:disabled { cursor: not-allowed; opacity: 0.55; }

.page { min-height: 100vh; }

.topline {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.88);
  padding: 14px clamp(16px, 5vw, 72px);
  backdrop-filter: blur(18px);
}

.brand, .topline-meta, .cta-row, .trust-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.brand { font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--plum) 0%, var(--copper) 100%);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.brand-mark.large { width: 78px; height: 78px; margin: 0 auto 16px; font-size: 22px; }

.topline-meta { justify-content: flex-end; color: var(--muted); font-size: 14px; font-weight: 800; }
.pill {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.78);
  color: var(--plum);
  padding: 8px 13px;
  font-weight: 900;
}

.hero-band, .story-band, .screen-shell, .source-note, .footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 1.04fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(32px, 5vw, 64px) 0 38px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(199, 119, 72, 0.24);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.64);
  color: var(--copper);
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1, h2, .screen-title, .question-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 720px;
  margin-top: 18px;
  font-size: clamp(42px, 4.8vw, 64px);
  line-height: 1.02;
}

.hero-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
}

.hero-explainer, .lead-urgency, .offer-warning {
  display: grid;
  gap: 5px;
  margin: 18px 0 0;
  border: 1px solid rgba(199, 119, 72, 0.22);
  border-radius: var(--radius-small);
  background: rgba(255, 250, 244, 0.72);
  padding: 15px 16px;
  color: var(--muted);
  line-height: 1.45;
}

.hero-explainer strong, .lead-urgency strong, .offer-warning strong { color: var(--plum); font-family: var(--font-display); font-size: 18px; }
.cta-row { margin-top: 24px; }

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--plum) 0%, #6e315c 52%, var(--copper) 100%);
  color: var(--white);
  padding: 15px 24px;
  font-weight: 950;
  box-shadow: 0 18px 35px rgba(75, 36, 63, 0.22);
}
.button.secondary { border: 1px solid var(--line); background: var(--white); color: var(--plum); box-shadow: none; }
.button.full { width: 100%; }

.trust-line { margin-top: 16px; }
.trust-line span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.72);
  color: var(--muted);
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 850;
}

.hero-art { position: relative; min-height: 520px; }
.hero-photo, .story-photo {
  display: block;
  width: 100%;
  object-fit: cover;
  background: var(--soft);
}
.hero-photo {
  height: min(520px, 50vw);
  min-height: 390px;
  border: 1px solid rgba(75, 36, 63, 0.12);
  border-radius: 48px;
  box-shadow: var(--shadow);
}
.story-photo {
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(75, 36, 63, 0.12);
}
.founder-meter {
  position: absolute;
  right: 0;
  bottom: 18px;
  width: min(320px, 86vw);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.94);
  box-shadow: var(--shadow);
  padding: 18px;
}
.founder-meter strong { display: block; font-family: var(--font-display); font-size: 24px; }
.founder-meter span { color: var(--muted); font-size: 14px; }
.meter-track, .progress-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(75, 36, 63, 0.12);
  margin-top: 13px;
}
.meter-track i, .progress-bar i {
  display: block;
  width: var(--progress, 26%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--plum), var(--copper), var(--amber));
}

.phone-scene {
  display: grid;
  min-height: 520px;
  place-items: center;
  border-radius: 48px;
  background:
    linear-gradient(140deg, rgba(75, 36, 63, 0.96), rgba(106, 52, 86, 0.76)),
    radial-gradient(circle at 18% 16%, rgba(240, 191, 116, 0.5), transparent 18rem);
  box-shadow: var(--shadow);
}
.phone {
  width: 245px;
  min-height: 462px;
  border: 10px solid #241b25;
  border-radius: 38px;
  background: #fff8ef;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
  padding: 24px 16px 18px;
}
.notch { width: 76px; height: 20px; border-radius: 0 0 16px 16px; background: #241b25; margin: -24px auto 18px; }
.phone strong { display: block; margin-bottom: 14px; color: var(--plum); font-family: var(--font-display); font-size: 21px; }
.phone span {
  display: block;
  margin: 9px 0;
  border: 1px solid rgba(75, 36, 63, 0.1);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(240, 191, 116, 0.18), rgba(141, 164, 143, 0.16));
  padding: 13px;
  color: var(--ink);
  font-weight: 850;
}
.phone button {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  background: var(--copper);
  color: var(--white);
  font-weight: 900;
}

.story-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 30px 0 22px;
}
.story-band article, .panel, .quiz-scarcity {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 244, 0.72);
  box-shadow: 0 12px 32px rgba(75, 36, 63, 0.08);
  padding: 20px;
}
.story-band h2 { margin-top: 16px; font-size: 28px; line-height: 1.08; }
.story-band p, .question-hint, .fineprint, .source-note, .footer { color: var(--muted); line-height: 1.5; }
.source-note { padding: 0 0 42px; font-weight: 800; }

.scene-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(75, 36, 63, 0.95), rgba(199, 119, 72, 0.72));
  padding: 18px;
  color: var(--white);
}
.scene-card .orb {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(240, 191, 116, 0.32);
}
.scene-card strong { position: absolute; left: 18px; bottom: 18px; z-index: 1; font-family: var(--font-display); font-size: 24px; }
.mini-phone {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  width: 128px;
  min-height: 154px;
  border: 7px solid rgba(255, 250, 244, 0.9);
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.92);
  padding: 18px 10px 10px;
}
.mini-phone i { border-radius: 8px; background: hsl(calc(24 + var(--i) * 15) 58% 70%); min-height: 20px; }
.heatmap .mini-phone { grid-template-columns: repeat(7, 1fr); }

.screen-shell { padding: 42px 0; }
.progress-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--plum);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
}
.progress-bar { --progress: 0%; margin-bottom: 20px; }
.quiz-scarcity {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.quiz-scarcity p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-weight: 800; }
.quiz-scarcity span { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.quiz-scarcity strong { display: block; color: var(--plum); font-family: var(--font-display); font-size: 20px; }

.quiz-layout, .lead-grid, .offer-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}
.quiz-art, .side-art { display: grid; gap: 14px; }
.quiz-art p { margin: 0; color: var(--muted); font-size: 18px; }
.quiz-photo-card {
  position: sticky;
  top: 96px;
  overflow: hidden;
  min-height: 520px;
  margin: 0;
  border: 1px solid rgba(75, 36, 63, 0.13);
  border-radius: 34px;
  background: var(--soft);
  box-shadow: var(--shadow);
}
.quiz-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}
.quiz-photo-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent 0%, rgba(39, 25, 36, 0.74) 100%);
  pointer-events: none;
}
.quiz-photo-card figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  margin: 0;
  color: #fffaf4;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
  text-shadow: 0 2px 18px rgba(39, 25, 36, 0.44);
}
.panel { padding: clamp(22px, 4vw, 38px); }
.question-title, .screen-title { font-size: clamp(36px, 5vw, 58px); line-height: 1.02; }
.options { display: grid; gap: 12px; margin-top: 24px; }
.option-button {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 244, 0.78);
  color: var(--ink);
  cursor: pointer;
  padding: 12px;
  text-align: left;
}
.option-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  background: rgba(199, 119, 72, 0.16);
  color: var(--plum);
  font-weight: 950;
}
.option-label { display: block; color: var(--ink); font-weight: 950; }
.option-detail { color: var(--muted); font-size: 14px; }

.summary-list { display: grid; gap: 10px; }
.summary-row {
  display: grid;
  gap: 3px;
  border-left: 6px solid var(--copper);
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.72);
  padding: 13px 14px;
}
.summary-row b { color: var(--plum); font-family: var(--font-display); }
.summary-row span { color: var(--muted); font-size: 14px; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.pillar-grid span {
  border-radius: 18px;
  background: rgba(141, 164, 143, 0.16);
  color: var(--plum);
  padding: 12px;
  font-weight: 900;
  text-align: center;
}

.form-field { display: grid; gap: 8px; margin-bottom: 14px; }
.form-field label { color: var(--muted); font-size: 14px; font-weight: 900; }
.form-field input {
  min-height: 54px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.86);
  color: var(--ink);
  padding: 13px 15px;
}
.checkbox { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 18px; color: var(--muted); font-size: 14px; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--plum); }
.form-error { min-height: 20px; margin: 0 0 10px; color: #a14343; font-weight: 900; }
.price-panel { border: 2px solid rgba(199, 119, 72, 0.26); background: linear-gradient(180deg, #fff8ef 0%, #f3e3d3 100%); }
.price-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price { margin: 22px 0 6px; color: var(--plum); font-family: var(--font-display); font-size: 62px; font-weight: 800; line-height: 1; }
.price small { color: var(--muted); font-size: 20px; }
.was { color: var(--muted); }
.offer-list { display: grid; gap: 11px; margin: 22px 0 24px; padding: 0; list-style: none; }
.offer-list li { display: flex; gap: 10px; color: var(--ink); }
.offer-list i { display: grid; width: 26px; height: 26px; flex: 0 0 26px; place-items: center; border-radius: 50%; background: var(--copper); color: var(--white); font-style: normal; font-weight: 900; }
.thanks-panel { max-width: 720px; margin: 0 auto; text-align: center; }
.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 24px 0 38px; font-size: 13px; font-weight: 800; }

@media (max-width: 860px) {
  .topline { position: relative; align-items: flex-start; }
  .topline-meta { justify-content: flex-start; }
  .hero-band, .quiz-layout, .lead-grid, .offer-grid, .story-band { grid-template-columns: 1fr; }
  .hero-band { padding-top: 30px; }
  .hero-art, .phone-scene { min-height: 430px; }
  .hero-photo { height: auto; min-height: 0; aspect-ratio: 4 / 3; border-radius: 34px; }
  .quiz-photo-card { position: relative; top: auto; min-height: 320px; }
  .quiz-photo-card img { min-height: 320px; }
  .phone { width: 220px; min-height: 410px; }
  .quiz-scarcity { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .hero-band, .story-band, .screen-shell, .source-note, .footer { width: min(100% - 24px, 1180px); }
  .hero-copy h1 { font-size: 42px; }
  .question-title, .screen-title { font-size: 36px; }
  .quiz-scarcity { grid-template-columns: 1fr; }
  .topline { padding: 12px; }
  .button { width: 100%; }
}
