/* ============================================================================
   PlacementFlow — Marketing V2 · "Clinical Precision"

   Direction: keep the PlacementFlow identity (IBM Plex Sans, #1768F2 blue,
   deep ink/navy, cool neutrals, real product imagery) but open on a calm dark
   product stage, cut copy per viewport, and let one signature element carry
   the page: the day rail — a fine flow line of timestamped status nodes.

   Modes: default CSS is the resolved static presentation (no JS required).
   html.cp-motion (set by JS when prefers-reduced-motion is absent) enables
   entrances, the travelling rail pulse and menu transitions. Reduced motion
   keeps every control and all content.
   ============================================================================ */

:root{
  /* stage (dark) */
  --stage:#050E1E;
  --stage-2:#0A1830;
  --stage-line:rgba(214,228,248,.13);
  --stage-line-soft:rgba(214,228,248,.07);
  --ink-onstage:#EAF1FC;
  --muted-onstage:rgba(224,234,250,.62);
  /* light */
  --page:#F5F7FA;
  --surface:#FFFFFF;
  --ink:#071426;
  --muted:#5D6B80;
  --line:rgba(7,20,38,.11);
  --line-strong:rgba(7,20,38,.22);
  /* accent — blue is the only strong accent */
  --blue:#1768F2;
  --blue-hover:#0E57D8;
  --blue-soft:rgba(23,104,242,.10);
  --blue-onstage:#6EA5F8;
  /* product status colours (never decorative); amber dark enough for a
     3:1 non-text indicator on white */
  --green:#1A9E54;
  --amber:#B56C0F;
  /* system */
  --font-ui:'IBM Plex Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --wrap:1216px;
  --nav-h:64px;
  --r:12px;
  --r-btn:10px;
  --shadow-1:0 1px 2px rgba(7,20,38,.06),0 8px 24px rgba(7,20,38,.07);
  --shadow-menu:0 2px 6px rgba(7,20,38,.08),0 24px 60px -12px rgba(7,20,38,.22);
  --shadow-stage:0 1px 2px rgba(2,8,20,.5),0 40px 90px -20px rgba(2,8,20,.7);
  --ease-out:cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after{box-sizing:border-box}
/* the hidden attribute must always win, whatever display a class sets */
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--nav-h) + 16px)}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}
body.cp-page{
  margin:0;background:var(--page);color:var(--ink);
  font-family:var(--font-ui);font-size:16px;line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,p,ul,ol,figure,dl,dd{margin:0}
ul,ol{padding:0;list-style:none}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
:is(a,button):focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-radius:6px}
.cp-walk :is(a,button):focus-visible,
.cp-close :is(a,button):focus-visible{outline-color:var(--blue-onstage)}

.cp-sr{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}
.cp-skip{
  position:fixed;left:16px;top:-48px;z-index:200;
  background:var(--surface);color:var(--ink);font-size:14px;font-weight:600;
  padding:10px 16px;border-radius:10px;box-shadow:var(--shadow-menu);
  transition:top .15s ease;
}
.cp-skip:focus-visible{top:12px}

/* ---------------- type ---------------- */
.cp-eyebrow{
  font-size:12px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;
  color:var(--blue);
}
.cp-eyebrow--onstage{color:var(--blue-onstage)}
h1{
  font-family:var(--font-ui);font-weight:600;
  font-size:clamp(37px,4.7vw,62px);line-height:1.02;letter-spacing:-0.035em;
}
h2{
  font-family:var(--font-ui);font-weight:600;
  font-size:clamp(32px,3.6vw,50px);line-height:1.05;letter-spacing:-0.028em;
  color:var(--ink);
}
.cp-h3{
  font-size:clamp(22px,2vw,27px);font-weight:600;letter-spacing:-0.02em;
  line-height:1.2;color:var(--ink);
}
.cp-lead{font-size:clamp(17px,1.35vw,19px);line-height:1.55;color:var(--muted);max-width:34em}

/* ---------------- buttons + links ---------------- */
.cp-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-size:14px;font-weight:600;
  border-radius:var(--r-btn);padding:0 18px;height:40px;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.cp-btn--primary{background:var(--blue);color:#fff}
.cp-btn--primary:hover{background:var(--blue-hover)}
.cp-btn--hero{height:48px;padding:0 24px;font-size:15px}
/* opaque tint + darkened accent: 4.5:1 on any real backdrop */
.cp-btn--soft{
  background:#E2EBFB;color:var(--blue-hover);height:38px;font-size:13.5px;
}
.cp-btn--soft:hover{background:#D4E2F9}
.cp-arrow{font-size:14.5px;font-weight:600;color:var(--blue);padding:6px 2px}
.cp-arrow:hover{text-decoration:underline;text-underline-offset:3px}
.cp-arrow--onstage{color:var(--blue-onstage)}
.cp-arrow span{display:inline-block;transition:translate .18s var(--ease-out)}
.cp-arrow:hover span{translate:3px 0}

/* status dots — shared product vocabulary */
.cp-dot{width:7px;height:7px;border-radius:50%;display:inline-block;flex-shrink:0}
.cp-dot--green{background:var(--green)}
.cp-dot--amber{background:var(--amber)}
.cp-dot--blue{background:var(--blue)}

/* availability chips (Students menu + learning section).
   Opaque tints (precomposited over white) with darkened foregrounds, so the
   4.5:1 ratio holds on white, --page and hover backdrops alike. */
.cp-avail{
  display:inline-flex;align-items:center;
  font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  padding:2px 7px;border-radius:5px;margin-left:8px;white-space:nowrap;
  flex-shrink:0;
}
.cp-avail--free{color:#0B6231;background:#E3F3EA}
.cp-avail--uni{color:var(--blue-hover);background:#E4EDFB}
.cp-avail--pilot{color:#8F5309;background:#FBEEDC}
/* quieter in-development marker: plain muted text, not a pill */
.cp-soon{
  font-size:11px;font-weight:500;color:var(--muted);white-space:nowrap;
  flex-shrink:0;
}

/* ============================================================
   NAVIGATION — light bar over the dark hero would flicker; the
   bar itself is dark while over the stage, light after. JS swaps
   .is-light on scroll; default (no JS) keeps the dark bar which
   reads correctly against both because of the border+blur.
   ============================================================ */
.cp-nav{
  position:sticky;top:0;z-index:100;
  background:rgba(5,14,30,.86);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  border-bottom:1px solid var(--stage-line-soft);
  transition:background .25s ease,border-color .25s ease;
}
.cp-nav.is-light{
  background:rgba(245,247,250,.88);
  border-bottom-color:var(--line);
}
.cp-nav-inner{
  max-width:var(--wrap);margin:0 auto;height:var(--nav-h);
  padding:0 24px;display:flex;align-items:center;gap:26px;
}
.cp-logo{display:inline-flex;align-items:center;gap:10px;flex-shrink:0}
.cp-logo-mark{
  width:29px;height:29px;border-radius:8px;display:grid;place-items:center;
  background:var(--blue);color:#fff;font-size:12px;font-weight:700;letter-spacing:-0.02em;
}
.cp-logo-word{font-size:16px;font-weight:600;letter-spacing:-0.02em;color:var(--ink-onstage)}
.cp-logo-word i{font-style:normal;color:var(--blue-onstage)}
.cp-nav.is-light .cp-logo-word{color:var(--ink)}
.cp-nav.is-light .cp-logo-word i{color:var(--blue)}

.cp-links{display:flex;align-items:center;gap:2px}
.cp-item{position:relative}
.cp-trigger,.cp-plain{
  display:inline-flex;align-items:center;gap:6px;
  font-size:14px;font-weight:500;color:var(--muted-onstage);
  padding:8px 12px;border-radius:8px;
  transition:color .15s ease,background .15s ease;
}
.cp-nav.is-light :is(.cp-trigger,.cp-plain){color:var(--muted)}
:is(.cp-trigger,.cp-plain):hover,
.cp-trigger[aria-expanded="true"]{
  color:var(--ink-onstage);background:rgba(224,234,250,.08);
}
.cp-nav.is-light :is(.cp-trigger,.cp-plain):hover,
.cp-nav.is-light .cp-trigger[aria-expanded="true"]{
  color:var(--ink);background:rgba(7,20,38,.05);
}
.cp-caret{
  width:8px;height:8px;flex-shrink:0;position:relative;top:-1px;
  border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) scale(.8);opacity:.7;
  transition:transform .2s var(--ease-out);
}
.cp-trigger[aria-expanded="true"] .cp-caret{transform:rotate(225deg) scale(.8);top:1px}

.cp-actions{margin-left:auto;display:flex;align-items:center;gap:16px}
.cp-login{font-size:14px;font-weight:500;color:var(--ink-onstage);padding:8px 4px}
.cp-nav.is-light .cp-login{color:var(--ink)}
.cp-login:hover{color:var(--blue-onstage)}
.cp-nav.is-light .cp-login:hover{color:var(--blue)}

/* ---- mega panels ---- */
.cp-panel{
  position:absolute;top:calc(100% + 10px);left:50%;
  width:min(760px,calc(100vw - 32px));
  translate:-50% 0;
  background:var(--surface);color:var(--ink);
  border:1px solid var(--line);border-radius:14px;
  box-shadow:var(--shadow-menu);
  padding:22px;
}
.cp-panel--resources{width:min(560px,calc(100vw - 32px))}
.cp-panel--students{width:min(880px,calc(100vw - 32px))}
/* entry: ~220ms, opacity + 6px rise + slight scale. Switch between open
   panels (html.cp-switching) drops the rise so it reads as a crossfade. */
html.cp-motion .cp-panel{
  transform-origin:top center;
  animation:cp-panel-in .22s var(--ease-out) both;
}
html.cp-motion.cp-switching .cp-panel{animation:cp-panel-swap .16s ease both}
@keyframes cp-panel-in{
  from{opacity:0;translate:-50% 6px;scale:.988}
  to{opacity:1;translate:-50% 0;scale:1}
}
@keyframes cp-panel-swap{
  from{opacity:0}
  to{opacity:1}
}
.cp-panel-inner{display:grid;grid-template-columns:1fr 1fr;gap:8px 26px}
.cp-panel--product .cp-panel-inner{grid-template-columns:1.05fr 1.05fr 1fr}
.cp-panel--students .cp-panel-inner{grid-template-columns:1fr 1.1fr .95fr}
.cp-col{min-width:0}
.cp-col-label{
  font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--muted);margin:6px 0 8px;padding:0 10px;
}
.cp-col-label--second{margin-top:18px}
.cp-row{
  display:flex;flex-direction:column;gap:2px;
  padding:9px 10px;border-radius:9px;
  transition:background .13s ease;
}
.cp-row b{font-size:13.5px;font-weight:600;letter-spacing:-0.01em;color:var(--ink)}
.cp-row span{font-size:12px;color:var(--muted);line-height:1.45}
.cp-row:hover{background:var(--page)}
.cp-row:hover b{color:var(--blue)}
.cp-mini{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  font-size:13.5px;font-weight:500;color:var(--ink);
  padding:7px 10px;border-radius:8px;
  transition:background .13s ease,color .13s ease;
}
.cp-mini:hover{background:var(--page);color:var(--blue)}
.cp-mini .cp-avail{margin-left:0}

/* contextual product preview inside the Product panel */
.cp-panel-preview{
  margin-top:14px;padding:12px;border-radius:10px;
  background:var(--stage);color:var(--ink-onstage);
  display:flex;flex-direction:column;gap:7px;
}
.cp-preview-bar{
  display:flex;align-items:center;gap:7px;
  font-size:10.5px;font-weight:600;color:var(--muted-onstage);
  padding-bottom:8px;border-bottom:1px solid var(--stage-line-soft);
}
.cp-preview-bar i{
  width:6px;height:6px;border-radius:50%;background:rgba(224,234,250,.25);
  box-shadow:10px 0 0 rgba(224,234,250,.25);margin-right:12px;flex-shrink:0;
}
.cp-preview-row{
  display:flex;align-items:center;gap:8px;
  font-size:12px;font-weight:500;color:var(--ink-onstage);
  font-variant-numeric:tabular-nums;white-space:nowrap;
}

/* featured panel (Students menu) */
.cp-col--featured{align-self:start}
.cp-featured{
  padding:16px;border-radius:10px;
  background:var(--page);border:1px solid var(--line);
  display:flex;flex-direction:column;gap:10px;align-items:flex-start;
}
.cp-featured-title{font-size:14.5px;font-weight:600;letter-spacing:-0.01em;line-height:1.35}
.cp-featured-copy{font-size:12.5px;color:var(--muted);line-height:1.5}
.cp-featured .cp-btn{margin-top:auto}

/* ---- burger + mobile sheet ---- */
.cp-burger{
  display:none;margin-left:auto;width:44px;height:44px;border-radius:10px;
  border:1px solid var(--stage-line);
  flex-direction:column;align-items:center;justify-content:center;gap:5px;
}
.cp-nav.is-light .cp-burger{border-color:var(--line);background:var(--surface)}
.cp-burger span{
  width:16px;height:2px;border-radius:2px;background:var(--ink-onstage);
  transition:transform .2s ease;
}
.cp-nav.is-light .cp-burger span{background:var(--ink)}
.cp-burger[aria-expanded="true"] span:first-child{transform:translateY(3.5px) rotate(45deg)}
.cp-burger[aria-expanded="true"] span:last-child{transform:translateY(-3.5px) rotate(-45deg)}

/* The nav's backdrop-filter makes it the containing block for positioned
   descendants, so the sheet is anchored absolutely below the bar with an
   explicit viewport height rather than position:fixed. */
.cp-sheet{
  display:none;position:absolute;left:0;right:0;top:100%;
  height:calc(100vh - var(--nav-h));
  height:calc(100dvh - var(--nav-h));
  z-index:99;overflow-y:auto;-webkit-overflow-scrolling:touch;
  background:var(--surface);color:var(--ink);
  padding:12px 16px calc(24px + env(safe-area-inset-bottom));
  flex-direction:column;gap:2px;
}
html.cp-motion .cp-sheet{animation:cp-sheet-in .2s var(--ease-out) both}
@keyframes cp-sheet-in{
  from{opacity:0;translate:0 -6px}
  to{opacity:1;translate:0 0}
}
.cp-sheet-group{border-bottom:1px solid var(--line)}
.cp-sheet-trigger{
  width:100%;display:flex;align-items:center;justify-content:space-between;
  font-size:16px;font-weight:600;color:var(--ink);
  padding:15px 6px;min-height:48px;border-radius:8px;
}
.cp-sheet-trigger .cp-caret{opacity:.5}
.cp-sheet-trigger[aria-expanded="true"] .cp-caret{transform:rotate(225deg) scale(.8)}
.cp-sheet-panel{padding:2px 6px 16px;display:flex;flex-direction:column;gap:1px}
.cp-sheet-panel[hidden]{display:none}
.cp-sheet-panel .cp-col-label{padding:12px 8px 6px;margin:0}
.cp-sheet-panel a{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  font-size:14.5px;font-weight:500;color:var(--ink);
  padding:10px 8px;min-height:44px;border-radius:8px;
}
.cp-sheet-panel a:hover{background:var(--page)}
.cp-sheet-link{
  display:flex;align-items:center;
  font-size:16px;font-weight:600;color:var(--ink);
  padding:15px 6px;min-height:48px;border-bottom:1px solid var(--line);border-radius:8px;
}
.cp-sheet-actions{
  display:flex;flex-direction:column;gap:10px;margin-top:14px;
}
.cp-sheet-actions .cp-sheet-link{border-bottom:0}
.cp-sheet-actions .cp-btn{height:48px}
.cp-featured--sheet{margin:12px 8px 4px}
body.cp-sheet-open{overflow:hidden}

/* ============================================================
   THE WALKTHROUGH — one continuous dark stage
   The hero and the product tour are the same object. At rest the
   frame sits below the intro at reading size; as you scroll the
   intro recedes, the frame grows into the pinned viewport and the
   platform plays through a placement day, screen by screen.
   Everything below `@media (min-width:1000px) and (min-height:760px)`
   + html.cp-motion is the moving version; the base rules are the
   plain, tappable section that mobile and reduced motion get.
   ============================================================ */
.cp-walk{
  position:relative;
  background:
    radial-gradient(1200px 640px at 50% -120px,rgba(23,104,242,.17),transparent 70%),
    var(--stage);
  color:var(--ink-onstage);
  margin-top:calc(-1 * var(--nav-h));
  padding-top:var(--nav-h);
}
/* A faint engineering grid, only just visible. Bounded to the top of the
   section rather than spanning it: the mask fades the grid out long before
   that, so painting it down the section's full ~7000px only costs paint. */
.cp-walk::before{
  content:"";position:absolute;left:0;right:0;top:0;
  height:min(1400px,120vh);pointer-events:none;
  background-image:
    linear-gradient(rgba(214,228,248,.038) 1px,transparent 1px),
    linear-gradient(90deg,rgba(214,228,248,.038) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(1100px 700px at 50% 12%,#000 0%,transparent 72%);
  -webkit-mask-image:radial-gradient(1100px 700px at 50% 12%,#000 0%,transparent 72%);
}
.cp-walk-pin{position:relative;z-index:1}
.cp-walk-inner{
  max-width:var(--wrap);margin:0 auto;padding:clamp(44px,6vh,64px) 24px 0;
  display:grid;grid-template-columns:1fr;justify-items:center;
}

.cp-walk-intro{display:flex;flex-direction:column;align-items:center;text-align:center}
.cp-walk-intro h1{color:#fff;margin-top:22px}
.cp-hero-lead{
  margin-top:24px;font-size:clamp(16px,1.4vw,18.5px);
  color:var(--muted-onstage);max-width:34em;
}
.cp-hero-cta{
  margin-top:34px;display:flex;align-items:center;gap:26px;flex-wrap:wrap;justify-content:center;
}
html.cp-motion .cp-walk-intro > *{
  opacity:0;translate:0 14px;animation:cp-rise .7s var(--ease-out) both;
}
html.cp-motion .cp-walk-intro > :nth-child(2){animation-delay:.06s}
html.cp-motion .cp-walk-intro > :nth-child(3){animation-delay:.12s}
html.cp-motion .cp-walk-intro > :nth-child(4){animation-delay:.18s}
@keyframes cp-rise{
  from{opacity:0;translate:0 14px}
  to{opacity:1;translate:0 0}
}

/* ---------------- the frame ---------------- */
.cp-frame{
  position:relative;margin-top:clamp(32px,5vh,52px);
  width:min(1120px,100%);
  background:var(--stage-2);
  border:1px solid var(--stage-line);
  border-radius:14px;
  box-shadow:var(--shadow-stage);
  overflow:hidden;
}
html.cp-motion .cp-frame{animation:cp-rise .7s var(--ease-out) .3s both}
.cp-frame-bar{
  height:40px;display:flex;align-items:center;gap:12px;padding:0 16px;
  border-bottom:1px solid var(--stage-line-soft);
  font-size:12px;font-weight:600;color:var(--muted-onstage);
}
.cp-frame-bar i{
  width:8px;height:8px;border-radius:50%;background:rgba(224,234,250,.18);
  box-shadow:14px 0 0 rgba(224,234,250,.18),28px 0 0 rgba(224,234,250,.18);
  margin-right:24px;flex-shrink:0;
}
.cp-frame-bar span{
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.cp-stage-live{
  margin-left:auto;display:inline-flex;align-items:center;gap:6px;
  font-size:11px;font-weight:600;font-style:normal;color:var(--muted-onstage);
  flex-shrink:0;
}
.cp-stage-live b{width:6px;height:6px;border-radius:50%;background:var(--green)}

/* the screens: magnified so the interface is legible, never a whole
   2880px page shrunk to column width */
.cp-frame-body{
  position:relative;margin:12px;aspect-ratio:2/1;
  border-radius:8px;overflow:hidden;
  border:1px solid rgba(255,255,255,.07);
  background:var(--stage-2);
}
.cp-frame-body img{
  position:absolute;max-width:none;height:auto;
  opacity:0;
}
.cp-frame-body img.is-on{opacity:1}
html.cp-motion .cp-frame-body img{
  transition:opacity .42s ease,scale .6s var(--ease-out);
  scale:1.012;
}
html.cp-motion .cp-frame-body img.is-on{scale:1}
.cp-zoom--timetable{width:150%;left:-22%;top:-35%}
.cp-zoom--today{width:142%;left:-20%;top:-14%}
.cp-zoom--signoffs{width:150%;left:-24%;top:-14%}
.cp-zoom--signoffs2{width:150%;left:-24%;top:-58%}
.cp-zoom--notices{width:146%;left:-22%;top:-13%}

/* the reticle: four corner brackets that travel to the part of the
   screen the current chapter is about */
.cp-reticle{
  position:absolute;pointer-events:none;opacity:0;
  left:calc(var(--mx,0) * 100%);top:calc(var(--my,0) * 100%);
  width:calc(var(--mw,0) * 100%);height:calc(var(--mh,0) * 100%);
}
.cp-reticle.is-on{opacity:1}
.cp-reticle i{
  position:absolute;width:18px;height:18px;
  border:2px solid var(--blue-onstage);
  filter:drop-shadow(0 0 6px rgba(110,165,248,.55));
}
.cp-reticle i:nth-child(1){left:-2px;top:-2px;border-right:0;border-bottom:0;border-radius:5px 0 0 0}
.cp-reticle i:nth-child(2){right:-2px;top:-2px;border-left:0;border-bottom:0;border-radius:0 5px 0 0}
.cp-reticle i:nth-child(3){right:-2px;bottom:-2px;border-left:0;border-top:0;border-radius:0 0 5px 0}
.cp-reticle i:nth-child(4){left:-2px;bottom:-2px;border-right:0;border-top:0;border-radius:0 0 0 5px}
/* the brackets close in when the reticle settles on a new region */
html.cp-motion .cp-reticle.is-locking i{animation:cp-lock .42s var(--ease-out) both}
@keyframes cp-lock{
  from{margin:-7px}
  to{margin:0}
}
html.cp-motion .cp-reticle{
  transition:left .55s var(--ease-out),top .55s var(--ease-out),
             width .55s var(--ease-out),height .55s var(--ease-out),
             opacity .3s ease;
}

/* a single light pass across the frame when the screen changes */
.cp-scan{
  position:absolute;inset:0;pointer-events:none;opacity:0;
  background:linear-gradient(100deg,transparent 42%,rgba(110,165,248,.16) 50%,transparent 58%);
}
html.cp-motion .cp-scan.is-running{animation:cp-scan .62s ease-out 1}
@keyframes cp-scan{
  from{opacity:1;translate:-46% 0}
  to{opacity:0;translate:46% 0}
}


/* ---------------- caption + rail (motion mode only) ---------------- */
.cp-walk-caption,.cp-walk-rail{display:none}

/* In the non-motion presentation the frame sticks while the chapters scroll
   past it, so tapping a chapter always changes something you can see. */
.cp-walk-framewrap{
  width:100%;display:flex;justify-content:center;
  position:sticky;top:calc(var(--nav-h) + 14px);z-index:2;
  margin-top:clamp(32px,5vh,52px);
}
.cp-walk-framewrap .cp-frame{margin-top:0}

/* wide enough for the chapters to sit beside the frame they control */
@media (min-width:860px){
  .cp-walk-inner{
    grid-template-columns:minmax(300px,0.82fr) minmax(0,1.18fr);
    column-gap:clamp(32px,4vw,64px);align-items:start;justify-items:stretch;
  }
  .cp-walk-intro{grid-column:1/-1}
  .cp-walk-framewrap{grid-column:2;grid-row:2}
  .cp-walk-list{grid-column:1;grid-row:2}
}

/* ---------------- the chapter list (the non-motion presentation) ---------------- */
.cp-walk-list{
  width:100%;max-width:var(--wrap);margin:0 auto;
  padding:clamp(48px,7vh,80px) 0 clamp(72px,10vh,120px);
  position:relative;z-index:1;
}
.cp-walk-listhead h2{color:#fff}
.cp-walk-listhead .cp-lead{margin-top:18px;color:var(--muted-onstage)}
.cp-chapters{
  margin-top:clamp(28px,4vh,44px);
  display:flex;flex-direction:column;
  border-left:1px solid var(--stage-line);
}
.cp-chapter{position:relative}
.cp-chapter::before{
  content:"";position:absolute;left:-4px;top:20px;
  width:7px;height:7px;border-radius:50%;
  background:var(--stage);border:1.5px solid rgba(214,228,248,.34);
}
.cp-chapter.is-on::before{background:var(--blue-onstage);border-color:var(--blue-onstage)}
.cp-chapter-btn{
  width:100%;display:flex;align-items:baseline;gap:14px;
  padding:12px 10px 12px 22px;border-radius:0 10px 10px 0;text-align:left;
  transition:background .15s ease;
}
.cp-chapter-btn:hover{background:rgba(224,234,250,.05)}
.cp-chapter-time{
  font-size:13.5px;font-weight:600;color:var(--muted-onstage);
  font-variant-numeric:tabular-nums;letter-spacing:.03em;
  min-width:52px;flex-shrink:0;
}
.cp-chapter.is-on .cp-chapter-time{color:var(--blue-onstage)}
.cp-chapter-name{font-size:16px;font-weight:600;letter-spacing:-0.01em;color:var(--ink-onstage)}
.cp-chapter-panel{padding:0 10px 14px 22px}
.cp-chapter-panel p{font-size:15px;color:var(--muted-onstage);max-width:30em}
.cp-imagenote{margin-top:28px;font-size:12.5px;color:var(--muted-onstage)}

/* ============================================================
   WALKTHROUGH — motion mode
   Wide enough, tall enough, and motion welcome: the frame becomes
   the page. `--wp` (0 to 1) is the expansion progress the controller
   writes on scroll; everything else is state classes.
   ============================================================ */
@media (min-width:1000px) and (min-height:760px){
  html.cp-motion .cp-walk{ padding-top:0 }

  html.cp-motion .cp-walk-pin{
    position:sticky;top:0;height:100vh;height:100dvh;overflow:hidden;
  }
  /* the wrapper only exists for the static layout; in motion mode the frame
     positions against the pin directly */
  html.cp-motion .cp-walk-framewrap{display:contents}
  html.cp-motion .cp-walk-inner{
    display:block;height:100%;padding:0 24px;max-width:none;
  }

  /* the intro sits in the middle at rest and lifts away as the frame grows */
  html.cp-motion .cp-walk-intro{
    position:absolute;left:50%;top:calc(var(--nav-h) + 7vh);
    translate:-50% 0;width:min(var(--wrap),100%);padding:0 24px;
    opacity:calc(1 - var(--wp,0) * 1.33);
    transform:translateY(calc(var(--wp,0) * -190px));
    pointer-events:auto;
  }
  html.cp-motion .cp-walk.is-open .cp-walk-intro{pointer-events:none}

  /* The frame is laid out at its FINAL size and scaled down at rest, so the
     screenshot is never upscaled — it sharpens into place rather than blurring. */
  /* The frame and its caption move as one block: a single translate on the
     wrapper. Nothing is scaled and nothing is positioned from a measured
     height, so the caption cannot drift onto the product or off a short
     window. Panoramic rather than full-bleed — a wide letterbox onto the
     product, with stage either side. */
  html.cp-motion .cp-walk-framewrap{
    position:absolute;left:50%;top:50%;margin:0;
    display:block;
    width:min(1160px,calc(100vw - 180px));
    /* The frame's width is capped by the height left over once the caption
       and timeline below it are accounted for. That leftover is measured at
       runtime (--block-chrome) rather than guessed, because the caption's
       height depends on the font and on how its copy wraps. */
    max-width:calc((100dvh - var(--nav-h) - var(--block-chrome,265px)) * 2);
    translate:-50% -50%;
    transform:translateY(var(--fy,0px));
    will-change:transform;
  }
  html.cp-motion .cp-frame{
    position:relative;width:100%;margin:0;animation:none;
  }

  html.cp-motion .cp-walk-caption{
    display:block;position:static;margin-top:26px;
    opacity:var(--cap,0);
    pointer-events:none;text-align:center;
  }
  /* one compact line, so the product gets the height back */
  .cp-walk-head{
    display:flex;align-items:baseline;justify-content:center;gap:15px;
  }
  .cp-walk-time{
    font-size:13px;font-weight:600;letter-spacing:.14em;
    color:var(--blue-onstage);font-variant-numeric:tabular-nums;
  }
  .cp-walk-title{
    font-size:clamp(23px,2.1vw,30px);font-weight:600;
    letter-spacing:-0.022em;line-height:1.1;color:#fff;
  }
  .cp-walk-copy{
    display:block;margin:9px auto 0;font-size:15.5px;
    color:var(--muted-onstage);max-width:46em;
  }
  html.cp-motion .cp-walk-caption.is-swap .cp-walk-title,
  html.cp-motion .cp-walk-caption.is-swap .cp-walk-copy,
  html.cp-motion .cp-walk-caption.is-swap .cp-walk-time{opacity:0;translate:0 6px}
  html.cp-motion .cp-walk-caption :is(.cp-walk-time,.cp-walk-title,.cp-walk-copy){
    transition:opacity .22s ease,translate .28s var(--ease-out);
  }

  /* the rail doubles as the chapter index */
  /* the timeline is part of the moving block too, so it is always on screen
     with the frame it belongs to */
  html.cp-motion .cp-walk-rail{
    /* relative, not static: the fill line inside is absolutely positioned
       and would otherwise resolve against the moving block */
    display:block;position:relative;
    margin:22px auto 0;width:min(760px,100%);
    opacity:var(--cap,0);
  }
  .cp-walk-railline{
    position:absolute;left:4%;right:4%;top:5px;height:1px;
    background:rgba(214,228,248,.22);overflow:hidden;
  }
  .cp-walk-railline i{
    position:absolute;inset:0;transform-origin:left;
    background:linear-gradient(90deg,var(--blue),var(--blue-onstage));
    scale:var(--rp,0) 1;transition:scale .5s var(--ease-out);
  }
  html.cp-motion .cp-walk-rail ol{
    display:flex;justify-content:space-between;padding:0 4%;
  }
  html.cp-motion .cp-walk-rail li{
    display:flex;flex-direction:column;align-items:center;gap:9px;
  }
  html.cp-motion .cp-walk-rail li i{
    width:9px;height:9px;border-radius:50%;
    background:var(--stage);border:1.5px solid rgba(214,228,248,.36);
    transition:background .3s ease,border-color .3s ease,scale .3s var(--ease-out);
  }
  html.cp-motion .cp-walk-rail li.is-past i{background:var(--blue);border-color:var(--blue)}
  html.cp-motion .cp-walk-rail li.is-on i{
    background:var(--blue-onstage);border-color:var(--blue-onstage);scale:1.3;
  }
  html.cp-motion .cp-walk-rail li span{
    font-size:11px;font-weight:500;color:var(--muted-onstage);
    font-variant-numeric:tabular-nums;
  }
  html.cp-motion .cp-walk-rail li.is-on span{color:var(--ink-onstage)}

  /* the drivers: one viewport of scroll per chapter */
  html.cp-motion .cp-walk-steps{display:block}
  html.cp-motion .cp-walk-step{height:88vh}
  html.cp-motion .cp-walk-step--intro{height:60vh}
  html.cp-motion .cp-walk-step--outro{height:34vh}

  /* the chapter list is the stage's script in this mode, not visible copy */
  html.cp-motion .cp-walk-list{display:none}
}

/* the drivers never exist outside motion mode */
.cp-walk-steps{display:none}

/* ============================================================
   3 · ROLE TABS (light)
   ============================================================ */
.cp-roles{padding:0 24px clamp(84px,12vh,140px)}
.cp-roles-inner{
  max-width:var(--wrap);margin:0 auto;
  padding-top:clamp(84px,12vh,140px);border-top:1px solid var(--line);
}
.cp-tabs{
  position:relative;
  margin-top:34px;display:inline-flex;gap:4px;
  background:rgba(7,20,38,.05);border-radius:11px;padding:4px;
}
/* the selected pill glides between tabs instead of blinking on */
.cp-tabs-glide{
  position:absolute;top:4px;left:0;height:calc(100% - 8px);
  border-radius:8px;background:var(--surface);
  box-shadow:0 1px 2px rgba(7,20,38,.1),0 4px 12px rgba(7,20,38,.08);
  translate:var(--glide-x,0) 0;width:var(--glide-w,0);
  opacity:0;
}
.cp-tabs-glide.is-ready{opacity:1}
html.cp-motion .cp-tabs-glide.is-ready{
  transition:translate .32s var(--ease-out),width .32s var(--ease-out);
}
.cp-tab{position:relative;z-index:1}
.cp-tab{
  font-size:14px;font-weight:600;color:var(--muted);
  padding:9px 18px;border-radius:8px;min-height:40px;
  transition:background .18s ease,color .18s ease,box-shadow .18s ease;
}
.cp-tab:hover{color:var(--ink)}
.cp-tab[aria-selected="true"]{
  background:var(--surface);color:var(--ink);
  box-shadow:0 1px 2px rgba(7,20,38,.1),0 4px 12px rgba(7,20,38,.08);
}
/* once the glide is driving, the tab stops painting its own pill */
.cp-tabs.is-gliding .cp-tab[aria-selected="true"]{background:transparent;box-shadow:none}
.cp-tabstage{margin-top:34px;position:relative}
/* one shape for every role: a copy column with substance beside one wide
   frame, so no tab is a short paragraph adrift in a tall column */
.cp-tabpanel{
  display:grid;grid-template-columns:minmax(280px,.7fr) minmax(0,1.3fr);
  gap:clamp(32px,4vw,64px);align-items:center;
}
/* display:grid would defeat the hidden attribute */
.cp-tabpanel[hidden]{display:none}
html.cp-motion .cp-tabpanel:not([hidden]){animation:cp-tab-in .3s var(--ease-out) both}
@keyframes cp-tab-in{
  from{opacity:0;translate:0 8px}
  to{opacity:1;translate:0 0}
}
.cp-tab-copy{max-width:26em}
.cp-tab-lead{
  font-size:clamp(19px,1.7vw,24px);font-weight:600;letter-spacing:-0.018em;
  line-height:1.3;color:var(--ink);
}
.cp-tab-points{margin-top:18px;display:flex;flex-direction:column;gap:10px}
.cp-tab-points li{
  font-size:15.5px;line-height:1.5;color:var(--muted);
  display:flex;align-items:flex-start;gap:12px;
}
.cp-tab-points li::before{
  content:"";width:6px;height:6px;border-radius:50%;flex-shrink:0;
  background:var(--blue);opacity:.55;margin-top:9px;
}
.cp-tab-visual{
  border-radius:14px;overflow:hidden;
  border:1px solid var(--line);box-shadow:var(--shadow-1);
  background:var(--surface);
}
/* the same magnified window the day stage uses — a whole 2880px screen at
   column width renders its 14px UI text at about 3px */
.cp-tab-visual--zoom{position:relative;aspect-ratio:16/10}
.cp-tab-visual--zoom img{position:absolute;max-width:none;height:auto}
.cp-zoom--student{width:152%;left:-29%;top:-13%}

/* ============================================================
   4 · STUDENT LEARNING (light)
   ============================================================ */
.cp-learn{padding:0 24px clamp(84px,12vh,140px)}
.cp-learn-inner{
  max-width:var(--wrap);margin:0 auto;
  padding-top:clamp(84px,12vh,140px);border-top:1px solid var(--line);
}
.cp-learn-head .cp-lead{margin-top:18px}
.cp-learn-grid{
  margin-top:clamp(40px,6vh,60px);
  display:grid;grid-template-columns:1fr 1.25fr;gap:22px;align-items:stretch;
}
.cp-learn-panel{
  background:var(--surface);border:1px solid var(--line);border-radius:14px;
  padding:26px;display:flex;flex-direction:column;
}
.cp-learn-panel--uni{background:transparent;border-style:dashed;border-color:var(--line-strong)}
.cp-learn-panel .cp-col-label{padding:0;margin:0 0 16px}
.cp-learn-list{display:flex;flex-direction:column;gap:11px}
.cp-learn-list li{
  font-size:15px;font-weight:500;color:var(--ink);
  display:flex;align-items:center;gap:10px;
}
.cp-learn-list li::before{
  content:"";width:6px;height:6px;border-radius:50%;flex-shrink:0;
  background:var(--blue);opacity:.55;
}
.cp-learn-note{
  margin-top:auto;padding-top:18px;
  font-size:12.5px;color:var(--muted);
}
.cp-learn-model{display:flex;flex-direction:column;gap:14px}
.cp-learn-model li{display:flex;gap:16px;align-items:baseline}
.cp-model-step{
  flex-shrink:0;width:76px;
  font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
  color:var(--blue);
}
.cp-model-what{font-size:15px;color:var(--ink);line-height:1.5}

/* ============================================================
   5 · CONFIGURATION AND TRUST (light)
   ============================================================ */
.cp-trust{padding:0 24px clamp(84px,12vh,140px)}
.cp-trust-inner{
  max-width:var(--wrap);margin:0 auto;
  padding-top:clamp(84px,12vh,140px);border-top:1px solid var(--line);
  display:grid;grid-template-columns:1fr 1fr;gap:22px;
}
.cp-trust-panel{
  background:var(--surface);border:1px solid var(--line);border-radius:14px;
  padding:30px;display:flex;flex-direction:column;gap:16px;align-items:flex-start;
}
.cp-trust-panel p{font-size:15px;color:var(--muted);max-width:30em}
.cp-trust-spec{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  font-size:13px;font-weight:600;color:var(--ink);
}
.cp-trust-spec span{
  background:var(--page);border:1px solid var(--line);border-radius:8px;
  padding:6px 12px;
}
.cp-trust-spec i{color:var(--muted);font-style:normal}
.cp-trust-eg{font-size:12px;font-weight:500}
.cp-trust-panel .cp-arrow{margin-top:auto}

/* ============================================================
   6 · FINAL CTA + FOOTER (dark)
   ============================================================ */
.cp-close{
  background:
    radial-gradient(900px 420px at 50% 0,rgba(23,104,242,.14),transparent 70%),
    var(--stage);
  color:var(--ink-onstage);
  padding:clamp(84px,12vh,150px) 24px 0;
}
.cp-close-inner{
  max-width:var(--wrap);margin:0 auto;
  display:flex;flex-direction:column;align-items:center;text-align:center;
}
.cp-close h2{color:#fff}
.cp-close-lead{margin-top:20px;font-size:17px;color:var(--muted-onstage);max-width:30em}
.cp-close-actions{
  margin-top:32px;display:flex;align-items:center;gap:26px;flex-wrap:wrap;justify-content:center;
}
.cp-close-reassure{margin-top:22px;font-size:13px;color:var(--muted-onstage)}

/* closing rail — the same day, now complete */
.cp-closerail{
  position:relative;width:min(560px,100%);
  margin:clamp(48px,7vh,76px) auto 0;padding-top:14px;
}
.cp-closerail-line{
  position:absolute;left:6%;right:6%;top:17px;height:1px;
  background:rgba(214,228,248,.20);overflow:hidden;
}
.cp-closerail-line i{
  position:absolute;inset:0;transform-origin:left;
  background:linear-gradient(90deg,var(--blue),var(--blue-onstage));
  scale:0 1;
}
html.cp-motion .cp-closerail-line i{transition:scale 1.1s var(--ease-out)}
.cp-closerail.is-in .cp-closerail-line i{scale:1 1}
.cp-closerail ol{display:flex;justify-content:space-between;padding:0 6%}
.cp-closerail li{display:flex;flex-direction:column;align-items:center;gap:8px}
.cp-closerail li i{
  width:7px;height:7px;border-radius:50%;
  background:var(--stage);border:1.5px solid rgba(214,228,248,.32);
}
html.cp-motion .cp-closerail li i{transition:background .3s ease,border-color .3s ease}
.cp-closerail.is-in li i{background:var(--blue-onstage);border-color:var(--blue-onstage)}
html.cp-motion .cp-closerail.is-in li:nth-child(2) i{transition-delay:.16s}
html.cp-motion .cp-closerail.is-in li:nth-child(3) i{transition-delay:.32s}
html.cp-motion .cp-closerail.is-in li:nth-child(4) i{transition-delay:.48s}
html.cp-motion .cp-closerail.is-in li:nth-child(5) i{transition-delay:.64s}
.cp-closerail li span{
  font-size:11.5px;font-weight:500;color:var(--muted-onstage);
  font-variant-numeric:tabular-nums;
}

.cp-foot{margin-top:clamp(72px,10vh,120px);border-top:1px solid var(--stage-line-soft)}
.cp-foot-inner{
  max-width:var(--wrap);margin:0 auto;
  padding:48px 24px 8px;
  display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,1.1fr);gap:40px;
}
.cp-foot-brand p{
  margin-top:16px;font-size:13.5px;color:var(--muted-onstage);max-width:26em;line-height:1.6;
}
.cp-logo--onstage .cp-logo-word{color:var(--ink-onstage)}
.cp-logo--onstage .cp-logo-word i{color:var(--blue-onstage)}
.cp-foot-links{
  display:flex;flex-wrap:wrap;gap:8px 28px;align-content:start;
}
.cp-foot-links a{
  font-size:13.5px;font-weight:500;color:var(--muted-onstage);
  padding:6px 0;
}
.cp-foot-links a:hover{color:var(--ink-onstage)}
.cp-foot-legal{
  max-width:var(--wrap);margin:24px auto 0;
  padding:20px 24px 34px;border-top:1px solid var(--stage-line-soft);
  font-size:12px;color:var(--muted-onstage);
}
.cp-foot-legal p+p{margin-top:8px}
.cp-foot-legal a{text-decoration:underline;text-underline-offset:2px}
.cp-foot-legal a:hover{color:var(--ink-onstage)}

/* ============================================================
   Scroll entrances (restrained, once, settle instantly on fast scroll)
   ============================================================ */
html.cp-motion .cp-inview{
  opacity:0;translate:0 16px;
  transition:opacity .55s ease,translate .55s var(--ease-out);
}
html.cp-motion .cp-inview.is-in{opacity:1;translate:0 0}

/* ============================================================
   Breakpoints — validated at 1440 / 1280 / 1024 / 768 / 390
   ============================================================ */
@media (max-width:1080px){
  .cp-panel--students{width:min(760px,calc(100vw - 32px))}
}

@media (max-width:959px){
  .cp-links,.cp-actions{display:none}
  .cp-burger{display:flex}
  .cp-sheet:not([hidden]){display:flex}

  .cp-tabpanel{grid-template-columns:1fr;gap:26px}
  .cp-tab-copy{max-width:34em}
  .cp-learn-grid{grid-template-columns:1fr}
  .cp-trust-inner{grid-template-columns:1fr}
  .cp-foot-inner{grid-template-columns:1fr;gap:28px}
}

@media (max-width:640px){
  .cp-walk-inner{padding-left:18px;padding-right:18px}
  .cp-hero-cta{flex-direction:column;gap:18px}
  .cp-frame-body{margin:8px}
  .cp-walk-list,.cp-roles,.cp-learn,.cp-trust{padding-left:18px;padding-right:18px}
  .cp-tabs{display:flex;width:100%}
  .cp-tab{flex:1;padding:9px 8px;font-size:13px}
  .cp-learn-panel{padding:20px}
  .cp-trust-panel{padding:22px}
  .cp-model-step{width:64px}
  .cp-close{padding-left:18px;padding-right:18px}
}

/* very narrow (≤390 target) */
@media (max-width:400px){
  .cp-chapter-btn{gap:10px}
}

/* ============================================================
   Reduced motion — no scaling, no stagger, no travelling pulses;
   all content and controls preserved. (Belt and braces: the JS
   gate never adds .cp-motion under reduced motion, but the media
   query also neutralises everything if the class were present.)
   ============================================================ */
@media (prefers-reduced-motion:reduce){
  html.cp-motion .cp-walk-intro > *,
  html.cp-motion .cp-frame,
  html.cp-motion .cp-panel,
  html.cp-motion .cp-sheet,
  html.cp-motion .cp-tabpanel:not([hidden]){animation:none;opacity:1;translate:none;scale:none}
  html.cp-motion .cp-inview{opacity:1;translate:none;transition:none}
  .cp-frame-body img,.cp-arrow span,.cp-tab,
  .cp-caret,.cp-burger span,.cp-skip,
  .cp-chapter::before,.cp-chapter-btn,.cp-chapter-time,.cp-chapter-name{transition:none}
  .cp-scan{display:none}
}

/* ============================================================================
   INNER PAGES — the destinations behind the menus
   Same identity, quieter opening: inner pages start light (the dark stage is
   the homepage's signature and the product frames'), and the nav bar carries
   .is-light from the first paint. Product screens keep their dark window
   chrome (.cp-frame) wherever they appear, so the product always looks like
   the same object site-wide.
   ============================================================================ */
:root{ --ink-2:#2B3B52 }   /* long-form body text: ink, slightly lifted */

/* ---- page hero (light) ---- */
.cp-phero{position:relative;padding:clamp(56px,9vh,104px) 24px clamp(40px,6vh,72px)}
.cp-phero::before{
  content:"";position:absolute;inset:0 0 auto 0;height:min(720px,90vh);pointer-events:none;
  background-image:
    linear-gradient(rgba(7,20,38,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(7,20,38,.05) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(900px 520px at 30% 0%,#000 0%,transparent 72%);
  -webkit-mask-image:radial-gradient(900px 520px at 30% 0%,#000 0%,transparent 72%);
}
.cp-phero-inner{position:relative;max-width:var(--wrap);margin:0 auto}
.cp-phero h1{color:var(--ink);margin-top:16px;max-width:13.5em;font-size:clamp(36px,4.3vw,58px)}
.cp-phero .cp-lead{margin-top:22px}
.cp-phero-actions{margin-top:30px;display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.cp-phero-meta{margin-top:22px;font-size:13.5px;color:var(--muted);display:flex;gap:10px;align-items:center;flex-wrap:wrap}
/* hero with a product frame beside the copy */
.cp-phero--split .cp-phero-inner{
  display:grid;grid-template-columns:minmax(300px,.92fr) minmax(0,1.08fr);
  gap:clamp(32px,5vw,72px);align-items:center;
}
.cp-phero--split .cp-frame{margin-top:0}

/* ---- section wrapper ---- */
.cp-sec{padding:0 24px}
.cp-sec-inner{
  max-width:var(--wrap);margin:0 auto;
  padding:clamp(64px,9vh,110px) 0;border-top:1px solid var(--line);
}
.cp-sec-inner--flush{border-top:0;padding-top:0}
.cp-sec-inner--tight{padding-top:clamp(40px,6vh,64px);padding-bottom:clamp(40px,6vh,64px)}
.cp-sec-head{max-width:44em}
.cp-sec-head .cp-lead{margin-top:16px}
.cp-sec-head h2{font-size:clamp(28px,3.1vw,42px)}
.cp-sec-head--center{margin:0 auto;text-align:center}
.cp-sec-head--center .cp-lead{margin-left:auto;margin-right:auto}
[id]{scroll-margin-top:calc(var(--nav-h) + 20px)}

/* ---- feature rows: copy beside a product frame, alternating ---- */
.cp-feature{
  display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);
  gap:clamp(32px,5vw,80px);align-items:center;
  padding:clamp(48px,7vh,88px) 0;
}
.cp-feature+.cp-feature{border-top:1px solid var(--line)}
/* flipped rows swap the columns too, so the frame keeps its width */
.cp-feature--flip{grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr)}
.cp-feature--flip .cp-feature-copy{order:2}
.cp-feature-title{
  margin-top:12px;font-size:clamp(26px,2.5vw,36px);font-weight:600;
  letter-spacing:-0.025em;line-height:1.1;color:var(--ink);
}
.cp-feature-title .cp-avail,.cp-feature-title .cp-soon{vertical-align:middle;position:relative;top:-4px}
.cp-feature-copy>p{margin-top:16px;font-size:16px;color:var(--muted);max-width:32em}
/* inline lead-ins (<b>) sit in the sentence, so the bullet is positioned
   rather than a flex sibling — a flex row would split "<b>Rotating codes</b>
   stop…" into two items with a gap between them */
.cp-feature-points{margin-top:20px;display:flex;flex-direction:column;gap:10px}
.cp-feature-points li{
  font-size:15.5px;line-height:1.5;color:var(--muted);
  position:relative;padding-left:18px;
}
.cp-feature-points li::before{
  content:"";position:absolute;left:0;top:9px;width:6px;height:6px;border-radius:50%;
  background:var(--blue);opacity:.55;
}
.cp-feature-points li b{color:var(--ink);font-weight:600}
.cp-feature-links{margin-top:22px;display:flex;gap:22px;flex-wrap:wrap;align-items:center}
.cp-feature .cp-frame{margin-top:0}

/* product frames outside the stage: a taller window, and a crop that each
   use tunes inline (--zw width, --zx/--zy offsets) — the same magnified
   window the day stage uses, so UI text stays legible */
.cp-frame--tall .cp-frame-body{aspect-ratio:16/10}
.cp-frame--wide .cp-frame-body{aspect-ratio:2/1}
.cp-frame-body img.cp-crop{width:var(--zw,100%);left:var(--zx,0);top:var(--zy,0)}
.cp-frame--light{
  background:var(--surface);border-color:var(--line);box-shadow:var(--shadow-1);
}
.cp-frame--light .cp-frame-bar{color:var(--muted);border-bottom-color:var(--line)}
.cp-frame--light .cp-frame-bar i{background:rgba(7,20,38,.14);box-shadow:14px 0 0 rgba(7,20,38,.14),28px 0 0 rgba(7,20,38,.14)}
.cp-frame--light .cp-frame-body{background:var(--page);border-color:var(--line)}
.cp-figcap{margin-top:12px;font-size:12.5px;color:var(--muted)}

/* ---- cards ---- */
.cp-cards{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;
  margin-top:clamp(32px,5vh,48px);
}
.cp-cards--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.cp-cards--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.cp-card{
  background:var(--surface);border:1px solid var(--line);border-radius:14px;
  padding:24px;display:flex;flex-direction:column;gap:10px;min-width:0;
  transition:border-color .15s ease,box-shadow .15s ease;
}
a.cp-card:hover{border-color:var(--line-strong);box-shadow:var(--shadow-1)}
a.cp-card:hover .cp-card-title{color:var(--blue)}
.cp-card--soft{background:transparent;border-style:dashed;border-color:var(--line-strong)}
.cp-card--stage{background:var(--stage);border-color:var(--stage-line);color:var(--ink-onstage)}
.cp-card--stage .cp-card-title{color:#fff}
.cp-card--stage p{color:var(--muted-onstage)}
.cp-card-num{font-size:12px;font-weight:700;letter-spacing:.08em;color:var(--blue)}
.cp-card-title{
  font-size:17px;font-weight:600;letter-spacing:-0.015em;line-height:1.3;color:var(--ink);
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  transition:color .15s ease;
}
.cp-card-title .cp-avail{margin-left:0}
.cp-card p{font-size:14.5px;color:var(--muted);line-height:1.55}
.cp-card ul{display:flex;flex-direction:column;gap:6px;margin-top:2px}
.cp-card ul li{font-size:14px;color:var(--muted);position:relative;padding-left:15px;line-height:1.5}
.cp-card ul li::before{content:"";position:absolute;left:0;top:8px;width:5px;height:5px;border-radius:50%;background:var(--blue);opacity:.55}
.cp-card ul li b{color:var(--ink);font-weight:600}
.cp-card .cp-arrow{margin-top:auto;padding-left:0;align-self:flex-start}
.cp-card-foot{margin-top:auto;padding-top:8px;font-size:12.5px;color:var(--muted)}

/* ---- numbered steps (a process) ---- */
.cp-steps{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;
  margin-top:clamp(32px,5vh,48px);counter-reset:cp-step;
}
.cp-step{padding-top:18px;border-top:2px solid var(--line);min-width:0}
.cp-step::before{
  counter-increment:cp-step;content:"0" counter(cp-step);
  font-size:12px;font-weight:700;letter-spacing:.08em;color:var(--blue);
}
.cp-step h3{margin-top:10px;font-size:17px;font-weight:600;letter-spacing:-0.015em;line-height:1.3}
.cp-step p{margin-top:8px;font-size:14.5px;color:var(--muted);line-height:1.55}

/* ---- spec list (two columns of term + description) ---- */
.cp-spec{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 44px;
  margin-top:clamp(28px,4vh,40px);
}
.cp-spec>div{padding:18px 0;border-top:1px solid var(--line)}
.cp-spec dt{font-size:15.5px;font-weight:600;color:var(--ink);display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.cp-spec dd{margin-top:6px;font-size:14.5px;color:var(--muted);line-height:1.55;max-width:30em}

/* ---- light timeline (a role's day) ---- */
.cp-timeline{margin-top:22px;border-left:1px solid var(--line-strong);display:flex;flex-direction:column}
.cp-timeline li{
  position:relative;padding:8px 0 8px 22px;font-size:15px;color:var(--muted);
  display:flex;gap:14px;align-items:baseline;line-height:1.5;
}
.cp-timeline li::before{
  content:"";position:absolute;left:-4px;top:16px;width:7px;height:7px;border-radius:50%;
  background:var(--page);border:1.5px solid var(--line-strong);
}
.cp-timeline li.is-key::before{background:var(--blue);border-color:var(--blue)}
.cp-timeline time{
  font-size:13px;font-weight:600;color:var(--blue);font-variant-numeric:tabular-nums;
  letter-spacing:.03em;min-width:48px;flex-shrink:0;
}
.cp-timeline b{font-weight:600;color:var(--ink)}

/* ---- comparison table ---- */
.cp-tablewrap{overflow-x:auto;margin-top:clamp(28px,4vh,40px);-webkit-overflow-scrolling:touch}
.cp-table{width:100%;border-collapse:collapse;font-size:14.5px;min-width:640px}
.cp-table th,.cp-table td{padding:13px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;line-height:1.5}
.cp-table th{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.cp-table td{color:var(--muted)}
.cp-table td:first-child{font-weight:600;color:var(--ink)}
.cp-table td .cp-avail,.cp-table td .cp-soon{margin-left:0}

/* ---- FAQ (native disclosure) ---- */
.cp-faq{margin-top:clamp(28px,4vh,40px);border-top:1px solid var(--line);max-width:52em}
.cp-faq details{border-bottom:1px solid var(--line)}
.cp-faq summary{
  list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:16px;
  align-items:center;padding:17px 4px;min-height:48px;
  font-size:16.5px;font-weight:600;letter-spacing:-0.01em;color:var(--ink);border-radius:6px;
}
.cp-faq summary::-webkit-details-marker{display:none}
.cp-faq summary::after{
  content:"";width:9px;height:9px;flex-shrink:0;margin-right:6px;
  border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:rotate(45deg);opacity:.6;transition:transform .2s var(--ease-out);
}
.cp-faq details[open] summary::after{transform:rotate(225deg)}
.cp-faq summary:hover{color:var(--blue)}
.cp-faq summary:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.cp-faq-body{padding:0 4px 20px;font-size:15px;color:var(--muted);line-height:1.6;max-width:40em}
.cp-faq-body p+p{margin-top:10px}

/* ---- form (the pilot enquiry) ---- */
.cp-form{
  background:var(--surface);border:1px solid var(--line);border-radius:14px;
  padding:clamp(22px,3vw,34px);display:grid;gap:18px;
}
.cp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.cp-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.cp-field--full{grid-column:1/-1}
.cp-field label{font-size:13.5px;font-weight:600;color:var(--ink)}
.cp-field label i{font-style:normal;font-weight:500;color:var(--muted)}
.cp-hint{font-size:12.5px;color:var(--muted);line-height:1.45}
.cp-field :is(input,select,textarea){
  font:inherit;font-size:15px;color:var(--ink);background:var(--surface);
  border:1px solid var(--line-strong);border-radius:9px;padding:10px 12px;min-height:44px;
  width:100%;
}
.cp-field select{appearance:none;-webkit-appearance:none;padding-right:36px;
  background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);
  background-position:calc(100% - 18px) 50%,calc(100% - 13px) 50%;background-size:5px 5px;background-repeat:no-repeat;
}
.cp-field textarea{min-height:120px;resize:vertical;line-height:1.5}
.cp-field :is(input,select,textarea):focus-visible{outline:2px solid var(--blue);outline-offset:1px;border-color:var(--blue)}
.cp-form-foot{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.cp-form-note{font-size:12.5px;color:var(--muted);max-width:36em;line-height:1.5}
.cp-form-status{
  padding:14px 16px;border-radius:10px;font-size:14px;line-height:1.5;
  background:#E3F3EA;color:#0B6231;border:1px solid rgba(11,98,49,.18);
}
.cp-form-status:empty{display:none}
.cp-form-status[data-kind="info"]{background:#EFF5FF;color:#164D9D;border-color:rgba(22,77,157,.16)}
.cp-form-status[data-kind="error"]{background:#FFF1F0;color:#A32D27;border-color:rgba(163,45,39,.18)}
.cp-form-status:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.cp-success h2{font-size:clamp(25px,3vw,34px);letter-spacing:-.025em;line-height:1.18}
.cp-success>p:not(.cp-eyebrow){font-size:15px;color:var(--muted);line-height:1.6}
.cp-success-reference{font-weight:600;color:var(--ink)!important}

/* ---- callout ---- */
.cp-note{
  margin-top:22px;padding:14px 18px;border-radius:0 10px 10px 0;
  border-left:3px solid var(--blue);background:var(--surface);
  font-size:14.5px;color:var(--muted);line-height:1.55;max-width:40em;
}
.cp-note b{color:var(--ink);font-weight:600}
.cp-note--amber{border-left-color:var(--amber)}

/* ---- availability key ---- */
.cp-key{
  display:flex;flex-wrap:wrap;gap:10px 24px;align-items:center;
  margin-top:20px;font-size:13px;color:var(--muted);
}
.cp-key span{display:inline-flex;align-items:center;gap:8px}
.cp-key .cp-avail,.cp-key .cp-soon{margin-left:0}

/* ---- long-form: a sticky index beside prose ---- */
.cp-doc{
  display:grid;grid-template-columns:220px minmax(0,1fr);
  gap:clamp(32px,5vw,80px);align-items:start;
}
.cp-toc{position:sticky;top:calc(var(--nav-h) + 24px);display:flex;flex-direction:column;gap:1px}
.cp-toc .cp-col-label{padding:0 12px;margin:0 0 8px}
.cp-toc a{
  font-size:13.5px;font-weight:500;color:var(--muted);line-height:1.4;
  padding:6px 12px;border-left:2px solid var(--line);
  transition:color .15s ease,border-color .15s ease;
}
.cp-toc a:hover{color:var(--ink)}
.cp-toc a.is-on{color:var(--blue);border-color:var(--blue)}
.cp-prose{max-width:46em;font-size:16px;line-height:1.65;color:var(--ink-2)}
.cp-prose h2{font-size:clamp(23px,2.1vw,29px);letter-spacing:-0.022em;line-height:1.2;margin-top:52px;color:var(--ink)}
.cp-prose h2:first-child{margin-top:0}
.cp-prose h3{font-size:18px;font-weight:600;letter-spacing:-0.015em;margin-top:30px;color:var(--ink)}
.cp-prose p{margin-top:14px}
.cp-prose ul,.cp-prose ol{margin-top:12px;padding-left:22px}
.cp-prose ul{list-style:disc}
.cp-prose ol{list-style:decimal}
.cp-prose li{margin-top:7px;padding-left:4px}
.cp-prose li::marker{color:var(--muted)}
.cp-prose a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}
.cp-prose strong{color:var(--ink);font-weight:600}
.cp-prose .cp-note{margin-top:20px}
.cp-prose-meta{font-size:13.5px;color:var(--muted);margin-top:14px}
.cp-prose table{width:100%;border-collapse:collapse;margin-top:16px;font-size:14.5px}
.cp-prose th,.cp-prose td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.cp-prose th{font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}

/* ---- dark band mid-page (a product moment on a light page) ---- */
.cp-band{
  background:
    radial-gradient(900px 480px at 50% -80px,rgba(23,104,242,.16),transparent 70%),
    var(--stage);
  color:var(--ink-onstage);padding:clamp(64px,9vh,110px) 24px;
}
.cp-band-inner{
  max-width:var(--wrap);margin:0 auto;
  display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);
  gap:clamp(32px,5vw,80px);align-items:center;
}
.cp-band-inner--stack{display:flex;flex-direction:column;align-items:center;text-align:center;gap:clamp(28px,4vh,44px)}
.cp-band h2{color:#fff;font-size:clamp(28px,3.1vw,42px)}
.cp-band .cp-lead,.cp-band p{color:var(--muted-onstage)}
.cp-band .cp-feature-points li{color:var(--muted-onstage)}
.cp-band .cp-feature-points li b{color:var(--ink-onstage)}
.cp-band .cp-feature-points li::before{background:var(--blue-onstage);opacity:.8}
.cp-band .cp-frame{margin-top:0;width:100%}
.cp-band .cp-arrow{color:var(--blue-onstage)}
.cp-band :is(a,button):focus-visible{outline-color:var(--blue-onstage)}
/* three small frames in a row (the same record, three views) */
.cp-trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%}
.cp-trio figure .cp-frame{margin-top:0}
.cp-trio figcaption{margin-top:12px;font-size:13.5px;color:var(--muted-onstage);text-align:left}
.cp-trio figcaption b{display:block;color:#fff;font-weight:600;font-size:14.5px;margin-bottom:2px}

/* ---- stat-free proof: quotes are not used; the day rail is ---- */
.cp-rail-inline{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:22px;
  font-size:12.5px;font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums;
}
.cp-rail-inline span{display:inline-flex;align-items:center;gap:7px}
.cp-rail-inline span::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--blue)}
.cp-rail-inline span.is-off::before{background:transparent;border:1.5px solid var(--line-strong)}

/* ---- refinements the pages asked for ---- */
/* specificity guards: the generic paragraph rules inside feature copy,
   cards and dark bands must not restyle eyebrows, card titles or feet */
.cp-feature-copy .cp-eyebrow,.cp-band .cp-eyebrow,.cp-sec-head .cp-eyebrow{
  font-size:12px;line-height:1.5;margin-top:0;color:var(--blue);max-width:none;
}
.cp-band .cp-eyebrow{color:var(--blue-onstage)}
.cp-card .cp-card-title{font-size:17px;line-height:1.3;color:var(--ink)}
.cp-card--stage .cp-card-title{color:#fff}
.cp-card .cp-card-foot{font-size:12.5px;line-height:1.5;color:var(--muted)}
.cp-card .cp-card-num{font-size:12px;line-height:1.5;color:var(--blue)}
/* long-form split into sections: keep the 52px rhythm between them, and
   let each section's own heading sit flush at its top */
.cp-prose>section+section{margin-top:52px}
.cp-prose section>h2:first-child{margin-top:0}
.cp-note p+p{margin-top:10px}
.cp-card--stage .cp-arrow{color:var(--blue-onstage)}
.cp-card--stage :is(a,button):focus-visible{outline-color:var(--blue-onstage)}
/* a checkbox row: the box keeps its natural size beside its label */
.cp-field--check{flex-direction:row;align-items:flex-start;gap:12px}
.cp-field--check input[type="checkbox"]{
  width:18px;height:18px;min-height:0;padding:0;margin:3px 0 0;flex:none;
  accent-color:var(--blue);
}
.cp-field--check label{font-weight:500;font-size:14px;line-height:1.5}
.cp-plain[aria-current="page"]{color:var(--ink-onstage)}
.cp-nav.is-light .cp-plain[aria-current="page"]{color:var(--ink)}

/* ============================================================
   SELLING LAYER — reassurance, what it replaces, how a pilot
   runs, the placement-lead questions, and product hotspots
   ============================================================ */
/* three quiet facts under the hero buttons */
.cp-reassure{
  margin-top:26px;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;
  font-size:13px;color:var(--muted-onstage);
}
.cp-reassure li{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.cp-reassure li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--blue-onstage)}
html.cp-motion .cp-walk-intro > :nth-child(5){animation-delay:.24s}

/* role tabs: a way through to the full day */
.cp-tab-link{display:inline-block;margin-top:20px;padding-left:0}

/* what it replaces: four swaps, before struck through, after in ink */
.cp-swaps{
  margin-top:clamp(32px,5vh,48px);
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;
}
.cp-swapitem{
  background:var(--surface);border:1px solid var(--line);border-radius:14px;
  padding:22px;display:flex;flex-direction:column;gap:10px;min-width:0;
}
.cp-swap-label{
  font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);
}
.cp-swap-before{
  font-size:15px;color:var(--muted);
  text-decoration:line-through;text-decoration-color:rgba(7,20,38,.35);text-decoration-thickness:1px;
}
.cp-swap-arrow{
  width:22px;height:22px;border-radius:50%;background:var(--blue-soft);
  display:grid;place-items:center;margin:2px 0;
}
.cp-swap-arrow::before{
  content:"";width:7px;height:7px;border-right:1.5px solid var(--blue);border-bottom:1.5px solid var(--blue);
  transform:rotate(45deg) translate(-1px,-1px);
}
.cp-swap-after{font-size:14.5px;color:var(--muted);line-height:1.5}
.cp-swap-after b{display:block;font-size:17px;font-weight:600;letter-spacing:-0.015em;color:var(--ink);margin-bottom:4px}
/* the swaps arrive one after another */
html.cp-motion .cp-swaps.cp-inview{opacity:1;translate:none}
html.cp-motion .cp-swaps.cp-inview .cp-swapitem{
  opacity:0;translate:0 14px;
  transition:opacity .5s ease,translate .5s var(--ease-out);
}
html.cp-motion .cp-swaps.is-in .cp-swapitem{opacity:1;translate:0 0}
html.cp-motion .cp-swaps.is-in .cp-swapitem:nth-child(2){transition-delay:.08s}
html.cp-motion .cp-swaps.is-in .cp-swapitem:nth-child(3){transition-delay:.16s}
html.cp-motion .cp-swaps.is-in .cp-swapitem:nth-child(4){transition-delay:.24s}

/* numbered steps on the dark band */
.cp-band .cp-steps{width:100%;text-align:left}
.cp-steps--onstage .cp-step{border-top-color:var(--stage-line)}
.cp-steps--onstage .cp-step::before{color:var(--blue-onstage)}
.cp-steps--onstage .cp-step h3{color:#fff}
.cp-steps--onstage .cp-step p{color:var(--muted-onstage)}
.cp-band .cp-close-actions{margin-top:0}
.cp-band .cp-close-reassure{margin-top:0;max-width:40em}

/* product hotspots: numbered pins on a real screen, each opening a short
   note about the part of the interface under it. A layer over the frame
   body; positions are fractions of the visible crop (--hx, --hy). */
.cp-hotspots{position:absolute;inset:0;pointer-events:none;z-index:2}
.cp-hotspot{
  position:absolute;left:calc(var(--hx,.5) * 100%);top:calc(var(--hy,.5) * 100%);
  translate:-50% -50%;pointer-events:auto;
  width:28px;height:28px;border-radius:50%;
  background:var(--blue);color:#fff;font-size:12.5px;font-weight:700;
  display:grid;place-items:center;
  box-shadow:0 0 0 4px rgba(23,104,242,.28),0 2px 8px rgba(2,8,20,.45);
  transition:background .15s ease,scale .2s var(--ease-out);
}
.cp-hotspot:hover,.cp-hotspot[aria-expanded="true"]{background:var(--blue-hover);scale:1.1}
.cp-hotspot:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* three soft pings on arrival, then still */
html.cp-motion .cp-hotspot::after{
  content:"";position:absolute;inset:-3px;border-radius:50%;
  border:1.5px solid rgba(110,165,248,.85);
  animation:cp-ping 2s ease-out 3;animation-delay:var(--pd,0s);
}
@keyframes cp-ping{
  0%{transform:scale(.8);opacity:.9}
  70%,100%{transform:scale(1.8);opacity:0}
}
.cp-hotspot-tip{
  position:absolute;z-index:3;pointer-events:auto;
  left:calc(var(--hx,.5) * 100%);top:calc(var(--hy,.5) * 100% + 22px);
  translate:-50% 0;width:min(280px,calc(100% - 24px));
  padding:12px 14px;border-radius:10px;
  background:var(--surface);color:var(--ink);border:1px solid var(--line);
  box-shadow:var(--shadow-menu);font-size:13.5px;line-height:1.5;text-align:left;
}
.cp-hotspot-tip b{display:block;font-weight:600;letter-spacing:-0.01em;margin-bottom:2px}
.cp-hotspot-tip.is-up{top:auto;bottom:calc((1 - var(--hy,.5)) * 100% + 22px)}
html.cp-motion .cp-hotspot-tip{animation:cp-panel-swap .16s ease both}
.cp-hotspot-hint{
  display:flex;align-items:center;gap:8px;margin-top:12px;font-size:12.5px;color:var(--muted);
}
/* the hint sits inside the dark frame, under the screen */
.cp-frame>.cp-hotspot-hint{margin:0;padding:0 16px 12px;color:var(--muted-onstage)}
.cp-hotspot-hint i{
  width:16px;height:16px;border-radius:50%;background:var(--blue);color:#fff;
  font-style:normal;font-size:9.5px;font-weight:700;display:grid;place-items:center;flex-shrink:0;
}

@media (max-width:1080px){
  .cp-swaps{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .cp-swaps{grid-template-columns:1fr}
  .cp-reassure{flex-direction:column;align-items:center;gap:8px}
  .cp-hotspot{width:24px;height:24px;font-size:11px}
}
@media (prefers-reduced-motion:reduce){
  .cp-hotspot::after{animation:none;display:none}
  .cp-hotspot-tip{animation:none}
  html.cp-motion .cp-swaps.cp-inview .cp-swapitem{opacity:1;translate:none;transition:none}
}

/* ---- inner-page closer: same section, no rail ---- */
.cp-close--inner{padding-top:clamp(72px,10vh,120px)}
.cp-close--inner .cp-foot{margin-top:clamp(64px,9vh,100px)}

/* ---- breakpoints for the inner patterns ---- */
@media (max-width:1080px){
  .cp-cards--4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cp-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:959px){
  .cp-phero--split .cp-phero-inner{grid-template-columns:1fr}
  .cp-feature,.cp-feature--flip{grid-template-columns:1fr;gap:28px}
  .cp-feature--flip .cp-feature-copy{order:0}
  .cp-cards,.cp-cards--2{grid-template-columns:1fr 1fr}
  .cp-spec{grid-template-columns:1fr}
  /* minmax(0,…): a bare 1fr would take the legal table's minimum width and
     push the page sideways on phones */
  .cp-doc{grid-template-columns:minmax(0,1fr);gap:28px}
  .cp-toc{position:static;flex-direction:row;flex-wrap:wrap;gap:4px 6px;padding-bottom:18px;border-bottom:1px solid var(--line)}
  .cp-toc .cp-col-label{width:100%}
  .cp-toc a{border-left:0;border:1px solid var(--line);border-radius:999px;padding:6px 12px;background:var(--surface)}
  .cp-toc a.is-on{border-color:var(--blue)}
  .cp-band-inner{grid-template-columns:1fr;gap:28px}
  .cp-trio{grid-template-columns:1fr}
  .cp-form-grid{grid-template-columns:1fr}
}
@media (max-width:640px){
  .cp-phero,.cp-sec,.cp-band{padding-left:18px;padding-right:18px}
  .cp-phero-meta{flex-direction:column;align-items:flex-start;gap:6px}
  .cp-phero-meta>[aria-hidden]{display:none}
  .cp-cards,.cp-cards--2,.cp-cards--4,.cp-steps{grid-template-columns:1fr}
  .cp-card{padding:20px}
  .cp-phero-actions{gap:16px}
  .cp-table{min-width:560px}
}
