/* ================================================================
   GLASS (Hiba, 15 Nov 2026): the client portal's glass layout and spacing, on the site.
   "only icons plus illustrations that stay pixelated": buttons, cards, frames, lines, circles and badges are
   smooth rounded glass. The pixel drawings (px-*.js, the icon set, the Habit Crew) and the small pixel arrow stay.
   The logo is never touched. Dark only: no light theme.
   Source of the values: client-portal app/web/static/app.css, tokens (lines 10-37) and the glass layer (869-948).
   Loaded last, so it wins over styles.css, pixel.css, promo.css and crew.css. Remove the <link> to go back.
   ================================================================ */
:root {
  /* glass is mixed from --ink, so a pane stays right when the page turns bone (02 / The Fix) or crimson (Free sauce) */
  --glass:      color-mix(in srgb, var(--ink) 6%, transparent);
  --glass-2:    color-mix(in srgb, var(--ink) 10%, transparent);
  --glass-3:    color-mix(in srgb, var(--ink) 15%, transparent);
  --glass-line: color-mix(in srgb, var(--ink) 12%, transparent);
  --glass-hi:   color-mix(in srgb, var(--ink) 14%, transparent);
  --glass-shadow: 0 24px 60px -28px rgba(0,0,0,.75);
  --glass-blur: blur(20px) saturate(140%);
  --pane-dark:  rgba(14,12,14,.78);            /* the header and the open menu: dark over every room */
  --bg-b: #3A0A12;                             /* deep blood, the far corner of the ground */
  --r-card: 16px; --r-ctl: 10px; --r-pill: 999px; --r-frame: 26px;
  --card-radius: var(--r-card);
  --card-pad: 28px; --card-gap: 16px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 60px;                               /* the floating header; with its 10 px offset it stays inside the old 78 px */
}
@media (max-width: 599px) { :root { --card-pad: 20px; } }

/* ---------------- the ground: noir to deep blood, a crimson glow in the top right ----------------
   "lighten" keeps it off the bone and crimson rooms: there the page colour is the lighter one, so nothing shows. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 60% at 92% -5%, color-mix(in srgb, var(--crimson) 16%, transparent), transparent 70%),
    linear-gradient(155deg, var(--noir) 0%, var(--noir) 42%, var(--bg-b) 100%);
  mix-blend-mode: lighten;
}

/* the glows: smooth (they are light, not drawings) */
.hero-glow, .cta-glow, .lk-live .lk-glow, .lk-still .lk-glow {
  image-rendering: auto;
  background: radial-gradient(circle, rgba(230,57,80,.26) 0%, rgba(209,26,42,.2) 20%, rgba(122,16,32,.2) 40%, rgba(122,16,32,.07) 56%, transparent 70%);
}

/* ---------------- focus: one ring, following each shape ---------------- */
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible, .faq-q:focus-visible,
.crew :is(button):focus-visible, .video-play:focus-visible {
  outline: 2px solid var(--flare); outline-offset: 3px; border-radius: 6px !important;
}
.btn:focus-visible, .topbar-go:focus-visible { border-radius: var(--r-pill) !important; }
.video-play:focus-visible, .crew-arrow:focus-visible, .crew-pick:focus-visible { border-radius: 50% !important; }
.faq-q:focus-visible { border-radius: var(--r-ctl) !important; }
.topbar:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: 0 !important; }

/* ---------------- buttons: pills. Crimson with Bone text; the quiet one is glass ---------------- */
.btn, .btn:focus-visible { border-radius: var(--r-pill) !important; clip-path: none; }
.btn {
  transition: transform .16s var(--ease-out), background-color .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-hero, .btn-crimson {
  background: var(--crimson); color: var(--bone);
  box-shadow: inset 0 1px 0 rgba(244,241,234,.22), 0 14px 32px -14px rgba(209,26,42,.7);
}
.btn-hero:hover, .btn-crimson:hover {
  filter: none; background: color-mix(in srgb, var(--crimson) 55%, var(--flare));
  box-shadow: inset 0 1px 0 rgba(244,241,234,.28), 0 18px 40px -14px rgba(209,26,42,.85) !important;
}
/* on the crimson room the button turns Bone, or it would vanish */
.sauce .btn-hero { background: var(--bone); color: var(--noir); box-shadow: inset 0 1px 0 #fff, 0 14px 32px -16px rgba(10,10,12,.6); }
.sauce .btn-hero:hover { background: #fff; box-shadow: inset 0 1px 0 #fff, 0 18px 40px -16px rgba(10,10,12,.7) !important; }
.btn-ink { box-shadow: inset 0 1px 0 rgba(244,241,234,.12), 0 14px 32px -16px rgba(10,10,12,.6); }
.btn-ink:hover { filter: none; background: #1B1A1E; }
.btn-outline {
  background: var(--glass); color: var(--ink);
  border: 1px solid var(--glass-line) !important;
  box-shadow: inset 0 1px 0 var(--glass-hi);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.btn-outline::after { content: none; }
.btn-outline:hover { background: var(--glass-2); border-color: color-mix(in srgb, var(--crimson) 80%, transparent) !important; }

/* ---------------- the red bar and the header ---------------- */
.topbar-go { clip-path: none; border-radius: var(--r-pill); }
.nav {
  top: calc(var(--bar-h, 0px) + 10px); left: 50%; right: auto; transform: translateX(-50%);
  width: min(calc(var(--wrap) + 56px), calc(100% - 24px));
  border: 1px solid rgba(244,241,234,.12); border-radius: var(--r-pill);
  background: var(--pane-dark);
  box-shadow: inset 0 1px 0 rgba(244,241,234,.14), var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.nav-inner { width: auto; min-height: var(--nav-h); padding: 8px 8px 8px 24px; gap: 2rem; }
.nav-logo { align-items: center; }
.nav-menu { gap: .4rem; }
.nav-menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill); transition: color .18s var(--ease), background-color .18s var(--ease); }
.nav-menu a:hover { background: rgba(244,241,234,.07); }
.nav .nav-cta { min-height: 44px; background: var(--crimson); color: var(--bone); border-color: transparent !important;
  box-shadow: inset 0 1px 0 rgba(244,241,234,.22); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav .nav-cta:hover { background: color-mix(in srgb, var(--crimson) 55%, var(--flare)); border-color: transparent !important; }
/* anchors land clear of the red bar and the floating header */
html { scroll-padding-top: calc(var(--bar-h, 0px) + var(--nav-h) + 34px); }

@media (max-width: 768px) {
  .nav { border-radius: 22px; }
  .nav-inner { padding: 6px 6px 6px 16px; min-height: 56px; }
  .nav-burger { width: 44px; height: 44px; border-radius: 50%; }
  .nav.is-open .nav-menu {
    top: calc(100% + 8px); left: 0; right: 0; transform: none; width: auto; padding: 8px;
    background: #160D0F; border: 1px solid rgba(244,241,234,.12); border-radius: 22px;   /* solid (the portal's open pane colour): a blur nested in the blurred header cannot blur the page */
    box-shadow: inset 0 1px 0 rgba(244,241,234,.14), var(--glass-shadow);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  }
  .nav.is-open .nav-menu a { justify-content: center; border-radius: 14px; min-height: 48px; padding: 0 16px; }
  .nav.is-open .nav-menu a + a { border-top: 0; }
}
@media (max-width: 599px) { .nav .nav-cta { min-height: 44px; } }

/* ---------------- the glass pane: every card on the page ---------------- */
.sol-col, .front-panel, .cta-steps li, .foundation .pillars, .stat-trio, .faq-split .faq-list, .crew-card, .vf-shell {
  background: var(--glass); clip-path: none;
  border: 1px solid var(--glass-line) !important; border-radius: var(--r-card);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.sol-col::after, .front-panel::after, .cta-steps li::after, .crew-card::before, .crew-card::after { content: none; }

/* ---------------- 01 · hero ---------------- */
.hero { padding-top: calc(var(--nav-h) + 18px + var(--s-64)); }
.hero-cta-note { color: var(--c-label); }
/* the video window: a glass frame, the title bar inside it */
.vf-shell { padding: 8px; border-radius: var(--r-frame); }
.vf-bar { margin: 0; padding: 8px 14px 14px; background: none; clip-path: none; }
.vf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--crimson); box-shadow: 0 0 0 4px color-mix(in srgb, var(--crimson) 22%, transparent); }
.vf-len { color: var(--c-label); }
.vf-shell .video-frame, .video-frame { clip-path: none; border-radius: 18px !important; box-shadow: 0 0 0 1px rgba(244,241,234,.08) !important; }
.video-play, .video-play::before { clip-path: none; border-radius: 50% !important; }
.video-play { box-shadow: 0 14px 34px -10px rgba(0,0,0,.7); }
.video-play::before { background: none; border: 1px solid rgba(244,241,234,.55) !important; }
.video-len { clip-path: none; border-radius: 6px !important; }
@media (max-width: 599px) { .vf-shell { padding: 6px; border-radius: 20px; } .vf-shell .video-frame { border-radius: 14px !important; } .vf-bar { padding: 6px 10px 10px; } }

/* ---------------- 01 / the problem: the tries are glass chips; the path and its icons stay pixel art ---------------- */
.lk-tag { padding: 10px 14px; }
.lk-tag:has(.lk-ico) { padding-block: 8px; }
.lk-tag::before, .lk-tag::after { clip-path: none; }
.lk-tag::before { inset: 0; border-radius: var(--r-ctl); background: rgba(244,241,234,.2); }
.lk-tag::after { inset: 1px; border-radius: 9px; background: #171416; box-shadow: inset 0 1px 0 rgba(244,241,234,.1); }

/* ---------------- 02 / the fix: two panes on the bone room ---------------- */
.sol-col { padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: color-mix(in srgb, var(--ink) 4%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--bg) 70%, transparent), 0 24px 60px -34px color-mix(in srgb, var(--ink) 45%, transparent); }
.crimson-rule { border-radius: 2px !important; }

/* ---------------- 03 / the build: one pane, four rows ---------------- */
.foundation .pillars { gap: 0; padding: 4px var(--s-32); border-radius: var(--r-frame); }
.foundation .pillar { padding: var(--s-32) 0; }
.foundation .pillar + .pillar { border-top: 1px solid var(--hairline); }
@media (max-width: 599px) {
  /* phone: the drawing above its words, so the words keep the full width */
  .foundation .pillars { padding: 0 20px; border-radius: 20px; }
  .foundation .pillar, .foundation .pillar:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: var(--s-16); padding: var(--s-24) 0; }
}

/* ---------------- 04 / the run: three panes ---------------- */
.front-panel { display: flex; flex-direction: column; padding: var(--card-pad); transition: transform .3s var(--ease-out), background-color .3s var(--ease), border-color .3s var(--ease); }
.front-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--glass-2); box-shadow: inset 0 1px 0 var(--glass-hi); margin-bottom: var(--s-24); }
.front-stat { margin-top: auto; padding-top: var(--s-16); border-top: 1px solid var(--hairline); color: var(--c-label); }
@media (hover: hover) {
  .front-panel:hover { transform: translateY(-4px); background: var(--glass-2); border-color: color-mix(in srgb, var(--ink) 20%, transparent) !important; }
}

/* ---------------- 05 / the funnel: the stage in play is a pane ---------------- */
.stages { gap: var(--s-8); }
.stage { padding: var(--s-16) 20px; border: 1px solid transparent; border-left: 1px solid transparent; border-radius: var(--r-card);
  transition: opacity .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.stage.is-active { border-color: var(--glass-line); background: var(--glass); box-shadow: inset 0 1px 0 var(--glass-hi); }
.stage h3 { margin: var(--s-4) 0; }
.stage p { margin: 0; }

/* ---------------- the case study: the three numbers on one pane ---------------- */
.stat-trio { gap: 0; padding: 0; border-radius: var(--r-frame); }
.stat { padding: var(--s-32); min-width: 0; }
.stat + .stat { border-left: 1px solid var(--hairline); }
.stat-num { margin-bottom: var(--s-8); }
@media (max-width: 899px) { .stat { padding: var(--s-24); } }
@media (max-width: 599px) { .stat + .stat { border-left: 0; border-top: 1px solid var(--hairline); } }
.link-draw { min-height: 44px; }

/* ---------------- free sauce (the crimson room): smooth plate, dark chips ---------------- */
.sauce-plate { clip-path: none; border-radius: 28px; image-rendering: auto;
  background: radial-gradient(circle at 100% 100%, rgba(230,57,80,.9) 0%, rgba(209,26,42,.6) 18%, rgba(122,16,32,.4) 36%, rgba(122,16,32,.12) 54%, rgba(10,10,12,0) 70%), var(--noir);
  box-shadow: inset 0 1px 0 rgba(244,241,234,.14), 0 30px 70px -30px rgba(10,10,12,.8); }
.sauce-tools li { clip-path: none; border-radius: 14px; padding: 12px 16px 13px; background: rgba(10,10,12,.9); box-shadow: inset 0 1px 0 rgba(244,241,234,.14); }
.sauce-quote { border-left-width: 2px; border-radius: 0; }

/* ---------------- the Habit Crew: glass controls and card; the characters and their icons stay pixel art ---------------- */
.crew-arrow, .crew-pick { transition: transform .16s var(--ease-out), background-color .18s var(--ease), border-color .18s var(--ease); }
.crew-arrow { border-radius: 50%; background: var(--glass-2); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 var(--glass-hi);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.crew-arrow:hover { background: var(--crimson); border-color: transparent; }
.crew-arrow:active { transform: scale(.94); }
.crew-roster { gap: 0; }
.crew-pick { width: 44px; height: 44px; border-radius: 50%; }
.crew-pick::before { border-radius: 50%; width: 8px; height: 8px; transition: background-color .18s var(--ease), box-shadow .18s var(--ease); }
.crew-pick[aria-current="true"]::before { box-shadow: 0 0 0 4px color-mix(in srgb, var(--crimson) 28%, transparent); }
.crew-stage-name { padding: 8px 20px; border-radius: var(--r-pill); background: rgba(14,12,14,.72); border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi); }
.crew-stage-name::before, .crew-stage-name::after { content: none; }
.crew-card { border-radius: var(--r-frame); }
.crew-ico, .crew-z, .crew-gear li { border-radius: var(--r-ctl); background: var(--glass-2); box-shadow: inset 0 1px 0 var(--glass-hi); transition: background-color .18s var(--ease); }
.crew-zones li.is-hit .crew-z { box-shadow: inset 0 1px 0 rgba(244,241,234,.18), 0 0 0 1px var(--crimson); }
.crew-tag { border-radius: var(--r-pill); }
.crew-cost { border-radius: 14px; padding: 14px 16px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--crimson) 40%, transparent); }
@media (max-width: 520px) { .crew-arrow { width: 44px; height: 44px; } .crew-pick { width: 44px; height: 44px; } }

/* ---------------- the closing steps ---------------- */
.cta-steps li { padding: var(--card-pad); }

/* ---------------- FAQ: one pane, quiet rows ---------------- */
.faq-split .faq-list { padding: 4px var(--s-32); border-radius: var(--r-frame); }
.faq-list .faq-item:first-child { border-top: 0; }
.faq-list .faq-item:last-child { border-bottom: 0; }
.faq-icon { width: 44px; height: 44px; clip-path: none; border-radius: 50%; background: var(--glass-2); border: 1px solid var(--glass-line);
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .3s var(--ease-out); }
.faq-icon::after { content: none; }
.faq-q { grid-template-columns: 48px 1fr 44px; }
.faq-q:hover .faq-icon { border-color: color-mix(in srgb, var(--crimson) 80%, transparent); }
.faq-item[open] .faq-icon { background: var(--crimson); border-color: transparent; color: var(--bone); }
.faq-a { padding: 0 calc(44px + var(--s-24)) var(--s-24) calc(48px + 1.6rem); }
@media (max-width: 768px) {
  .faq-split .faq-list { padding: 0 20px; border-radius: 20px; }
  .faq-q { grid-template-columns: 1fr 44px; }
  .faq-a { padding: 0 0 var(--s-24); }
}

/* ---------------- footer: links you can tap ---------------- */
.footer { border-top-color: var(--glass-line); }
.footer-col > a { display: inline-flex; align-items: center; min-height: 28px; }
.footer-bridge a, .footer .micro a { padding-block: 4px; }          /* links inside a sentence stay in the line */
@media (pointer: coarse), (max-width: 899px) {
  .footer-col { gap: 0; }
  .footer-col > a { min-height: 44px; }
  .footer-bridge a, .footer .micro a { padding-block: 12px; }
  .footer-col .mono-label { margin-bottom: var(--s-8); }
}

/* ---------------- fallbacks (as in the portal) ---------------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --glass: color-mix(in srgb, var(--ink) 9%, var(--bg)); --glass-2: color-mix(in srgb, var(--ink) 13%, var(--bg)); --pane-dark: #141215; }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --glass: color-mix(in srgb, var(--ink) 9%, var(--bg)); --glass-2: color-mix(in srgb, var(--ink) 13%, var(--bg)); --pane-dark: #141215; }
  * { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .front-panel, .stage, .faq-icon, .crew-arrow, .crew-pick, .crew-pick::before, .nav-menu a { transition: none; }
  .front-panel:hover { transform: none; }
}
@media (forced-colors: active) {
  .sol-col, .front-panel, .cta-steps li, .foundation .pillars, .stat-trio, .faq-split .faq-list, .crew-card, .vf-shell, .nav { border: 1px solid CanvasText !important; }
}

/* ---------------- tap targets ---------------- */
.nav-logo { min-height: 44px; }
@media (pointer: coarse), (max-width: 899px) { .footer-col > a { min-width: 44px; } }

/* 01 / the problem, pinned: the label sat under the red bar and the header (the old offset left the bar out) */
.lk-live .lk-head { top: calc(var(--bar-h, 0px) + 10px + var(--nav-h) + var(--s-24)); }
@media (max-width: 599px) { .lk-live .lk-head { top: calc(var(--bar-h, 0px) + 10px + 56px + var(--s-16)); } }
.lk-head .ps-eyebrow { margin-inline: auto; }   /* centred with the lines under it */

/* ================================================================
   01 / the problem, as a cube (Hiba, 15 Nov 2026; px-cube.js). The cube's sides are dark panes with a pixel icon each;
   it turns red as it reaches the centre (--cb-hot, 0 to 1). The previous scene keeps its .lk rules.
   ================================================================ */
.cb { --cb: 260px; --cb-hot: 0; }
.cb-fixes { list-style: none; margin: 0; padding: 0; }
.cb-fix h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; letter-spacing: 0; color: var(--ink); margin: 0 0 var(--s-16); }
.cb-fix p { font-size: var(--fs-lede); line-height: var(--lh-lede); color: var(--lede); margin: 0; max-width: 40ch; }
/* the lead-in, "Things you've probably tried before…" (Hiba, 16 Nov 2026): centred before the cube comes in, then each
   line goes into a blur, the reverse of "The fix isn't another piece." (px-cube.js sets its place and its exit) */
.cb-intro { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-h2); line-height: 1.08; letter-spacing: var(--ls-h2); color: var(--ink); text-align: center; text-wrap: balance; margin: 0 0 var(--s-48); }
.cb-intro-line { display: inline-block; }
.cb-live .cb-intro { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); margin: 0; pointer-events: none; }
.cb-live .cb-intro-line { will-change: filter, opacity, transform; }
.cb-ico, .cb-fix-ico { display: block; image-rendering: pixelated; image-rendering: crisp-edges; }

/* live: one screen, pinned */
.cb-live { padding: 0; }
.cb-live .ps-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.cb-live .cb-stage { position: relative; height: 100%; }
.cb-live .cb-scene { position: absolute; inset: 0; pointer-events: none; }
.cb-live .cb-glow { position: absolute; left: 0; top: 0; width: calc(var(--cb) * 3.6); height: calc(var(--cb) * 3.6); opacity: 0; will-change: transform, opacity;
  background: radial-gradient(circle, rgba(230,57,80,.5) 0%, rgba(209,26,42,.32) 22%, rgba(122,16,32,.2) 44%, transparent 68%); }
.cb-live .cb-cube { position: absolute; left: 0; top: 0; width: var(--cb); height: var(--cb); transform-style: preserve-3d; will-change: transform; }
.cb-live .cb-face { position: absolute; inset: 0; display: grid; place-items: center; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--crimson), var(--flare) calc(30% + var(--cb-hot) * 60%));   /* red edges, a little glow, before and after the zoom (Hiba, 15 Nov 2026) */
  background: linear-gradient(150deg, color-mix(in srgb, #221D21, var(--crimson) calc(var(--cb-hot) * 62%)), color-mix(in srgb, #121013, var(--blood) calc(var(--cb-hot) * 80%)));
  box-shadow: 0 0 12px rgba(230,57,80,.38), 0 0 2px rgba(230,57,80,.7), inset 0 0 22px rgba(209,26,42,.2); }
.cb-face[data-face="boost"]   { transform: rotateY(0deg)   translateZ(calc(var(--cb) / 2)); }
.cb-face[data-face="content"] { transform: rotateY(90deg)  translateZ(calc(var(--cb) / 2)); }
.cb-face[data-face="tool"]    { transform: rotateY(180deg) translateZ(calc(var(--cb) / 2)); }
.cb-face[data-face="agency"]  { transform: rotateY(270deg) translateZ(calc(var(--cb) / 2)); }
.cb-face.cb-top    { transform: rotateX(90deg)  translateZ(calc(var(--cb) / 2)); }
.cb-face.cb-bottom { transform: rotateX(-90deg) translateZ(calc(var(--cb) / 2)); }
.cb-live .cb-fix-ico { display: none; }
/* the words: every fix in one spot, to the right of the cube; the lines in one spot under the centre */
.cb-live .cb-fixes { position: absolute; left: 46%; right: 0; top: 54%; transform: translateY(-50%); display: grid; }
.cb-live .cb-fix { grid-area: 1 / 1; align-self: center; opacity: 0; visibility: hidden; will-change: transform, opacity; }
.cb-live .cb-lines { position: absolute; left: 0; right: 0; top: 77%; row-gap: 0; text-align: center; }
.cb-live .cb-lines .lk-line { grid-area: 1 / 1; opacity: 0; visibility: hidden; will-change: transform, opacity; }
@media (max-width: 599px) {
  .cb-live .cb-fixes { left: 0; top: 46%; transform: none; text-align: center; }
  .cb-live .cb-fix { align-self: start; }
  .cb-live .cb-fix p { margin-inline: auto; font-size: var(--fs-body); }
  .cb-fix h3 { font-size: 30px; margin-bottom: var(--s-12); }
  .cb-live .cb-lines { top: 56%; }
  .cb-live .cb-face { border-radius: 10px; }
}

/* still (reduced motion, or no script): four cards, then the four lines */
.cb-still .cb-scene, html:not(.js) .cb .cb-scene { display: none; }
.cb:not(.cb-live) .cb-fixes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--card-gap); margin-bottom: var(--s-64); }
.cb:not(.cb-live) .cb-fix { padding: var(--card-pad); border-radius: var(--r-card); background: var(--glass); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 var(--glass-hi), var(--glass-shadow); }
.cb:not(.cb-live) .cb-fix h3 { font-size: 28px; margin-top: var(--s-16); }
.cb:not(.cb-live) .cb-fix p { font-size: var(--fs-body); max-width: none; }
.cb:not(.cb-live) .cb-lines { text-align: center; }
@media (max-width: 767px) { .cb:not(.cb-live) .cb-fixes { grid-template-columns: minmax(0, 1fr); } }

/* ================================================================
   THE OTHER PAGES AND THE POPUP (Hiba, 15 Nov 2026: "work on other pages, popup"): the same glass on the case study,
   the free audit, Ready to scale, Privacy and the Education pages. Screen only: the Education print styles
   (white paper) in education.css are untouched.
   ================================================================ */
@media screen {
  /* panes */
  .edu-reply, .edu-next, .edu-card, .edu-send-box, .edu-ig-inner, .audit-card, .audit-fact, .booking-embed, .booking-card, .results-band {
    clip-path: none; background: var(--glass);
    border: 1px solid var(--glass-line) !important; border-radius: var(--r-card);
    box-shadow: inset 0 1px 0 var(--glass-hi), var(--glass-shadow);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  }
  .edu-reply::after, .edu-card::after, .edu-send-box::after, .audit-card::after, .audit-fact::after, .booking-embed::after, .booking-card::after,
  .results-band::after, .audit-opt::after, .audit-pill::after, .audit-proof::after { content: none; }
  .edu-next, .edu-send-box, .edu-ig-inner, .booking-embed, .booking-card { border-radius: var(--r-frame); }
  .booking-embed iframe, .booking-card iframe { border-radius: 18px !important; }

  /* ---- Education ---- */
  .edu-card { transition: transform .3s var(--ease-out), background-color .3s var(--ease), border-color .3s var(--ease); }
  .edu-card:hover, .edu-card:focus-visible { background: var(--glass-2); border-color: color-mix(in srgb, var(--crimson) 75%, transparent) !important; }
  @media (hover: hover) { .edu-card:hover { transform: translateY(-3px); } }
  .edu-send-box { border-color: color-mix(in srgb, var(--crimson) 60%, transparent) !important; }
  .edu-copy { clip-path: none; border-radius: var(--r-pill); min-height: 32px; padding: .45rem .9rem; background: var(--glass-2); border: 1px solid var(--glass-line); transition: background-color .18s var(--ease), color .18s var(--ease); }
  .edu-copy:hover, .edu-copy.is-done { border-color: transparent; }
  .edu-in, .edu-send-field input { clip-path: none; border-radius: var(--r-ctl); background: rgba(10,10,12,.35); box-shadow: inset 0 0 0 1px var(--glass-line); }
  .edu-in:hover, .edu-send-field input:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 28%, transparent); }
  .edu-in:focus, .edu-send-field input:focus { background: rgba(10,10,12,.5); box-shadow: inset 0 0 0 1.5px var(--crimson); }
  .edu-table td .edu-in { border-radius: 0; background: transparent; box-shadow: inset 0 -1px 0 var(--glass-line); }
  .edu-table td .edu-in:focus { box-shadow: inset 0 -2px 0 var(--crimson); }
  .edu-blank { clip-path: none; border-radius: 6px; }
  .edu-box { clip-path: none; border-radius: 6px; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--glass-line); }
  .edu-box::after { border-radius: 2px; }
  input:checked + .edu-box { box-shadow: none; }
  .edu-yn span { clip-path: none; border-radius: var(--r-pill); background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--glass-line); padding: .5rem .9rem; }
  .edu-yn input:checked + span { box-shadow: none; }
  .edu-ig-embed { clip-path: none; border-radius: 18px; overflow: hidden; }
  .edu-quote-inner { clip-path: none; border-radius: 28px; overflow: hidden; border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 var(--glass-hi), var(--glass-shadow); }

  /* ---- the free audit and Ready to scale ---- */
  .audit-opt { clip-path: none; border-radius: 14px !important; background: var(--glass); border: 1px solid var(--glass-line) !important; box-shadow: inset 0 1px 0 var(--glass-hi);
    transition: transform .16s var(--ease-out), background-color .18s var(--ease), border-color .18s var(--ease); }
  .audit-opt:hover { background: var(--glass-2); border-color: color-mix(in srgb, var(--ink) 28%, transparent) !important; }
  .audit-opt[aria-pressed="true"] { background: rgba(209,26,42,.12); border-color: var(--crimson) !important; }
  .audit-opt:focus-visible { outline-offset: 3px; border-radius: 14px !important; }
  .audit-key { clip-path: none; border-radius: 8px !important; }
  .audit-field input { clip-path: none; border-radius: var(--r-ctl) !important; background: rgba(10,10,12,.35); }
  .audit-field input:focus-visible { outline: 0; }
  .audit-pill { clip-path: none; border-radius: var(--r-pill) !important; border: 1px solid var(--glass-line) !important; }
  .audit-card.is-leak .audit-pill { border-color: rgba(209,26,42,.7) !important; }
  .audit-card.is-leak { border-left: 2px solid var(--crimson) !important; }
  .audit-proof { clip-path: none; border-radius: 14px !important; border: 1px solid var(--glass-line) !important; }
  .audit-track { clip-path: none; border-radius: 2px !important; }
  .audit-consent input { clip-path: none; border-radius: 6px; }
  mark.todo { clip-path: none; border-radius: 4px !important; }
  .skip-link, .skip-link:focus-visible { clip-path: none; border-radius: var(--r-ctl) !important; }

  /* ---- the case study ---- */
  .cs-surface { background: color-mix(in srgb, var(--ink) 4%, transparent); box-shadow: inset 0 1px 0 var(--hairline), inset 0 -1px 0 var(--hairline); }
  .results-band { border-radius: 14px !important; }

  /* ---- the popup: the same bone card, smooth; the page behind it blurred ---- */
  .promo { background: rgba(10,10,12,.62); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
  .promo-box { clip-path: none; border-radius: 28px; box-shadow: inset 0 1px 0 #fff, 0 40px 100px -30px rgba(0,0,0,.85); }
  .promo-card { clip-path: none; border-radius: 12px; box-shadow: 0 14px 30px -16px rgba(10,10,12,.7); }
  .promo-cta { clip-path: none; border-radius: var(--r-pill); min-height: 52px; align-items: center; box-shadow: inset 0 1px 0 rgba(244,241,234,.22), 0 14px 32px -14px rgba(209,26,42,.7);
    transition: background-color .18s var(--ease), transform .16s var(--ease-out); }
  .promo-cta:hover { background: color-mix(in srgb, var(--crimson) 55%, var(--flare)); }
  .promo-cta:active { transform: scale(.98); }
  .promo-cta:focus-visible { border-radius: var(--r-pill) !important; outline: 2px solid var(--noir); outline-offset: 3px; }
  .promo-skip { min-height: 44px; border-radius: var(--r-pill); }
  .promo-skip:focus-visible { border-radius: var(--r-pill) !important; outline-color: var(--crimson); }
  .promo-proof a { padding-block: 4px; }
}
@media (prefers-reduced-motion: reduce) { .edu-card, .audit-opt, .promo-cta, .edu-copy { transition: none; } .edu-card:hover { transform: none; } }

/* tap targets on the other pages (touch screens and narrow windows) */
@media screen and (pointer: coarse), screen and (max-width: 899px) {
  .footer-bridge a, .footer .micro a { padding-block: 14px; }
  .edu-copy { min-height: 44px; padding-inline: 1rem; }
  .edu-in { min-height: 44px; }
  .edu-link { min-height: 44px; display: inline-flex; align-items: center; }
  .edu-yn span { padding: .8rem 1rem; }
  .audit-back { min-height: 44px; }
}

/* still: the cards first, then the four lines (in the source the lines come first, so the H2 precedes the H3s) */
.cb:not(.cb-live) .cb-stage { display: flex; flex-direction: column; }
.cb:not(.cb-live) .cb-fixes { order: 1; }
.cb:not(.cb-live) .cb-lines { order: 2; }

/* "The fix isn't another piece." comes in out of a blur, one line after the other (Hiba, 15 Nov 2026). The heading
   itself stays put; each line goes from blurred, faint and a little low to sharp. Reduced motion: shown at once. */
html.js.has-motion [data-reveal].reveal-blur { opacity: 1; transform: none; }
.reveal-blur .rb-line { display: inline-block; }
html.js.has-motion .reveal-blur .rb-line { opacity: 0; filter: blur(16px); transform: translateY(14px); will-change: filter, opacity, transform; }
html.js.has-motion .reveal-blur.is-inview .rb-line {
  opacity: 1; filter: blur(0); transform: none;
  transition: opacity 1.1s cubic-bezier(.2,.65,.3,1), filter 1.3s cubic-bezier(.2,.65,.3,1), transform 1.1s cubic-bezier(.2,.65,.3,1);
}
html.js.has-motion .reveal-blur.is-inview .rb-line + br + .rb-line { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal-blur .rb-line { opacity: 1 !important; filter: none !important; transform: none !important; }
}

/* ================================================================
   02 / the fix (Hiba, 15 Nov 2026): the rocket first, then the two boxes in one sequence. Box 1 comes in from the
   left, a pixel arrow draws itself left to right, then box 2 comes in from the right. No line between them.
   The arrow is an icon, so it keeps the pixel look (24 x 9 cells, drawn a cell at a time). On a phone the boxes stack
   and the arrow points down. Reduced motion: everything shown at once.
   ================================================================ */
.solution .rocket-stage { margin: var(--s-48) 0 var(--s-16); }
.solution-cols.sol-seq { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(16px, 2.4vw, 32px); margin-top: var(--s-32); }
.sol-arrow { display: grid; place-items: center; color: var(--crimson); }
.sol-arrow svg { display: block; width: 72px; height: 27px; fill: currentColor; filter: drop-shadow(0 0 6px rgba(209,26,42,.35)); }
html.js.has-motion [data-reveal].sol-seq { opacity: 1; transform: none; }
html.js.has-motion .sol-seq .sol-col { opacity: 0; transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
html.js.has-motion .sol-seq .sol-col:first-child { transform: translateX(-56px); }
html.js.has-motion .sol-seq .sol-col:last-child { transform: translateX(56px); }
html.js.has-motion .sol-seq .sol-arrow svg { clip-path: inset(0 100% 0 0); transition: clip-path .6s steps(12, end); }
html.js.has-motion .sol-seq.is-inview .sol-col { opacity: 1; transform: none; }
html.js.has-motion .sol-seq.is-inview .sol-arrow svg { clip-path: inset(0 0 0 0); transition-delay: .55s; }
html.js.has-motion .sol-seq.is-inview .sol-col:last-child { transition-delay: 1.15s; }
@media (max-width: 768px) {
  .solution-cols.sol-seq { grid-template-columns: minmax(0, 1fr); gap: var(--s-16); }
  .sol-arrow svg { transform: rotate(90deg); margin: 22px 0; }   /* points down, still drawn from its tail */
  html.js.has-motion .sol-seq .sol-col:first-child { transform: translateY(24px); }
  html.js.has-motion .sol-seq .sol-col:last-child { transform: translateY(24px); }
  html.js.has-motion .sol-seq.is-inview .sol-col { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .sol-seq .sol-col { opacity: 1 !important; transform: none !important; }
  html.js .sol-seq .sol-arrow svg { clip-path: none !important; }
}

/* pixel.css forces square corners (border-radius: 0 !important) on these; the glass radius has to win the same way */
.sol-col { border-radius: 20px !important; }
.audit-card, .audit-fact, .booking-embed, .booking-card { border-radius: var(--r-card) !important; }
.booking-embed, .booking-card { border-radius: var(--r-frame) !important; }
/* the Fix row: both boxes the same height, tops aligned; the arrow centred between them */
.solution-cols.sol-seq { align-items: stretch; }
.sol-seq .sol-arrow { align-self: center; }
