/* ---------------------------------------------------------------
   DECORATIVE GROUND — concentric rings + brand butterflies
--------------------------------------------------------------- */
.ground {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.55;
}
.ring--1 { width: 620px; height: 620px; }
.ring--2 { width: 900px; height: 900px; }
.ring--3 { width: 1180px; height: 1180px; opacity: 0.35; }
.ring--axis { position: absolute; background: var(--line); opacity: 0.5; }
.ring--axis.h { top: 50%; left: 0; right: 0; height: 1px; }
.ring--axis.v { left: 50%; top: 0; bottom: 0; width: 1px; }
.flit { position: absolute; color: var(--rose); opacity: 0.28; }
.flit--a { top: 12%; left: 10%; width: 30px; transform: rotate(-12deg); }
.flit--b { bottom: 16%; right: 9%; width: 22px; transform: rotate(18deg); }
.flit--c { top: 22%; right: 16%; width: 16px; transform: rotate(-6deg); opacity: 0.18; }
@media (max-width: 640px) {
  .ring--1 { width: 340px; height: 340px; }
  .ring--2 { width: 500px; height: 500px; }
  .ring--3 { width: 660px; height: 660px; }
}

/* ---------------------------------------------------------------
   LAYOUT
--------------------------------------------------------------- */
.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px;
}
.frame {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.brandbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brandbar img {
  display: block;
  height: 34px;
  width: auto;
  padding: 5px 7px;
  background: #fbf1ee;
  border-radius: 10px;
}
.eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
}
.track { height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; }
.track > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose-deep), var(--rose));
  transition: width 0.5s cubic-bezier(.65,0,.35,1);
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 40px 36px;
  box-shadow: 0 1px 2px hsl(var(--shadow) / 0.06), 0 18px 40px -22px hsl(var(--shadow) / 0.35);
}
@media (max-width: 640px) { .card { padding: 30px 22px; border-radius: 20px; } }
.card.enter { animation: rise 0.5s cubic-bezier(.2,.7,.3,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .card.enter { animation: none; }
  .track > span { transition: none; }
}

/* ---------------------------------------------------------------
   INTRO
--------------------------------------------------------------- */
.intro-logo {
  display: block; margin: 0 auto 26px; max-width: 320px; width: 78%; height: auto;
  padding: 16px 20px; background: #fbf1ee; border-radius: 18px;
}
.intro h1 { font-size: 27px; color: var(--ink); text-align: center; }
.intro .lede {
  margin-top: 12px; text-align: center; color: var(--ink-soft);
  font-size: 15px; line-height: 1.6; max-width: 46ch; margin-left: auto; margin-right: auto;
}
.field { margin-top: 28px; }
.field label {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px;
}
.field input {
  width: 100%; font-size: 17px; font-family: inherit; color: var(--ink);
  background: transparent; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; min-height: 48px;
}
.field input::placeholder { color: var(--ink-soft); opacity: 0.6; }
.field input:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; border-color: var(--rose); }

.consent {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.consent input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--rose);
  flex: none;
}
.consent label { font-size: 13px; line-height: 1.55; color: var(--ink-soft); }

.footnote {
  text-align: center; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); opacity: 0.75; margin-top: 30px;
}

/* ---------------------------------------------------------------
   BUTTONS
--------------------------------------------------------------- */
.btn-primary {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%; min-height: 52px; margin-top: 22px; border: none; box-sizing: border-box;
  border-radius: 999px; background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: var(--rose-ink); font-size: 14px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  box-shadow: 0 14px 28px -14px hsl(var(--shadow) / 0.55);
}
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); }
.btn-primary:active:not(:disabled) { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.42; cursor: not-allowed; box-shadow: none; }
.btn-primary:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }

.btn-ghost {
  display: block; width: 100%; min-height: 48px; margin-top: 12px;
  border: 1px solid var(--line); border-radius: 999px; background: transparent;
  color: var(--ink-soft); font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); }
.btn-ghost:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

/* ---------------------------------------------------------------
   QUESTION SCREEN
--------------------------------------------------------------- */
.qhead { margin-top: 14px; font-size: 22px; color: var(--ink); }
@media (max-width: 640px) { .qhead { font-size: 20px; } }
.options { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.option {
  width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 15px 18px; min-height: 52px; font-size: 15px; line-height: 1.5;
  color: var(--ink); cursor: pointer; display: flex; align-items: center; gap: 12px;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.option:hover { border-color: var(--rose); background: var(--tint); }
.option:active { transform: scale(0.995); }
.option:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.option[aria-pressed="true"] {
  border-color: var(--rose); background: var(--tint); box-shadow: inset 0 0 0 1px var(--rose);
}
.option .dot {
  flex: none; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--line);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.option[aria-pressed="true"] .dot { background: var(--rose); border-color: var(--rose); }

/* ---------------------------------------------------------------
   RESULT SCREEN
--------------------------------------------------------------- */
.result-logo {
  display: block; margin: 0 auto 22px; height: 26px; width: auto;
  padding: 6px 9px; background: #fbf1ee; border-radius: 9px;
}
.badge {
  width: 74px; height: 74px; margin: 0 auto; border-radius: 50%; background: var(--tint);
  display: flex; align-items: center; justify-content: center; font-size: 34px;
}
.result-eyebrow { text-align: center; margin-top: 18px; }
.result-title { text-align: center; margin-top: 8px; font-size: 25px; color: var(--rose-deep); }
@media (max-width: 640px) { .result-title { font-size: 22px; } }
.result-greet { text-align: center; margin-top: 14px; font-size: 15px; color: var(--ink-soft); }
.result-copy { margin-top: 20px; font-size: 15.5px; line-height: 1.75; color: var(--ink); }
.result-copy p + p { margin-top: 12px; }
.meter { margin-top: 32px; }
.meter-track { display: flex; gap: 3px; height: 8px; }
.meter-seg { flex: 1; border-radius: 4px; background: var(--line); }
.meter-seg.is-active { background: linear-gradient(90deg, var(--rose-deep), var(--rose)); }
.meter-labels { display: flex; margin-top: 10px; }
.meter-labels span {
  flex: 1; text-align: center; font-size: 10.5px; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink-soft);
}
.meter-labels span.is-active { color: var(--rose-deep); font-weight: 700; }
.meter-score {
  text-align: center; margin-top: 14px; font-size: 12px; color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.meter-score b { color: var(--ink); font-weight: 600; }
.credit {
  text-align: center; margin-top: 8px; font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-soft); opacity: 0.7;
}
