/* Start: one question at a time, then the entry is streamlined into a Usable Card */
.wizard { max-width: 760px; margin: 0 auto; padding-block: 40px 24px; }
.wiz-head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.progress svg { width: 56px; height: 56px; transform: rotate(0deg); }
.p-ring { fill: none; stroke: var(--rule); stroke-width: 2; }
.p-arc { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 30px 30px; transition: stroke-dashoffset .7s var(--ease); }
.p-dot { fill: var(--gold); transition: cx .7s var(--ease), cy .7s var(--ease); }
.wiz-count { margin: 0; font-size: .9rem; color: var(--muted); font-weight: 500; }

.resume { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 18px; background: color-mix(in srgb, var(--gold) 14%, transparent); margin-bottom: 28px; }
.resume p { margin: 0; font-weight: 500; }

.q-stage { position: relative; overflow: hidden; padding: 4px 4px 8px; margin: -4px; }
.q.leaving { pointer-events: none; }
.q { border: 0; margin: 0; padding: 0; min-width: 0; }
.q-title { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.08; letter-spacing: -0.015em; padding: 0; margin-bottom: 28px; text-wrap: balance; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.q.compact .choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; animation: rise .55s var(--ease) both; animation-delay: calc(var(--i) * 60ms + 140ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-body {
  display: flex; flex-direction: column; gap: 4px; min-height: 64px; justify-content: center;
  padding: 16px 20px; border-radius: 20px; border: 1.5px solid var(--rule); background: var(--surface);
  transition: border-color .25s, background-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.q.compact .choice-body { min-height: 52px; padding: 12px 20px; border-radius: 999px; }
.choice:hover .choice-body { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 12px 26px -18px rgba(20, 33, 61, .5); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--gold); outline-offset: 3px; }
.choice input:checked + .choice-body { border-color: var(--ink); background: var(--ink); color: var(--bg); transform: scale(1.02); }
.choice input:checked + .choice-body .choice-hint { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.choice-label { font-weight: 600; font-size: 1.02rem; }
.choice-hint { font-size: .88rem; color: var(--muted); }

.q-input {
  width: 100%; padding: 18px 20px; border-radius: 20px; border: 1.5px solid var(--rule); background: var(--surface); color: var(--ink);
  font: 500 1.25rem/1.45 var(--body); resize: vertical; min-height: 64px;
  transition: border-color .25s, box-shadow .25s;
}
.q-input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.q-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(212, 162, 76, .4); }
.q-error { color: #B3261E; font-weight: 500; margin: 14px 0 0; }
:root[data-theme="dark"] .q-error { color: #FF9C8F; }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.wiz-nav #next { margin-left: auto; }

/* Result */
.result { position: relative; max-width: 620px; margin: 0 auto; padding-block: 40px 0; }
.forming { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.f-word { position: absolute; left: 0; top: 0; font-family: var(--display); font-size: 1.5rem; color: var(--gold-ink); white-space: nowrap; }
.ucard { position: relative; z-index: 2; background: var(--surface); border-radius: 26px; padding: 30px 30px 22px; box-shadow: 0 1px 0 var(--rule), 0 40px 80px -40px rgba(20, 33, 61, .45); outline: none; }
.u-source { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted); padding-bottom: 14px; border-bottom: 2px solid var(--gold); margin-bottom: 18px; }
.u-title { font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 600; margin-bottom: 16px; }
.u-steps { list-style: none; padding: 0; margin: 0 0 14px; counter-reset: u; }
.u-steps li { counter-increment: u; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.u-steps li::before { content: counter(u, decimal-leading-zero); font: 600 1.7rem/1 var(--body); color: var(--gold); }
.u-steps strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.25; }
.u-steps span { display: block; color: var(--muted); font-size: .95rem; margin-top: 3px; }
.u-note { font-size: .95rem; color: var(--muted); font-style: italic; margin: 6px 0 18px; }
.u-first { background: #14213D; color: #F7F5F0; border-radius: 18px; padding: 18px 20px; transition: background-color .5s; }
.u-first-label { font-family: var(--display); font-weight: 600; font-size: 1.45rem; color: #D4A24C; margin: 0 0 4px; }
.u-first-text { margin: 0 0 14px; }
.ucard.is-done .u-first { background: #1D3A2E; }
.done-check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; min-height: 44px; }
.done-check input { width: 22px; height: 22px; accent-color: #D4A24C; }
.u-sign { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 18px 0 0; font-family: var(--display); font-weight: 600; font-size: 1.35rem; }
.u-sign img { width: 46px; }
.after { text-align: center; margin-top: 30px; }
.after-done { font-family: var(--display); font-size: 1.6rem; color: var(--gold-ink); margin-bottom: 14px; }
.after-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.copy-msg { min-height: 1.5em; margin: 12px 0 0; color: var(--muted); font-size: .92rem; }
.saved-note { font-size: .85rem; color: var(--muted); margin: 0; }
.spark { position: fixed; width: 8px; height: 8px; border-radius: 50%; background: #D4A24C; pointer-events: none; z-index: 50; margin: -4px 0 0 -4px; }

@media (max-width: 640px) {
  .choices { grid-template-columns: minmax(0, 1fr); }
  .ucard { padding: 22px 18px 18px; border-radius: 22px; }
  .u-steps li { grid-template-columns: 42px minmax(0, 1fr); }
  .u-steps li::before { font-size: 1.35rem; }
  .wiz-nav .btn, .after-actions .btn { flex: 1 1 auto; }
}

/* Share and contact steps */
.q-sub { color: var(--muted); margin: -12px 0 20px; max-width: 56ch; }
.q-field { margin-bottom: 18px; }
.q-label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.q-input-sm { font-size: 1.05rem; min-height: 54px; padding: 12px 16px; border-radius: 16px; }
.q-help { font-size: .86rem; color: var(--muted); margin: 6px 0 0; }
.q-file { display: block; width: 100%; padding: 14px; border-radius: 16px; border: 1.5px dashed var(--rule); background: var(--surface); color: var(--ink); font: 500 .95rem var(--body); cursor: pointer; }
.q-file:hover { border-color: var(--gold); }
.q-where { font-size: .86rem; color: var(--muted); padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 10%, transparent); margin: 6px 0 0; }
.q-consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .92rem; color: var(--muted); cursor: pointer; margin-top: 6px; }
.q-consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: #D4A24C; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* The engine and the full pack */
.engine { margin-top: 36px; }
.engine-status { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); }
.engine-status p { margin: 0; font-weight: 500; }
.engine-orbit { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px dashed var(--gold); position: relative; }
.engine.working .engine-orbit { animation: ringspin 2.4s linear infinite; }
.engine.done .engine-orbit { border-style: solid; background: #D4A24C; }
.engine.failed .engine-orbit { border-color: var(--muted); }
@keyframes ringspin { to { transform: rotate(360deg); } }
.fullpack { margin-top: 24px; }
.fp-kicker { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted); border-bottom: 2px solid var(--gold); padding-bottom: 10px; margin-bottom: 12px; }
.fp-title { font-size: clamp(1.8rem, 5vw, 2.5rem); font-weight: 600; margin-bottom: 10px; }
.fp-note { color: var(--muted); font-style: italic; }
.fp-h { font-size: 1.35rem; margin: 28px 0 10px; }
.fp-list { padding-left: 1.2em; } .fp-list li { margin-bottom: 6px; }
.fp-scroll { overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--rule); }
.fp-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.fp-table th { text-align: left; background: #14213D; color: #F7F5F0; padding: 10px 12px; font-weight: 600; font-size: .82rem; }
.fp-table td { padding: 10px 12px; border-top: 1px solid var(--rule); vertical-align: top; }
.fp-first { background: #14213D; color: #F7F5F0; border-radius: 18px; padding: 18px 20px; margin: 26px 0; }
.fp-first-label { font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: #D4A24C; margin: 0 0 6px; }
.fp-first-text { margin: 0 0 6px; font-size: 1.05rem; }
.fp-first-meta { margin: 0; font-size: .86rem; color: #C9CEDA; }
.fp-verse { font-family: var(--display); font-size: 1.15rem; border-left: 3px solid #D4A24C; padding-left: 14px; margin: 24px 0; }
.fp-sign { font-family: var(--display); font-size: 1.6rem; text-align: center; margin: 28px 0 16px; }
#pdf-dl { margin-top: 6px; }

/* Opening: where information comes from, and the question that matters */
.intro { padding-block: 34px 24px; transform-origin: top center; }
.intro-kick { margin: 0 0 10px; font: 600 .8rem var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); animation: rise .7s var(--ease) both; }
.intro-title { font-size: clamp(2.6rem, 7.4vw, 5.2rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.02em; animation: rise .8s var(--ease) .08s both; }
.intro-lede { font-size: 1.1rem; color: var(--muted); margin: 18px 0 18px; max-width: 48ch; animation: rise .8s var(--ease) .16s both; }
.sources { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.src { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 14px 15px; border-radius: 18px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--rule), 0 18px 34px -26px rgba(20, 33, 61, .55); animation: src-in .7s var(--ease) both, src-float 6s ease-in-out infinite;
  transition: transform .35s var(--ease), box-shadow .35s; }
.src:nth-child(1) { animation-delay: .25s, 1s; } .src:nth-child(2) { animation-delay: .35s, 1.6s; } .src:nth-child(3) { animation-delay: .45s, .4s; }
.src:nth-child(4) { animation-delay: .55s, 2.2s; } .src:nth-child(5) { animation-delay: .65s, 1.3s; }
.src:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: inset 0 0 0 1.5px var(--gold), 0 22px 40px -24px rgba(212, 162, 76, .8); }
.src svg { width: 30px; height: 30px; margin-bottom: 6px; fill: none; stroke: var(--gold-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.src svg .fill { fill: var(--gold); stroke: none; }
.src-t { font-family: var(--display); font-weight: 600; font-size: 1.06rem; line-height: 1.15; color: var(--ink); }
.src-d { font-size: .8rem; color: var(--muted); line-height: 1.35; }
@keyframes src-in { from { opacity: 0; transform: translateY(26px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes src-float { 50% { translate: 0 -5px; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.intro-ask { margin: 30px 0 4px; font-family: var(--display); font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.15; color: var(--ink); animation: rise .8s var(--ease) .8s both; }
.intro-ask em { font-style: italic; color: var(--gold-ink); background: linear-gradient(transparent 62%, color-mix(in srgb, var(--gold) 28%, transparent) 62%); }
.intro-sub { font-size: 1.08rem; color: var(--muted); max-width: 46ch; margin: 8px 0 28px; animation: rise .8s var(--ease) .9s both; }

/* The living button: gold that turns navy as you come near, a light sweep, a breathing halo, and a pull toward your pointer */
.btn-alive { --p: 0; --mx: 0px; --my: 0px; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 12px;
  min-height: 62px; padding: 0 30px 0 34px; border: 0; border-radius: 999px; cursor: pointer; font: 700 1.06rem var(--body); letter-spacing: .01em;
  color: color-mix(in srgb, #D4A24C calc(var(--p) * 100%), #14213D);
  background: color-mix(in srgb, #14213D calc(var(--p) * 100%), #D4A24C);
  transform: translate(var(--mx), var(--my)) scale(calc(1 + var(--p) * .05)); transition: transform .25s var(--ease);
  box-shadow: 0 0 0 calc(var(--p) * 2px) #D4A24C, 0 18px 40px -16px color-mix(in srgb, #D4A24C calc(100% - var(--p) * 60%), #14213D);
  animation: rise .8s var(--ease) 1s both; }
.btn-alive::before { content: ""; position: absolute; inset: -8px; z-index: -2; border-radius: inherit; border: 2px solid #D4A24C; opacity: 0; animation: halo 2.6s ease-out 1.8s infinite; }
.ba-fill { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(circle at var(--fx, 50%) 50%, #14213D 0, #14213D 40%, transparent 41%); transform: scale(0); transition: transform .55s var(--ease); }
.ba-shine { position: absolute; top: 0; bottom: 0; width: 46%; left: -60%; z-index: 0; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: shine 3.4s ease-in-out 1.6s infinite; pointer-events: none; }
.ba-text { position: relative; z-index: 1; }
.ba-arrow { position: relative; z-index: 1; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: nudge 1.6s ease-in-out infinite; }
.btn-alive:hover, .btn-alive:focus-visible { --p: 1; outline: none; }
.btn-alive:hover .ba-arrow { animation-duration: .7s; }
.btn-alive.pressed { --p: 1; }
.btn-alive:active { transform: translate(var(--mx), var(--my)) scale(.96); }
@keyframes halo { 0% { opacity: .7; transform: scale(.94); } 70%, 100% { opacity: 0; transform: scale(1.25); } }
@keyframes shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
@keyframes nudge { 50% { transform: translateX(5px); } }
@media (max-width: 900px) { .sources { grid-template-columns: repeat(2, minmax(0, 1fr)); } .src:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .intro { padding-top: 18px; }
  .src { padding: 13px 12px; border-radius: 16px; } .src svg { width: 26px; height: 26px; margin-bottom: 2px; } .src-t { font-size: .98rem; } .src-d { font-size: .74rem; }
  .btn-alive { width: 100%; justify-content: center; }
  /* phones have no pointer: the button breathes between gold and navy on its own */
  .btn-alive { animation: rise .8s var(--ease) 1s both, breathe 4.5s ease-in-out 2s infinite; }
}
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
@keyframes breathe { 0%, 100% { --p: 0; } 50% { --p: 1; } }
@media (prefers-reduced-motion: reduce) { .src, .btn-alive, .ba-shine, .ba-arrow, .btn-alive::before, .intro > * { animation: none !important; } }
#wiz-form { transform-origin: top center; }

/* Another entry */
.result-top { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.new-entry { font: 600 .9rem var(--body); color: var(--ink); background: transparent; border: 1px solid var(--rule); border-radius: 999px; padding: 10px 16px; cursor: pointer; }
.new-entry:hover { border-color: var(--gold); color: var(--gold-ink); }
.resume-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ================= The Clearing: from chaos to one thing ================= */
.wizard { position: relative; max-width: 680px; }
.settle { position: absolute; left: 50%; top: 0; width: 100vw; height: 560px; transform: translateX(-50%); pointer-events: none; z-index: 0; overflow: hidden; }
.settle .frag { position: absolute; left: 0; top: 0; font-size: .82rem; opacity: 0; }
.intro { position: relative; z-index: 1; text-align: center; padding-block: 56px 30px; display: flex; flex-direction: column; align-items: center; }
.intro > * { margin-inline: auto; }
.still-point { position: relative; display: block; width: 92px; height: 92px; margin-bottom: 26px; animation: still-in 1s var(--ease) 1.6s both; }
.still-point i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--gold); opacity: 0; animation: ripple 4.8s ease-out infinite; }
.still-point i:nth-child(2) { animation-delay: 1.6s; } .still-point i:nth-child(3) { animation-delay: 3.2s; }
.still-point::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 18%, transparent), 0 0 30px 6px color-mix(in srgb, var(--gold) 45%, transparent); animation: breathe-dot 4.8s ease-in-out infinite; }
@keyframes still-in { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
@keyframes ripple { 0% { opacity: .7; transform: scale(.15); } 100% { opacity: 0; transform: scale(1); } }
@keyframes breathe-dot { 50% { transform: scale(1.25); } }
.intro-kick { animation: rise .8s var(--ease) 1.9s both; }
.intro-title { font-size: clamp(2.5rem, 7vw, 4.6rem); animation: rise .9s var(--ease) 2s both; text-wrap: balance; }
.intro-lede { font-size: clamp(1.05rem, 2.2vw, 1.25rem); line-height: 1.6; max-width: 40ch; margin: 18px auto 34px; animation: rise .9s var(--ease) 2.15s both; text-wrap: balance; }
.intro-lede em { font-style: italic; font-family: var(--display); font-size: 1.12em; color: var(--ink); background: linear-gradient(transparent 62%, color-mix(in srgb, var(--gold) 32%, transparent) 62%); }
.intro .btn-alive { animation: rise .8s var(--ease) 2.35s both; }
.intro-note { margin: 16px 0 0; font-size: .86rem; color: var(--muted); letter-spacing: .02em; animation: rise .8s var(--ease) 2.5s both; }
@media (max-width: 640px) { .intro { padding-top: 34px; } .intro .btn-alive { animation: rise .8s var(--ease) 2.35s both, breathe 4.5s ease-in-out 3.4s infinite; } }

/* the questions: centred, calm, one at a time, progress as dots that line up */
.wiz-head { justify-content: center; flex-direction: column; gap: 10px; margin-bottom: 34px; }
.calm-dots { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.calm-dots li { width: 8px; height: 8px; border-radius: 50%; background: var(--rule); transition: background-color .5s, transform .5s var(--ease), width .5s var(--ease); }
.calm-dots li.done { background: var(--gold); }
.calm-dots li.now { width: 26px; border-radius: 999px; background: var(--ink); }
.wiz-count { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.q-title { text-align: center; font-size: clamp(1.8rem, 4.6vw, 2.8rem); margin-inline: auto; max-width: 20ch; }
.q-stage { padding-inline: 6px; }
.choices { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
.q.compact .choices { justify-content: center; }
.q-input, .q-field, .q-help, .q-where, .q-consent, .q-sub { max-width: 560px; margin-left: auto; margin-right: auto; }
.q-sub { text-align: center; }
.wiz-nav { max-width: 560px; margin-left: auto; margin-right: auto; }

/* calm dropdown */
.calm-select { max-width: 520px; margin: 0 auto; }
.cs-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; padding: 0 22px; border-radius: 20px;
  border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); font: 600 1.12rem var(--body); cursor: pointer; text-align: left; transition: box-shadow .3s, border-color .3s; }
.cs-btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(212, 162, 76, .45); }
.cs-face.empty { color: var(--muted); font-weight: 500; }
.cs-chev { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--gold-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.calm-select.open .cs-chev { transform: rotate(180deg); }
.calm-select.picked .cs-btn { background: var(--ink); color: var(--bg); }
.calm-select.picked .cs-chev { stroke: #D4A24C; }
.cs-list { list-style: none; margin: 10px 0 0; padding: 6px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule), 0 26px 50px -30px rgba(20, 33, 61, .55);
  display: grid; grid-template-rows: repeat(8, auto); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .35s, margin .4s; }
.calm-select.open .cs-list { max-height: 720px; opacity: 1; }
.calm-select:not(.open) .cs-list { margin-top: 0; padding-block: 0; }
.cs-opt { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 14px; cursor: pointer; outline: none; transition: background-color .2s, transform .3s var(--ease); }
.calm-select.open .cs-opt { animation: rise .45s var(--ease) both; animation-delay: calc(var(--i) * 35ms); }
.cs-opt:hover, .cs-opt:focus-visible { background: color-mix(in srgb, var(--gold) 16%, transparent); transform: translateX(4px); }
.cs-opt[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.cs-opt[aria-selected="true"] .cs-d { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.cs-t { font-weight: 600; font-size: 1rem; }
.cs-d { font-size: .84rem; color: var(--muted); }

/* link and upload */
.q-input-big { font-size: 1.15rem; min-height: 62px; }
.q-swap { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--gold-ink); text-decoration: underline; cursor: pointer; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 560px; margin: 0 auto 18px; padding: 34px 20px; border-radius: 24px;
  border: 1.5px dashed color-mix(in srgb, var(--gold) 70%, transparent); background: var(--surface); text-align: center; cursor: pointer; transition: border-color .3s, background-color .3s, transform .3s var(--ease); }
.drop:hover, .drop.over { border-color: var(--gold); transform: translateY(-2px); background: color-mix(in srgb, var(--gold) 8%, var(--surface)); }
.drop svg { width: 56px; height: 56px; margin-bottom: 6px; }
.drop .d-ring { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-dasharray: 2 4; transform-origin: 24px 24px; animation: ringspin 18s linear infinite; }
.drop .d-arrow { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: lift 1.8s ease-in-out infinite; }
@keyframes lift { 50% { transform: translateY(-3px); } }
.drop.has { border-style: solid; border-color: var(--ink); }
.drop.has .d-arrow { animation: none; }
.drop-t { font-weight: 600; font-size: 1.05rem; word-break: break-all; }
.drop-d { font-size: .86rem; color: var(--muted); }

/* finding the one thing: a calm, centred wait */
.engine.working { margin-top: 10px; }
.engine.working .engine-status { flex-direction: column; text-align: center; gap: 22px; padding: 70px 20px; background: transparent; box-shadow: none; }
.engine.working .engine-orbit { width: 96px; height: 96px; border-width: 1.5px; animation: none; }
.engine.working .engine-orbit::before, .engine.working .engine-orbit::after { content: ""; position: absolute; border-radius: 50%; }
.engine.working .engine-orbit::before { inset: -2px; border: 1.5px solid var(--gold); opacity: 0; animation: ripple 3s ease-out infinite; }
.engine.working .engine-orbit::after { left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--gold); box-shadow: 0 0 26px 6px color-mix(in srgb, var(--gold) 45%, transparent); animation: breathe-dot 3s ease-in-out infinite; }
.engine.working .engine-status p { font-family: var(--display); font-size: clamp(1.4rem, 3.6vw, 1.9rem); }

/* the card leads with the one thing */
.ucard .u-first { margin: 6px 0 22px; padding: 22px 22px 18px; }
.u-first-label { font-size: 1.5rem; }
.u-then { margin: 0 0 4px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }

/* the one thing, tied to the source */
.u-from { margin: -2px 0 10px; font-size: .8rem; letter-spacing: .04em; color: #D4A24C; font-weight: 600; }
.u-how { margin: 10px 0 12px; padding-left: 1.2em; color: #DCE0EA; font-size: .95rem; line-height: 1.55; }
.u-how li { margin-bottom: 4px; }
.u-meta { margin: 0 0 12px; font-size: .84rem; color: #A9B0C2; }
.engine.failed .engine-status { flex-direction: column; text-align: center; padding: 34px 20px; }
.engine-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }

/* Free vs $1: the rest of the pack, blurred behind the commitment */
.blur-lite { filter: blur(5px); user-select: none; pointer-events: none; transition: filter .6s; }
.locked { position: relative; margin-top: 10px; border-radius: 22px; overflow: hidden; }
.locked-inner { filter: blur(7px); opacity: .55; user-select: none; pointer-events: none; max-height: 900px; overflow: hidden; transition: filter .7s, opacity .7s; }
.locked.open .locked-inner { filter: none; opacity: 1; }
.locked.open .unlock { opacity: 0; transform: scale(.96); pointer-events: none; }
.unlock { position: absolute; left: 50%; top: 70px; transform: translateX(-50%); width: min(460px, 92%); text-align: center; padding: 28px 24px 22px; border-radius: 24px;
  background: color-mix(in srgb, var(--bg) 92%, transparent); box-shadow: 0 0 0 1.5px #D4A24C, 0 30px 60px -30px rgba(20, 33, 61, .6); transition: opacity .5s, transform .5s var(--ease); }
.ul-ring { display: block; width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 50%; border: 1.5px dashed #D4A24C; position: relative; animation: ringspin 12s linear infinite; }
.ul-ring::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #D4A24C; }
.ul-k { margin: 0 0 4px; font: 600 .74rem var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.unlock h3 { font-size: 1.6rem; margin: 0 0 12px; }
.unlock ul { text-align: left; margin: 0 auto 18px; padding-left: 1.2em; color: var(--muted); font-size: .93rem; display: grid; gap: 4px; max-width: 360px; }
.unlock .btn { width: 100%; }
.ul-preview { margin-top: 10px; border: 0; background: none; font: 500 .82rem var(--body); color: var(--muted); text-decoration: underline; cursor: pointer; }
.ghost-table { display: grid; gap: 10px; padding: 6px 0 10px; }
.ghost-row { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 10px; }
.ghost-row span { height: 14px; border-radius: 7px; background: color-mix(in srgb, var(--ink) 18%, transparent); }
.locked-inner { min-height: 520px; }

/* progress you can measure, and the warning for login-walled links */
.e-bar { width: min(360px, 80%); height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 12%, transparent); overflow: hidden; }
.e-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #B07F2A, #D4A24C, #F2C77A); transition: width .4s linear; }
.e-pct { margin: 0; font: 600 .95rem var(--body); color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.e-note { margin: 0; max-width: 40ch; color: var(--muted); font-size: .95rem; }
.engine.working .engine-status p#engine-msg { margin-bottom: 4px; }
.q-warn { color: var(--ink); background: color-mix(in srgb, var(--gold) 14%, transparent); padding: 12px 14px; border-radius: 12px; }
.q-sub a { color: var(--gold-ink); font-weight: 600; }
.ul-mail { margin: 8px 0 0; font-size: .82rem; color: var(--muted); }
.locked-inner { max-height: 1100px; }

/* ===== The opening fits one screen: the still point gathers in the middle, then rises and the words settle under it ===== */
.wizard:has(.intro:not([hidden])) { padding-block: 0; }
.intro { min-height: calc(100svh - 104px - 76px); justify-content: center; padding-block: clamp(10px, 3vh, 34px); }
.still-point { --drop: 0px; width: clamp(54px, 9vh, 84px); height: clamp(54px, 9vh, 84px); margin-bottom: clamp(10px, 2.6vh, 24px); animation: still-gather 1.9s cubic-bezier(.6, .05, .25, 1) 1.1s both; }
@keyframes still-gather { 0% { opacity: 0; transform: translateY(var(--drop)) scale(.2); } 45% { opacity: 1; transform: translateY(var(--drop)) scale(1.7); } 70% { transform: translateY(var(--drop)) scale(1.4); } 100% { opacity: 1; transform: none; } }
.intro-kick { margin-bottom: clamp(4px, 1vh, 10px); animation-delay: 2.7s; }
.intro-title { font-size: clamp(2.1rem, min(7vw, 6.6vh), 4.4rem); animation-delay: 2.8s; }
.intro-lede { font-size: clamp(.98rem, min(2.4vw, 2.3vh), 1.2rem); margin: clamp(8px, 1.8vh, 18px) auto clamp(14px, 3vh, 30px); animation-delay: 2.95s; }
.intro .btn-alive { min-height: clamp(52px, 7vh, 62px); animation-delay: 3.1s; }
.intro-note { margin-top: clamp(8px, 1.6vh, 16px); animation-delay: 3.25s; }
@media (max-width: 760px) { .intro { min-height: calc(100svh - 84px - 66px); } .intro .btn-alive { animation: rise .8s var(--ease) 3.1s both, breathe 4.5s ease-in-out 4.2s infinite; } }
