/* The actual homepage supplies typography, spacing, surfaces and all motion.
   Only the two keyword pages' added interactions are styled here. */
.cm-word-end { display: inline-block; white-space: nowrap; }
.cm-related { display: inline-flex; align-items: center; justify-content: center; gap: 9px; margin-top: 32px; font-size: 15px; }
.cm-related svg { width: 16px; height: 16px; }
.cm-footer-note { padding-block: 22px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; color: var(--muted); }
.cm-readiness .b-calc-in { gap: 0; }
.cm-check { position: relative; display: flex; align-items: flex-start; gap: 18px; padding-block: 26px; border-bottom: 1px dashed var(--line-2); cursor: pointer; }
.cm-check:first-child { padding-top: 4px; }
.cm-check > input { position: absolute; width: 26px; height: 26px; top: 26px; left: 0; opacity: 0; cursor: pointer; }
.cm-check:first-child > input { top: 4px; }
.cm-check-icon { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 2px; border: 1.5px solid var(--line-2); border-radius: 7px; background: var(--surface); transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.cm-check-icon svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.4); transition: opacity .25s var(--ease), transform .4s var(--ease); }
.cm-check input:checked + .cm-check-icon { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-wash); }
.cm-check input:checked + .cm-check-icon svg { opacity: 1; transform: none; }
.cm-check input:focus-visible + .cm-check-icon { outline: 3px solid var(--orange); outline-offset: 4px; }
.cm-check > span:last-child { display: grid; gap: 10px; }
.cm-check b { font-size: 19px; line-height: 1.3; letter-spacing: -.025em; }
.cm-check small { font-size: 15px; line-height: 1.6; color: var(--muted); }
.cm-readiness .b-calc-hint { margin-top: 24px; }
.cm-ready-out { overflow: hidden; isolation: isolate; position: relative; }
.cm-ready-out::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle, rgb(255 255 255 / .085) 1px, transparent 1.5px) 0 0 / 16px 16px; mask-image: linear-gradient(180deg,#000, transparent); }
.cm-ready-label { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: var(--inst-muted); }
.cm-ready-route { display: flex; align-items: flex-start; margin-block: 34px 22px; }
.cm-ready-node { display: grid; gap: 12px; justify-items: center; min-width: 0; width: 28%; text-align: center; }
.cm-ready-node b { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #444b58; background: var(--inst-bar); border-radius: 12px; color: var(--inst-muted); font: 22px/1 var(--pixel); transition: color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); }
.cm-ready-node small { font-size: 11px; color: var(--inst-muted); line-height: 1.4; transition: color .3s var(--ease); }
.cm-ready-node.is-on b { color: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 5px rgb(255 90 10 / .09); transform: translateY(-3px); }
.cm-ready-node.is-on small { color: #fff; }
.cm-ready-connector { flex: 1; height: 2px; margin-top: 26px; background: radial-gradient(circle, #626a77 1px, transparent 1.2px) 0 0 / 6px 2px; }
.cm-ready-total { margin-block: 14px; display: flex; align-items: baseline; gap: 6px; }
.cm-ready-total b { color: #fff; font-size: 62px; font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.cm-ready-total span { color: var(--inst-muted); font-size: 17px; }
.cm-ready-out .b-calc-sub { min-height: 3.2em; margin-bottom: 26px; }
.cm-ready-link { display: block; margin-top: 20px; color: var(--inst-muted); font-size: 13px; text-align: center; text-decoration: underline; text-underline-offset: 4px; transition: color .2s; }
.cm-ready-link:hover { color: #fff; }
.cm-readiness.is-ready .cm-ready-total b { color: var(--orange); }
@media(min-width: 761px) { .cm-readiness .b-calc-out { align-self: stretch; display: flex; flex-direction: column; justify-content: center; } }
@media(max-width: 479px) { .cm-ready-node b { width: 44px; height: 44px; font-size: 19px; } .cm-ready-connector { margin-top: 22px; } .cm-check b { font-size: 18px; } .cm-check small { font-size: 14px; } .cm-related { font-size: 14px; } }
@media(prefers-reduced-motion: reduce) { .cm-check-icon, .cm-check-icon svg, .cm-ready-node b, .cm-ready-node small { transition: none; } }
