/* Cadmium v5: design, UX and content pass (Phases 8 to 11 of the build brief).
   Loaded last on every page, so it only refines what is already there. */

/* ---------- Phase 9: one main action on screen at a time ---------- */
/* desktop: the nav already carries "Join early access", so the dock is only the switcher */
@media (min-width: 1024px) {
  .dock .dock__cta, .dock .dock__sep { display: none; }
}
/* phones and tablets: while the dock (with its Join button) is showing, the nav button steps back */
@media (max-width: 1023px) {
  .nav:not(.is-open) .nav__actions .btn { transition: opacity .2s ease, visibility 0s linear 0s; }
  body:has(.dock.is-on) .nav:not(.is-open) .nav__actions .btn { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility 0s linear .2s; }
}

/* ---------- Phase 9: the page dock fits a 360px phone ---------- */
@media (max-width: 639px) {
  .dock--pages { gap: 2px; }
  .dock--pages .dock__cta { padding-inline: 14px; }
}
@media (max-width: 420px) {
  /* the logo already goes home; dropping this tile keeps every other one a full 44px */
  .dock--pages .dock__item[href="index.html"] { display: none; }
}

/* ---------- Phase 9: phones get the whole footer and every question ---------- */
@media (max-width: 639px) {
  .footer__col .wide-only { display: list-item; }
  #faq .grid + .grid { display: grid; }
}

/* ---------- Phase 9: where am I ---------- */
.nav__link[aria-current="page"] { color: var(--p-accent); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: var(--s-3, 12px); right: var(--s-3, 12px); bottom: 6px; height: 1.5px; border-radius: 2px; background: currentColor; opacity: .55; }
.nav__link { position: relative; }

/* ---------- Phase 9: small controls get a full-size hit area ---------- */
.ui-pause, .loop-pause { position: relative; }
.ui-pause::after, .loop-pause::after { content: ""; position: absolute; inset: -6px; }
.pg-plan__cta.link, .pg-local__more .link, .v5-more .link { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Phase 8: type floor and reading rhythm on the inner pages ---------- */
.pg .pg-ticks li, .pg .pg-cross li { font-size: 15.5px; }
.pg-plan__note { font-size: 13.5px; line-height: 1.45; }
.pg-col li span { font-size: 14.5px; line-height: 1.45; }
.pg-col__sub, .pg-next span { font-size: 14.5px; }
.pg-step p { font-size: 15.5px; line-height: 1.5; }
.su__e, .su__fine, .su__note { font-size: 13.5px; line-height: 1.45; }
.pg-facts { margin-top: 0; padding-left: 14px; border-left: 2px solid rgb(201 169 110 / .9); }
.pg-col__h, .pg-plan__h, .pg-sec__box h2 { line-height: 1.2; }
.pg-sec__box h2 { font-size: 28px; letter-spacing: -.02em; }
@media (max-width: 639px) { .pg-sec__box h2 { font-size: 24px; } }

/* pricing: the currency switch sits with the plans it changes, not adrift on the right */
.pg-price__head { align-items: end; }
@media (min-width: 900px) { .pg-price__head .pg-cur { margin-bottom: 4px; } }

/* hero on phones: the floating summary card repeated the demo and sat on top of it, so it rests there */
@media (max-width: 639px) {
  .hero__media .ly-float { display: none; }
  .today__head > div { min-width: 0; }
  .today__hi { font-size: 15px; line-height: 1.25; }
  /* the demo gets the width of the frame, so the greeting and rows stop wrapping */
  .hero__media .at-corner { --ax: 14px !important; --ay: 14px !important; width: calc(100% - 28px) !important; }
}

/* ---------- Phase 8 + 10: the added sections ---------- */
/* second and later sections on inner pages take the height of what they hold, with one steady gap */
.pg > .section.v5-auto { height: auto; min-height: 0; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(64px, 8vw, 112px); }
.pg > .section.v5-auto > .wrap { height: auto; }
.pg > .section.v5-tint { background: linear-gradient(180deg, rgb(241 237 230 / 0), rgb(241 237 230 / .75) 18%, rgb(241 237 230 / .75) 82%, rgb(241 237 230 / 0)); }
.v5-head { display: grid; gap: 12px; max-width: 680px; margin-bottom: clamp(24px, 3vw, 40px); }
.v5-head h2 { margin: 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.v5-head p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.5; max-width: 56ch; }
.v5-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v5-card { display: grid; align-content: start; justify-items: start; gap: 8px; padding: 24px; border-radius: var(--r-lg); background: rgb(255 253 249 / .72); box-shadow: inset 0 0 0 1px rgb(26 43 74 / .1), inset 0 1px 0 rgb(255 255 255 / .9); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.v5-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgb(122 31 43 / .2), inset 0 1px 0 rgb(255 255 255 / .9), var(--sh-2); }
.v5-card h3 { margin: 4px 0 0; font-size: 20px; line-height: 1.25; letter-spacing: -.015em; font-weight: 500; }
.v5-card p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.v5-card__n { width: 36px; height: 36px; border-radius: var(--r-md); display: grid; place-items: center; font-weight: 500; color: #faf8f4; background: linear-gradient(160deg, #a3414d, #7a1f2b); }
.v5-more { margin: 24px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.v5-faq .faq__item h3 { text-wrap: balance; }
@media (max-width: 900px) { .v5-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; } .v5-card { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .v5-card { transition: none; } .v5-card:hover { transform: none; } }

/* form: errors read as errors, and say so without relying on colour alone */
.su__f:has(.su__e:not(:empty)) input { box-shadow: inset 0 0 0 1.5px #8a2a1c; }
.su__e:not(:empty)::before { content: "! "; font-weight: 600; }
.su__btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ---------- Phase 11: lighter on phones ---------- */
/* the full-screen grain is a blended layer that repaints on every scroll; phones and touch screens skip it */
@media (max-width: 820px), (pointer: coarse) { .grain { display: none; } }

/* ================= v6 (17 Nov): silver pane, detail pass, founder page ================= */

/* fonts: hosted with the site, so text never waits on another server */
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

/* the pane: polished silver glass. Platinum rim at rest, a cool clear sheet in flight */
.pane { opacity: 0; box-shadow: 0 0 0 1px rgb(26 43 74 / .16), 0 0 0 2.5px rgb(255 255 255 / .7), calc(var(--sx) * 2.4) calc(26px + var(--sy) * 2.4) 70px rgb(26 43 74 / calc(.12 + var(--pf, 0) * .14)); }
.pane.is-on { opacity: var(--pv, 1); }
.pane__rim { background: linear-gradient(135deg, rgb(255 255 255 / .92), rgb(222 226 233 / .6) 22%, rgb(158 166 180 / .55) 48%, rgb(240 242 246 / .85) 70%, rgb(176 183 196 / .62) 88%, rgb(255 255 255 / .8)); }
.pane__fill { background: linear-gradient(150deg, rgb(246 248 251 / .34), rgb(208 214 223 / .14) 52%, rgb(166 174 188 / .2)); }
.pane::after { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .9), 0 0 0 1px rgb(26 43 74 / .12); }
.pane__glint { background-image: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / .8) 46%, transparent 58%); }

/* one headline scale on the inner pages */
.pg h1, .pg .pg-prod__head h1, .pg .pg-road h1, .pg .pg-price h1, .pg .pg-sec h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.035em; }

/* homepage features: the two rows read as one section, not two screens apart */
@media (min-width: 1024px) {
  main > #features.g2 { height: auto; }
  main > #features.g2 > .wrap { height: auto; grid-template-rows: auto auto; row-gap: clamp(20px, 2vw, 28px); }
  main > #features.g2 > .wrap > .grid:last-child, main > #features.g2 > .wrap > .group > .grid:last-child { flex: none; }
}

/* hero on phones: the whole demo is reachable, Join and the task tick included */
@media (max-width: 639px) {
  .hero__grid > .hero__media { height: auto !important; min-height: 0 !important; aspect-ratio: auto !important; flex: none !important; padding: 14px; }
  .hero__media > .stage { position: relative !important; inset: auto !important; height: auto !important; }
  .hero__media > .stage::after, .hero__media .stage--fade-b { -webkit-mask: none !important; mask: none !important; }
  .hero__media .stage::after { display: none; }
  .hero__media .at-corner { position: relative !important; inset: auto !important; transform: none !important; width: 100% !important; }
}

/* who it is for */
.who { display: grid; gap: 14px; margin-top: clamp(28px, 3vw, 40px); }
.who__k { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--p-muted); }
.who__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.who__list li { display: grid; gap: 6px; align-content: start; padding: 16px 18px; border-radius: var(--r-lg); background: rgb(255 253 249 / .66); box-shadow: inset 0 0 0 1px rgb(26 43 74 / .09), inset 0 1px 0 #fff; transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.who__list li:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgb(122 31 43 / .2), inset 0 1px 0 #fff, var(--sh-2); }
.who__list b { font-weight: 500; font-size: 15.5px; letter-spacing: -.01em; }
.who__list span { font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (max-width: 1279px) { .who__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .who__list { grid-template-columns: 1fr; } .who__list li { padding: 13px 15px; } }
.btn--live { display: inline-flex; align-items: center; gap: 8px; }
.btn--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2f8a73; box-shadow: 0 0 0 3px rgb(47 138 115 / .18); }

/* about: the photograph stays beside the letter as you read */
.pg-about-head .pg-head__in { max-width: 920px; }
.pg-founder { padding-top: 0; }
.pg-founder__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.pg-founder__side { position: sticky; top: 104px; display: grid; gap: 18px; }
.pg-founder .pg-portrait { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-xl); position: relative; box-shadow: 0 0 0 1px rgb(201 169 110 / .55), 0 0 0 7px #faf8f4, 0 0 0 8px rgb(201 169 110 / .35), 0 30px 70px rgb(26 43 74 / .22); }
.pg-founder .pg-portrait img { transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.pg-founder .pg-portrait:hover img { transform: scale(1.03); }
.pg-founder__facts { margin: 0; padding-left: 14px; border-left: 2px solid rgb(201 169 110 / .9); font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.pg-letter__in { max-width: 640px; margin: 0; }
.pg-letter__in p { text-wrap: pretty; }
.pg-letter__in .pg-letter__open { font-size: 34px; margin-bottom: 4px; }
.pg-letter__drop::first-letter { float: left; font: italic 400 64px/.82 "Instrument Serif", Georgia, serif; color: var(--p-accent); margin: 6px 10px 0 0; }
.pg-pull { margin: 10px 0; padding: 18px 0 18px 22px; border-left: 3px solid var(--p-accent); font: italic 400 clamp(26px, 2.6vw, 34px)/1.22 "Instrument Serif", Georgia, serif; color: var(--p-accent); }
.pg-letter__in .pg-letter__sign { font-size: 40px; line-height: 1; margin-top: 18px !important; }
.pg-letter__in .pg-letter__sign span { margin-top: 10px; }
@media (max-width: 899px) {
  .pg-founder__grid { grid-template-columns: 1fr; }
  .pg-founder__side { position: static; grid-template-columns: minmax(0, 220px) 1fr; align-items: end; }
  .pg-founder .pg-portrait { box-shadow: 0 0 0 1px rgb(201 169 110 / .55), 0 18px 40px rgb(26 43 74 / .18); }
}
@media (max-width: 479px) { .pg-founder__side { grid-template-columns: 1fr; } }

/* not found */
.pg-404 { text-align: left; }
.pg-404__code { font: italic 400 clamp(120px, 18vw, 240px)/.8 "Instrument Serif", Georgia, serif; color: var(--p-accent); opacity: .9; margin: 0 0 8px; }
.pg-404__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 6px 0 0; padding: 0; list-style: none; }
main > .who-sec { height: auto; padding: clamp(8px, 1.5vw, 20px) 0 clamp(40px, 5vw, 72px); }
main > .who-sec > .wrap { height: auto; }
main > .who-sec .who { margin-top: 0; }
main.pg > .pg-about-head { height: auto; min-height: 0; padding-bottom: clamp(36px, 4vw, 56px); }
main.pg > .pg-about-head > .wrap { height: auto; }

/* dock: sizes are eased by script, frame by frame; CSS only animates colour and shadow */
@media (min-width: 640px) {
  .dock .dock__item, .dock .dock__item svg { transition-property: background-color, color, box-shadow, opacity; }
  .dock.is-mag .dock__item { will-change: width, height; }
}
.dock { contain: layout style; }

/* product: language switching preview */
.lang { gap: 14px; }
.lang .xs__head .demo-tag { margin-left: auto; }
.lang__screen { position: relative; border-radius: var(--r-md); overflow: hidden; background: linear-gradient(160deg, #1f2c47, #14213a); color: #faf8f4; aspect-ratio: 16 / 9; display: grid; }
.lang__scene { position: absolute; inset: 0; }
.lang__door { position: absolute; right: 18%; top: 22%; width: 16%; height: 46%; border: 1.5px solid rgb(250 248 244 / .55); border-radius: 3px; }
.lang__door::after { content: ""; position: absolute; left: 50%; top: -22px; width: 34px; height: 12px; transform: translateX(-50%); border-radius: 3px; background: #2f8a73; }
.lang__arrow { position: absolute; left: 22%; top: 44%; width: 34%; height: 2px; background: #c94a5a; }
.lang__arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 9px solid #c94a5a; }
.lang__cap { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); width: max-content; max-width: 88%; margin: 0; padding: 6px 12px; border-radius: var(--r-sm); background: rgb(0 0 0 / .62); font-size: 15px; line-height: 1.35; text-align: center; transition: opacity .25s ease, transform .25s ease; }
.lang__cap.is-out { opacity: 0; transform: translateX(-50%) translateY(6px); }
.lang__cap[dir="rtl"] { font-size: 17px; font-family: "Segoe UI", "Noto Naskh Arabic", "Noto Sans Arabic", Tahoma, sans-serif; }
.lang__bar { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: rgb(250 248 244 / .85); }
.lang__play { width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid #faf8f4; flex: none; }
.lang__track { flex: 1; height: 3px; border-radius: 2px; background: rgb(250 248 244 / .25); overflow: hidden; }
.lang__track i { display: block; width: 38%; height: 100%; background: #c94a5a; }
.lang__time { font-variant-numeric: tabular-nums; }
.lang__voice { padding: 2px 8px; border-radius: 999px; background: rgb(250 248 244 / .14); white-space: nowrap; }
.lang__picker { display: flex; flex-wrap: wrap; gap: 8px; }
.lang__picker button { font: 500 14px var(--font-text); min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgb(26 43 74 / .16); background: #fff; color: var(--p-ink); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .12s; }
.lang__picker button[data-l="ur"], .lang__picker button[data-l="ar"] { font-family: "Segoe UI", "Noto Naskh Arabic", "Noto Sans Arabic", Tahoma, sans-serif; font-size: 15px; }
.lang__picker button:hover { border-color: rgb(122 31 43 / .45); }
.lang__picker button:active { transform: scale(.96); }
.lang__picker button[aria-checked="true"] { background: var(--p-accent); border-color: var(--p-accent); color: #faf8f4; }
.lang__note { margin: 0; font-size: 13.5px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .lang__cap { transition: none; } }

/* ================= product: learning that checks understanding ================= */
.lx { padding-top: clamp(64px, 8vw, 112px); }
.lx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lx-card { display: grid; gap: 18px; align-content: start; padding: clamp(20px, 2.4vw, 30px); border-radius: var(--r-xl); background: rgb(255 253 249 / .78); box-shadow: inset 0 0 0 1px rgb(26 43 74 / .09), inset 0 1px 0 #fff, var(--sh-3); }
.lx-card--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; gap: clamp(20px, 4vw, 56px); }
.lx-card__text { display: grid; gap: 10px; }
.lx-card__text p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.lx-card h3 { margin: 0; font-size: clamp(24px, 2.3vw, 30px); letter-spacing: -.02em; line-height: 1.15; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.lx-num { font: italic 400 34px/1 "Instrument Serif", Georgia, serif !important; color: var(--p-accent) !important; }
.lx-ai { font: 500 11px/1 var(--font-text); letter-spacing: .08em; padding: 5px 8px; border-radius: 999px; color: #faf8f4; background: linear-gradient(120deg, #7a1f2b, #3e5380); }
.lx-out { margin: 0; min-height: 20px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.lx-out.is-ok { color: #12502f; } .lx-out.is-bad { color: #8a2a1c; }
.lx-reset { justify-self: start; font: 500 14px var(--font-text); min-height: 40px; padding: 0 4px; background: none; border: 0; color: var(--p-accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* 1. player */
.lx-player { display: grid; gap: 12px; padding: 14px; border-radius: var(--r-xl); background: linear-gradient(160deg, #1f2c47, #14213a); color: #faf8f4; box-shadow: var(--sh-3); }
.lx-player .lx-out { color: #c9cfda; } .lx-player .lx-out.is-ok { color: #9fd9b5; } .lx-player .lx-out.is-bad { color: #f2b3a8; }
.lx-player .lx-reset { color: #e4cf9f; }
.lx-player__top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #c9cfda; }
.lx-frame { position: relative; aspect-ratio: 16 / 8; border-radius: var(--r-md); overflow: hidden; background: linear-gradient(180deg, #2b3a5c, #22304d 60%, #1b2740); }
.lx-frame::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: #18223a; border-top: 1px solid rgb(250 248 244 / .12); }
.lx-ask { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); margin: 0; padding: 7px 14px; border-radius: 999px; background: rgb(250 248 244 / .95); color: var(--ink); font-size: 13.5px; font-weight: 500; white-space: nowrap; z-index: 2; box-shadow: var(--sh-1); }
.lx-spot { position: absolute; bottom: 26%; display: grid; place-items: end center; padding: 0 0 10px; border: 1.5px solid rgb(250 248 244 / .45); border-bottom: 0; border-radius: 4px 4px 0 0; background: rgb(250 248 244 / .05); color: rgb(250 248 244 / .7); font: 500 11px var(--font-text); letter-spacing: .1em; cursor: pointer; transition: background-color .2s, border-color .2s, transform .15s; }
.lx-spot:hover { background: rgb(250 248 244 / .14); border-color: #faf8f4; }
.lx-spot:focus-visible { outline: 2px solid #e4cf9f; outline-offset: 3px; }
.lx-spot--door { right: 9%; width: 15%; height: 44%; }
.lx-sign { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); padding: 3px 8px; border-radius: 3px; background: #2f8a73; color: #fff; font-size: 10px; letter-spacing: .12em; }
.lx-spot--lift { left: 42%; width: 16%; height: 50%; border-style: double; border-width: 4px 4px 0; }
.lx-spot--store { left: 8%; width: 13%; height: 38%; }
.lx-spot.is-good { background: rgb(47 138 115 / .35); border-color: #9fd9b5; }
.lx-spot.is-bad { background: rgb(201 74 90 / .3); border-color: #f2b3a8; animation: lx-shake .4s; }
@keyframes lx-shake { 25%, 75% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
.lx-frame.is-rewind::after { content: "Replaying 00:52 to 01:12"; position: absolute; inset: 0; display: grid; place-items: center; background: rgb(20 33 58 / .72); color: #faf8f4; font-size: 15px; font-weight: 500; animation: lx-fade 1.6s ease forwards; }
@keyframes lx-fade { 0%, 75% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.lx-bar { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #c9cfda; font-variant-numeric: tabular-nums; }
.lx-bar__track { position: relative; flex: 1; height: 4px; border-radius: 2px; background: rgb(250 248 244 / .2); }
.lx-bar__track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: #c94a5a; transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.lx-bar__track b { position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: #e4cf9f; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px rgb(228 207 159 / .3); }

/* 2. quiz + manager view */
.lx-quiz { display: grid; gap: 12px; margin: 0; }
.lx-q { margin: 0; font-weight: 500; font-size: 16px; line-height: 1.4; }
.lx-opts { display: grid; gap: 8px; }
.lx-opts label, .lx-conf label { position: relative; cursor: pointer; }
.lx-opts input, .lx-conf input { position: absolute; opacity: 0; pointer-events: none; }
.lx-opts span { display: block; padding: 11px 14px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px rgb(26 43 74 / .14); font-size: 14.5px; transition: box-shadow .2s, background-color .2s; }
.lx-opts label:hover span { box-shadow: inset 0 0 0 1px rgb(122 31 43 / .4); }
.lx-opts input:checked + span { box-shadow: inset 0 0 0 2px var(--p-accent); background: #fdf6f6; }
.lx-opts input:focus-visible + span, .lx-conf input:focus-visible + span { outline: 2px solid var(--p-accent); outline-offset: 2px; }
.lx-conf { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border: 0; margin: 0; padding: 0; }
.lx-conf legend { float: left; margin-right: 6px; font-size: 14px; color: var(--muted); }
.lx-conf span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgb(26 43 74 / .16); font-size: 14px; }
.lx-conf input:checked + span { background: var(--p-ink); color: #faf8f4; box-shadow: none; }
.lx-go { justify-self: start; }
.lx-mgr { padding: 14px 16px; border-radius: var(--r-lg); background: var(--p-surface); }
.lx-mgr__h { margin: 0 0 10px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lx-mgr__h em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 400; }
.lx-mgr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lx-mgr li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r-sm); background: #fffdf9; font-size: 14px; }
.lx-mgr li b { font-weight: 500; }
.lx-mgr li span { font-size: 12.5px; font-weight: 500; padding: 3px 9px; border-radius: 999px; }
.lx-mgr .is-risk span { background: #f8dcd7; color: #8a2a1c; } .lx-mgr .is-risk { box-shadow: inset 3px 0 0 #c94a5a; }
.lx-mgr .is-guess span { background: #f3e7d3; color: #6b4a12; }
.lx-mgr .is-ok span { background: #dcefe3; color: #12502f; }
.lx-mgr .is-you { animation: lx-in .5s cubic-bezier(.2, .8, .2, 1); box-shadow: inset 0 0 0 1.5px var(--p-accent); }
@keyframes lx-in { from { opacity: 0; transform: translateY(6px); } }

/* 3. practice call */
.lx-call { display: grid; gap: 12px; }
.lx-call__top { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; }
.lx-call__top .demo-tag { margin-left: auto; }
.lx-call__dot { width: 9px; height: 9px; border-radius: 50%; background: #2f8a73; box-shadow: 0 0 0 4px rgb(47 138 115 / .2); animation: lx-pulse 1.6s ease-in-out infinite; }
@keyframes lx-pulse { 50% { box-shadow: 0 0 0 7px rgb(47 138 115 / .05); } }
.lx-call__log { list-style: none; margin: 0; padding: 12px; min-height: 150px; max-height: 230px; overflow: auto; display: grid; align-content: start; gap: 8px; border-radius: var(--r-lg); background: var(--p-surface); }
.lx-call__log li { max-width: 86%; padding: 9px 12px; border-radius: var(--r-md); font-size: 14px; line-height: 1.4; animation: lx-in .35s ease-out; }
.lx-call__log .is-c { background: #fff; justify-self: start; border-bottom-left-radius: 4px; }
.lx-call__log .is-a { background: var(--p-ink); color: #faf8f4; justify-self: end; border-bottom-right-radius: 4px; }
.lx-call__log .is-sys { max-width: none; justify-self: stretch; text-align: center; background: none; color: var(--muted); font-size: 13px; padding: 2px; }
.lx-call__log .is-typing { color: var(--muted); }
.lx-call__pick { display: grid; gap: 8px; }
.lx-call__pick button { text-align: left; font: 400 14px/1.4 var(--font-text); padding: 10px 14px; border-radius: var(--r-md); border: 0; background: #fff; color: var(--p-ink); box-shadow: inset 0 0 0 1px rgb(26 43 74 / .16); cursor: pointer; transition: box-shadow .2s, transform .12s; }
.lx-call__pick button:hover { box-shadow: inset 0 0 0 1.5px var(--p-accent); }
.lx-call__pick button:active { transform: scale(.98); }
.lx-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lx-steps li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; background: #fff; box-shadow: inset 0 0 0 1px rgb(26 43 74 / .12); color: var(--muted); transition: background-color .3s, color .3s; }
.lx-steps li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgb(26 43 74 / .25); }
.lx-steps li.is-hit { background: #dcefe3; color: #12502f; box-shadow: none; } .lx-steps li.is-hit::before { background: #2f8a73; }
.lx-steps li.is-miss { background: #f8dcd7; color: #8a2a1c; box-shadow: none; } .lx-steps li.is-miss::before { background: #c94a5a; }

/* basics + notes */
.lx-basics { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(20px, 2.4vw, 30px); border-radius: var(--r-xl); background: rgb(255 253 249 / .6); box-shadow: inset 0 0 0 1px rgb(26 43 74 / .08); }
.lx-basics__text { display: grid; gap: 12px; }
.lx-basics h3 { margin: 0; font-size: clamp(22px, 2vw, 26px); font-weight: 500; letter-spacing: -.015em; }
.lx-basics__text p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.lx-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lx-chips li { padding: 6px 11px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgb(26 43 74 / .12); font-size: 13.5px; }
.lx-notes { display: grid; gap: 10px; padding: 14px; border-radius: var(--r-lg); background: #fffdf9; box-shadow: inset 0 0 0 1px rgb(26 43 74 / .1), var(--sh-2); }
.lx-notes__chap { display: flex; gap: 4px; }
.lx-notes__chap span { flex: 1; padding: 6px 8px; border-radius: var(--r-sm); background: var(--p-surface); font-size: 12px; color: var(--muted); }
.lx-notes__chap .is-on { background: rgb(122 31 43 / .1); color: var(--p-accent); font-weight: 500; }
.lx-notes__f { display: flex; gap: 8px; margin: 0; }
.lx-notes__f input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border-radius: var(--r-md); border: 1px solid rgb(26 43 74 / .2); font: 400 15px var(--font-text); color: var(--p-ink); background: #fff; }
.lx-notes__f input:focus { outline: none; border-color: var(--p-accent); box-shadow: 0 0 0 3px rgb(122 31 43 / .14); }
.lx-notes__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lx-notes__list li { display: flex; gap: 10px; align-items: baseline; padding: 8px 10px; border-radius: var(--r-sm); background: var(--p-surface); font-size: 14px; animation: lx-in .35s ease-out; }
.lx-notes__list time { flex: none; font: 500 12px var(--font-mono); color: var(--p-accent); padding: 2px 6px; border-radius: 6px; background: rgb(122 31 43 / .08); }

@media (max-width: 1023px) { .lx-grid { grid-template-columns: 1fr; } .lx-card--wide, .lx-basics { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .lx-ask { white-space: normal; width: max-content; max-width: 90%; text-align: center; font-size: 12.5px; } .lx-frame { aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: reduce) { .lx-call__dot, .lx-spot.is-bad, .lx-frame.is-rewind::after, .lx-call__log li, .lx-notes__list li, .lx-mgr .is-you { animation: none; } }

/* ================= v7: workforce readiness ================= */
.today__name { min-width: 0; }
.today__sub { display: block; font-size: 12px; font-weight: 400; color: var(--u-muted, #4f5666); margin-top: 1px; }
.today__sub.is-risk, .xs__risk { color: #8a2a1c !important; font-weight: 500; }
.today__av { width: 26px; height: 26px; font-size: 10.5px; flex: none; }
.today__join { min-width: 64px; }
.today__join.is-done { min-width: 88px; }

/* WhatsApp-style follow-up mock */
.wa { display: grid; gap: 8px; padding: 14px; background: #efe7dc; }
.wa__head { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid rgb(26 43 74 / .08); }
.wa__head b { display: block; font-size: 14px; font-weight: 500; }
.wa__head span { font-size: 12px; color: var(--muted); }
.wa__av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #7a1f2b; color: #faf8f4; font-weight: 500; font-size: 14px; }
.wa__msg { position: relative; margin: 0; max-width: 84%; padding: 8px 10px 16px; border-radius: var(--r-sm); font-size: 13.5px; line-height: 1.35; box-shadow: var(--sh-1); }
.wa__msg time { position: absolute; right: 8px; bottom: 3px; font-size: 10.5px; color: var(--muted); }
.wa__msg.is-in { justify-self: start; background: #fff; border-top-left-radius: 2px; }
.wa__msg.is-out { justify-self: end; background: #dcf2d6; border-top-right-radius: 2px; }
.wa__note { margin: 4px 0 0; justify-self: center; padding: 4px 10px; border-radius: var(--r-sm); background: rgb(255 255 255 / .7); font-size: 12px; color: var(--muted); }

/* sign-off mock */
.so { display: grid; gap: 10px; padding: 16px; }
.so__head { display: flex; justify-content: space-between; align-items: center; }
.so__head b { font-size: 14.5px; font-weight: 500; }
.so__head span { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-weight: 500; color: #faf8f4; background: var(--p-accent); }
.so__row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px; border-radius: var(--r-md); background: var(--p-surface); }
.so__row b { display: block; font-size: 14px; font-weight: 500; }
.so__row span:not(.ui-avatar):not(.so__btn) { font-size: 12px; color: var(--muted); }
.so__row .is-risk { color: #8a2a1c !important; font-weight: 500; }
.so__btn { padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: #fff; box-shadow: inset 0 0 0 1px rgb(26 43 74 / .18); }
.so__btn.is-yes { background: var(--p-accent); color: #faf8f4; box-shadow: none; }
.so__foot { margin: 0; font-size: 12px; color: var(--muted); }
.today__row:has(.today__av) { display: flex !important; align-items: center; gap: 10px; }
.today__row:has(.today__av) .today__name { flex: 1 1 auto; grid-column: auto; }
.today__row:has(.today__av) .today__join { flex: none; width: auto; grid-column: auto; padding: 5px 14px; }
.today__row:has(.today__av) .today__name, .today__name:has(.today__sub) { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.today__sub { white-space: normal; }
@media (max-width: 639px) { .today__row:has(.today__av) .today__sub { font-size: 11.5px; } .today__row:has(.today__av) .today__join { padding: 5px 11px; } }

/* privacy and terms */
main.pg > .pg-legal { height: auto; min-height: 0; }
main.pg > .pg-legal > .wrap { height: auto; }
.pg-legal__body { max-width: 680px; margin-top: clamp(32px, 4vw, 56px); display: grid; gap: 12px; }
.pg-legal__body h2 { margin: 22px 0 0; font-size: 22px; font-weight: 500; letter-spacing: -.015em; }
.pg-legal__body h2:first-child { margin-top: 0; }
.pg-legal__body p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--muted); }

/* v9: cost of unready new hires calculator */
.calc { align-items: start; row-gap: 20px; }
.calc__in { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-content: start; padding: 28px; border-radius: var(--r-xl); background: #fffdf9; border: 1px solid rgb(26 43 74 / .08); box-shadow: var(--sh-3); }
.calc__f { display: grid; gap: 6px; align-content: end; min-width: 0; } .calc__f--wide { grid-column: 1 / -1; }
.calc__f label { font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--p-ink, #1a2b4a); }
.calc__u { font-weight: 400; color: var(--muted); }
.calc__f input { height: 46px; padding: 0 14px; border-radius: var(--r-md); border: 1px solid rgb(26 43 74 / .2); background: #fff; font: 500 16px var(--font-text, inherit); font-variant-numeric: tabular-nums; color: var(--p-ink, #1a2b4a); min-width: 0; transition: border-color .2s, box-shadow .2s; }
.calc__f input:focus { outline: none; border-color: var(--p-accent, #7a1f2b); box-shadow: 0 0 0 3px rgb(122 31 43 / .14); }
.calc__fine { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.calc__out { display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: var(--r-xl); color: #f6efe9; background: radial-gradient(120% 100% at 85% 0%, #6b1d29, #4a1019 55%, #330a12); box-shadow: var(--sh-3); }
.calc__out .calc__fine { color: rgb(246 239 233 / .7); }
.calc__k { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgb(246 239 233 / .8); }
.calc__big { margin: 0; font-size: clamp(40px, 5.4vw, 64px); line-height: 1; letter-spacing: -.03em; font-weight: 500; font-variant-numeric: tabular-nums; }
.calc__sub { margin: -4px 0 0; font-size: 15px; color: rgb(246 239 233 / .8); font-variant-numeric: tabular-nums; }
.calc__rows { margin: 4px 0 0; display: grid; border-top: 1px solid rgb(246 239 233 / .14); }
.calc__rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgb(246 239 233 / .14); }
.calc__rows dt { font-size: 15px; } .calc__rows dt small { display: block; margin-top: 2px; font-size: 12.5px; color: rgb(246 239 233 / .62); }
.calc__rows dd { margin: 0; font-size: 15px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc__what { display: grid; gap: 10px; padding: 16px; border-radius: var(--r-lg); background: rgb(246 239 233 / .08); border: 1px solid rgb(246 239 233 / .12); }
.calc__what label { font-size: 15px; } .calc__what p { margin: 0; font-size: 15px; } .calc__what b { font-weight: 600; font-variant-numeric: tabular-nums; }
.calc__what input[type=range] { width: 100%; accent-color: #f0c9b8; height: 28px; }
@media (max-width: 760px) { .calc__in, .calc__out { padding: 20px; } .calc__in { grid-template-columns: 1fr; } }

/* v10: Try it, SOP to mini-course */
.tr__grid { row-gap: 20px; align-items: start; }
.tr__in { display: grid; gap: 12px; padding: 26px; border-radius: var(--r-xl); background: #fffdf9; border: 1px solid rgb(26 43 74 / .08); box-shadow: var(--sh-3); }
.tr__in label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 500; color: var(--p-ink, #1a2b4a); }
.tr__count { font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.tr__in textarea { width: 100%; min-height: 260px; resize: vertical; padding: 14px; border-radius: var(--r-md); border: 1px solid rgb(26 43 74 / .2); background: #fff; font: 400 15px/1.55 var(--font-text, inherit); color: var(--p-ink, #1a2b4a); }
.tr__in textarea:focus { outline: none; border-color: var(--p-accent, #7a1f2b); box-shadow: 0 0 0 3px rgb(122 31 43 / .14); }
.tr__row { display: flex; flex-wrap: wrap; gap: 10px; }
.tr__fine { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.tr__out { min-height: 420px; padding: 26px; border-radius: var(--r-xl); background: linear-gradient(180deg, #faf6f2, #f3ece6); border: 1px solid rgb(26 43 74 / .08); }
.tr__status { font-size: 15px; color: var(--muted); }
.tr__status.is-busy::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 10px; vertical-align: -2px; border-radius: 50%; border: 2px solid rgb(122 31 43 / .25); border-top-color: #7a1f2b; animation: trspin .8s linear infinite; }
@keyframes trspin { to { transform: rotate(360deg); } }
.tr__status.is-bad { color: #8a2a1c; }
.tr__course { display: grid; gap: 18px; margin-top: 4px; }
.tr__course[hidden] { display: none; }
.tr__h { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -.015em; color: var(--p-ink, #1a2b4a); }
.tr__meta { margin: -10px 0 0; font-size: 13px; color: var(--muted); }
.tr__lessons { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: l; }
.tr__lessons > li { counter-increment: l; padding: 14px 16px; border-radius: var(--r-lg); background: #fff; border: 1px solid rgb(26 43 74 / .07); }
.tr__lessons b { display: block; font-weight: 500; margin-bottom: 6px; color: var(--p-ink, #1a2b4a); }
.tr__lessons b::before { content: "Lesson " counter(l) " · "; color: #7a1f2b; font-weight: 500; }
.tr__lessons ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.tr__qz { display: grid; gap: 12px; }
.tr__qz h4 { margin: 4px 0 0; font-size: 16px; font-weight: 500; color: var(--p-ink, #1a2b4a); }
.tr__q { padding: 14px 16px; border-radius: var(--r-lg); background: #fff; border: 1px solid rgb(26 43 74 / .07); display: grid; gap: 8px; }
.tr__q p { margin: 0; font-size: 15px; font-weight: 500; color: var(--p-ink, #1a2b4a); }
.tr__opt { text-align: left; padding: 10px 12px; border-radius: var(--r-md); border: 1px solid rgb(26 43 74 / .14); background: #fffdf9; font: 400 14.5px var(--font-text, inherit); color: var(--muted); cursor: pointer; transition: border-color .2s, background .2s; }
.tr__opt:hover { border-color: rgb(122 31 43 / .45); }
.tr__opt.is-right { border-color: #2f8a73; background: #e9f5ee; color: #12502f; }
.tr__opt.is-wrong { border-color: #b4553f; background: #fbece8; color: #8a2a1c; }
.tr__q[data-done] .tr__opt { cursor: default; }
.tr__why { font-size: 13.5px; line-height: 1.5; color: var(--muted); } .tr__why:empty { display: none; }
.tr__note { margin: 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .tr__in, .tr__out { padding: 18px; } .tr__out { min-height: 0; } }
@media (min-width: 761px) { .tr__in { position: sticky; top: 110px; } }

/* v11: practice call */
.pc { row-gap: 24px; align-items: start; }
.pc__intro h2 { margin: 10px 0 12px; }
.pc__intro p { color: var(--muted); line-height: 1.6; }
.pc__rules { margin: 14px 0 0; padding: 14px 16px 14px 32px; border-radius: var(--r-lg); background: #fffdf9; border: 1px solid rgb(26 43 74 / .08); display: grid; gap: 6px; font-size: 14.5px; color: var(--muted); }
.pc__phone { border-radius: var(--r-xl); overflow: hidden; background: #fff; border: 1px solid rgb(26 43 74 / .08); box-shadow: var(--sh-3); }
.pc__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: radial-gradient(120% 100% at 85% 0%, #6b1d29, #4a1019 60%, #330a12); color: #f6efe9; font-size: 14px; }
.pc__t { font-weight: 600; font-variant-numeric: tabular-nums; }
.pc__log { height: 320px; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #fbf8f5; }
.pc__b { max-width: 82%; padding: 9px 13px; border-radius: var(--r-md); font-size: 15px; line-height: 1.45; }
.pc__c { align-self: flex-start; background: #f3e7e4; color: #2a0a10; border-bottom-left-radius: 4px; }
.pc__a { align-self: flex-end; background: #1a2b4a; color: #fff; border-bottom-right-radius: 4px; }
.pc__s { align-self: center; max-width: 100%; text-align: center; font-size: 13px; color: var(--muted); background: none; }
.pc__form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid rgb(26 43 74 / .08); }
.pc__form input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border-radius: var(--r-md); border: 1px solid rgb(26 43 74 / .2); font: 400 15px var(--font-text, inherit); color: var(--p-ink, #1a2b4a); }
.pc__form input:focus { outline: none; border-color: #7a1f2b; box-shadow: 0 0 0 3px rgb(122 31 43 / .14); }
.pc__row { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 10px 12px; }
.pc__res { margin: 0 10px 12px; padding: 16px; border-radius: var(--r-lg); background: #fffdf9; border: 1px solid rgb(26 43 74 / .08); }
.pc__res[hidden] { display: none; }
.pc__score { margin: 0; font-size: 44px; font-weight: 500; letter-spacing: -.03em; color: #4a1019; font-variant-numeric: tabular-nums; } .pc__score small { font-size: 18px; color: var(--muted); }
.pc__subs { display: flex; flex-wrap: wrap; gap: 14px; margin: 4px 0 8px; font-size: 14px; color: var(--muted); }
.pc__res h4 { margin: 12px 0 4px; font-size: 15px; font-weight: 500; color: var(--p-ink, #1a2b4a); }
.pc__res ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.pc__fine { margin: 0; padding: 0 14px 14px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 760px) { .pc__log { height: 280px; } }
.pc--ext .pc__log { height: auto; min-height: 0; padding: 22px 16px; }
.pc--ext .pc__row { padding-top: 0; }
.pc__form[hidden] { display: none; }
.pc .btn:disabled { opacity: .45; cursor: not-allowed; }
.pc__rules { list-style: disc; }

/* v12: one corner scale and one shadow recipe, light from above */
:root, html[data-radius] {
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-btn: 12px;
  --u-r: var(--r-xl); --u-r2: var(--r-lg); --u-r3: var(--r-md);
  --sh-1: 0 1px 2px rgb(26 43 74 / .05), 0 6px 16px rgb(26 43 74 / .07);
  --sh-2: 0 2px 6px rgb(26 43 74 / .06), 0 16px 40px rgb(26 43 74 / .10);
  --sh-3: 0 4px 12px rgb(26 43 74 / .08), 0 30px 70px rgb(26 43 74 / .16);
  --u-shadow: var(--sh-2);
}

/* v13: Ask Cadmium */
.ask-fab { position: fixed; right: 20px; bottom: 24px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; background: #4a1019; color: #f6efe9; font: 500 14px var(--font-text, inherit); text-decoration: none; box-shadow: var(--sh-2); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.ask-fab:hover { transform: translateY(-2px); box-shadow: var(--sh-3); }
.ask-fab:focus-visible { outline: 3px solid rgb(122 31 43 / .35); outline-offset: 3px; }
.ask-fab__dot { width: 8px; height: 8px; border-radius: 50%; background: #7fd1b5; box-shadow: 0 0 0 3px rgb(127 209 181 / .25); }
.ask { position: fixed; right: 20px; bottom: 80px; z-index: 71; width: min(380px, calc(100vw - 24px)); max-height: min(600px, calc(100vh - 110px)); display: none; flex-direction: column; border-radius: var(--r-xl); overflow: hidden; background: #fff; border: 1px solid rgb(26 43 74 / .1); box-shadow: var(--sh-3); }
.ask.is-open { display: flex; }
.ask__bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: radial-gradient(120% 100% at 85% 0%, #6b1d29, #4a1019 60%, #330a12); color: #f6efe9; font-size: 15px; }
.ask__bar b { flex: 1; font-weight: 500; }
.ask__wa { padding: 6px 10px; border-radius: 999px; background: #f6efe9; color: #4a1019; font-size: 12.5px; font-weight: 600; text-decoration: none; }
.ask__x { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgb(246 239 233 / .14); color: #f6efe9; font-size: 18px; line-height: 1; cursor: pointer; }
.ask__log { flex: 1; min-height: 200px; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #fbf8f5; }
.ask__b { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; }
.ask__c { align-self: flex-start; background: #f3e7e4; color: #2a0a10; border-bottom-left-radius: 4px; }
.ask__a { align-self: flex-end; background: #1a2b4a; color: #fff; border-bottom-right-radius: 4px; }
.ask__s { align-self: center; font-size: 12.5px; color: var(--muted); }
.ask__cta { align-self: flex-start; }
.ask__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 0; }
.ask__chips button { padding: 6px 10px; border-radius: 999px; border: 1px solid rgb(122 31 43 / .22); background: #fffdf9; color: #7a1f2b; font: 500 12.5px var(--font-text, inherit); cursor: pointer; }
.ask__form { display: flex; gap: 8px; padding: 10px 12px; }
.ask__form input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border-radius: var(--r-md); border: 1px solid rgb(26 43 74 / .2); font: 400 15px var(--font-text, inherit); }
.ask__form input:focus { outline: none; border-color: #7a1f2b; box-shadow: 0 0 0 3px rgb(122 31 43 / .14); }
.ask__fine { margin: 0; padding: 0 12px 12px; font-size: 11.5px; line-height: 1.45; color: var(--muted); }
@media (max-width: 760px) { .ask-fab { right: 12px; bottom: 96px; padding: 10px 14px; } .ask { right: 12px; bottom: 150px; max-height: calc(100vh - 170px); } }

/* v14: dashboard preview entry */
.dbp__card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; padding: 32px; border-radius: var(--r-xl); text-decoration: none; color: #f4f2ef; background: radial-gradient(70% 90% at 15% 20%, #6d655d, transparent 70%), radial-gradient(60% 80% at 85% 90%, #8a7f73, transparent 70%), linear-gradient(160deg, #3a3633, #24211f); box-shadow: var(--sh-3); overflow: hidden; transition: transform .3s; }
.dbp__card:hover { transform: translateY(-3px); }
.dbp__txt h2 { margin: 10px 0 10px; color: #f4f2ef; }
.dbp__txt p { color: rgb(244 242 239 / .72); line-height: 1.6; }
.dbp__txt .btn { margin-top: 10px; }
.dbp__shot { display: grid; grid-template-columns: 1fr 1.4fr 1fr; grid-template-rows: 70px 90px 110px; gap: 10px; padding: 14px; border-radius: 22px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); }
.dbp__shot span { border-radius: 14px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .1); }
.dbp__shot span:nth-child(1) { grid-row: span 3; background: radial-gradient(circle at 50% 50%, transparent 32%, rgb(79 141 253 / .7) 33%, rgb(79 141 253 / .7) 38%, transparent 39%), rgb(255 255 255 / .08); }
.dbp__shot span:nth-child(3) { grid-row: span 2; background: linear-gradient(180deg, rgb(79 141 253 / .35), rgb(255 255 255 / .06)); }
.dbp__shot span:nth-child(4) { grid-column: 2; background: repeating-linear-gradient(90deg, rgb(255 255 255 / .22) 0 14px, transparent 14px 26px) bottom / 100% 60% no-repeat, rgb(255 255 255 / .08); }
@media (max-width: 760px) { .dbp__card { grid-template-columns: 1fr; padding: 22px; } }

/* v15: launch button + dashboard screenshots */
.nav__actions { display: flex; gap: 8px; align-items: center; }
@media (max-width: 1100px) { .nav__launch { display: none; } }
.shots__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.shots__head h2 { margin: 10px 0 10px; max-width: 18ch; }
.shots__lead { margin: 0; max-width: 52ch; color: var(--muted); line-height: 1.6; }
.shots { display: grid; gap: 14px; }
.shots__stage { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-xl); overflow: hidden; background: #2b2826; box-shadow: var(--sh-3); }
.shots__stage picture { position: absolute; inset: 0; opacity: 0; transform: scale(1.015); filter: blur(10px); transition: opacity .6s, transform .8s cubic-bezier(.2, .8, .2, 1), filter .6s; }
.shots__stage picture.is-on { opacity: 1; transform: none; filter: none; }
.shots__stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shots__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.shots__tabs button { text-align: left; padding: 12px 14px; border-radius: var(--r-lg); border: 1px solid rgb(26 43 74 / .1); background: #fffdf9; cursor: pointer; display: grid; gap: 2px; position: relative; overflow: hidden; transition: background .2s, box-shadow .2s; }
.shots__tabs button b { font-weight: 500; color: var(--p-ink, #1a2b4a); }
.shots__tabs button span { font-size: 13px; color: var(--muted); }
.shots__tabs button[aria-selected="true"] { background: #fff; box-shadow: var(--sh-2); border-color: rgb(122 31 43 / .25); }
.shots__tabs button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: #7a1f2b; }
.shots__tabs button[aria-selected="true"]::after { animation: shotbar 6s linear forwards; }
.shots.is-paused .shots__tabs button::after { animation-play-state: paused; }
@keyframes shotbar { to { width: 100%; } }
.shots__fine { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .shots__head { flex-direction: column; align-items: flex-start; } .shots__tabs { grid-template-columns: 1fr 1fr; } }
