/* AssetraOne homepage: page CSS only for what sits inside a visual, plus one --p-h per card group.
   Everything else comes from the kit (system.css, cards.css, layout.css). */

/* ---------- hero: the product window on the grain-gradient frame ---------- */
.d-win { background: #fff; color: #0a1624; border-radius: 12px; overflow: hidden; font: 400 14px/1.4 var(--font-text); text-align: left;
         box-shadow: 0 0 0 1px rgb(10 22 36 / .08), 0 24px 60px -28px rgb(10 22 36 / .45); }
.d-win__bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgb(10 22 36 / .07); font-size: 13px; color: #4a5b6e; }
.d-win__dots { display: flex; gap: 6px; } .d-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #dce2e8; }
.d-win__body { display: grid; grid-template-columns: 196px 1fr; min-height: 460px; }
/* sidebar: brand, client picker, sectioned nav (after the Assetra dashboard shell) */
.d-side { padding: 16px 12px; background: #fff; border-right: 1px solid rgb(10 22 36 / .07); display: grid; align-content: start; gap: 2px; font-size: 13px; color: #4a5b6e; }
.d-brand { display: flex; align-items: center; gap: 8px; padding: 2px 8px 14px; font: 600 15px/1 var(--font-text); color: #0a1624; letter-spacing: -.01em; }
.d-brand em { font-style: normal; color: #0a7a74; }
.d-client { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px; margin-bottom: 12px; border: 1px solid rgb(10 22 36 / .1); border-radius: 10px; color: #0a1624; font-weight: 500; }
.d-client > span:nth-child(2) { flex: 1; }
.d-client svg, .d-sel svg { width: 12px; height: 12px; fill: none; stroke: #6b7a8a; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.d-av { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e3f2f0; color: #0a6a65; font-size: 11px; font-weight: 600; flex: none; }
.d-side > span { position: relative; display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 8px; }
.d-side > span.is-on { background: rgb(10 122 116 / .1); color: #0a1624; font-weight: 500; }
.d-side > span.is-on::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: #0a7a74; }
.d-side > span i { width: 14px; height: 14px; border-radius: 4px; background: currentColor; opacity: .28; flex: none; }
.d-side > span.is-on i { background: #0a7a74; opacity: 1; }
.d-side .d-side__label { height: 28px; margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #6b7a8a; }
/* main: soft page ground with white cards */
.d-main { padding: 18px 20px; background: #f5f7fa; display: grid; align-content: start; gap: 14px; min-width: 0; }
.d-main__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.d-main__head h4 { font: 500 20px/1.2 var(--font-text); margin: 0; color: inherit; letter-spacing: -.01em; }
.d-tools { display: flex; align-items: center; gap: 8px; }
.d-sel { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 8px; background: #fff; border: 1px solid rgb(10 22 36 / .1); font-size: 13px; font-weight: 500; }
.d-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 99px; background: #0a7a74; color: #fff; font-size: 13px; font-weight: 500; box-shadow: 0 6px 16px -6px rgb(10 122 116 / .6); }
.d-pills { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.d-pills span { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 99px; background: #fff; border: 1px solid rgb(10 22 36 / .08); color: #33414f; }
.d-pills span.is-on { border-color: rgb(10 122 116 / .45); color: #0a1624; }
.d-pills b { font-weight: 600; color: #0a1624; font-variant-numeric: tabular-nums; }
.d-pills i { width: 7px; height: 7px; border-radius: 50%; }
.d-dot--all { background: #0a1624; } .d-dot--liq { background: #1ad4c8; } .d-dot--pe { background: #e86a3a; } .d-dot--real { background: #c9a227; }
.d-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.d-panel { background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: 0 0 0 1px rgb(10 22 36 / .06), 0 6px 20px -12px rgb(10 22 36 / .2); min-width: 0; }
/* net worth card: big figure, assets/liabilities, area chart */
.d-nw__top { display: flex; justify-content: space-between; gap: 12px; }
.d-nw small { display: block; font-size: 13px; color: #4a5b6e; }
.d-nw strong { display: block; margin: 4px 0 2px; font: 600 32px/1.1 var(--font-text); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.d-up { font-size: 13px; font-weight: 500; color: #1e8a55; font-variant-numeric: tabular-nums; }
.d-nw dl { margin: 0; text-align: right; font-size: 12px; }
.d-nw dt { color: #6b7a8a; } .d-nw dd { margin: 0 0 6px; font-weight: 600; font-size: 13px; color: #0a1624; font-variant-numeric: tabular-nums; }
.d-area { display: block; width: 100%; height: 150px; margin-top: 10px; }
.d-area__fill { fill: url(#d-area-g); }
.d-area__line { fill: none; stroke: #0a7a74; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.d-axis { display: flex; justify-content: space-between; padding-top: 6px; font-size: 12px; color: #6b7a8a; }
/* holdings card: table rows with value and status */
.d-hold__head { display: flex; align-items: center; justify-content: space-between; }
.d-hold__head h5 { margin: 0; font: 500 15px/1.3 var(--font-text); }
.d-go { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e3f2f0; color: #0a7a74; font-size: 13px; }
.d-hold__cols, .d-row { display: grid; grid-template-columns: minmax(0, 1fr) 72px 82px; gap: 10px; align-items: center; }
.d-hold__cols { padding: 12px 0 6px; font-size: 12px; color: #6b7a8a; text-align: right; border-bottom: 1px dashed rgb(10 22 36 / .14); }
.d-rows { display: grid; }
.d-row { padding: 9px 0; border-bottom: 1px solid rgb(10 22 36 / .07); font-size: 13px; }
.d-row:last-child { border-bottom: 0; }
.d-row b { display: block; font-weight: 500; color: #0a1624; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-row small { color: #5b6b7c; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.d-row .num { text-align: right; font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 500; }
.d-chip { justify-self: end; display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 13px; font-weight: 500; background: #e3f2f0; color: #0a6a65; white-space: nowrap; }
.d-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.d-chip--low { background: #fbf0dd; color: #845000; }
.d-card { background: #fff; color: #0a1624; border-radius: 12px; padding: 14px 16px; font: 400 14px/1.4 var(--font-text); text-align: left;
          box-shadow: 0 0 0 1px rgb(10 22 36 / .08), 0 18px 44px -20px rgb(10 22 36 / .45); }
.d-card h5 { margin: 0 0 4px; font: 500 14px/1.3 var(--font-text); }
.d-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.d-note__line { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; color: #33414f; border-top: 1px solid rgb(10 22 36 / .06); }
.d-note__line:first-of-type { border-top: 0; }
.d-note__line i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #e3f2f0; color: #0a6a65; font-style: normal; font-size: 12px; font-weight: 500; }
.d-note__line b { font-weight: 500; color: #0a1624; }
@media (max-width: 1023px) {
  .d-grid { grid-template-columns: 1fr; } .d-hold { display: none; }
}
@media (max-width: 639px) {
  .d-win__body { grid-template-columns: 1fr; min-height: 0; } .d-side { display: none; }
  .d-main { padding: 14px; } .d-main__head .d-sel, .d-nw dl { display: none; }
  .d-pills span:nth-child(n+3) { display: none; }
  .d-nw strong { font-size: 26px; } .d-area { height: 110px; }
}

/* ---------- platform: the app frame (sections-library.md, app-frame) ---------- */
.platform__intro { color: var(--ink); }
.app.ui { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
.app > .app__pane > .ui-panel { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.app > .app__pane > .ui-doc { padding: var(--s-6) var(--s-6) 0; }
.app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
@media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app > .app__pane--list { max-height: 252px; }
  .app > .app__pane--list::after { display: none; }
  .app .ui-win__side { display: none; }
  .app .ui-win__body { grid-template-columns: minmax(0, 1fr); }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
}
@media (max-width: 639px) {
  .app.ui { grid-template-rows: minmax(0, 1fr); }
  .app > .app__pane--list { display: none; }
  .app > .app__pane + .app__pane { border-top: 0; }
  .app > .app__pane > .ui-doc { padding: var(--s-4) var(--s-4) 0; }
}

/* ---------- serve: five rows beside one photograph ---------- */
.serve__rows { margin-top: var(--s-7); list-style: none; padding: 0; }
.serve__rows > li { display: block; padding: 0; }
.serve__rows > li > a { display: grid; gap: var(--s-1); padding-block: var(--s-4); color: inherit; text-decoration: none; }
.serve__rows > li:first-child > a { padding-top: 0; }
.serve__line { color: var(--ink); opacity: .84; }


/* Chinese headings break only at the phrase points marked with <wbr> */
html[lang^="zh"] :is(h1, h2) { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 639px) { .serve__line { display: none; } .serve__rows { margin-top: var(--s-5); } .serve__rows > li > a { padding-block: var(--s-3); min-height: 44px; } }
@media (max-width: 379px) { .nav__actions .btn { display: none; } }

/* ---------- parallax layers (assets/js/parallax.js): visuals only, never text ---------- */
[data-px]:not(.hero__glow) { will-change: translate; }
.nav { background: color-mix(in oklab, var(--bg) 94%, transparent); }

/* ---------- hero: the one-time word jump, then the category line ---------- */
.hero { overflow: clip; }
.hero__glow { position: absolute; z-index: -1; inset: -10% -20% auto; height: 120%; pointer-events: none;
  background:
    radial-gradient(40% 36% at 22% 30%, rgb(10 122 116 / .16), transparent 70%),
    radial-gradient(34% 30% at 80% 22%, rgb(200 170 120 / .22), transparent 70%),
    radial-gradient(50% 40% at 50% 85%, rgb(10 122 116 / .10), transparent 70%); }
.hero--centred .hero__c { max-width: none; }
.hero--centred h1.jump { max-width: none; display: grid; justify-items: center; gap: .1em; margin: 0; }
.jump__stage { display: grid; justify-items: center; font-size: clamp(34px, 7.4vw, 104px); line-height: 1.02; letter-spacing: var(--display-tracking-xl); white-space: nowrap; perspective: 600px; }
.jump__w { grid-area: 1 / 1; opacity: 0; display: inline-block; }
.jump__final { opacity: 1; }
.jump__final em { font-style: normal; color: var(--accent); display: inline-block; }
.jump__line { font-size: clamp(22px, 3.4vw, 48px); line-height: 1.2; letter-spacing: var(--display-tracking); color: var(--ink); }
.hero__lead { margin-top: var(--s-2); }

@media (prefers-reduced-motion: no-preference) {
  /* each question holds about a second before it flips out; the sequence plays once */
  .jump__w:not(.jump__final) { animation: jumpQ 1.6s cubic-bezier(.2, .8, .2, 1) both; }
  .jump__w:nth-child(1) { animation-delay: .3s; }
  .jump__w:nth-child(2) { animation-delay: 1.8s; }
  .jump__w:nth-child(3) { animation-delay: 3.3s; }
  .jump__w:nth-child(4) { animation-delay: 4.8s; }
  .jump__final { animation: jumpIn 1s cubic-bezier(.2, 1.4, .3, 1) 6.3s both; }
  .jump__final em { animation: jumpOne .7s cubic-bezier(.2, 1.6, .3, 1) 6.9s both; }
  .jump__line { animation: lineIn 1.1s cubic-bezier(.16, 1, .3, 1) 7.2s both; }
}
@keyframes jumpQ {
  0%   { opacity: 0; transform: translateY(.6em) rotateX(-50deg); filter: blur(6px); }
  12%  { opacity: 1; transform: translateY(-.08em) rotateX(0); filter: blur(0); }
  18%  { transform: translateY(0); }
  86%  { opacity: 1; transform: translateY(0); filter: blur(0); }
  100% { opacity: 0; transform: translateY(-.55em) rotateX(40deg); filter: blur(6px); }
}
@keyframes jumpIn {
  0%   { opacity: 0; transform: translateY(.7em) scale(.92); filter: blur(8px); }
  55%  { opacity: 1; transform: translateY(-.1em) scale(1.02); filter: blur(0); }
  100% { opacity: 1; transform: none; }
}
@keyframes jumpOne {
  0%   { opacity: 0; transform: translateY(-.5em) scale(.6); }
  100% { opacity: 1; transform: none; }
}
@keyframes lineIn {
  0%   { opacity: 0; transform: translateY(14px); filter: blur(10px); letter-spacing: .08em; }
  100% { opacity: 1; transform: none; filter: blur(0); }
}
/* the window rises out of the hero; the capital-call card floats over its lower left */
.hero--centred .hero__window { min-height: clamp(260px, 40svh, 460px); }
.hero__note { left: var(--s-7) !important; top: auto !important; bottom: var(--s-6); width: 300px !important; transform: none !important; z-index: 2 !important; }
@media (max-width: 1023px) { .hero__note { display: none; } }

/* ---------- problem / solution ---------- */
.problem { position: relative; overflow: clip; }
.problem__bg { position: absolute; z-index: 0; inset: 10% -10% -20%; pointer-events: none;
  background: radial-gradient(38% 30% at 85% 30%, rgb(10 122 116 / .10), transparent 70%), radial-gradient(40% 34% at 10% 75%, rgb(200 170 120 / .20), transparent 70%); }
.problem > .wrap { position: relative; z-index: 1; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.compare__h { font: 500 var(--t-small)/1.2 var(--font-text); color: var(--muted); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line-strong); }
.compare__col--on .compare__h { color: var(--accent); border-bottom-color: var(--accent); }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; }
.compare li { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.compare__col:not(.compare__col--on) li { color: color-mix(in oklab, var(--ink) 72%, var(--bg)); text-decoration: line-through; text-decoration-color: color-mix(in oklab, var(--muted) 45%, transparent); }
@media (max-width: 639px) { .compare { grid-template-columns: 1fr; gap: var(--s-5); } .compare li { padding: var(--s-2) 0; } }

/* ---------- features: pinned chapters, one live demo per step ---------- */
.features .mo-pc__visual--lit { background:
  radial-gradient(60% 60% at 30% 20%, rgb(255 255 255 / .55), transparent 70%), var(--ground-bg); }
.feat-vis { width: min(100%, 440px); }
.feat-vis--dg { width: 100%; height: 100%; min-height: 240px; position: relative; }
.feat-vis--dg .dg { position: absolute; inset: 0; }
[data-moment="pinned-chapters"]:not(.is-live) .mo-pc__visual--lit { aspect-ratio: auto; max-height: none; }

/* ---------- proof: the five teams, the photograph panning in its frame, four facts ---------- */
.proof__media { display: grid; gap: var(--s-6); }
.px-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
.px-frame > img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.facts > div { border-top: 1px solid var(--line-strong); padding-top: var(--s-3); }
.facts dt { font: var(--display-weight) clamp(20px, 2vw, 28px)/1.15 var(--font-display); letter-spacing: var(--display-tracking); color: var(--ink); }
.facts dd { margin: var(--s-1) 0 0; color: var(--muted); font-size: var(--t-small); }
@media (max-width: 1023px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- final CTA: the statement assembles on a soft brand ground ---------- */
.cta { position: relative; overflow: clip; text-align: left; }
.cta__bg { position: absolute; z-index: 0; inset: -20% -10%; pointer-events: none;
  background:
    radial-gradient(45% 40% at 18% 40%, rgb(10 122 116 / .18), transparent 70%),
    radial-gradient(40% 36% at 82% 60%, rgb(200 170 120 / .28), transparent 70%); }
.cta > .wrap { position: relative; z-index: 1; display: grid; align-content: center; }
#cta .mo-la__type { font-size: clamp(44px, 7vw, 104px); line-height: 1.05; letter-spacing: var(--display-tracking-xl); max-width: 14em; }
#cta .mo-la__sub { margin-top: var(--s-6); max-width: 36em; font-size: var(--t-lead); line-height: 1.55; color: var(--ink); }
.cta__btns { margin-top: var(--s-7); }

/* ---------- minimal footer ---------- */
.footer-min { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-7); padding-block: var(--s-7); border-top: 1px solid var(--line); }
.footer-min__logo img { display: block; height: 22px; width: auto; }
.footer-min__links { display: flex; flex-wrap: wrap; gap: 0 var(--s-6); }
.footer-min__links a, .footer-min__legal a { color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.footer-min__links a:hover { color: var(--ink); }
.footer-min__legal { margin: 0; color: var(--muted); font-size: var(--t-small); }
@media (max-width: 639px) { .footer-min { flex-direction: column; align-items: flex-start; } }
/* the problem section: one screen, the comparison on top and the inbox under it */
.problem .app.ui { margin-top: var(--s-7); height: clamp(360px, 48svh, 500px); }
@media (max-width: 1023px) { .problem .app.ui { height: clamp(360px, 50svh, 560px); } }
/* the CTA sits in the middle of its screen */
main > section.cta { display: flex; align-items: center; }
main > section.cta > .wrap { height: auto; flex: 0 0 auto; }
/* the centred hero's window stands whole inside its frame: no bleed room on the right */
.footer-min__links { row-gap: var(--s-2); }
.hero--centred .hero__lead { color: color-mix(in oklab, var(--ink) 82%, var(--bg)); }
.problem .app.ui { height: clamp(320px, 42svh, 460px); }

/* the hero: the grain ground runs full bleed behind the whole first screen; the window is larger */
.hero__bg { position: absolute; z-index: -2; inset: -12% 0 0; pointer-events: none;
  --fx-bg: var(--ground-bg); --fx-surface: var(--ground-surface); --fx-ink: var(--ground-ink); --fx-accent: var(--ground-accent); background: var(--ground-bg); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in oklab, var(--bg) 55%, transparent), transparent 45%); }
.hero__glow { z-index: -1; }
.hero--centred .hero__window { background: transparent; border-radius: 0; overflow: visible; min-height: clamp(320px, 50svh, 620px); margin-top: var(--s-7); }
.hero--centred .hero__window > .d-win { width: min(1120px, 100%); top: 0; }
.hero--centred .d-win__body { min-height: 560px; }
.hero--centred .jump__stage { font-size: clamp(36px, 8.4vw, 124px); }
.hero--centred .jump__line { font-size: clamp(22px, 3.8vw, 56px); }
@media (max-width: 639px) { .hero--centred .hero__window > .d-win { width: 100%; left: 0; } .hero--centred .d-win__body { min-height: 0; } }
/* no mask on the window's frame (it clipped the window as it drifts); the hero's own bottom edge fades into the page */
.hero--centred .hero__window { -webkit-mask-image: none; mask-image: none; }
.hero--centred::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 22%; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg)); }

/* the hero ground: static CSS (warm sand, a teal and a gold glow, fine grain), no WebGL, no scroll work */
.hero__bg { inset: 0; background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.28 0 0 0 0 0.2 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(55% 60% at 12% 35%, rgb(10 122 116 / .22), transparent 70%),
    radial-gradient(50% 55% at 90% 20%, rgb(214 178 120 / .55), transparent 70%),
    linear-gradient(160deg, #efe6d6 0%, #e2d3ba 55%, #d6c3a3 100%); }
/* the note sits over the empty foot of the holdings column, clear of the chart */
.hero--centred .hero__note { left: auto !important; right: var(--s-6); bottom: 13%; }

/* ---------- trade log: fills arrive over the API (dark OMS panel, after the Assetra blotter) ---------- */
.trade__intro { display: grid; gap: var(--s-5); }
.trade__lead { font-size: var(--t-lead); line-height: 1.5; color: var(--ink); max-width: 52ch; }
.trade__points { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.trade__points li { display: grid; gap: 2px; padding-left: var(--s-4); border-left: 2px solid var(--accent); }
.trade__points b { font-weight: 500; color: var(--ink); }
.trade__points span { color: var(--muted); font-size: 15px; }
.oms { --o-bg: #0b1520; --o-panel: #101c29; --o-line: rgb(255 255 255 / .07); --o-ink: #e6edf3; --o-muted: #8c9aab;
  margin-top: var(--s-8); background: var(--o-bg); color: var(--o-ink); border-radius: var(--r-lg); overflow: hidden;
  font: 400 13px/1.3 var(--font-text); box-shadow: 0 0 0 1px rgb(10 22 36 / .2), 0 30px 70px -30px rgb(10 22 36 / .6); }
.oms__bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--o-line); color: var(--o-muted); }
.oms__dots { display: flex; gap: 6px; } .oms__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .14); }
.oms__crumb i { font-style: normal; opacity: .5; margin: 0 4px; } .oms__crumb b { color: var(--o-ink); font-weight: 500; }
.oms__live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; }
.oms__live i { width: 7px; height: 7px; border-radius: 50%; background: #2fd47a; box-shadow: 0 0 0 3px rgb(47 212 122 / .18); }
.oms__body { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.oms__src { background: var(--o-panel); border-right: 1px solid var(--o-line); padding: 14px 12px; }
.oms__label { display: block; padding: 0 6px 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--o-muted); }
.oms__src ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.oms-src { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 8px; }
.oms-src:first-child { background: rgb(26 212 200 / .08); }
.oms-src i { width: 8px; height: 8px; border-radius: 50%; background: #2fd47a; }
.oms-src--idle i { background: #5b6878; }
.oms-src b { display: block; font-weight: 500; } .oms-src small { color: var(--o-muted); font-size: 12px; }
.oms-src time { color: var(--o-muted); font-size: 12px; }
.oms__grid { min-width: 0; overflow: hidden; }
.oms-row { display: grid; grid-template-columns: 64px 52px minmax(0, 1.1fr) minmax(0, 1.5fr) 56px 88px 84px 64px; align-items: center; gap: 12px;
  height: 40px; padding: 0 16px; border-bottom: 1px solid var(--o-line); white-space: nowrap; }
.oms-row > span { overflow: hidden; text-overflow: ellipsis; }
.oms-row--head { height: 36px; color: var(--o-muted); font-size: 12px; background: var(--o-panel); }
.oms-row .num { text-align: right; font-variant-numeric: tabular-nums; }
.oms-row--head > span:nth-child(6) { text-align: right; }
.oms-id { color: #7fb4ff; font-variant-numeric: tabular-nums; }
.oms-ins { display: flex; align-items: center; gap: 8px; }
.oms-side { justify-self: start; padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.oms-side--b { background: #3f7d4f; color: #e8f7ec; } .oms-side--s { background: #a5403c; color: #fdeceb; }
.oms-cmp { display: inline-flex; align-items: center; gap: 6px; }
.oms-cmp::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2fd47a; }
.oms-cmp--warn::before { background: #f0b429; }
.oms-api { justify-self: start; padding: 2px 8px; border-radius: 99px; border: 1px solid rgb(255 255 255 / .14); color: var(--o-muted); font-size: 11px; font-weight: 500; }
.oms-new { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 99px; background: #1ad4c8; color: #001018; }
.oms-row--new { background: linear-gradient(90deg, rgb(26 212 200 / .16), rgb(26 212 200 / .03)); box-shadow: inset 3px 0 0 #1ad4c8; }
@media (prefers-reduced-motion: no-preference) {
  .oms-row--new { animation: omsIn 6s cubic-bezier(.16, 1, .3, 1) infinite; }
  .oms-row--new .oms-new { animation: omsTag 6s ease infinite; }
}
@keyframes omsIn { 0% { opacity: 0; transform: translateY(-100%); background-color: rgb(26 212 200 / .35); } 10%, 100% { opacity: 1; transform: none; } }
@keyframes omsTag { 0%, 8% { opacity: 0; } 14%, 100% { opacity: 1; } }
@media (max-width: 1023px) {
  .oms__body { grid-template-columns: 1fr; } .oms__src { display: none; }
  .oms-row { grid-template-columns: 64px minmax(0, 1fr) 52px 84px 76px; }
  .oms-row > :nth-child(2), .oms-row > :nth-child(3), .oms-row > :nth-child(8) { display: none; }
}
@media (max-width: 639px) {
  .oms { margin-top: var(--s-6); border-radius: var(--r-md); }
  .oms__crumb { display: none; } .oms__live { margin-left: auto; }
  .oms-row { grid-template-columns: minmax(0, 1fr) 48px 72px; gap: 8px; padding: 0 12px; height: 46px; }
  .oms-row > :nth-child(1), .oms-row > :nth-child(7) { display: none; }
  .oms-ins { flex-direction: column; align-items: flex-start; gap: 2px; }
  .oms-row--new { height: 56px; }
}

/* ---------- phone hero: the questions may wrap, so the title can be large ---------- */
@media (max-width: 639px) {
  .hero--centred .jump__stage { font-size: clamp(42px, 13vw, 60px); white-space: normal; line-height: 1; min-height: 2em; align-items: end; }
  .hero--centred .jump__w { text-align: center; text-wrap: balance; max-width: 100%; }
  .hero--centred .jump__line { font-size: clamp(24px, 7.2vw, 30px); margin-top: .15em; }
}

/* ---------- phone features: the chapters become a swipe row of numbered cards ---------- */
@media (max-width: 639px) {
  .features [data-moment] .mo-pc__text, .features .mo-pc__text { gap: var(--s-5); }
  .features:not(.is-live) .mo-pc__steps { counter-reset: step; display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(50% - 50vw); padding: 4px var(--gut) var(--s-5); scroll-padding-inline: var(--gut); }
  .features:not(.is-live) .mo-pc__steps::-webkit-scrollbar { display: none; }
  .features:not(.is-live) .mo-pc__step { counter-increment: step; flex: 0 0 86%; scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--s-2);
    padding: var(--s-5) var(--s-5) 0; border: 0; border-radius: var(--r-lg); background: var(--surface, #fff); overflow: hidden;
    box-shadow: 0 0 0 1px rgb(10 22 36 / .06), 0 18px 40px -24px rgb(10 22 36 / .35); }
  .features:not(.is-live) .mo-pc__step::before { content: counter(step, decimal-leading-zero) " / 04"; align-self: flex-start; margin-bottom: var(--s-1);
    padding: 3px 10px; border-radius: 99px; background: rgb(10 122 116 / .1); color: var(--accent); font: 600 12px/1.4 var(--font-text); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
  .features:not(.is-live) .mo-pc__step h3 { font-size: 20px; }
  .features:not(.is-live) .mo-pc__step p { color: var(--muted); font-size: 15px; }
  .features:not(.is-live) .mo-pc__step .mo-pc__visual { margin: auto calc(-1 * var(--s-5)) 0; padding-top: var(--s-4); border-radius: 0; aspect-ratio: auto;
    min-height: 300px; display: flex; align-items: center; justify-content: center; padding: var(--s-5) var(--s-4); overflow: hidden; }
  .features:not(.is-live) .feat-vis { width: 100%; }
  .features:not(.is-live) .feat-vis--dg { min-height: 260px; }
}
@media (max-width: 639px) {
  main > .features[data-moment="pinned-chapters"]:not(.is-live) { min-height: 0; }
}
