/* ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════
   XC — the CranialCheck-inspired presentation system (SANDBOX ONLY · branch sandbox/cranialcheck-redesign)
   One shared system for SwingCheck and CourtCheck; each brand only sets tokens. Modelled on the original CranialCheck
   site (Playfair Display editorial headlines with one italic accent, Outfit body, full-bleed photographic bands,
   frosted floating panels, numbered steps, gradient buttons) and on the Stitch projects
   "SwingCheck AI — CranialCheck-inspired redesign" / "CourtCheck AI — …". Brand colours and logos are unchanged.
   Loaded after the page's own CSS; everything is scoped to html.xc so production markup is untouched without it.
   ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
@import url('/redesign/fonts/fonts.css');

html.xc {
  --xc-blue: #1029B8; --xc-blue-hi: #1f3bd6; --xc-blue-deep: #0a1a80;
  --xc-accent: #FFF000;                    /* brand yellow: the italic accent on dark, highlights */
  --xc-ink: #0d1430; --xc-ink-2: #0a1450; --xc-night: #070b19;
  --xc-slate: #475069; --xc-mute: #5d6579; --xc-line: #e3e6ee; --xc-paper: #f6f7fa;
  --xc-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --xc-sans: 'Outfit', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --xc-r: 18px; --xc-r-sm: 12px; --xc-shadow: 0 20px 60px rgba(7, 11, 25, .22); --xc-shadow-sm: 0 8px 24px rgba(7, 11, 25, .10);
  --xc-btn-shadow: 0 6px 20px rgba(16, 41, 184, .32);
  --xc-ease: cubic-bezier(.2, .7, .2, 1);
  scroll-behavior: smooth;
}
html.xc body { font-family: var(--xc-sans); -webkit-font-smoothing: antialiased; }
html.xc:has(.xc-hero) body { color: var(--xc-ink); }   /* the ink colour only on the redesigned landing: every other page keeps its own text colour (dark pages keep light text) */

/* ── type ─────────────────────────────────────────────────────────────────────────────────────────────────── */
html.xc h1, html.xc h2, html.xc .xc-serif { font-family: var(--xc-serif); font-weight: 800; letter-spacing: -.01em; line-height: 1.08; text-transform: none; font-style: normal; }
html.xc h3 { font-family: var(--xc-sans); font-weight: 700; letter-spacing: 0; }
html.xc em.xc-acc, html.xc .xc-acc { font-family: var(--xc-serif); font-style: italic; font-weight: 700; color: var(--xc-blue); }
html.xc .xc-dark em.xc-acc, html.xc .xc-dark .xc-acc { color: var(--xc-accent); }
html.xc .hm-eyebrow, html.xc .xc-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 11px/1 var(--xc-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--xc-blue); background: none; padding: 0; border: 0; }
html.xc .hm-eyebrow::before, html.xc .xc-eyebrow::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: currentColor; opacity: .8; }
html.xc .xc-dark .hm-eyebrow, html.xc .xc-dark .xc-eyebrow, html.xc .hm-sec--navy .hm-eyebrow { color: var(--xc-accent); }

/* ── buttons ──────────────────────────────────────────────────────────────────────────────────────────────── */
html.xc .hm-btn-p, html.xc .xc-btn { background: linear-gradient(135deg, var(--xc-blue), var(--xc-blue-hi)); color: #fff; border: 0; border-radius: 10px; box-shadow: var(--xc-btn-shadow); font-family: var(--xc-sans); font-weight: 600; transition: transform .25s var(--xc-ease), box-shadow .25s var(--xc-ease); }
html.xc .hm-btn-p:hover, html.xc .xc-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(16, 41, 184, .42); }
html.xc .hm-btn-s, html.xc .xc-btn-ghost { border-radius: 10px; font-family: var(--xc-sans); font-weight: 600; transition: background .2s, transform .25s var(--xc-ease); }
html.xc .xc-dark .hm-btn-s, html.xc .xc-dark .xc-btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
html.xc .hm-btn-y { border-radius: 10px; font-family: var(--xc-sans); font-weight: 700; }
html.xc :focus-visible { outline: 3px solid var(--xc-accent); outline-offset: 3px; border-radius: 6px; }

/* ── header: translucent over the hero, solid once scrolled (xc.js sets .xc-solid) ─────────────────────────── */
html.xc .hm-head { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: background .35s, box-shadow .35s, border-color .35s; }
html.xc .hm-head.xc-solid { background: rgba(255, 255, 255, .96); box-shadow: 0 6px 24px rgba(7, 11, 25, .08); border-bottom-color: var(--xc-line); }
html.xc .hm-nav a { font-family: var(--xc-sans); font-weight: 500; position: relative; }
html.xc .hm-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--xc-blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--xc-ease); }
html.xc .hm-nav a:hover::after { transform: scaleX(1); }
html.xc .hm-ticker { background: var(--xc-night); }

/* ── bands ────────────────────────────────────────────────────────────────────────────────────────────────── */
html.xc .hm-sec { padding: clamp(72px, 10vw, 120px) 0; }
html.xc .hm-sec-head h2, html.xc .xc-band h2 { font-size: clamp(30px, 4.2vw, 46px); margin: 14px 0 12px; }
html.xc .hm-sec-head p { color: var(--xc-slate); font-size: 18px; max-width: 640px; margin-inline: auto; }
html.xc .hm-sec--navy, html.xc .xc-dark { background: radial-gradient(1200px 600px at 85% -10%, rgba(31, 59, 214, .35), transparent 60%), linear-gradient(180deg, var(--xc-ink-2), var(--xc-ink)); color: #fff; }
html.xc .hm-sec--navy .hm-sec-head p, html.xc .xc-dark p { color: rgba(255, 255, 255, .78); }
html.xc .xc-light { background: var(--xc-paper); }

/* ── cinematic hero ───────────────────────────────────────────────────────────────────────────────────────── */
html.xc .xc-hero { position: relative; overflow: hidden; min-height: min(86svh, 760px); display: flex; align-items: center; color: #fff; background: var(--xc-night); isolation: isolate; }
html.xc .xc-hero-photo { position: absolute; inset: -6% 0 0 0; z-index: -2; background-size: cover; background-position: 62% 40%; will-change: transform; }
html.xc .xc-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 11, 25, .94) 0%, rgba(7, 11, 25, .82) 34%, rgba(10, 20, 80, .35) 68%, rgba(7, 11, 25, .2) 100%), linear-gradient(0deg, rgba(7, 11, 25, .7), transparent 40%); }
html.xc .xc-hero .hm-wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding-block: 56px 72px; }
html.xc .xc-hero h1 { color: #fff; font-size: clamp(40px, 6vw, 72px); margin: 18px 0 18px; }
html.xc .xc-hero .hm-lead { color: rgba(255, 255, 255, .86); font-size: clamp(17px, 1.6vw, 20px); max-width: 540px; font-weight: 300; }
html.xc .xc-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font: 700 11px/1 var(--xc-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--xc-accent); border: 1px solid rgba(255, 240, 0, .45); background: rgba(7, 11, 25, .45); backdrop-filter: blur(8px); }
html.xc .xc-floats { position: relative; min-height: 380px; }
html.xc .xc-float { position: absolute; background: rgba(255, 255, 255, .95); color: var(--xc-ink); border-radius: var(--xc-r); box-shadow: var(--xc-shadow); backdrop-filter: blur(12px); padding: 16px 18px; max-width: 320px; animation: xc-float 7s ease-in-out infinite; }
html.xc .xc-float.xc-glass { background: rgba(13, 20, 48, .62); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }
html.xc .xc-float b { display: block; font-size: 15px; } html.xc .xc-float small { display: block; color: var(--xc-mute); font-size: 13px; margin-top: 4px; line-height: 1.45; }
html.xc .xc-float.xc-glass small { color: rgba(255, 255, 255, .72); }
html.xc .xc-float .xc-k { font: 700 10px/1 var(--xc-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--xc-blue); margin-bottom: 8px; display: block; }
html.xc .xc-float.xc-glass .xc-k { color: var(--xc-accent); }
html.xc .xc-f1 { top: 0; right: 4%; animation-delay: -1s; } html.xc .xc-f2 { top: 42%; left: 0; animation-delay: -3.5s; } html.xc .xc-f3 { bottom: 0; right: 10%; animation-delay: -5s; }
html.xc .xc-austin-row { display: flex; gap: 12px; align-items: flex-start; } html.xc .xc-austin-row img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--xc-accent); }
@keyframes xc-float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }

/* ── split band (photo + floating card) ───────────────────────────────────────────────────────────────────── */
html.xc .xc-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
html.xc .xc-photo { position: relative; border-radius: var(--xc-r); overflow: visible; }
html.xc .xc-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: var(--xc-r); box-shadow: var(--xc-shadow); display: block; }
html.xc .xc-photo .xc-float { position: absolute; left: -28px; bottom: -28px; animation-duration: 8s; }
html.xc .xc-list { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
html.xc .xc-list li { display: flex; gap: 10px; align-items: flex-start; } html.xc .xc-list li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--xc-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230d1430' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
html.xc .xc-note { font-size: 14px; line-height: 1.6; border-left: 3px solid var(--xc-accent); padding: 10px 14px; background: rgba(255, 255, 255, .06); border-radius: 0 10px 10px 0; }

/* ── numbered steps on a thin line ────────────────────────────────────────────────────────────────────────── */
html.xc .xc-steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: xc; }
html.xc .xc-steps::before { content: ''; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, rgba(255, 240, 0, .2), rgba(255, 240, 0, .7), rgba(255, 240, 0, .2)); }
html.xc .xc-steps li { position: relative; text-align: center; counter-increment: xc; }
html.xc .xc-steps li::before { content: counter(xc, decimal-leading-zero); display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--xc-ink); border: 2px solid var(--xc-accent); color: var(--xc-accent); font: 700 18px/1 var(--xc-serif); position: relative; z-index: 1; box-shadow: 0 0 0 8px rgba(255, 240, 0, .06); }
html.xc .xc-steps b { display: block; font-size: 17px; margin-bottom: 6px; } html.xc .xc-steps span { color: rgba(255, 255, 255, .74); font-size: 15px; line-height: 1.55; }

/* ── existing homepage blocks, re-dressed ─────────────────────────────────────────────────────────────────── */
html.xc #demos { background: var(--xc-paper); }
html.xc #hmDxPanel { border-radius: var(--xc-r); box-shadow: var(--xc-shadow); }
html.xc .hm-app-tabs button { font-family: var(--xc-sans); }
html.xc .hm-cats { gap: 14px; }
html.xc .hm-cat { border-radius: var(--xc-r-sm); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: background .25s, transform .3s var(--xc-ease), border-color .25s; }
html.xc .hm-cat:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 240, 0, .4); transform: translateY(-2px); }
html.xc .hm-cat-t b { font-family: var(--xc-serif); font-size: 20px; font-weight: 700; }
html.xc .hm-parents { background: #fff; }
html.xc .hm-parents h2 span { font-family: var(--xc-serif); font-style: italic; color: var(--xc-blue); }
html.xc .hm-parents-photo img { border-radius: var(--xc-r); box-shadow: var(--xc-shadow); }
html.xc .hm-gl-card { border-radius: var(--xc-r-sm); backdrop-filter: blur(6px); transition: transform .3s var(--xc-ease); } html.xc .hm-gl-card:hover { transform: translateY(-3px); }
html.xc .hm-start-card { border-radius: var(--xc-r); box-shadow: var(--xc-shadow-sm); border: 1px solid var(--xc-line); transition: transform .3s var(--xc-ease), box-shadow .3s; }
html.xc .hm-start-card:hover { transform: translateY(-4px); box-shadow: var(--xc-shadow); }
html.xc .hm-start-card h3 { font-family: var(--xc-serif); font-size: 24px; }
html.xc .hm-foot { background: var(--xc-night); color: rgba(255, 255, 255, .8); }
html.xc .hm-foot a { color: rgba(255, 255, 255, .82); }

/* ── pricing teaser ───────────────────────────────────────────────────────────────────────────────────────── */
html.xc .xc-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; align-items: stretch; }
html.xc .xc-plan { border: 1px solid var(--xc-line); border-radius: var(--xc-r); padding: 26px 24px; background: #fff; display: flex; flex-direction: column; gap: 10px; transition: transform .3s var(--xc-ease), box-shadow .3s; }
html.xc .xc-plan:hover { transform: translateY(-4px); box-shadow: var(--xc-shadow); }
html.xc .xc-plan.xc-pop { background: var(--xc-ink); color: #fff; border-color: var(--xc-accent); box-shadow: var(--xc-shadow); }
html.xc .xc-plan h3 { font-family: var(--xc-serif); font-size: 22px; margin: 0; } html.xc .xc-plan .xc-price { font: 700 40px/1 var(--xc-serif); } html.xc .xc-plan .xc-price small { font: 400 15px var(--xc-sans); opacity: .7; }
html.xc .xc-plan p { margin: 0; color: var(--xc-slate); font-size: 15px; line-height: 1.55; } html.xc .xc-plan.xc-pop p { color: rgba(255, 255, 255, .78); }
html.xc .xc-tag { align-self: flex-start; font: 700 10px/1 var(--xc-sans); letter-spacing: .14em; text-transform: uppercase; background: var(--xc-accent); color: var(--xc-ink); padding: 6px 10px; border-radius: 999px; }

/* ── reveal motion (xc.js adds .xc-in) ────────────────────────────────────────────────────────────────────── */
html.xc.xc-motion .xc-r { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--xc-ease), transform .8s var(--xc-ease); transition-delay: calc(var(--xc-i, 0) * 70ms); }
html.xc.xc-motion .xc-r.xc-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.xc { scroll-behavior: auto; }
  html.xc .xc-float { animation: none; }
  html.xc.xc-motion .xc-r { opacity: 1; transform: none; transition: none; }
  html.xc .xc-hero-photo { transform: none !important; }
}

/* ── phone ────────────────────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  html.xc .xc-hero { min-height: auto; }
  html.xc .xc-hero .hm-wrap, html.xc .xc-split, html.xc .xc-plans { grid-template-columns: 1fr; }
  html.xc .xc-hero-photo { background-position: 70% 35%; }
  html.xc .xc-hero::before { background: linear-gradient(180deg, rgba(7, 11, 25, .55), rgba(7, 11, 25, .9) 55%, rgba(7, 11, 25, .96)); }
  html.xc .xc-floats { min-height: 0; display: grid; gap: 12px; }
  html.xc .xc-float, html.xc .xc-photo .xc-float { position: static; max-width: none; animation: none; }
  html.xc .xc-photo .xc-float { margin-top: -36px; margin-inline: 14px; position: relative; }
  html.xc .xc-steps { grid-template-columns: 1fr 1fr; } html.xc .xc-steps::before { display: none; }
}
@media (max-width: 480px) { html.xc .xc-steps { grid-template-columns: 1fr; } }

/* ── fixes after the first render: text on dark bands, hero panel spacing ─────────────────────────────────── */
html.xc .xc-dark h2, html.xc .xc-dark h3, html.xc .hm-sec--navy h2, html.xc .hm-sec--navy h3 { color: #fff; }
html.xc .xc-dark p, html.xc .xc-dark li { color: rgba(255, 255, 255, .82); }
html.xc .hm-sec--navy .hm-cat-t b { color: #fff; } html.xc .hm-sec--navy .hm-cat-t span { color: rgba(255, 255, 255, .72); }
html.xc .hm-sec--navy .hm-cat-body, html.xc .hm-sec--navy .hm-cat-body p { color: rgba(255, 255, 255, .84); }
html.xc .hm-sec--navy .hm-cat-ic { background: rgba(255, 240, 0, .12); color: var(--xc-accent); border-radius: 10px; }
html.xc .hm-sec--navy .hm-link { color: var(--xc-accent); }
html.xc .hm-sec--navy .hm-disclaimer { color: rgba(255, 255, 255, .6); background: none; }
html.xc .xc-floats { min-height: 470px; }
html.xc .xc-f1 { top: 2%; right: 0; } html.xc .xc-f2 { top: 31%; left: 0; max-width: 340px; } html.xc .xc-f3 { bottom: 0; right: 6%; }
html.xc .hm-sec--navy .hm-cat-ic svg { stroke: var(--xc-accent); }
html.xc .hm-sec--navy .hm-disclaimer { border-left-color: var(--xc-accent); }
html.xc .hm-sec-head p { margin-inline: 0; }
@media (max-width: 860px) { html.xc .xc-hero::before { background: linear-gradient(180deg, rgba(7, 11, 25, .3), rgba(7, 11, 25, .82) 48%, rgba(7, 11, 25, .96)); } }
html.xc .xc-hero .hm-link, html.xc .xc-hero .hm-hero-note a, html.xc .xc-hero .cc-linkbtn { color: var(--xc-accent) !important; } html.xc .xc-hero .hm-hero-note { color: rgba(255,255,255,.8); }

/* hero without a photograph (pending an authentic, licensed, released image): stadium lights over the ink field */
html.xc .xc-hero-pending { background:
  radial-gradient(420px 260px at 78% 8%, rgba(255, 248, 220, .22), transparent 70%),
  radial-gradient(300px 200px at 94% 22%, rgba(255, 248, 220, .14), transparent 70%),
  radial-gradient(900px 500px at 70% 110%, rgba(31, 59, 214, .45), transparent 70%),
  repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 46px),
  linear-gradient(160deg, #0a1450 0%, #070b19 70%); }
/* generated people photographs awaiting replacement with licensed photography (owner standard 2026-12-02) */
html.xc figure.xc-photo { position: relative; }
html.xc .xc-placeholder-tag { position: absolute; top: 10px; left: 10px; z-index: 2; font: 700 10px/1 var(--xc-sans); letter-spacing: .1em; text-transform: uppercase; background: rgba(7, 11, 25, .78); color: var(--xc-accent); padding: 6px 8px; border-radius: 999px; }

/* ── demonstrations band (owner 2026-12-02): light band → dark, legible text; production's home_v3d.css styles it dark ── */
html.xc #demos .hm-sec-head h2 { color: var(--xc-ink); }
html.xc #demos .hm-sec-head p { color: var(--xc-slate); }
html.xc #demos .hm-sec-head .hm-eyebrow { color: var(--xc-blue); }
html.xc #demos .hm-dx-tabs button { color: var(--xc-ink); background: #fff; border: 1px solid var(--xc-line); }
html.xc #demos .hm-dx-tabs button:hover { border-color: var(--xc-blue); }
html.xc #demos .hm-dx-tabs button[aria-selected="true"] { background: var(--xc-accent); color: var(--xc-ink); border-color: var(--xc-accent); }
/* the whole player — header, video, controls, phase timeline and metrics — fits a desktop viewport; aspect ratio and overlays unchanged */
html.xc #demos #hmDxPanel { max-width: 900px; margin-inline: auto; }
html.xc #hmDxPanel .scpp-stage { --dx-h: max(200px, min(44svh, calc(100svh - 470px))); }
html.xc .xc-plan.xc-pop h3, html.xc .xc-plan.xc-pop .xc-price { color: #fff; }
html.xc .hm-foot small, html.xc .hm-foot span, html.xc .hm-foot .hm-logo small { color: rgba(255, 255, 255, .78) !important; }

/* ═══ LIGHT THEME (owner 2026-12-02: "look at the CranialCheck website… light themed… easy to navigate… beautiful, modern")
   White header, light bands carrying the content, navy serif headings, white cards with soft depth; dark only in the
   footer. Same layout, type, floating panels and motion as the approved landing. ═══════════════════════════════════ */
html.xc:has(.xc-hero) body { background: #fff; }   /* only the redesigned landing; every other page keeps its own background (dark pages stay dark) */
html.xc .xc-white { background: #fff; color: var(--xc-ink); }
html.xc .xc-paper { background: linear-gradient(180deg, #f7f9fe, #f2f5fc); color: var(--xc-ink); }
html.xc .xc-tint { background: radial-gradient(900px 420px at 85% 0%, rgba(16, 41, 184, .08), transparent 65%), linear-gradient(180deg, #eef2ff, #f7f9ff); color: var(--xc-ink); }
html.xc .xc-white h2, html.xc .xc-paper h2, html.xc .xc-tint h2 { color: var(--xc-ink); }
html.xc .xc-white p, html.xc .xc-paper p, html.xc .xc-tint p, html.xc .xc-white li, html.xc .xc-tint li { color: var(--xc-slate); }
html.xc .xc-white .xc-eyebrow, html.xc .xc-paper .hm-eyebrow, html.xc .xc-tint .xc-eyebrow, html.xc .xc-white .hm-eyebrow { color: var(--xc-blue); }
html.xc .xc-white .xc-note { background: #f4f6fd; color: var(--xc-ink); border-left-color: var(--xc-blue); }
html.xc .xc-white .hm-btn-s, html.xc .xc-tint .hm-btn-s, html.xc .xc-paper .hm-btn-s { background: #fff; color: var(--xc-blue); border: 1.5px solid var(--xc-blue); }
html.xc .xc-white .xc-list li::before { background-color: rgba(16, 41, 184, .12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231029B8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* hero: light editorial — pale field, navy serif, blue italic accent, white floating cards with soft shadows */
html.xc .xc-hero--light { background: #f6f8fe; color: var(--xc-ink); min-height: min(80svh, 700px); }
html.xc .xc-hero--light::before { background: radial-gradient(760px 520px at 82% 40%, rgba(16, 41, 184, .13), transparent 62%), radial-gradient(520px 360px at 8% 100%, rgba(255, 240, 0, .16), transparent 65%); }
html.xc .xc-hero--light .xc-hero-pending { background:
  repeating-linear-gradient(135deg, rgba(16, 41, 184, .045) 0 1px, transparent 1px 38px),
  repeating-linear-gradient(45deg, rgba(16, 41, 184, .045) 0 1px, transparent 1px 38px); -webkit-mask-image: radial-gradient(700px 520px at 78% 45%, #000, transparent 75%); mask-image: radial-gradient(700px 520px at 78% 45%, #000, transparent 75%); }
html.xc .xc-hero--light h1 { color: var(--xc-ink); }
html.xc .xc-hero--light h1 .xc-acc { color: var(--xc-blue); }
html.xc .xc-hero--light .hm-lead { color: var(--xc-slate); font-weight: 400; }
html.xc .xc-hero--light .xc-chip { color: var(--xc-blue); background: #fff; border-color: rgba(16, 41, 184, .25); box-shadow: 0 4px 14px rgba(16, 41, 184, .08); }
html.xc .xc-hero--light .hm-btn-s { background: #fff; color: var(--xc-ink); border: 1.5px solid var(--xc-line); box-shadow: 0 4px 14px rgba(7, 11, 25, .06); }
html.xc .xc-hero--light .xc-float { background: #fff; border: 1px solid var(--xc-line); box-shadow: 0 24px 60px rgba(16, 41, 184, .14), 0 2px 6px rgba(7, 11, 25, .05); }
html.xc .xc-hero--light .xc-float small { color: var(--xc-slate); }
html.xc .xc-hero--light .hm-austin-card .hm-btn-y { box-shadow: none; }
html.xc .xc-hero--light .hm-link, html.xc .xc-hero--light .hm-hero-note a { color: var(--xc-blue) !important; }

/* steps on a light band */
html.xc .xc-tint .xc-steps::before { background: linear-gradient(90deg, rgba(16, 41, 184, .1), rgba(16, 41, 184, .45), rgba(16, 41, 184, .1)); }
html.xc .xc-tint .xc-steps li::before { background: #fff; border-color: var(--xc-blue); color: var(--xc-blue); box-shadow: 0 8px 22px rgba(16, 41, 184, .14), 0 0 0 8px rgba(16, 41, 184, .05); }
html.xc .xc-tint .xc-steps b { color: var(--xc-ink); } html.xc .xc-tint .xc-steps span { color: var(--xc-slate); }

/* features list (production styles it for navy) — white cards on the pale band */
html.xc .xc-paper.hm-xp h2 { text-transform: none; font-size: clamp(30px, 4.2vw, 46px); }
html.xc .xc-paper .hm-cat { background: #fff; border: 1px solid var(--xc-line); box-shadow: 0 6px 18px rgba(7, 11, 25, .05); }
html.xc .xc-paper .hm-cat:hover { border-color: rgba(16, 41, 184, .35); background: #fff; box-shadow: 0 14px 34px rgba(16, 41, 184, .10); }
html.xc .xc-paper .hm-cat-t b { color: var(--xc-ink); } html.xc .xc-paper .hm-cat-t span, html.xc .xc-paper .hm-cat-body, html.xc .xc-paper .hm-cat-body p { color: var(--xc-slate); }
html.xc .xc-paper .hm-cat-ic { background: rgba(16, 41, 184, .08); } html.xc .xc-paper .hm-cat-ic svg { stroke: var(--xc-blue); }
html.xc .xc-paper .hm-link { color: var(--xc-blue); } html.xc .xc-paper .hm-disclaimer { color: var(--xc-slate); background: #fff; border-left-color: var(--xc-blue); }
html.xc .xc-paper .hm-pill--now { background: rgba(16, 41, 184, .1); color: var(--xc-blue); }

/* regions on white */
html.xc .xc-white a.hm-region.hm-gl-card { background: #fff; border: 1px solid var(--xc-line); box-shadow: 0 6px 18px rgba(7, 11, 25, .05); }
html.xc .xc-white a.hm-region.hm-gl-card:hover { border-color: var(--xc-blue); background: #fff; }
html.xc .xc-white .hm-gl-card b { color: var(--xc-ink); } html.xc .xc-white .hm-gl-card small { color: var(--xc-slate); }
html.xc .xc-white .hm-gl-code { background: rgba(16, 41, 184, .1); color: var(--xc-blue); }
html.xc .xc-white .hm-gl-tag { color: var(--xc-blue); }
html.xc .xc-white .hm-global-fine { color: var(--xc-slate); } html.xc .xc-white .hm-global-fine .hm-link { color: var(--xc-blue); }

/* header like CranialCheck: logo left, plain links, two buttons right; ticker as a slim light strip */
html.xc .hm-head .hm-wrap { display: flex; align-items: center; gap: 28px; }
html.xc .hm-head .hm-logo { order: -1; margin-right: 8px; }
html.xc .hm-head .hm-nav { order: 0; flex: 1; justify-content: center; }
html.xc .hm-head .hm-nav a { color: var(--xc-ink); font-weight: 500; }
html.xc .hm-head .hm-head-cta { order: 1; }
html.xc .hm-ticker { background: #f4f6fd; border-block: 1px solid var(--xc-line); }
html.xc .hm-ticker, html.xc .hm-ticker .hm-tk-item, html.xc .hm-ticker .hm-tk-label { color: var(--xc-slate); }
html.xc .hm-ticker .hm-tk-fig { color: var(--xc-blue); }

/* FAQ eyebrow (pre-existing production bug: white on white) */
html.xc:not(.xc-ondark) .eyebrow { color: var(--xc-blue) !important; }

/* polish after review: centred section heads like CranialCheck, consistent band spacing, calmer hero, smaller player */
html.xc .hm-sec-head { text-align: center; margin-inline: auto; max-width: 820px; }
html.xc .hm-sec-head p { margin-inline: auto; }
html.xc .hm-sec-head .hm-eyebrow, html.xc .hm-sec-head .xc-eyebrow { justify-content: center; }
html.xc #demos .hm-dx-tabs { justify-content: center; display: flex; flex-wrap: wrap; gap: 8px; margin-inline: auto; }
html.xc #how-it-works { padding-top: clamp(72px, 9vw, 110px) !important; }
html.xc .xc-steps { margin-top: 44px; }
html.xc .xc-hero--light { min-height: 0; }
html.xc .xc-hero--light .hm-wrap { padding-block: 64px 80px; }
html.xc #hmDxPanel .scpp-stage { --dx-h: max(200px, min(38svh, calc(100svh - 520px))); }
html.xc #demos #hmDxPanel { max-width: 860px; }
html.xc .xc-paper .hm-cat-t span, html.xc .xc-paper .hm-cat-body, html.xc .xc-paper .hm-cat-body p { color: #3f4860; }
html.xc .xc-hero .hm-btn-p svg, html.xc .xc-hero .hm-btn-s svg { width: 18px; height: 18px; flex: none; }
html.xc .xc-hero .hm-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (max-width: 860px) { html.xc .xc-hero .hm-hero-cta > a, html.xc .xc-hero .hm-hero-cta > button { flex: 1 1 auto; justify-content: center; } }

/* ═══ DEPTH REFINEMENT (owner 2026-12-02: "loves the design architecture" — too bright, too much white, weak contrast)
   Not a redesign: same layout, type, imagery, motion and floating panels. Deep navy bands alternate with muted light
   bands; fewer pure-white surfaces; darker type on light, crisp white on dark; stronger card / control contrast.
   Rhythm (both homepages): hero muted · demos DEEP · remote muted · how-it-works DEEP · explore muted · parents DEEP ·
   regions muted · plans DEEP · start muted · footer dark. Accents (brand yellow / cobalt) used sparingly. ═════════════ */
html.xc {
  --xc-ink: #0a1230; --xc-slate: #343e58; --xc-mute: #475069; --xc-line: #d3d9e6;
  --xc-mist: #eaeef6; --xc-mist-2: #e1e7f1; --xc-deep: #0a1450; --xc-deep-2: #060d33; --xc-on-deep: #d6deef;
}
html.xc:has(.xc-hero) body { background: var(--xc-mist); }

/* ── muted light bands (replace pure white) ── */
html.xc .xc-hero--light { background: linear-gradient(180deg, #e6ebf5, #eef1f8) !important; }
html.xc .xc-mist, html.xc .xc-white.xc-mist, html.xc .xc-paper.xc-mist { background: var(--xc-mist) !important; color: var(--xc-ink); }
html.xc .xc-mist.xc-mist--alt { background: linear-gradient(180deg, var(--xc-mist-2), var(--xc-mist)) !important; }
html.xc .xc-mist h2, html.xc .xc-mist h3 { color: var(--xc-ink); }
html.xc .xc-mist p, html.xc .xc-mist li, html.xc .xc-hero--light .hm-lead { color: var(--xc-slate); }
/* cards on muted bands: white with a visible edge and real depth */
html.xc .xc-mist .hm-cat, html.xc .xc-mist a.hm-region.hm-gl-card, html.xc .xc-mist .hm-start-card, html.xc .xc-mist .xc-note, html.xc .xc-mist .xc-float,
html.xc .xc-hero--light .xc-float { background: #fff !important; border: 1px solid var(--xc-line) !important; box-shadow: 0 1px 0 #fff inset, 0 10px 28px rgba(10, 18, 48, .10) !important; }
html.xc .xc-mist .hm-cat:hover, html.xc .xc-mist a.hm-region.hm-gl-card:hover { border-color: var(--xc-blue) !important; box-shadow: 0 16px 36px rgba(16, 41, 184, .16) !important; }
html.xc .xc-mist .hm-cat-t span, html.xc .xc-mist .hm-cat-body, html.xc .xc-mist .hm-cat-body p, html.xc .xc-mist .hm-gl-card small, html.xc .xc-mist .hm-global-fine { color: var(--xc-slate) !important; }
html.xc .xc-mist .hm-btn-s, html.xc .xc-hero--light .hm-btn-s { background: #fff !important; color: var(--xc-ink) !important; border: 1.5px solid #b9c2d6 !important; }
html.xc .xc-mist .hm-btn-s:hover, html.xc .xc-hero--light .hm-btn-s:hover { border-color: var(--xc-blue) !important; color: var(--xc-blue) !important; }

/* ── deep navy bands ── */
html.xc .xc-deep { background: radial-gradient(1100px 520px at 88% -12%, rgba(31, 59, 214, .38), transparent 62%), radial-gradient(700px 400px at 0% 110%, rgba(16, 41, 184, .25), transparent 60%), linear-gradient(180deg, var(--xc-deep), var(--xc-deep-2)) !important; color: #fff; }
html.xc .xc-deep :is(h2, h3, b, strong):not(#hmDxPanel *):not(.hm-more *):not(.xc-plan *):not(.hm-parents-grid *):not([class*="cc-td"] *) { color: #fff !important; }
html.xc .xc-deep :is(p, li, small):not(#hmDxPanel *):not(.hm-more *):not(.xc-plan *):not(.hm-parents-grid *):not([class*="cc-td"] *) { color: var(--xc-on-deep) !important; }
html.xc .xc-deep .hm-eyebrow, html.xc .xc-deep .xc-eyebrow { color: var(--xc-accent) !important; }
html.xc .xc-deep h2 span, html.xc .xc-deep h2 em, html.xc .xc-deep .xc-acc { color: var(--xc-accent) !important; }
html.xc .xc-deep a:not([class*="btn"]):not([class*="cc-td"] *):not(.hm-parents-grid *) { color: #fff; text-decoration-color: rgba(255, 240, 0, .7); }
html.xc section.xc-deep .hm-link, html.xc section.xc-deep summary, html.xc section.xc-deep .hm-more summary { color: #fff !important; }
html.xc section.xc-deep .hm-btn-y, html.xc section.xc-deep [class*="btn-y"] { color: var(--xc-ink) !important; }
html.xc section.xc-deep .hm-btn-s { background: transparent !important; color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .75) !important; }
html.xc .xc-deep .hm-btn-s { background: transparent !important; color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .7) !important; }
html.xc .xc-deep .hm-btn-s:hover { background: rgba(255, 255, 255, .1) !important; border-color: #fff !important; }
html.xc .xc-deep .xc-note { background: rgba(255, 255, 255, .07) !important; color: #fff !important; border-left-color: var(--xc-accent) !important; }

/* demonstrations on deep navy: white heading, light description, outlined tabs, yellow active tab, player framed */
html.xc #demos.xc-deep .hm-sec-head h2 { color: #fff; } html.xc #demos.xc-deep .hm-sec-head p { color: var(--xc-on-deep); }
html.xc #demos.xc-deep .hm-sec-head .hm-eyebrow { color: var(--xc-accent); }
html.xc #demos.xc-deep .hm-dx-tabs button { color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .45); }
html.xc #demos.xc-deep .hm-dx-tabs button:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
html.xc #demos.xc-deep .hm-dx-tabs button[aria-selected="true"] { background: var(--xc-accent); color: var(--xc-ink); border-color: var(--xc-accent); }
html.xc #demos.xc-deep #hmDxPanel { border-radius: var(--xc-r); box-shadow: 0 24px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .10); }

/* how it works on deep navy: the original yellow-line steps */
html.xc .xc-deep .xc-steps::before { background: linear-gradient(90deg, rgba(255, 240, 0, .15), rgba(255, 240, 0, .65), rgba(255, 240, 0, .15)) !important; }
html.xc .xc-deep .xc-steps li::before { background: var(--xc-deep) !important; border-color: var(--xc-accent) !important; color: var(--xc-accent) !important; box-shadow: 0 0 0 8px rgba(255, 240, 0, .07), 0 10px 26px rgba(0, 0, 0, .35) !important; }
html.xc .xc-deep .xc-steps span { color: var(--xc-on-deep) !important; }

/* for parents on deep navy */
html.xc .hm-parents.xc-deep h2 span { color: var(--xc-accent) !important; }
html.xc .hm-parents.xc-deep .hm-parents-photo img { box-shadow: 0 24px 70px rgba(0, 0, 0, .5); }

/* plans on deep navy: white cards with ink text; the featured plan keeps the yellow edge on a lighter navy */
html.xc .xc-deep .xc-plan { background: #fff !important; border: 1px solid rgba(255, 255, 255, .2) !important; color: var(--xc-ink); }
html.xc .xc-deep .xc-plan h3, html.xc .xc-deep .xc-plan .xc-price, html.xc .xc-deep .xc-plan b { color: var(--xc-ink) !important; }
html.xc .xc-deep .xc-plan p, html.xc .xc-deep .xc-plan li, html.xc .xc-deep .xc-plan small { color: var(--xc-slate) !important; }
html.xc .xc-deep .xc-plan.xc-pop { background: linear-gradient(180deg, #17287f, #0f1d63) !important; border: 2px solid var(--xc-accent) !important; }
html.xc .xc-deep .xc-plan.xc-pop h3, html.xc .xc-deep .xc-plan.xc-pop .xc-price, html.xc .xc-deep .xc-plan.xc-pop b { color: #fff !important; }
html.xc .xc-deep .xc-plan.xc-pop p, html.xc .xc-deep .xc-plan.xc-pop li, html.xc .xc-deep .xc-plan.xc-pop small { color: var(--xc-on-deep) !important; }

/* header, ticker, footer: a crisper frame */
html.xc .hm-head.xc-solid { background: rgba(255, 255, 255, .96) !important; box-shadow: 0 1px 0 var(--xc-line), 0 8px 24px rgba(10, 18, 48, .08); }
html.xc .hm-head .hm-nav a { color: var(--xc-ink) !important; font-weight: 600; }
html.xc .hm-ticker { background: var(--xc-mist-2) !important; border-block: 1px solid var(--xc-line); }
html.xc .hm-ticker, html.xc .hm-ticker .hm-tk-item, html.xc .hm-ticker .hm-tk-label { color: var(--xc-slate) !important; }
html.xc .hm-foot { background: linear-gradient(180deg, var(--xc-deep-2), #040822) !important; }
html.xc #parents.xc-deep .hm-btn-s, html.xc #parents.xc-deep #hmParentBeta { border-color: rgba(255, 255, 255, .8) !important; color: #fff !important; background: transparent !important; }

html.xc .xc-plan .xc-price small { color: var(--xc-slate) !important; } html.xc .xc-plan.xc-pop .xc-price small { color: #d6deef !important; }
html.xc section.xc-deep .hm-more summary { color: #fff !important; }
html.xc #demos.xc-deep div.hm-dx-more { background: transparent !important; }
html.xc #demos.xc-deep details.hm-dx-more, html.xc #demos.xc-deep details.hm-dx-more summary { color: var(--xc-ink) !important; }
html.xc .xc-plan .xc-price small { opacity: 1 !important; }
html.xc #demos .scpp-seg { opacity: 1 !important; font-weight: 700; text-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
html.xc .xc-mist .hm-start-card p, html.xc .xc-mist .hm-start-card span, html.xc .xc-mist .hm-start-card small { color: var(--xc-slate) !important; opacity: 1 !important; }
html.xc section.xc-deep [class*="cc-td"] .hm-btn-s { background: #fff !important; color: var(--xc-ink) !important; border: 1px solid #b9c2d6 !important; }

/* ═══ REFINEMENT 3 (owner 2026-12-02): membership cards all in the Performance style on a warm muted band; upright
   headline accents (no italics) — same layout, motion and navigation ═══════════════════════════════════════════════ */
/* 1 + 2 · memberships: warm off-white band, navy heads; three identical blue cards with a thin yellow edge */
html.xc .xc-warm { background: linear-gradient(180deg, #f3f1ec, #ebe8e1) !important; color: var(--xc-ink); }
html.xc .xc-warm .hm-sec-head h2 { color: var(--xc-ink) !important; }
html.xc .xc-warm .hm-sec-head p { color: #3a4054 !important; }
html.xc .xc-warm .hm-eyebrow, html.xc .xc-warm .xc-eyebrow { color: var(--xc-blue) !important; }
html.xc .xc-warm .xc-acc, html.xc .xc-warm h2 em { color: var(--xc-blue) !important; }
html.xc .xc-warm .xc-plans { align-items: stretch; }
html.xc .xc-warm .xc-plan { position: relative; background: linear-gradient(180deg, #17287f, #0f1d63) !important; border: 1.5px solid var(--xc-accent) !important; border-radius: var(--xc-r) !important;
  color: #fff; padding: 30px 26px 28px !important; box-shadow: 0 18px 44px rgba(10, 18, 48, .18) !important; }
html.xc .xc-warm .xc-plan:hover { transform: translateY(-4px); box-shadow: 0 24px 56px rgba(10, 18, 48, .26) !important; }
html.xc .xc-warm .xc-plan h3, html.xc .xc-warm .xc-plan .xc-price { color: #fff !important; }
html.xc .xc-warm .xc-plan p, html.xc .xc-warm .xc-plan .xc-price small { color: #d6deef !important; opacity: 1 !important; }
html.xc .xc-warm .xc-plan .xc-tag { position: absolute; top: -13px; left: 24px; margin: 0; }   /* the tag sits on the edge, so all three titles and prices line up */
html.xc .xc-warm .hm-link, html.xc .xc-warm a:not([class*="btn"]):not(.xc-plan *) { color: var(--xc-blue) !important; }

/* 3 · upright headline accents everywhere on the landing pages: same serif, same brand colour, no italics */
html.xc em.xc-acc, html.xc .xc-acc, html.xc h1 em, html.xc h2 em, html.xc h3 em, html.xc h1 i, html.xc h2 i,
html.xc .hm-parents h2 span, html.xc .hm-sec-head h2 span, html.xc .xc-hero h1 span { font-style: normal !important; }
html.xc em.xc-acc, html.xc .xc-acc { font-weight: 700; letter-spacing: -.01em; }

/* ── OWNER REFINEMENTS 2026-12-03 (live site) ───────────────────────────────────────────────────────────────────────
   1. the stats ticker: brand blue with yellow type (easy to read, stands out)
   2. phones: no large empty gap above the hero headline
   3. phones: the remote-coaching panel (licensed photo pending) is a slim band, not a tall empty block */
html.xc .hm-ticker { background: #0a1450 !important; border-block: 0 !important; }
html.xc .hm-ticker, html.xc .hm-ticker .hm-tk-item, html.xc .hm-ticker .hm-tk-label, html.xc .hm-ticker .hm-tk-fig, html.xc .hm-ticker .hm-tk-sep { color: #FFF000 !important; }
@media (max-width: 860px) {
  html.xc .xc-hero, html.xc .xc-hero--light { min-height: 0 !important; padding-top: 0 !important; }
  html.xc .xc-hero .hm-wrap, html.xc .xc-hero--light .hm-wrap { padding-block: 22px 40px !important; }
  html.xc .xc-photo-pending { min-height: 120px; margin-top: 8px; }
}
/* 4. phones in landscape / small tablets (600–860px): the hero's three cards fill the width in two columns
      (phase + remote on the left, Coach Austin on the right) instead of leaving dead space beside a narrow card */
@media (min-width: 600px) and (max-width: 860px) {
  html.xc .xc-hero .xc-floats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; height: auto !important; min-height: 0 !important; align-items: stretch; }
  html.xc .xc-hero .xc-floats .xc-float { position: static; max-width: none !important; width: auto; margin: 0 !important; inset: auto; }
  html.xc .xc-hero .xc-floats .xc-f1 { grid-column: 1; grid-row: 1; }
  html.xc .xc-hero .xc-floats .xc-f3 { grid-column: 1; grid-row: 2; }
  html.xc .xc-hero .xc-floats .xc-f2 { grid-column: 2; grid-row: 1 / span 2; }
}
/* 5. the blue "Have an access code?" panel: white heading, light body text (was dark on blue) */
html.xc .hm-cta--codes h2 { color: #fff !important; }
html.xc .hm-cta--codes p { color: rgba(255, 255, 255, .9) !important; }
