/* startups.workmade.com/accessibility. Loaded after /startups/mobile-assets/mobile.css, whose type,
   labels and spacing it shares (the house look). Two ideas on top:
   - settings rows that echo Settings › Accessibility (web#299, hq#434), each with a small
     black-and-white icon tile;
   - a sideways row of tall feature cards, each with a short demo that plays once, only when
     the card comes into view, finishes inside five seconds and never loops. Under Reduce
     Motion (or without JavaScript) every demo shows its settled end state: the base styles
     below ARE the end state, and the animations only run on `.motion .play`. */

.skip { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; transform: translateY(-160%); }
.skip:focus-visible { transform: none; outline: 2px solid var(--signal); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ax-page main :focus-visible, .ax-dlg :focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* the mark: a thin outline, never a solid disc */
.ax-mark { display: block; width: 58px; height: 58px; margin-bottom: 26px; color: var(--ink); }
.ax-mark *, .ax-card-head svg * { vector-effect: non-scaling-stroke; }
.mast h1 em, .section-title em { display: block; color: var(--muted); font-style: normal; }
.mast-aside > p + p { margin-top: 12px; }

/* panel + one white card */
.ax-panel { display: grid; place-items: center; background: var(--scene-bg); border-radius: 8px; padding: clamp(22px, 4.4vw, 64px) clamp(14px, 3vw, 48px); }
.ax-hero-panel { width: calc(100% - 24px); max-width: 1800px; margin: 0 auto; padding-block: clamp(30px, 5.4vw, 84px); }
.ax-card { width: 100%; max-width: 520px; background: #fff; border-radius: 14px; box-shadow: 0 2px 4px #16141a05, 0 14px 38px -24px #17121a40; padding: 6px 18px; }
.ax-card-head { display: flex; align-items: center; gap: 14px; padding: 18px 0 16px; border-bottom: 1px solid var(--line); }
.ax-card-head svg { width: 36px; height: 36px; flex: none; color: var(--ink); }
.ax-card-head b { display: block; font-size: 19px; font-weight: 550; letter-spacing: -.03em; line-height: 1.2; }
.ax-card-head span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.ax-group { padding: 14px 0 2px; font-size: 12px; color: var(--muted); }

/* settings rows */
.ax-rows { list-style: none; }
.ax-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 52px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.ax-rows .ax-row:last-child { border-bottom: 0; }
.ax-ic { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.ax-ic svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ax-name { font-size: 15px; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.ax-name small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; letter-spacing: -.005em; color: var(--muted); line-height: 1.4; }
.sw { position: relative; display: block; width: 38px; height: 23px; border-radius: 999px; background: #e3e3e1; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.18); }
.sw.on { background: var(--ink); }
.sw.on::after { left: 17px; }
.seg { position: relative; display: inline-flex; padding: 2px; border-radius: 9px; background: #f1f1f0; font-size: 12.5px; color: var(--ink2); white-space: nowrap; }
.seg i { position: relative; z-index: 1; font-style: normal; padding: 4px 10px; border-radius: 7px; line-height: 1.35; }
.seg i.on { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.step { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.step i { font-style: normal; display: grid; place-items: center; width: 28px; height: 26px; border-radius: 7px; background: #f1f1f0; color: var(--ink2); font-size: 12px; }
.step i.big { font-size: 15px; }
.note { display: inline-flex; align-items: center; gap: 4px; max-width: 170px; font-size: 13px; color: var(--muted); }
.note span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.note svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* who it's for: three numbers, each with its source */
.ax-who .intro-text { max-width: 44ch; }
.ax-who .section-title { margin: 14px 0 16px; }
.ax-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: clamp(36px, 4vw, 56px); list-style: none; }
.ax-stats li { border-top: 1px solid var(--line2); padding-top: 20px; }
.ax-stats b { display: block; font-size: clamp(40px, 4.2vw, 64px); font-weight: 500; letter-spacing: -.055em; line-height: 1; }
.ax-stats p { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--ink2); max-width: 32ch; text-wrap: pretty; }
.ax-stats cite { display: block; margin-top: 10px; font-style: normal; font-size: 12px; line-height: 1.45; color: var(--muted); }
.ax-stats cite a { text-decoration: underline; text-decoration-color: #cfcfcf; text-underline-offset: 3px; }
.ax-stats cite a:hover { color: var(--ink); text-decoration-color: currentColor; }

/* the feature cards */
.ax-feat { border-top: 1px solid var(--line); }
.ax-feat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.ax-feat-head .section-title { margin: 14px 0 0; }
.ax-arrows { display: flex; gap: 10px; flex: none; }
.ax-arrow { width: 44px; height: 44px; border-radius: 50%; background: #f0f0ef; color: var(--ink); display: grid; place-items: center; transition: background .2s, opacity .2s; }
.ax-arrow:hover { background: #e6e6e4; }
.ax-arrow[disabled] { opacity: .35; cursor: default; }
.ax-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ax-rail { --edge: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding: 32px var(--edge) 8px; list-style: none; scrollbar-width: none; }
.ax-rail::-webkit-scrollbar { display: none; }
.ax-fc { position: relative; flex: 0 0 clamp(300px, 29vw, 380px); min-height: clamp(540px, 40vw, 580px); display: flex; flex-direction: column; scroll-snap-align: start; background: var(--scene-bg); border-radius: 10px; padding: 28px 24px 24px; overflow: hidden; }
.ax-fc-l { font-size: 14px; font-weight: 500; color: var(--ink2); letter-spacing: -.01em; }
.ax-fc h3 { margin-top: 8px; font-size: clamp(24px, 2vw, 29px); font-weight: 500; letter-spacing: -.045em; line-height: 1.12; text-wrap: balance; max-width: 15ch; }
.ax-demo { position: relative; margin-top: auto; height: clamp(300px, 24vw, 340px); background: #fff; border-radius: 14px; box-shadow: 0 2px 4px #16141a05, 0 14px 38px -24px #17121a40; overflow: hidden; }
.ax-plus { position: absolute; right: 14px; bottom: 14px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.ax-plus::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--ink); transition: transform .2s var(--out); }
.ax-plus:hover::before { transform: scale(1.06); }
.ax-plus i { position: relative; width: 14px; height: 14px; }
.ax-plus i::before, .ax-plus i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.8px; border-radius: 2px; background: #fff; transform: translate(-50%, -50%); }
.ax-plus i::after { transform: translate(-50%, -50%) rotate(90deg); }
.ax-feat-foot { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* demo 1: text size, a little "A" that grows and settles */
.d-text { display: grid; grid-template-rows: 1fr auto; padding: 18px 20px 22px; }
.d-text .glyph { display: grid; place-items: center; font-size: 148px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.d-text .glyph span { display: block; transform-origin: 50% 70%; }
.d-text .slide { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; font-weight: 500; padding-right: 52px; }
.d-text .slide .a1 { font-size: 11px; color: var(--ink2); }
.d-text .slide .a2 { font-size: 17px; color: var(--ink2); }
.d-text .track { position: relative; height: 4px; border-radius: 4px; background: #ececea; }
.d-text .fill { position: absolute; inset: 0; border-radius: 4px; background: var(--ink); transform-origin: left; }
.d-text .knob { position: absolute; top: 50%; left: 100%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.2); }
.d-text .pct { min-width: 44px; font-size: 13px; text-align: right; }

/* demo 2: appearance, light easing to dark */
.d-app { display: grid; grid-template-rows: auto 1fr; gap: 14px; padding: 16px; }
.d-app .seg { justify-self: start; }
.d-app .seg .thumb { position: absolute; z-index: 0; top: 2px; bottom: 2px; left: 2px; width: calc((100% - 4px) / 3); border-radius: 7px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.1); transform: translateX(200%); }
.d-app .seg i { width: 52px; text-align: center; padding-inline: 0; }
.d-app .scr { border-radius: 10px; padding: 16px 16px 0; background: #121213; color: #f4f4f4; display: flex; flex-direction: column; overflow: hidden; }
.d-app .scr small { font-size: 12px; opacity: .65; }
.d-app .scr b { font-size: 30px; font-weight: 500; letter-spacing: -.045em; line-height: 1.15; }
.d-app .scr svg { margin-top: auto; width: 100%; height: 70px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* demo 3: grey text firming up */
.d-con { padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.d-con .ln { font-size: 17px; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); font-weight: 620; }
.d-con .ln.sm { font-size: 14px; }
.d-con .tg { margin-top: auto; display: grid; gap: 8px; padding-right: 52px; }
.d-con .tg div { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 500; }

/* demo 4: motion that comes to rest */
.d-calm { display: grid; grid-template-rows: 1fr auto; padding: 18px 20px; }
.d-calm .dots { display: flex; align-items: center; justify-content: center; gap: 14px; }
.d-calm .dots i { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); }
.d-calm .dots i:nth-child(2n) { border-radius: 9px; background: #d9d9d6; }
.d-calm .dots i:nth-child(3) { width: 38px; height: 38px; }
.d-calm .row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 500; padding-right: 52px; }

/* demo 5: captions under a call */
.d-cap { display: flex; flex-direction: column; padding: 18px 18px 20px; }
.d-cap .who { display: flex; align-items: center; gap: 10px; }
.d-cap .who b { display: block; font-size: 14px; font-weight: 550; line-height: 1.2; }
.d-cap .who span { display: block; font-size: 12px; color: var(--muted); }
.d-cap .bars { display: flex; align-items: center; gap: 3px; height: 34px; margin: 16px 0 0; }
.d-cap .bars i { flex: 1; border-radius: 2px; background: #d7d7d4; }
.d-cap .cc { margin-top: auto; padding: 12px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 15px; line-height: 1.4; letter-spacing: -.012em; margin-right: 0; margin-bottom: 44px; }
.d-cap .cc .w { display: inline; }

/* demo 6: a waveform slowing down */
.d-voice { display: grid; grid-template-rows: auto 1fr auto; padding: 16px 18px 20px; }
.d-voice .seg { justify-self: start; }
.d-voice .seg .thumb { position: absolute; z-index: 0; top: 2px; bottom: 2px; left: 2px; width: calc((100% - 4px) / 4); border-radius: 7px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.1); transform: translateX(0); }
.d-voice .seg i { width: 46px; text-align: center; padding-inline: 0; }
.d-voice .wave { display: flex; align-items: center; gap: 3px; height: 140px; align-self: center; }
.d-voice .wave i { flex: 1; height: 100%; border-radius: 3px; background: var(--ink); transform-origin: center; }
.d-voice .rate { font-size: 13px; color: var(--muted); padding-right: 52px; }
.d-voice .rate b { color: var(--ink); font-weight: 500; }

/* demo 7: the agent takes the call and the form */
.d-agent { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 18px 16px 58px; }
.d-agent .task { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 10px; background: #f7f7f6; }
.d-agent .task b { display: block; font-size: 14px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.d-agent .st { position: relative; display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink2); min-height: 18px; }
.d-agent .st .busy { position: absolute; inset: 0; opacity: 0; color: var(--muted); }
.d-agent .st .done { display: inline-flex; align-items: center; gap: 6px; }
.d-agent .st .done::before { content: ""; width: 14px; height: 14px; background: var(--ink); -webkit-mask: var(--tick) center/contain no-repeat; mask: var(--tick) center/contain no-repeat; }
.d-agent .ok { align-self: flex-start; margin-top: 2px; padding: 7px 13px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 500; }

/* demo 8: reaching you */
.d-reach { display: flex; flex-direction: column; gap: 16px; padding: 16px 16px 20px; }
.d-reach .seg { align-self: flex-start; }
.d-reach .seg .thumb { position: absolute; z-index: 0; top: 2px; bottom: 2px; left: 2px; width: calc((100% - 4px) / 3); border-radius: 7px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.1); transform: translateX(100%); }
.d-reach .seg i { width: 70px; text-align: center; padding-inline: 0; }
.d-reach .stage { position: relative; flex: 1; }
.d-reach .call, .d-reach .msg { position: absolute; left: 0; right: 0; top: 0; }
.d-reach .call { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: #f3f3f2; font-size: 13.5px; font-weight: 500; opacity: 0; visibility: hidden; }
.d-reach .call small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.d-reach .msg { max-width: 86%; padding: 11px 14px; border-radius: 16px 16px 16px 4px; background: #f3f3f2; font-size: 14px; line-height: 1.4; letter-spacing: -.012em; }
.d-reach .msg.me { top: 108px; bottom: auto; left: auto; right: 0; max-width: 60%; border-radius: 16px 16px 4px 16px; background: var(--ink); color: #fff; }
.d-reach .msg small { display: block; margin-bottom: 4px; font-size: 11.5px; color: var(--muted); }

/* ---- the animations: only with .motion (JS, no Reduce Motion), only once .play ---- */
.motion .ax-fc * { animation-play-state: paused; }
.motion .ax-fc.play * { animation-play-state: running; }
.motion .d-text .glyph span { animation: ax-grow 2.1s ease-in-out .25s both; }
.motion .d-text .fill { animation: ax-fill 1.45s cubic-bezier(.45,0,.3,1) .25s both; }
.motion .d-text .knob { animation: ax-knob 1.45s cubic-bezier(.45,0,.3,1) .25s both; }
@keyframes ax-grow { 0% { transform: scale(.2); animation-timing-function: cubic-bezier(.45,0,.3,1); } 68% { transform: scale(1.06); animation-timing-function: ease-in-out; } 86% { transform: scale(.985); } 100% { transform: scale(1); } }
@keyframes ax-fill { from { transform: scaleX(0); } }
@keyframes ax-knob { from { left: 0; } }

.motion .d-app .thumb { animation: ax-thumb-app .55s cubic-bezier(.3,.7,.2,1) .5s both; }
.motion .d-app .scr { animation: ax-dark 1.5s ease .65s both; }
@keyframes ax-thumb-app { from { transform: translateX(100%); } }
@keyframes ax-dark { from { background: #fafaf9; color: #0a0a0b; } }

.motion .d-con .ln { animation: ax-firm 1.4s ease .4s both; }
.motion .d-con .ln:nth-child(2) { animation-delay: .55s; }
.motion .d-con .ln:nth-child(3) { animation-delay: .7s; }
.motion .d-con .sw { animation: ax-sw-bg .3s ease .3s both; }
.motion .d-con .sw::after { animation: ax-sw-knob .3s ease .3s both; }
.motion .d-con .tg div + div .sw, .motion .d-con .tg div + div .sw::after { animation-delay: .9s; }
@keyframes ax-firm { from { color: #c4c4c1; font-weight: 400; } }
@keyframes ax-sw-bg { from { background: #e3e3e1; } }
@keyframes ax-sw-knob { from { left: 2px; } }

.motion .d-calm .dots i { animation: ax-rest 3.2s cubic-bezier(.3,.6,.3,1) .2s both; }
.d-calm .dots i:nth-child(1) { --dx: -18px; --dy: -46px; --r: -40deg; }
.d-calm .dots i:nth-child(2) { --dx: 12px; --dy: 40px; --r: 60deg; }
.d-calm .dots i:nth-child(3) { --dx: -10px; --dy: -58px; --r: 0deg; }
.d-calm .dots i:nth-child(4) { --dx: 16px; --dy: 50px; --r: -70deg; }
.d-calm .dots i:nth-child(5) { --dx: -14px; --dy: -36px; --r: 0deg; }
.motion .d-calm .sw { animation: ax-sw-bg .3s ease 3.1s both; }
.motion .d-calm .sw::after { animation: ax-sw-knob .3s ease 3.1s both; }
@keyframes ax-rest {
  0% { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); }
  22% { transform: translate(calc(var(--dx) * -.7), calc(var(--dy) * -.7)) rotate(calc(var(--r) * -.6)); }
  44% { transform: translate(calc(var(--dx) * .35), calc(var(--dy) * .35)) rotate(calc(var(--r) * .3)); }
  64% { transform: translate(calc(var(--dx) * -.14), calc(var(--dy) * -.14)); }
  82% { transform: translate(calc(var(--dx) * .04), calc(var(--dy) * .04)); }
  100% { transform: none; }
}

.motion .d-cap .bars i { animation: ax-talk 3.4s ease .3s both; }
.motion .d-cap .cc .w { animation: ax-word .35s ease both; animation-delay: calc(var(--i) * 140ms + .5s); }
@keyframes ax-word { from { opacity: 0; } }
@keyframes ax-talk { 0%, 100% { transform: none; } 15% { transform: scaleY(.45); } 30% { transform: scaleY(1.25); } 45% { transform: scaleY(.6); } 60% { transform: scaleY(1.15); } 75% { transform: scaleY(.7); } 90% { transform: scaleY(1.05); } }

.motion .d-voice .thumb { animation: ax-thumb-voice .6s cubic-bezier(.3,.7,.2,1) 1s both; }
@keyframes ax-thumb-voice { from { transform: translateX(300%); } }

.motion .d-agent .st .busy { animation: ax-busy 1.7s ease both; }
.motion .d-agent .st .done { animation: ax-show .4s ease 1.6s both; }
.motion .d-agent .task + .task .st .busy { animation-delay: .9s; animation-duration: 1.7s; }
.motion .d-agent .task + .task .st .done { animation-delay: 2.5s; }
.motion .d-agent .ok { animation: ax-pop .45s cubic-bezier(.3,.7,.2,1) 2.8s both; }
@keyframes ax-busy { 0% { opacity: 0; } 15%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ax-show { from { opacity: 0; } }
@keyframes ax-pop { from { opacity: 0; transform: translateY(6px); } }

.motion .d-reach .thumb { animation: ax-thumb-reach .55s cubic-bezier(.3,.7,.2,1) .9s both; }
.motion .d-reach .call { animation: ax-call 1.5s ease .1s both; }
.motion .d-reach .msg { animation: ax-pop .5s cubic-bezier(.3,.7,.2,1) 1.6s both; }
.motion .d-reach .msg.me { animation-delay: 2.5s; }
@keyframes ax-thumb-reach { from { transform: translateX(0); } }
@keyframes ax-call { 0% { opacity: 0; visibility: visible; transform: translateY(6px); } 20%, 70% { opacity: 1; visibility: visible; transform: none; } 100% { opacity: 0; visibility: hidden; transform: scale(.96); } }

/* where it works */
.ax-sec { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6%; border-top: 1px solid var(--line); }
.ax-sec .section-title { margin: 14px 0 16px; }
.ax-sec .intro-text { max-width: 36ch; }
.ax-list > div { display: grid; grid-template-columns: .42fr 1fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line2); }
.ax-list > div:first-child { border-top: 1px solid var(--line2); }
.ax-list dt { font-weight: 500; letter-spacing: -.02em; }
.ax-list dd { color: var(--muted); font-size: 15px; line-height: 1.55; text-wrap: pretty; }

/* tell us */
.ax-tell { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); max-width: var(--max); margin: 0 auto 48px; background: var(--scene-bg); border-radius: 8px; padding: clamp(34px, 5vw, 72px) clamp(22px, 4vw, 64px); }
.ax-tell .section-title { margin: 14px 0 16px; }
.ax-tell .intro-text { max-width: 38ch; }
.ax-tell .acts { margin-top: 24px; }
.ax-std h3 { font-size: clamp(18px, 1.35vw, 21px); font-weight: 500; letter-spacing: -.033em; line-height: 1.25; }
.ax-std p { margin-top: 8px; color: var(--ink2); font-size: 15px; line-height: 1.55; max-width: 46ch; text-wrap: pretty; }
.ax-std p + h3 { margin-top: 28px; }
.ax-std .upd { margin-top: 28px; font-size: 13px; color: var(--muted); }

/* the details: the site's own <dialog> (as site.js uses for the films), on the start menu's
   white surface; a sheet along the bottom on a phone, like the start menu there */
.ax-dlg { margin: auto; width: min(560px, calc(100% - 32px)); max-height: min(86vh, 760px); padding: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 18px 48px -12px rgba(0,0,0,.22); overflow: auto; overscroll-behavior: contain; }
.ax-dlg::backdrop { background: rgba(10,10,11,.32); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.ax-dlg[open] { animation: ax-dlg-in .26s var(--out); }
@keyframes ax-dlg-in { from { opacity: 0; transform: translateY(8px) scale(.985); } }
.ax-dlg-in { position: relative; padding: 30px 30px 26px; }
.ax-x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.ax-x::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #f0f0ef; transition: background .2s; }
.ax-x:hover::before { background: #e6e6e4; }
.ax-x i { position: relative; width: 13px; height: 13px; }
.ax-x i::before, .ax-x i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.6px; background: var(--ink); }
.ax-x i::before { transform: translate(-50%, -50%) rotate(45deg); } .ax-x i::after { transform: translate(-50%, -50%) rotate(-45deg); }
.ax-dlg .lbl { font-size: 14px; font-weight: 500; color: var(--ink2); padding-right: 48px; }
.ax-dlg h2 { margin-top: 6px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.045em; line-height: 1.12; padding-right: 36px; text-wrap: balance; }
.ax-dlg h2 + p { margin-top: 14px; }
.ax-dlg p { font-size: 15.5px; line-height: 1.55; color: var(--ink2); text-wrap: pretty; }
.ax-dlg p + p { margin-top: 10px; }
.ax-dlg .ax-rows { margin-top: 18px; border-top: 1px solid var(--line); }
.ax-dlg .fact { margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: var(--scene-bg); font-size: 14px; color: var(--ink2); line-height: 1.5; }
.ax-dlg .fact cite { display: block; margin-top: 4px; font-style: normal; font-size: 12px; color: var(--muted); }
.ax-dlg .where { margin-top: 16px; font-size: 13px; color: var(--muted); }
html.ax-locked { overflow: hidden; }

@media (max-width: 860px) {
  .ax-sec, .ax-tell { grid-template-columns: 1fr; gap: 28px; }
  .ax-tell { margin-inline: 12px; }
  .ax-stats { grid-template-columns: 1fr; gap: 0; }
  .ax-stats li { padding: 20px 0 24px; }
}
@media (max-width: 640px) {
  .ax-mark { width: 50px; height: 50px; margin-bottom: 22px; }
  .ax-hero-panel { width: calc(100% - 12px); border-radius: 6px; }
  .ax-card { padding: 4px 14px; }
  .ax-row { gap: 10px; }
  .ax-row.wide { grid-template-columns: 26px minmax(0, 1fr); row-gap: 8px; padding: 12px 0; }
  .ax-row.wide > :nth-child(3) { grid-column: 2; justify-self: start; max-width: 100%; }
  .seg i { padding: 4px 7px; }
  .ax-feat-head { display: block; }
  .ax-arrows { display: none; }
  .ax-rail { gap: 12px; padding-top: 24px; }
  .ax-fc { flex-basis: min(84vw, 340px); min-height: 520px; padding: 24px 20px 20px; }
  .ax-list > div { grid-template-columns: 1fr; gap: 4px; }
  .ax-tell { margin: 0 6px 20px; }
  .ax-dlg { width: auto; max-width: none; margin: auto 10px 10px; max-height: 88vh; }
  .ax-dlg-in { padding: 26px 22px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ax-page main *, .ax-page main *::before, .ax-page main *::after, .ax-dlg[open] { animation: none !important; transition: none !important; }
}
.ax-dlg h2:focus { outline: none; }
