:root {
  --ink: #441244;
  --paper: #f3efe8;
  --dim: #cfb6ce;
  --teal: #14807e;
  --teal-deep: #0e5f5e;
  --line: #6b2d68;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Public Sans", -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  min-height: 100dvh;
}

#app { max-width: 640px; margin: 0 auto; padding: 24px 22px 48px; min-height: 100dvh; display: flex; flex-direction: column; }

.screen { display: flex; flex-direction: column; flex: 1; animation: rise .45s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .screen, .opt { animation: none !important; transition: none !important; } }

/* Entry */
.symbols { display: flex; gap: 14px; justify-content: center; margin: 28px 0 30px; }
.symbols img {
  width: 96px; height: 96px; object-fit: cover; border-radius: 50%;
  border: 1px solid var(--line); background: #000;
}
h1.hook {
  font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.28;
  letter-spacing: .01em; text-align: center; margin-bottom: 26px;
}
.entry-body { color: var(--dim); font-size: 16.5px; margin-bottom: 34px; text-align: center; }
.credit { color: var(--dim); font-size: 13px; text-align: center; margin-top: 22px; }

.btn {
  display: block; width: 100%; min-height: 56px; padding: 15px 20px;
  background: var(--teal); color: #fff; border: 0; border-radius: 12px;
  font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: .01em;
  cursor: pointer; text-align: center; text-decoration: none; line-height: 1.4;
}
.btn:active { background: var(--teal-deep); }
.btn:focus-visible, .opt:focus-visible, input:focus-visible { outline: 3px solid #7fd1cf; outline-offset: 2px; }

/* Questions */
.progress { height: 3px; background: var(--line); border-radius: 3px; margin-bottom: 34px; overflow: hidden; }
.progress > div { height: 100%; background: var(--teal); border-radius: 3px; transition: width .35s ease; }
h2.q {
  font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.32; margin-bottom: 26px;
}
.opts { display: flex; flex-direction: column; gap: 12px; }
.opt {
  width: 100%; min-height: 56px; padding: 15px 17px; text-align: left;
  background: #551953; color: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--sans); font-size: 16px; line-height: 1.5; cursor: pointer;
  transition: border-color .2s ease, background .2s ease, opacity .3s ease;
}
.opt.sel { border-color: #37b3ae; background: #16413e; }
.opts.locked .opt:not(.sel) { opacity: .35; }
.back {
  margin-top: 26px; background: none; border: 0; color: var(--dim); font-size: 15px;
  font-family: var(--sans); cursor: pointer; padding: 12px; min-height: 48px; align-self: flex-start;
}

/* Email */
label { display: block; color: var(--dim); font-size: 14px; margin: 18px 0 6px; }
input {
  width: 100%; min-height: 54px; padding: 14px 15px; font-size: 17px;
  background: #551953; color: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--sans);
}
.privacy { color: var(--dim); font-size: 13px; text-align: center; margin-top: 14px; }
.err { color: #e8a0a0; font-size: 14px; margin-top: 10px; min-height: 20px; }
.sub { color: var(--dim); font-size: 16px; margin-bottom: 8px; }

/* Result */
.result-symbol { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; margin: 6px auto 26px; display: block; border: 1px solid var(--line); }
h1.result { font-family: var(--serif); font-weight: 500; font-size: 27px; line-height: 1.3; margin-bottom: 24px; }
.result-body p { margin-bottom: 16px; font-size: 16.5px; }
h3.next { font-family: var(--serif); font-weight: 600; font-size: 20px; margin: 26px 0 12px; }
.tagline { color: var(--dim); font-style: italic; font-size: 14.5px; text-align: center; margin-top: 14px; }
.spacer { flex: 1; }
.center { text-align: center; }
.loading { color: var(--dim); text-align: center; margin-top: 40vh; }
