/* K3 Part B (P-134): the public /check live preview. Its own stylesheet, from the site's tokens (ink #071424, deep #050E1A,
   blue #326FE6 behind white text, #2459C4 for links on light, green #208669 / #5FDCB2, amber #E9B34D). Layout in the mockups'
   1440px stage coordinates; the phone layout is Part C. Only transform and opacity are animated. */
:root{--ink:#071424;--deep:#050E1A;--blue:#326FE6;--blue-d:#2459C4;--sky:#8FB3FF;--glow:#6FB6FF;--green:#208669;--mint:#5FDCB2;--amber:#E9B34D;--mist:#EEF3F9;--muted:#C9D4E2;--line:#CBD6E3;
  --ease:cubic-bezier(.2,.8,.2,1)}
*{box-sizing:border-box}
html,body{margin:0}
body.ck{font-family:'Hanken Grotesk',ui-sans-serif,system-ui,sans-serif;color:var(--mist);background:var(--deep);-webkit-font-smoothing:antialiased;min-height:100vh;overflow-x:hidden}
.ck a{color:var(--sky)}.ck a:hover{color:#CFE0FF}
.ck-sr{position:absolute!important;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.ck-skip{position:absolute;left:12px;top:-60px;z-index:100;background:#fff;color:var(--ink)!important;padding:10px 14px;border-radius:10px;font-weight:700}.ck-skip:focus{top:12px}
.ck :focus-visible{outline:2px solid #8FB3FF;outline-offset:2px;border-radius:6px}
.ck-card :focus-visible{outline-color:var(--blue-d)}
[hidden]{display:none!important}

/* header (shared by every state) */
.ck-head{position:relative;z-index:60;background:rgba(7,20,36,.97);border-bottom:1px solid rgba(53,115,234,.22)}
.ck-head-in{max-width:1240px;margin:0 auto;padding:0 24px;height:80px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.ck-logo img{height:44px;width:auto;display:block}
.ck-nav{display:flex;align-items:center;gap:4px}
.ck-nav a{color:#E8EEF6;text-decoration:none;font-size:16px;font-weight:600;padding:10px 12px;border-radius:10px;min-height:44px;display:inline-flex;align-items:center}
.ck-nav a:hover{background:rgba(238,243,249,.08);color:#fff}
.ck-nav a.ck-cur{color:#fff;background:rgba(238,243,249,.08);box-shadow:inset 0 -2px 0 var(--blue)}
.ck-nav .ck-access{margin-left:8px;gap:8px;padding:10px 14px;border:1px solid rgba(238,243,249,.18)}
.ck-nav .ck-cta{margin-left:8px;color:#fff;padding:0 20px;min-height:46px;font-weight:700;border-radius:12px}
.ck-who{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:700;color:#fff}
.ck-who-i{width:30px;height:30px;border-radius:9px;background:#fff;color:var(--ink);font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center}
body:not([data-state="gateway"]) .ck-nav{display:none}
body:not([data-state="gateway"]) .ck-logo img{height:36px}

/* buttons */
.ck-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--blue);color:#fff!important;border:0;font:inherit;font-weight:800;text-decoration:none;cursor:pointer;
  border-radius:14px;box-shadow:0 16px 36px -14px rgba(50,111,230,1);transition:background .2s,transform .15s,box-shadow .25s}
.ck-btn:hover{background:#2A63D1;transform:translateY(-2px);box-shadow:0 0 0 5px rgba(53,115,234,.18),0 22px 44px -14px rgba(50,111,230,1)}
.ck-btn:active{transform:translateY(1px)}
.ck-ghost{min-height:58px;background:#fff;color:var(--ink);font:inherit;font-size:16px;font-weight:700;border-radius:14px;border:1.5px solid var(--line);cursor:pointer}
.ck-ghost:hover{border-color:#9FB0C6}
.ck-link{background:none;border:0;padding:8px 0;min-height:44px;font:inherit;font-size:15px;font-weight:700;color:var(--blue-d);cursor:pointer;text-decoration:underline;text-underline-offset:3px}

/* the stage */
.ck-stage{position:relative;overflow:hidden;min-height:calc(100vh - 80px);height:1300px;outline:none}
body:not([data-state="gateway"]) .ck-stage{height:900px}
.ck-glow{position:absolute;inset:0;pointer-events:none;background:radial-gradient(760px 420px at 50% 44%,rgba(22,70,150,var(--sg,.55)),transparent 70%),radial-gradient(1200px 520px at 50% 50%,rgba(18,50,100,.35),transparent 72%);transition:opacity .9s}
body[data-level="2"] .ck-glow{--sg:.75}
body:not([data-state="gateway"]) .ck-glow{background:radial-gradient(800px 520px at 50% 34%,rgba(22,70,150,.58),transparent 68%)}
body[data-state="ready"] .ck-glow{background:radial-gradient(900px 520px at 50% 82%,rgba(22,90,170,.6),transparent 70%)}
.ck-field{position:absolute;left:50%;top:0;width:1440px;height:1300px;transform:translateX(-50%)}
.ck-lines{position:absolute;left:0;top:0;z-index:1;overflow:visible}
.ck-nodes{position:absolute;inset:0;z-index:2;pointer-events:none}
.ck-light{position:absolute;left:0;top:0;width:100%;height:1300px;pointer-events:none;z-index:55;background:radial-gradient(340px circle at var(--lx,-999px) var(--ly,-999px),rgba(53,115,234,.22),rgba(53,115,234,.07) 45%,transparent 70%)}
body[data-state="check"] .ck-light,body[data-state="ready"] .ck-light{opacity:.6}
.ck-part{position:absolute;inset:0;z-index:4;pointer-events:none}
.ck-part>*{pointer-events:auto}

/* nodes: position, scale and opacity from check.js (transform only); the look from the state below */
.nd{position:absolute;left:0;top:0;display:flex;flex-direction:column;align-items:center;gap:7px;will-change:transform,opacity}
/* P-138 (founder): the 11 chips change state smoothly again: 300 ms on color, background-color and border-color; the glow is a
   layer behind the chip that fades (opacity), never an animated shadow. */
.nd .chip{position:relative;display:flex;align-items:center;gap:10px;white-space:nowrap;border-radius:999px;padding:5px 12px 5px 5px;background-color:rgba(8,20,36,.88);
  border:1px solid rgba(143,179,255,calc(.1 + var(--p,0) * .4));box-shadow:0 10px 24px -14px rgba(0,0,0,.9);
  transition:color .3s,background-color .3s,border-color .3s}
.nd .chip::after{content:"";position:absolute;inset:-1px;border-radius:inherit;pointer-events:none;z-index:-1;
  box-shadow:var(--gl,0 0 18px rgba(53,115,234,.45));opacity:var(--go,var(--p,0));transition:opacity .3s}
.nd .lb{transition:color .3s}
.nd .ti{width:24px;height:24px;border-radius:7px;display:flex;align-items:center;justify-content:center;background:rgba(143,179,255,.07)}
.nd .ti img{width:58%;height:58%;object-fit:contain;display:block}
.nd .ti svg{width:14px;height:14px;fill:none;stroke:#8EA3C0;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nd .lb{font-size:13px;font-weight:700;color:#9DAEC4}
.nd .dot{width:8px;height:8px;border-radius:50%;display:none}
.nd .tk{width:20px;height:20px;border-radius:50%;background:var(--green);display:none;align-items:center;justify-content:center}
.nd .tk svg{width:11px;height:11px;fill:none;stroke:#fff;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}
.nd .tag{font-size:12.5px;font-weight:800;border-radius:999px;padding:4px 11px;white-space:nowrap;opacity:0;transition:opacity .35s}
.nd.lg .chip{padding:8px 16px 8px 8px;background-color:rgba(15,36,64,.97);border-color:rgba(143,179,255,calc(.24 + var(--p,0) * .5));
  box-shadow:0 18px 40px -16px rgba(0,0,0,.9),inset 0 1px 0 rgba(255,255,255,.07);--gl:0 0 30px rgba(53,115,234,.6)}
.nd.lg .ti{width:40px;height:40px;border-radius:12px;background:var(--tile);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 8px 18px -8px rgba(0,0,0,.7)}
.nd.lg .ti svg{width:22px;height:22px;stroke:var(--tint)}
.nd.lg .lb{font-size:16px;color:#fff}
.nd.lg .dot{display:block;background:var(--amber);animation:ckDotA 2s ease-in-out infinite}
body[data-level="1"] .nd.lg .dot{background:var(--glow);animation:none;box-shadow:0 0 10px rgba(111,182,255,.9)}
body[data-level="2"] .nd.lg .dot{background:var(--mint);animation:ckDotR 1.4s ease-in-out infinite}
body:not([data-state="gateway"]) .nd .dot{display:none}
.nd[data-v="key"] .chip{padding:7px 15px 7px 7px;background-color:rgba(15,36,64,.97);border-color:rgba(143,179,255,calc(.32 + var(--p,0) * .5));
  box-shadow:0 18px 40px -16px rgba(0,0,0,.9);--gl:0 0 36px rgba(53,115,234,.7);--go:calc(.35 + var(--p,0) * .65)}
.nd[data-v="key"] .ti,.nd[data-v="active"] .ti,.nd[data-v="done"] .ti,.nd[data-v="prim"] .ti{width:38px;height:38px;border-radius:11px;background:var(--tile)}
.nd[data-v="key"] .ti svg,.nd[data-v="active"] .ti svg,.nd[data-v="done"] .ti svg{width:21px;height:21px;stroke:var(--tint)}
.nd[data-v="key"] .lb,.nd[data-v="active"] .lb,.nd[data-v="done"] .lb{font-size:15.5px;color:#fff}
.nd[data-v="prim"] .chip{padding:6px 14px 6px 6px;background-color:rgba(13,31,55,.92);border-color:rgba(143,179,255,calc(.18 + var(--p,0) * .4))}
.nd[data-v="prim"] .ti{width:34px;height:34px;border-radius:10px}
.nd[data-v="prim"] .lb{font-size:14.5px;color:#D2DCE8}
.nd[data-v="active"] .chip{padding:7px 15px 7px 7px;background-color:#12305A;border:1.5px solid var(--glow);--gl:0 0 0 4px rgba(111,182,255,.18),0 0 34px -4px rgba(111,182,255,.8);--go:1}
.nd[data-v="active"] .chip::after{animation:ckBreathe 1.6s ease-in-out infinite}
.nd[data-v="done"] .chip{padding:7px 10px 7px 7px;background-color:rgba(15,36,64,.98);border:1.5px solid rgba(95,220,178,.75);--gl:0 0 24px -6px rgba(95,220,178,.5);--go:1}
.nd[data-v="done"] .tk,.nd[data-v="quiet"] .tk{display:flex;animation:ckTick .3s var(--ease) both}
.nd[data-v="quiet"] .chip{padding:5px 10px 5px 5px;background-color:rgba(8,20,36,.9);border-color:rgba(95,220,178,.4)}
.nd[data-v="quiet"] .tk{width:16px;height:16px}
.nd[data-v="quiet"] .lb{color:#C3CEDC}
.nd[data-v="dim"] .lb{color:#8FA0B8}
.nd .tag{background:rgba(111,182,255,.16);color:#CFE0FF;border:1px solid rgba(111,182,255,.4)}
.nd .tag.res{background:#fff;color:var(--ink);border-color:#fff}
.nd .tag.setup{background:transparent;border:0;color:#6E7F98;font-weight:700;padding:0}
.nd .tag.on{opacity:1}

/* Gateway */
.ck-hero{position:absolute;left:50%;top:52px;width:860px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;text-align:center}
.ck-hero::before{content:"";position:absolute;left:50%;top:50%;width:1000px;height:420px;transform:translate(-50%,-50%);background:radial-gradient(closest-side,rgba(5,14,26,.85),rgba(5,14,26,.5) 60%,transparent);z-index:-1}
.ck-eye{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:1.8px;text-transform:uppercase;color:#A9C2EE;background:rgba(53,115,234,.08);border:1px solid rgba(143,179,255,.18);border-radius:999px;padding:6px 13px 6px 11px}
.ck-eye i{width:6px;height:6px;border-radius:50%;background:var(--glow);box-shadow:0 0 6px rgba(111,182,255,.7)}
.ck-hero h1{margin:20px 0 0;font-size:72px;line-height:.98;letter-spacing:-3.2px;font-weight:800;color:#fff}
.ck-hero h1 span{color:var(--sky)}
.ck-hero p{margin:20px 0 0;font-size:20.5px;line-height:1.5;color:var(--muted);max-width:660px}
.ck-card{background:#fff;color:var(--ink);border-radius:24px;padding:24px}
.ck-card a{color:var(--blue-d)}
.ck-find{position:absolute;left:50%;top:372px;width:700px;transform:translateX(-50%);z-index:4;
  box-shadow:0 0 0 1px rgba(255,255,255,.7),0 0 0 var(--rw,5px) var(--rc,rgba(53,115,234,.12)),0 40px 100px -30px rgba(53,115,234,var(--cg,.7)),0 20px 40px -20px rgba(0,0,0,.6)}
/* Part D: the typing glow is a layer that fades (opacity only) instead of an animated shadow. */
.ck-find::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .35s;
  box-shadow:0 0 0 9px rgba(53,115,234,.2),0 40px 110px -24px rgba(53,115,234,.9)}
body[data-level="1"] .ck-find::before{opacity:.5}
body[data-level="2"] .ck-find::before{opacity:1}
.ck-find h2{margin:0;font-size:18px;font-weight:800;letter-spacing:-.3px}
.ck-fields{margin-top:14px;display:flex;gap:12px}
.ck-f{display:flex;flex-direction:column;gap:6px}.ck-f-n{flex:1.6 1 0}.ck-f-t{flex:1 1 0}
.ck-f label{font-size:14px;font-weight:700}
.ck-f input{height:56px;border:1.5px solid var(--line);border-radius:13px;padding:0 16px;font:inherit;font-size:17px;color:var(--ink);background:#F7FAFD;width:100%}
.ck-f input::placeholder{color:#6B7A8F}
.ck-f input:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 4px rgba(53,115,234,.18);background:#fff}
.ck-f input[aria-invalid="true"]{border-color:#C0392B}
.ck-err{margin:10px 0 0;font-size:14.5px;font-weight:600;color:#B42318}
.ck-ts{margin-top:12px}
.ck-go{margin-top:14px;width:100%;min-height:60px;font-size:18px}
.ck-go[aria-busy="true"]{opacity:.85;cursor:progress}
.ck-note{margin-top:12px;text-align:center;font-size:14px;font-weight:600;color:#4A5B70}
.ck-trust{position:absolute;left:0;right:0;top:796px;display:flex;flex-direction:column;align-items:center;gap:10px}
.ck-trust-t{font-size:15px;font-weight:700;color:var(--sky)}
.ck-trust-r{display:flex;align-items:center;gap:14px;font-size:13.5px;font-weight:500;color:#9AABC2}
.ck-trust-r span{display:inline-flex;align-items:center;gap:6px}
.ck-trust-r svg{width:13px;height:13px;fill:none;stroke:#6E89B3;stroke-width:2}
.ck-trust-r i{font-style:normal;color:#3D5070}
.ck-postcard{font-size:13.5px;font-weight:600;padding:8px 6px;min-height:44px;display:inline-flex;align-items:center}

/* the Workspace glimpse / outline */
.ck-ws{position:absolute;left:50%;top:896px;width:1300px;margin-left:-650px;z-index:6;text-align:center;transition:transform 1s var(--ease),opacity .8s;will-change:transform,opacity}
.ck-ws-t b{display:block;font-size:20px;font-weight:800;color:#fff}.ck-ws-t span{display:block;margin-top:4px;font-size:16.5px;color:#B4C1D2}
.ck-ws-f{margin-top:18px;perspective:1800px}
.ck-ws-b{transform:rotateX(13deg);transform-origin:50% 0;border-radius:22px;overflow:hidden;border:1px solid rgba(143,179,255,.3);box-shadow:0 -20px 90px -20px rgba(53,115,234,.55);
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 42%,transparent 97%);mask-image:linear-gradient(180deg,#000 0%,#000 42%,transparent 97%);display:flex;height:330px;text-align:left;background:#EEF3F9;transition:transform 1s var(--ease)}
.ck-ws-side{width:228px;background:var(--ink);padding:16px 12px;display:flex;flex-direction:column;gap:4px}
.ck-ws-side span{padding:8px 12px;color:#A9B6C8;font-size:13px;font-weight:600}
.ck-ws-side span.on{padding:9px 12px;border-radius:9px;background:#16304F;border:1px solid rgba(143,179,255,.35);color:#fff;font-weight:700}
.ck-ws-me{display:flex!important;align-items:center;gap:9px;padding:4px 6px 14px!important}.ck-ws-me>i{width:28px;height:28px;border-radius:8px;background:#fff}
.ck-ws-me span{display:flex;flex-direction:column;gap:5px}.ck-ws-me span i{display:block;height:8px;width:104px;border-radius:4px;background:#C9D4E2}.ck-ws-me span i+i{height:6px;width:64px;background:#33475F}
.ck-ws-main{flex:1;padding:18px;display:flex;flex-direction:column;gap:14px}
.ck-ws-hero{height:128px;border-radius:16px;background:radial-gradient(400px 200px at 85% 0%,rgba(53,115,234,.35),transparent 70%),var(--ink);padding:18px;display:flex;gap:24px}
.ck-ws-hero>div:first-child{flex:1;display:flex;flex-direction:column;gap:10px}
.ck-ws-hero .k{font-size:11px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;color:var(--sky)}
.ck-ws-hero .l1,.ck-ws-hero .l2{display:block;height:18px;border-radius:6px;filter:blur(1.5px)}.ck-ws-hero .l1{width:72%;background:#DCE4EE}.ck-ws-hero .l2{width:52%;background:var(--amber)}
.ck-ws-hero .dots{display:flex;gap:5px;margin-top:4px}.ck-ws-hero .dots i{width:10px;height:10px;border-radius:50%;background:#23395A}.ck-ws-hero .dots i.a{background:none;border:3px solid var(--amber)}
.ck-ws-hero .pills{width:220px;display:flex;flex-direction:column;gap:8px;justify-content:center}.ck-ws-hero .pills i{height:36px;border-radius:10px;background:#fff}.ck-ws-hero .p1{box-shadow:inset 0 0 0 2px var(--amber)}.ck-ws-hero .p2{box-shadow:inset 0 0 0 2px var(--glow)}
.ck-ws-g{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ck-ws-g span{height:92px;border-radius:14px;background:#fff;border:1px solid #D6DEE9;padding:14px;display:flex;align-items:center;gap:12px}
.ck-ws-g span.g{background:#F2FAF6;border-color:#CFE9DE}
.ck-ws-g i{width:48px;height:48px;border-radius:50%;filter:blur(1.5px)}.ck-ws-g .d1{background:conic-gradient(var(--amber) 0 38%,#E8EDF3 38% 100%)}.ck-ws-g .d2{background:conic-gradient(var(--blue) 0 60%,#E8EDF3 60% 100%)}.ck-ws-g .d3{background:conic-gradient(var(--green) 0 85%,#E8EDF3 85% 100%)}
.ck-ws-g b{flex:1;height:8px;border-radius:4px;background:#C9D4E2}
.ck-ws-row{height:70px;border-radius:14px;background:#fff;border:1px solid #D6DEE9}
body:not([data-state="gateway"]) .ck-ws{transform:translateY(-196px);opacity:.14}
body:not([data-state="gateway"]) .ck-ws-t{opacity:0}
body:not([data-state="gateway"]) .ck-ws-b{transform:none}
body[data-stage="3"] .ck-ws{opacity:.4;transform:translateY(-206px)}
body[data-state="ready"] .ck-ws{opacity:1;transform:translateY(-256px)}
body[data-state="fail"] .ck-ws{opacity:.08}

/* Match */
.ck-match-h{position:absolute;left:50%;top:58px;width:760px;transform:translateX(-50%);text-align:center;transition:opacity .25s,transform .25s var(--ease)}
.ck-match-h h1{margin:0;font-size:60px;line-height:1;letter-spacing:-2.6px;font-weight:800;color:#fff;outline:none}
.ck-match-h p{margin:14px 0 0;font-size:21px;font-weight:600;color:var(--muted)}
.ck-id,.ck-list{position:absolute;left:420px;top:222px;width:600px;border-radius:26px;padding:28px;
  box-shadow:0 0 0 1px rgba(255,255,255,.7),0 0 0 var(--rw,6px) rgba(53,115,234,var(--ra,.14)),0 40px 100px -30px rgba(53,115,234,.8),0 20px 40px -20px rgba(0,0,0,.6)}
.ck-going .ck-id{--rw:10px;--ra:.3}
.ck-id-row{display:flex;gap:18px;align-items:center;transition:opacity .25s}
.ck-ini{width:72px;height:72px;border-radius:20px;background:var(--ink);color:#fff;font-weight:800;font-size:25px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;box-shadow:0 10px 24px -10px rgba(7,20,36,.6)}
.ck-id-n{font-size:26px;line-height:1.15;letter-spacing:-.6px;font-weight:800}
.ck-id-c{margin-top:6px;font-size:16px;color:#3B4A60}
.ck-id-w{margin-top:4px;display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:600;color:var(--blue-d)}
.ck-id-a{margin-top:24px;display:flex;gap:12px;transition:opacity .25s}
.ck-yes{flex:1.5 1 0;min-height:58px;font-size:18px}
.ck-no,.ck-ghost{flex:1 1 0}
.ck-spin{display:none;width:18px;height:18px;border-radius:50%;border:3px solid rgba(50,111,230,.25);border-top-color:var(--blue);animation:ckSpin .8s linear infinite}
.ck-going .ck-yes{background:#EAF1FD;color:#1E4FB0!important;box-shadow:none;transform:none;cursor:progress}
.ck-going .ck-yes .ck-spin{display:inline-block}
.ck-going .ck-yes svg{display:none}
.ck-list h2{margin:0 0 14px;font-size:20px;font-weight:800;outline:none}
.ck-list ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.ck-list li button{width:100%;display:flex;align-items:center;gap:14px;text-align:left;min-height:64px;padding:10px 14px;border:1.5px solid var(--line);border-radius:14px;background:#fff;font:inherit;color:var(--ink);cursor:pointer}
.ck-list li button:hover{border-color:var(--blue)}
.ck-list li .ck-ini{width:44px;height:44px;border-radius:12px;font-size:16px}
.ck-list li b{display:block;font-size:17px}.ck-list li small{display:block;font-size:14px;color:#3B4A60}
.ck-list .ck-link{display:block;margin-top:8px}

/* the badge (the identity card becomes it) */
.ck-badge{position:absolute;left:642px;top:232px;width:156px;height:156px;z-index:5}
.ck-badge-in{position:absolute;inset:0;border-radius:50%;background:#fff;color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 30px 70px -20px rgba(53,115,234,.85)}
.ck-badge .ck-ini{width:50px;height:50px;border-radius:14px;font-size:18px}
.ck-badge-n{margin-top:8px;font-size:12.5px;font-weight:800;text-align:center;line-height:1.2;padding:0 14px;max-height:3.6em;overflow:hidden}
.ck-badge-ring{position:absolute;inset:-10px;border-radius:50%;border:3px solid rgba(111,182,255,.15);border-top-color:var(--glow);animation:ckSpin 1.4s linear infinite}
.ck-badge-done{position:absolute;left:-10px;top:-10px;width:176px;height:176px;display:none}
.ck-badge-done circle{fill:none;stroke:var(--mint);stroke-width:4;stroke-linecap:round;stroke-dasharray:503;stroke-dashoffset:503;transform:rotate(-90deg);transform-origin:50% 50%}
body[data-state="ready"] .ck-badge-ring{border:2px solid var(--mint);animation:ckHalo 2.6s ease-out .9s infinite}
body[data-state="ready"] .ck-badge-done{display:block}
body[data-state="ready"] .ck-badge-done circle{animation:ckDraw .9s var(--ease) forwards}
body[data-state^="fail"] .ck-badge-ring{animation:none;border-color:rgba(143,179,255,.12)}

/* Check: progress rows */
.ck-rows{position:absolute;left:50%;top:428px;width:720px;transform:translateX(-50%);text-align:center;transition:opacity .25s,transform .25s var(--ease)}
.ck-rows ol{list-style:none;margin:0 auto;padding:0;display:inline-flex;flex-direction:column;gap:12px;text-align:left}
.ck-rows li{display:flex;gap:12px;align-items:center;font-size:17px;font-weight:600;color:#6A7890;opacity:0;transform:translateY(8px)}
.ck-rows.in li{opacity:1;transform:none;transition:opacity .4s var(--ease),transform .4s var(--ease)}
.ck-rows.in li:nth-child(2){transition-delay:70ms}.ck-rows.in li:nth-child(3){transition-delay:140ms}.ck-rows.in li:nth-child(4){transition-delay:210ms}
.ck-rows li.done,.ck-rows li.active{color:var(--mist)}
.ck-rows li.active{font-weight:800}
.ck-mark{width:24px;height:24px;border-radius:50%;flex:0 0 auto;display:flex;align-items:center;justify-content:center;border:1.5px solid rgba(238,243,249,.22)}
.ck-mark svg{width:12px;height:12px;fill:none;stroke:#fff;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round;display:none}
li.active .ck-mark{border:3px solid rgba(111,182,255,.22);border-top-color:var(--glow);animation:ckSpin .9s linear infinite}
li.done .ck-mark{background:var(--green);border:0}
li.done .ck-mark svg{display:block;animation:ckTick .3s var(--ease) both}
.ck-live{margin-top:24px;font-size:13.5px;color:#8FA0B8}.ck-live b{color:var(--sky)}
.ck-usually{margin-top:6px}
body[data-state="ready"] .ck-rows{opacity:0;transform:translate(-50%,-12px);pointer-events:none}

/* Ready */
.ck-ready{position:absolute;left:50%;top:428px;width:720px;transform:translateX(-50%);text-align:center}
.ck-ready h1{margin:0;font-size:50px;line-height:1.02;letter-spacing:-2px;font-weight:800;color:#fff;outline:none;animation:ckRise .5s var(--ease) .6s both}
.ck-ready p{margin:12px 0 0;font-size:20px;color:var(--muted);animation:ckRise .5s var(--ease) .72s both}
.ck-see{margin-top:24px;min-height:64px;padding:0 40px;font-size:19px;border-radius:15px;box-shadow:0 0 0 6px rgba(53,115,234,.2),0 20px 50px -14px rgba(50,111,230,1);animation:ckRise .5s var(--ease) .84s both}
.ck-days{margin-top:14px;font-size:14px;color:#8FA0B8;animation:ckRise .5s var(--ease) 1s both}

/* failure (inside the layout it happened in) */
.ck-fail{position:absolute;left:420px;top:330px;width:600px;z-index:7;border-radius:26px;padding:30px;box-shadow:0 40px 100px -30px rgba(53,115,234,.6),0 20px 40px -20px rgba(0,0,0,.6)}
body[data-state="fail-check"] .ck-fail{top:428px}
.ck-fail-k{display:block;font-size:12.5px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;color:#4A5B70}
.ck-fail h2{margin:8px 0 0;font-size:26px;line-height:1.15;letter-spacing:-.6px;font-weight:800;outline:none}
.ck-fail p{margin:10px 0 0;font-size:16.5px;line-height:1.5;color:#3B4A60}
.ck-fail-a{margin-top:20px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.ck-fail-a .ck-btn{min-height:54px;padding:0 24px;font-size:16.5px}
.ck-flink{font-weight:700;font-size:15.5px;min-height:44px;display:inline-flex;align-items:center}
/* P-138: the failure card's second link in the standard link colour on white (#2459C4, 6.3:1). */
.ck .ck-fail .ck-flink,.ck .ck-fail .ck-flink:visited{color:#2459C4;text-decoration:underline;text-underline-offset:3px}
.ck .ck-fail .ck-flink:hover{color:#1E4FB0}
body[data-state^="fail"] .nd{opacity:.25!important}
body[data-state="fail-check"] .ck-rows{opacity:0}

@keyframes ckSpin{to{transform:rotate(360deg)}}
@keyframes ckTick{from{transform:scale(.4);opacity:0}to{transform:none;opacity:1}}
@keyframes ckBreathe{0%,100%{opacity:.55}50%{opacity:1}}
@keyframes ckDotA{0%,100%{box-shadow:0 0 0 0 rgba(233,179,77,.7)}50%{box-shadow:0 0 0 5px rgba(233,179,77,0)}}
@keyframes ckDotR{0%,100%{box-shadow:0 0 0 0 rgba(95,220,178,.8)}50%{box-shadow:0 0 0 5px rgba(95,220,178,0)}}
@keyframes ckRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes ckHalo{0%{transform:scale(1);opacity:.9}100%{transform:scale(1.35);opacity:0}}
@keyframes ckDraw{to{stroke-dashoffset:0}}
@keyframes ckFade{from{opacity:0}to{opacity:1}}

/* Reduced motion: no orbit, no pulses, no flying; state changes become short fades; states still show (colour, tick, tag). */
@media (prefers-reduced-motion:reduce){
  .ck *,.ck *::before,.ck *::after{animation-duration:1ms!important;animation-iteration-count:1!important;transition-duration:150ms!important;transition-delay:0ms!important}
  .ck-badge-ring{animation:none!important}
  /* State changes become 150 ms fades; the nodes keep their states (colour, tick, tag) without moving. */
  body.ck-fade .ck-field{animation:ckFade .15s linear both!important}
  .ck-rows li{transform:none!important}
}

/* ---------- Part C (P-135): the phone, every state at 390px (P-MGateway, P-MMatch, P-MCheck; Ready and the failures from the
   desktop states). At 880px and narrower the stage is ordinary page flow in a 16px gutter (content at most 520px wide); the
   node layer keeps its own coordinates (check.js measures the page). Touch targets at least 44px. ---------- */
.ck-menu-b,.ck-over,.ck-orbit,.ck-mchips,.ck-mdims,.ck-corbit{display:none}
@media (max-width:880px){
  .ck-head-in,body:not([data-state="gateway"]) .ck-head-in{height:60px;padding:0 16px}
  .ck-logo img,body:not([data-state="gateway"]) .ck-logo img{height:28px}
  .ck-logo{display:inline-flex;align-items:center;min-height:44px}
  .ck-menu-b{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;border:1px solid rgba(238,243,249,.18);background:transparent;color:#E8EEF6;cursor:pointer}
  body:not([data-state="gateway"]) .ck-menu-b{display:none}
  .ck-nav{display:none;position:absolute;left:0;right:0;top:60px;flex-direction:column;align-items:stretch;gap:2px;padding:8px 16px 16px;background:rgba(7,20,36,.99);border-bottom:1px solid rgba(53,115,234,.22);box-shadow:0 30px 60px -20px rgba(0,0,0,.8)}
  body.ck-menu[data-state="gateway"] .ck-nav{display:flex}
  .ck-nav a,.ck-nav .ck-access,.ck-nav .ck-cta{margin:0;min-height:48px;padding:0 12px}
  .ck-nav .ck-cta{margin-top:8px;justify-content:center}
  .ck-over{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 4px;font-size:15px;font-weight:700;text-decoration:none}
  .ck-over[hidden]{display:none!important}
  .ck-who{gap:0}.ck-who-n{display:none}
  body[data-state="match"] .ck-who{display:none}
  .ck-over{margin-left:auto}
  .ck-who-i{width:34px;height:34px;font-size:12.5px}

  .ck-stage,body:not([data-state="gateway"]) .ck-stage{height:auto;min-height:calc(100vh - 60px);padding-bottom:40px}
  body:not([data-state="gateway"]) .ck-stage{padding-bottom:120px}
  .ck-light{display:none}
  .ck-glow,body:not([data-state="gateway"]) .ck-glow,body[data-state="ready"] .ck-glow{background:radial-gradient(420px 300px at 50% 160px,rgba(22,70,150,.55),transparent 70%),radial-gradient(420px 380px at 50% 52%,rgba(22,70,150,.3),transparent 70%)}
  .ck-field{position:relative;left:0;top:0;width:100%;height:auto;transform:none;padding:0 16px}
  .ck-part{position:relative;inset:auto;max-width:520px;margin:0 auto}

  /* nodes: the phone sizes (MGateway, MMatch, MCheck) */
  .nd.ph{gap:5px}
  .nd.ph .chip{gap:7px;padding:4px 10px 4px 4px}
  .nd.ph .ti,.nd.ph[data-v] .ti{width:24px;height:24px;border-radius:7px;background:var(--tile)}
  .nd.ph .ti svg,.nd.ph[data-v] .ti svg{width:13px;height:13px;stroke:var(--tint)}
  .nd.ph .lb,.nd.ph[data-v] .lb{font-size:13px;color:#fff}
  .nd.ph[data-v="mini"] .chip{background-color:rgba(15,36,64,.97);border-color:rgba(143,179,255,.3)}
  .nd.ph[data-v="key"] .chip{padding:5px 12px 5px 5px}
  .nd.ph[data-v="key"] .ti{width:28px;height:28px;border-radius:8px}
  .nd.ph[data-v="key"] .lb{font-size:14px}
  .nd.ph[data-v="active"] .chip,.nd.ph[data-v="done"] .chip{padding:5px 10px 5px 5px}
  .nd.ph[data-v="active"] .ti,.nd.ph[data-v="done"] .ti{width:30px;height:30px;border-radius:9px}
  .nd.ph[data-v="active"] .lb,.nd.ph[data-v="done"] .lb{font-size:14.5px}
  .nd.ph[data-v="dim"] .chip,.nd.ph[data-v="prim"] .chip{padding:6px 12px;background-color:rgba(8,20,36,.7);border-color:rgba(143,179,255,.14)}
  .nd.ph[data-v="dim"] .ti{display:none}
  .nd.ph[data-v="dim"] .lb{font-size:13px;color:#8FA0B8}
  .nd.ph .tag{font-size:12px;padding:3px 10px}

  /* Gateway (P-MGateway) */
  .ck-orbit{display:block;height:176px}
  .ck-hero{position:static;width:auto;transform:none}
  .ck-hero::before{display:none}
  .ck-eye{font-size:11px;letter-spacing:1.6px;padding:5px 11px}
  .ck-hero h1{margin-top:14px;font-size:40px;line-height:.98;letter-spacing:-1.8px}
  .ck-hero p{margin-top:14px;font-size:16px;line-height:1.5;color:#C3CEDC}
  .ck-find{position:relative;left:auto;top:auto;width:auto;transform:none;margin-top:22px;padding:18px 16px 16px;border-radius:22px;
    box-shadow:0 0 0 1px rgba(255,255,255,.7),0 0 0 var(--rw,6px) var(--rc,rgba(53,115,234,.16)),0 30px 70px -24px rgba(53,115,234,.8)}
  .ck-find h2{font-size:17px}
  .ck-fields{flex-direction:column;gap:12px;margin-top:12px}
  .ck-f input{height:52px;font-size:16px;padding:0 14px}
  .ck-go{min-height:56px;font-size:17px}
  .ck-note{margin-top:10px;font-size:13.5px}
  .ck-trust{position:static;margin-top:20px;gap:8px;text-align:center}
  .ck-trust-t{font-size:14px}
  .ck-trust-r{flex-wrap:wrap;justify-content:center;gap:2px 8px;font-size:12.5px;line-height:1.6}
  .ck-trust-r svg{display:none}

  /* the Workspace glimpse; then the outline peeking under Check and rising on Ready */
  .ck-ws{position:relative;left:auto;top:auto;width:auto;max-width:520px;margin:28px auto 0;transition:transform .7s var(--ease),opacity .6s}
  .ck-ws-t b{font-size:17px}.ck-ws-t span{font-size:14px;margin-top:2px}
  .ck-ws-f{margin-top:14px;perspective:none}
  .ck-ws-b{transform:none;height:170px;border-radius:18px;padding:10px;-webkit-mask-image:linear-gradient(180deg,#000 40%,transparent 96%);mask-image:linear-gradient(180deg,#000 40%,transparent 96%)}
  .ck-ws-side,.ck-ws-hero .pills,.ck-ws-hero .dots,.ck-ws-row{display:none}
  .ck-ws-main{padding:0;gap:8px}
  .ck-ws-hero{height:76px;padding:12px;border-radius:12px;background:radial-gradient(200px 100px at 90% 0%,rgba(53,115,234,.35),transparent 70%),var(--ink)}
  .ck-ws-hero>div:first-child{gap:8px}
  .ck-ws-hero .l1,.ck-ws-hero .l2{height:13px}
  .ck-ws-g{gap:8px}.ck-ws-g span{height:64px;padding:10px;border-radius:10px}.ck-ws-g i{width:30px;height:30px}
  /* Part D (no layout shift): after the Gateway the outline is fixed at the bottom of the screen, so nothing above can move it;
     on Match it isn't shown. It peeks during Check and rises (transform) on Ready. */
  body:not([data-state="gateway"]) .ck-ws{position:fixed;left:16px;right:16px;bottom:0;margin:0 auto;z-index:1;pointer-events:none;opacity:.14;transform:translateY(62%)}
  body:not([data-state="gateway"]) .ck-ws-t{display:none}
  body:not([data-state="gateway"]) .ck-ws-f{margin-top:0}
  body[data-state="match"] .ck-ws,body[data-state="fail"] .ck-ws{display:none}
  body[data-stage="3"] .ck-ws{opacity:.35}
  body[data-state="ready"] .ck-ws{opacity:1;transform:translateY(38%)}
  body[data-state="fail-check"] .ck-ws{opacity:.08}

  /* Match (P-MMatch) */
  .ck-match-h{position:static;width:auto;transform:none;padding-top:34px}
  .ck-match-h h1{font-size:40px;line-height:1;letter-spacing:-1.6px}
  .ck-match-h p{margin-top:10px;font-size:17px}
  .ck-mchips{display:block;height:100px}
  .ck-id,.ck-list{position:relative;left:auto;top:auto;width:auto;padding:20px;border-radius:22px}
  .ck-id-row{gap:14px;align-items:flex-start}
  .ck-id .ck-ini{width:58px;height:58px;border-radius:16px;font-size:21px}
  .ck-id-n{font-size:21px;letter-spacing:-.4px}
  .ck-id-c{margin-top:4px;font-size:15px}
  .ck-id-w{font-size:14.5px}
  .ck-id-a{margin-top:18px;flex-direction:column;gap:10px}
  .ck-yes{flex:none;width:100%;min-height:56px;font-size:17px}
  .ck-ghost{flex:none;width:100%;min-height:52px}
  .ck-list li button{min-height:60px}
  .ck-mdims{display:block;height:110px}

  /* the badge and Check (P-MCheck) */
  .ck-badge{left:calc(50% - 62px);top:88px;width:124px;height:124px}
  .ck-badge-ring{inset:-8px}
  .ck-badge-done{left:-10px;top:-10px;width:144px;height:144px}
  .ck-badge .ck-ini{width:40px;height:40px;border-radius:11px;font-size:15px}
  .ck-badge-n{margin-top:6px;font-size:11.5px;padding:0 12px}
  .ck-corbit{display:block;height:310px}
  .ck-rows{position:static;width:auto;transform:none;text-align:left}
  .ck-rows ol{display:flex;gap:14px}
  .ck-rows li{font-size:16.5px;line-height:1.3;align-items:flex-start}
  .ck-live{margin-top:20px;font-size:13.5px;line-height:1.5}
  .ck-usually{margin-top:4px}
  body[data-state="ready"] .ck-rows,body[data-state="fail-check"] .ck-rows{display:none}

  /* Ready (built from the desktop state, stacked) */
  .ck-ready{position:static;width:auto;transform:none;text-align:center}
  .ck-ready h1{font-size:34px;line-height:1.04;letter-spacing:-1.2px}
  .ck-ready p{margin-top:10px;font-size:17px;line-height:1.45}
  .ck-see{display:flex;width:100%;margin-top:20px;min-height:58px;padding:0 20px;font-size:18px}
  .ck-days{font-size:13.5px}

  /* when we can't check: the card stacks */
  .ck-fail{position:relative;left:auto;top:auto;width:auto;max-width:520px;margin:32px auto 0;padding:22px 20px;border-radius:22px}
  body[data-state="fail-check"] .ck-fail{top:auto;margin-top:0}
  .ck-fail h2{font-size:23px}
  .ck-fail p{font-size:16px}
  .ck-fail-a{flex-direction:column;align-items:stretch;gap:6px}
  .ck-fail-a .ck-btn{width:100%;min-height:54px}
  .ck-flink{justify-content:center;min-height:48px}
}
.ck-legal{text-align:center;font-size:13px;padding:8px 16px calc(24px + env(safe-area-inset-bottom,0px));color:#7f90a7}
.ck-legal a{color:inherit;text-decoration:underline;text-underline-offset:2px;display:inline-block;padding:10px 4px}

/* P-149 (founder, 2026-11-06): the trust lines easier to read: a step larger, brighter (at least 4.5:1 on the field). */
.ck-trust-t{font-size:16px;color:#A9C4FF}
.ck-trust-r{font-size:14.5px;font-weight:600;color:#B9C7DA}
.ck-trust-r svg{width:14px;height:14px;stroke:#8FA6C8}
.ck-trust-r i{color:#6E82A3}
@media (max-width:880px){.ck-trust-t{font-size:15px}.ck-trust-r{font-size:13.5px}}

/* P-163 (founder, 2026-11-09; WCAG 2.2.2): the orbit's pause/play control; paused, the decoration's CSS animations stop. */
.ck-pause{position:absolute;left:12px;top:72px;z-index:30;width:44px;height:44px;padding:0;border-radius:50%;border:1px solid rgba(238,243,249,.4);background:rgba(5,14,26,.78);color:#EEF3F9;display:grid;place-items:center;cursor:pointer}
.ck-pause svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}.ck-pause .pl{display:none;fill:currentColor;stroke:none}
.ck-pause[aria-pressed="true"] .pz{display:none}.ck-pause[aria-pressed="true"] .pl{display:block}.ck-pause:focus-visible{outline:2px solid #8fb3ff;outline-offset:2px}
body.ck-paused .ck-orbit *,body.ck-paused .ck-corbit *,body.ck-paused .nd *,body.ck-paused .nd *::after,body.ck-paused .ck-badge-ring{animation-play-state:paused!important}
@media (min-width:700px){.ck-pause{top:100px;left:24px}}
