/* Handoff Check: one question per screen (assets/v6/check.js). Without JS it is a plain checklist. */
.hc { position: relative; background: radial-gradient(1000px 600px at 85% -10%, #173826 0%, var(--forest-black) 62%); color: var(--cool-white); isolation: isolate; overflow: hidden; }
.hc__progress { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: rgba(244, 247, 248, .08); z-index: 2; }
.hc__progress span { display: block; height: 100%; width: 0; background: var(--lime); box-shadow: 0 0 18px rgba(198, 242, 78, .7); transition: width .6s var(--ease); }
.hc__stage { position: relative; padding: clamp(48px, 7vw, 96px) 0; }
.hc__form { display: grid; gap: 40px; margin-top: 48px; }
.hc .hp { position: absolute; left: -9999px; }
.hc .eyebrow { color: var(--lime); }
.hc h1 { font-size: clamp(2.8rem, 7vw, 6rem); text-transform: uppercase; max-width: 14ch; margin: 18px 0 22px; }
.hc .lede { color: rgba(244, 247, 248, .84); }
.hc__go { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 34px; }
.hc__hint { font-size: .9rem; color: var(--steel-light); }
.hc kbd { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 6px; border: 1px solid rgba(244, 247, 248, .28); font: 700 .78rem/1 var(--body); color: inherit; background: rgba(244, 247, 248, .06); }
.hc__micro { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 26px; font-size: .9rem; color: var(--steel-light); }
.hc__micro span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--lime); vertical-align: middle; }

/* intro deck: the document cards from the intro film */
.hc--js .hc__step.hc__intro.is-on { display: grid; }
.hc__intro { grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.hc__deck { position: relative; height: 420px; }
.hc__doc { position: absolute; left: 50%; top: 50%; width: 230px; height: 300px; padding: 0 18px 18px; border-radius: 14px; background: #eef2ef; color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); display: grid; align-content: start; gap: 8px; overflow: hidden;
  transform: translate(-50%, -50%) translate(calc((var(--k) - 1) * 70px), calc((1 - var(--k)) * 26px)) rotate(calc((var(--k) - 1) * 9deg)); animation: hc-float 6s ease-in-out calc(var(--k) * -2s) infinite; }
.hc__doc i { display: block; height: 34px; margin: 0 -18px 8px; background: var(--forest-deep); }
.hc__doc b { font: 800 1.6rem/1 var(--display); text-transform: uppercase; }
.hc__doc small { color: var(--steel); font-weight: 600; margin-bottom: 8px; }
.hc__doc span { display: block; height: 9px; border-radius: 9px; background: #d6ded9; }
.hc__doc span:nth-of-type(2) { width: 80%; } .hc__doc span:nth-of-type(3) { width: 60%; }
.hc__doc em { justify-self: start; margin-top: 18px; padding: 6px 12px; border-radius: 99px; border: 2px solid #d2502c; color: #d2502c; font: 800 .8rem/1 var(--display); font-style: normal; letter-spacing: .14em; text-transform: uppercase; }
.hc__doc:nth-child(3) em { background: var(--lime); border-color: var(--lime); color: var(--forest-deep); }
.hc__seal { position: absolute; left: calc(50% + 120px); top: calc(50% + 70px); width: 74px; height: 74px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--forest-deep); box-shadow: 0 0 40px rgba(198, 242, 78, .55); animation: hc-seal 1s cubic-bezier(.34, 1.8, .64, 1) .6s both; }
.hc__seal svg { width: 40px; height: 40px; }
@keyframes hc-float { 50% { margin-top: -10px; } }
@keyframes hc-seal { from { transform: scale(2.4) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* event layer (/talk/<event>) */
.hc__event[hidden] { display: none; }
.hc__intro .hc__event { margin-top: 26px; max-width: 560px; }
.hc__quote { margin: 0; padding: 16px 18px; border-left: 3px solid var(--lime); border-radius: 0 14px 14px 0; background: rgba(244, 247, 248, .06); }
.hc__quote blockquote { margin: 0 0 8px; font-weight: 600; font-size: 1.02rem; line-height: 1.5; color: var(--cool-white); }
.hc__quote figcaption { font-size: .82rem; color: var(--steel-light); }
.hc__event--done { display: grid; gap: 14px; margin: 18px 0 6px; }
.hc__quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hc__event--done .textlink { color: var(--lime); justify-self: start; }
.hc__score i { font-style: normal; }

/* questions */
.hc__q, .hc__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.hc__ask { display: grid; gap: 14px; padding: 0; margin-bottom: 26px; }
.hc__meta { display: inline-flex; align-items: center; gap: 8px; font: 700 .9rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.hc__meta b { font-size: 1.1rem; }
.hc__meta .arrow { width: 14px; height: 14px; }
.hc__meta span { color: var(--steel-light); }
.hc__text { display: block; font: 700 clamp(2rem, 4.6vw, 3.6rem)/1.02 var(--display); text-transform: uppercase; letter-spacing: -.005em; color: var(--cool-white); max-width: 22ch; text-wrap: balance; }
.hc__text--sm { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.hc__opts { display: grid; gap: 12px; max-width: 520px; }
.hc__opts--list { max-width: 680px; max-height: min(52vh, 560px); overflow: auto; padding-right: 4px; }
.hc__opt { position: relative; display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 14px; border: 1px solid rgba(198, 242, 78, .32); background: rgba(198, 242, 78, .06); font-weight: 700; font-size: 1.08rem; cursor: pointer; transition: background .25s, border-color .25s, transform .3s var(--ease); }
.hc__opt:hover { background: rgba(198, 242, 78, .14); border-color: var(--lime); transform: translateX(4px); }
.hc__opt input { position: absolute; opacity: 0; pointer-events: none; }
.hc__opt kbd { border-color: rgba(198, 242, 78, .5); color: var(--lime); }
.hc__opt:has(input:focus-visible) { outline: 3px solid var(--lime); outline-offset: 3px; }
.hc__opt:has(input:checked) { background: var(--lime); border-color: var(--lime); color: var(--forest-black); }
.hc__opt:has(input:checked) kbd { background: var(--forest-black); border-color: var(--forest-black); color: var(--lime); }
.hc__opt.is-flash { animation: hc-flash .32s steps(2) 1; }
@keyframes hc-flash { 50% { background: rgba(198, 242, 78, .55); } }

/* hours */
.hc__sliders { display: grid; gap: 22px; max-width: 560px; margin-bottom: 30px; }
.hc__slider { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: baseline; font-weight: 700; color: var(--steel-light); }
.hc__slider output { font: 700 2.4rem/1 var(--display); color: var(--lime); }
.hc__slider input { grid-column: 1 / -1; width: 100%; accent-color: var(--lime); height: 28px; }

/* result */
.hc__result { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.hc__card { position: relative; padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: rgba(244, 247, 248, .05); border: 1px solid rgba(198, 242, 78, .22); }
.hc__score { display: flex; align-items: center; gap: 20px; }
.hc__score svg { width: 120px; flex: 0 0 120px; transform: rotate(-90deg); }
.hc__ring-bg { fill: none; stroke: rgba(244, 247, 248, .1); stroke-width: 10; }
.hc__ring { fill: none; stroke: var(--lime); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--ring, 1); transition: stroke-dashoffset 1.4s var(--ease); filter: drop-shadow(0 0 8px rgba(198, 242, 78, .5)); }
.hc__score b { display: block; font: 700 4.2rem/.9 var(--display); color: var(--cool-white); }
.hc__score span { font-weight: 700; color: var(--steel-light); }
.hc__figs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.hc__figs div { padding: 14px 16px; border-radius: 14px; background: rgba(9, 26, 17, .55); }
.hc__figs span { display: block; font: 700 .8rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--steel-light); }
.hc__figs b { display: block; margin-top: 8px; font: 700 2.2rem/1 var(--display); }
.hc__figs .lime { color: var(--lime); }
.hc__top { position: relative; display: grid; gap: 6px; padding: 16px 18px; border-radius: 14px; background: var(--cool-white); color: var(--ink); }
.hc__top span { font: 700 .8rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--forest); }
.hc__top strong { font-size: 1.1rem; padding-right: 92px; }
.hc__stamp { position: absolute; right: 14px; top: 50%; padding: 6px 12px; border: 3px solid var(--forest); border-radius: 8px; font: 800 1rem/1 var(--display); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--forest); background: var(--lime); transform: translateY(-50%) rotate(-8deg) scale(var(--stamp, 0)); transition: transform .5s cubic-bezier(.34, 1.8, .64, 1) .9s; }
.hc__cats { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; }
.hc__cats li { display: grid; grid-template-columns: 11rem 1fr 2.6rem; gap: 12px; align-items: center; font-size: .9rem; color: var(--steel-light); }
.hc__cats i { display: block; height: 8px; border-radius: 99px; background: rgba(244, 247, 248, .1); overflow: hidden; }
.hc__cats em { display: block; height: 100%; width: var(--w, 0%); background: var(--lime); border-radius: inherit; transition: width 1s var(--ease); }
.hc__cats b { text-align: right; color: var(--cool-white); }
.hc__verdict { margin: 20px 0 0; font-weight: 600; color: rgba(244, 247, 248, .9); }
.hc__send, .hc__clean { display: grid; gap: 14px; align-content: start; }
.hc__send[hidden], .hc__clean[hidden], .hc__stamp[hidden], .hc__slider[hidden] { display: none; }
.hc__clean p { margin: 0; color: rgba(244, 247, 248, .84); }
.hc__clean .btn { justify-self: start; }
.hc__redo { margin-top: 14px; padding: 0; border: 0; background: none; color: var(--lime); font: 700 .92rem var(--body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.hc__send label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--steel-light); }
.hc__send input { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(244, 247, 248, .2); background: rgba(244, 247, 248, .06); color: var(--cool-white); font: 600 1rem var(--body); }
.hc__send input:focus { outline: 3px solid var(--lime); outline-offset: 1px; border-color: transparent; }
.hc__send .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hc__fine { font-size: .84rem; color: var(--steel-light); margin: 0; }
.hc .form__status[data-state="err"] { color: var(--danger); }
.hc .form__status a { color: var(--lime); }

/* done */
.hc__next { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.hc__offer { display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: 22px; background: var(--cool-white); color: var(--ink); }
.hc__offer h2 { font-size: 2.2rem; }
.hc__offer p { margin: 0; }
.hc__offer .hc__fine { color: var(--steel); }
.hc__offer--quiet { background: rgba(244, 247, 248, .06); color: var(--cool-white); border: 1px solid rgba(244, 247, 248, .14); }
.hc__offer--quiet .btn--ghost { justify-self: start; }

/* step nav */
.hc__nav { position: absolute; right: 0; bottom: clamp(18px, 3vw, 32px); display: flex; gap: 4px; }
.hc__nav[hidden] { display: none; }
.hc__nav button { display: grid; place-items: center; width: 44px; height: 40px; border: 0; background: var(--lime); color: var(--forest-black); cursor: pointer; }
.hc__nav button:first-child { border-radius: 10px 0 0 10px; }
.hc__nav button:last-child { border-radius: 0 10px 10px 0; }
.hc__nav button:disabled { opacity: .35; cursor: default; }

/* JS mode: one step at a time */
.hc--js .hc__form { display: block; margin: 0; }
.hc--js .hc__stage { min-height: calc(100svh - var(--header-h)); display: grid; align-content: center; }
.hc--js .hc__step { display: none; }
.hc--js .hc__step.is-on { display: block; animation: hc-in .6s var(--ease) both; }
.hc--js .hc__result.is-on { display: grid; }
.hc--js .hc__step.is-leaving { display: block; animation: hc-out .26s ease-in both; }
.hc--js[data-dir="back"] .hc__step.is-on { animation-name: hc-in-back; }
.hc--js[data-dir="back"] .hc__step.is-leaving { animation-name: hc-out-back; }
.hc--js .hc__step.is-on .hc__opt { animation: hc-in .6s var(--ease) both; }
.hc--js .hc__step.is-on .hc__opt:nth-child(2) { animation-delay: .06s; }
.hc--js .hc__step.is-on .hc__opt:nth-child(3) { animation-delay: .12s; }
.hc--js .hc__step.is-on .hc__opt:nth-child(n+4) { animation-delay: .16s; }
.hc--js .hc__result.is-on .hc__stamp { --stamp: 1; }
@keyframes hc-in { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }
@keyframes hc-out { to { opacity: 0; transform: translateY(-46px); } }
@keyframes hc-in-back { from { opacity: 0; transform: translateY(-46px); } to { opacity: 1; transform: none; } }
@keyframes hc-out-back { to { opacity: 0; transform: translateY(46px); } }

/* no JS: the steps that need scoring stay hidden */
.hc:not(.hc--js) .hc__js { display: none; }
.hc:not(.hc--js) .hc__opt kbd { display: none; }
.hc:not(.hc--js) .hc__text { font-size: clamp(1.4rem, 2.6vw, 2rem); }

@media (hover: none) { .hc__hint { display: none; } }
@media (max-width: 860px) {
  .hc__quotes { grid-template-columns: 1fr; }
  .hc__intro { grid-template-columns: 1fr; }
  .hc__deck { display: none; }
  .hc__result, .hc__next { grid-template-columns: 1fr; }
  .hc__cats li { grid-template-columns: 8.5rem 1fr 2.4rem; }
  .hc__nav { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; }
  .hc__score b { font-size: 3.4rem; }
  .hc__send .form__row { grid-template-columns: 1fr; }
}
body.hc-page .dock { display: none !important; }
body.hc-page.has-dock { padding-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  .hc--js .hc__step.is-on, .hc--js .hc__step.is-leaving, .hc--js .hc__step.is-on .hc__opt { animation: none; }
  .hc__ring, .hc__cats em, .hc__stamp, .hc__progress span { transition: none; }
  .hc__doc, .hc__seal { animation: none; }
}
.hc__redo + .hc__redo { margin-left: 18px; }
