/* The access guide checker at /check. Builds on site.css: the hero's capture box, buttons, lamps and the demo phone. */
.chk{position:relative}
.chk-hero{padding:calc(var(--nav-h) + clamp(40px,7vw,96px)) 0 clamp(48px,7vw,96px)}
.chk-hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:clamp(32px,6vw,88px);align-items:end}
.chk-eyebrow{display:inline-flex;align-items:center;gap:9px;margin-bottom:22px;padding:6px 14px 6px 6px;border-radius:999px;border:1px solid var(--line-2);background:var(--glass);box-shadow:var(--shadow-sm),inset 0 1px 0 var(--hi);font:600 .8125rem/1 var(--f-body);color:var(--ink-2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.chk-porter{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--acc);color:var(--acc-ink);box-shadow:0 0 0 4px var(--acc-soft-2)}
.chk-porter svg{width:22px;height:22px;fill:currentColor}
.chk-h1{font-size:clamp(2.6rem,5vw,4.6rem)}
.chk-form{margin-top:32px;max-width:600px}
.chk-form textarea{display:block;width:100%;min-height:170px;padding:14px 16px;border-radius:16px;border:1px solid var(--line-2);background:var(--glass);box-shadow:var(--shadow-md),inset 0 1px 0 var(--hi);color:var(--ink);font:400 1rem/1.5 var(--f-body);resize:vertical;outline:none;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.chk-form textarea:focus{border-color:var(--acc);box-shadow:0 0 0 4px var(--acc-soft-2),var(--shadow-md)}
.chk-text-actions{display:flex;justify-content:flex-end;margin-top:10px}
.chk-switch{margin-top:12px}
.chk-error{margin-top:12px;padding:10px 14px;border-radius:12px;background:var(--acc-soft);border:1px solid var(--acc-soft-2);font-size:.9375rem;font-weight:500;color:var(--ink)}
.chk-error[hidden],.chk-mode[hidden]{display:none}
.chk-fine{margin-top:14px;font-size:.8125rem;line-height:1.5;color:var(--muted);max-width:52ch}
.chk-ts{margin-top:10px}
.chk-ts:empty{margin-top:0}
.chk-form.is-busy .btn-primary{opacity:.6;pointer-events:none}
.chk-how{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.chk-how li{display:grid;grid-template-columns:36px minmax(0,1fr);gap:14px;align-items:start;padding:18px;border-radius:var(--r-card);border:1px solid var(--line);background:var(--glass);box-shadow:var(--shadow-sm),inset 0 1px 0 var(--hi);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.chk-how b{display:block;font-weight:600}
.chk-how li div span{display:block;margin-top:3px;font-size:.9375rem;color:var(--muted);line-height:1.45}
.chk-how-n{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;border:1.5px solid var(--acc);color:var(--acc-text);font:700 .9375rem/1 var(--f-body)}

/* Porter reading: three lamps lighting in turn, and the stages ticking off */
.chk-stage{padding:clamp(40px,6vw,72px) var(--gutter)}
.chk-stage[hidden],.chk-result[hidden]{display:none}
.chk-reader{display:flex;gap:22px;align-items:flex-start;max-width:640px;margin:0 auto;padding:26px 28px;border-radius:var(--r-card);border:1px solid var(--line-2);background:var(--surface);box-shadow:var(--shadow-lg)}
.chk-lamps{display:inline-flex;gap:7px;padding-top:6px}
.chk-lamps i{width:16px;height:16px;border-radius:50%;border:2px solid var(--line-2);animation:chk-lamp 1.4s infinite}
.chk-lamps i:nth-child(2){animation-delay:.2s}
.chk-lamps i:nth-child(3){animation-delay:.4s;border-color:var(--acc)}
@keyframes chk-lamp{0%,100%{background:transparent;box-shadow:none}35%,60%{background:var(--acc);border-color:var(--acc);box-shadow:0 0 0 4px var(--acc-soft-2),0 0 18px var(--glow)}}
.chk-reader-t{font:700 1.25rem/1.25 var(--f-display);letter-spacing:-.02em}
.chk-stages{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:8px;font-size:.9375rem;color:var(--faint)}
.chk-stages li{display:flex;align-items:center;gap:10px}
.chk-stages li::before{content:"";width:10px;height:10px;border-radius:50%;border:2px solid var(--line-2);flex:none}
.chk-stages li.now{color:var(--ink)}
.chk-stages li.now::before{border-color:var(--acc)}
.chk-stages li.done{color:var(--muted)}
.chk-stages li.done::before{background:var(--acc);border-color:var(--acc)}

/* The result */
.chk-result{padding:calc(var(--nav-h) + 24px) var(--gutter) var(--sec)}
.chk-result-head{max-width:760px}
.chk-kicker{font:600 .8125rem/1.3 var(--f-body);color:var(--acc-text);text-transform:none}
.chk-h2{margin-top:10px;font:760 clamp(2rem,3.6vw,3.2rem)/1.02 var(--f-display);letter-spacing:-.04em;text-wrap:balance;outline:none}
.chk-summary{margin-top:16px;font-size:clamp(1.05rem,1.3vw,1.2rem);line-height:1.55;color:var(--muted);max-width:62ch}
.chk-h3{font:740 clamp(1.3rem,2vw,1.6rem)/1.15 var(--f-display);letter-spacing:-.03em}
.chk-tiles{list-style:none;margin:32px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.chk-tile{display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto;gap:4px 14px;align-items:center;padding:16px;border-radius:18px;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow-sm),inset 0 1px 0 var(--hi)}
.chk-tile .chk-logo{grid-row:1 / span 2}
.chk-tile .chk-chip{grid-column:2}
.chk-logo{display:grid;place-items:center;width:44px;height:44px;border-radius:30%;border:1px solid var(--line-2);background:var(--surface-2);color:var(--ink)}
.chk-logo .logo,.chk-logo .ico{width:22px;height:22px}
.chk-tile-txt{display:grid;gap:1px;min-width:0}
.chk-tile-txt b{font-weight:600}
.chk-tile-role{font-size:.8125rem;color:var(--muted)}
.chk-chip{display:inline-flex;align-items:center;gap:6px;justify-self:start;padding:4px 10px 4px 8px;border-radius:999px;background:var(--acc-soft);color:var(--acc-text);font:600 .75rem/1 var(--f-body)}
.chk-chip .ico{width:13px;height:13px}
@media (prefers-reduced-motion:no-preference){.chk-tile{animation:chk-in .5s cubic-bezier(.2,.7,.2,1) both}}
@keyframes chk-in{from{opacity:0;transform:translateY(10px)}}
.chk-flag{display:flex;gap:14px;align-items:flex-start;margin-top:20px;max-width:760px;padding:18px 20px;border-radius:18px;border:1px solid var(--acc-soft-2);background:var(--acc-soft)}
.chk-flag[hidden],.chk-other[hidden],.chk-requests[hidden],.chk-preview[hidden],.chk-gate[hidden],.chk-sent[hidden]{display:none}
.chk-flag-ico{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--acc);color:var(--acc-ink);flex:none}
.chk-flag-ico .ico{width:18px;height:18px}
.chk-flag b{font-weight:600}
.chk-flag p{margin-top:4px;color:var(--ink-2);line-height:1.5}
.chk-other{margin-top:16px;font-size:.9375rem;color:var(--muted);max-width:70ch}

.chk-requests{margin-top:56px}
.chk-req-list{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:12px}
.chk-req{padding:18px 20px;border-radius:18px;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow-sm)}
.chk-req-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}
.chk-req-head .chk-logo{width:36px;height:36px}
.chk-req-head .chk-logo .logo,.chk-req-head .chk-logo .ico{width:18px;height:18px}
.chk-req-head b{font-weight:600}
.chk-req-says,.chk-req-with{display:grid;grid-template-columns:120px minmax(0,1fr);gap:4px 16px;margin-top:12px;line-height:1.5}
.chk-req-label{font:600 .75rem/1.6 var(--f-body);color:var(--muted)}
.chk-req-says q{font-style:italic;color:var(--ink-2)}
.chk-req-with{color:var(--ink)}

.chk-preview{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:clamp(24px,5vw,72px);align-items:center;margin-top:56px}
.chk-preview-txt p{margin-top:10px;color:var(--muted);line-height:1.55;max-width:46ch}
.chk-phone-wrap{display:flex;justify-content:center}
.chk-phone{--dev-h:620px;width:340px;max-width:100%}
.chk-phone .client-body{padding:20px 18px}
.chk-pv-steps .step-head{cursor:default;gap:12px}
.chk-pv-steps .status span:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

.chk-gate{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(20px,4vw,48px);align-items:center;margin-top:48px;padding:clamp(22px,3vw,32px);border-radius:var(--r-card);border:1px solid var(--line-2);background:var(--glass);box-shadow:var(--shadow-md),inset 0 1px 0 var(--hi);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.chk-gate-txt p{margin-top:8px;color:var(--muted);line-height:1.5}
.chk-gate-form{min-width:0}
.chk-sent{grid-column:1 / -1;padding:14px 16px;border-radius:14px;background:var(--acc-soft);color:var(--ink);font-weight:500}

.chk-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px 40px;align-items:center;margin-top:24px;padding:clamp(24px,3.4vw,40px);border-radius:var(--r-card);background:var(--ink);color:var(--surface);box-shadow:var(--shadow-lg)}
.chk-cta .chk-h3{color:inherit}
.chk-cta p{margin-top:8px;color:color-mix(in srgb,var(--surface) 72%,transparent);line-height:1.55;max-width:56ch}
.chk-cta-actions{display:flex;flex-wrap:wrap;gap:10px}
.chk-cta .btn-ghost{background:transparent;color:inherit;border-color:color-mix(in srgb,var(--surface) 35%,transparent)}
.chk-cta .btn-ghost:hover{border-color:var(--surface)}
.chk-again{margin-top:24px;text-align:center}

@media (max-width:980px){
  .chk-hero-grid,.chk-gate,.chk-preview,.chk-cta{grid-template-columns:minmax(0,1fr)}
  .chk-how{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:720px){
  .chk-how{grid-template-columns:minmax(0,1fr)}
  .chk-req-says,.chk-req-with{grid-template-columns:minmax(0,1fr)}
  .chk-reader{flex-direction:column;gap:14px}
}
@media (max-width:520px){
  .chk-form .capture-box{flex-direction:column}
  .chk-form .capture-box .btn{width:100%}
  .chk-gate-form .capture-box{flex-direction:column}
  .chk-gate-form .capture-box .btn{width:100%}
}
@media (prefers-reduced-motion:reduce){.chk-lamps i{animation:none}.chk-lamps i:nth-child(3){background:var(--acc)}}
