/* PremiumRadar marketing site */
@property --w { syntax: '<number>'; inherits: true; initial-value: 300; }
:root { --composer-h: 168px; }
body { font-size: 16px; padding-bottom: calc(var(--composer-h) + 24px); }
.top .right .lock { margin-right: 6px; }

/* hero */
.hero { min-height: calc(100svh - 64px - var(--composer-h)); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 32px 0 24px; }
.hero h1 { min-height: 1.95em; transition: opacity .22s ease, transform .22s ease; font-size: clamp(40px, 5.6vw, 76px); line-height: .96; letter-spacing: -.035em; margin: 14px 0 18px; font-variation-settings: "wght" var(--w); --w: 300; animation: weigh 1.6s cubic-bezier(.2,.7,.2,1) .2s forwards; }
@keyframes weigh { to { --w: 600; } }
.hero h1 em { font-style: normal; color: rgb(var(--siva)); }
.hero .lede { margin-bottom: 22px; }
.worlds { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.worlds .lbl { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--muted)); width: 100%; margin-bottom: 2px; }
.world { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 8px; border-radius: 12px; border: 1px solid rgb(var(--hair2)); background: rgb(var(--surface)); font-size: 14px; transition: border-color .18s, box-shadow .18s; }
.world .av { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--c); }
.world b { font-weight: 600; } .world span { color: rgb(var(--muted)); }
.world[aria-pressed="true"] { border-color: rgb(var(--ink)); box-shadow: 0 0 0 1px rgb(var(--ink)); }
.territory { position: relative; width: 100%; display: grid; gap: 10px; align-content: start; }
.tcanvas { position: relative; width: 100%; aspect-ratio: 1 / .78; min-height: 300px; }
.territory canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.territory .labels { position: absolute; inset: 0; pointer-events: none; }
.tlab { position: absolute; max-width: 196px; white-space: normal; background: rgb(var(--surface)); border: 1px solid rgb(var(--hair2)); border-radius: 10px; padding: 7px 10px; font-size: 12.5px; line-height: 1.35; box-shadow: var(--shadow); animation: pop .3s ease both; }
.tlab b { display: block; font-weight: 600; font-size: 13px; } .tlab span { color: rgb(var(--muted)); } .tlab u { text-decoration: none; border-bottom: 1px dotted rgb(var(--hair2)); }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.territory .cap { position: static; max-width: none; font-size: 12px; color: rgb(var(--muted)); }
.territory .status { position: absolute; right: 0; bottom: 8px; font-size: 12.5px; color: rgb(var(--ink2)); display: inline-flex; align-items: center; gap: 8px; background: rgb(var(--surface)); border: 1px solid rgb(var(--hair)); border-radius: 999px; padding: 5px 12px 5px 8px; }
.territory .status .sg { width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--siva)); }
.territory .status[data-on="true"] .sg { animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.55); opacity: .5; } }

/* conversation sections */
.turns { display: grid; gap: 0; }
.turnsec { padding: 64px 0; border-top: 1px solid rgb(var(--hair)); scroll-margin-top: 72px; }
.turnsec .ask { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-bottom: 18px; }
.turnsec .ask time { font-size: 12.5px; color: rgb(var(--muted)); font-variant-numeric: tabular-nums; }
.turnsec .ask > span { display: inline-block; max-width: 44ch; padding: 10px 16px; border-radius: 16px 16px 4px 16px; background: rgb(var(--brand-soft)); color: rgb(var(--brand-ink)); font-size: 16.5px; font-weight: 500; }
.turnsec .ans { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; }
.turnsec .ans .dot { width: 14px; height: 14px; margin-top: 8px; border-radius: 50%; border: 1.5px solid rgb(var(--siva) / .45); position: relative; }
.turnsec .ans .dot::after { content: ""; position: absolute; inset: 2.5px; border-radius: 50%; background: rgb(var(--siva)); }
.turnsec .ans .say { font-size: clamp(22px, 2.6vw, 34px); font-weight: 560; letter-spacing: -.02em; line-height: 1.2; max-width: 30ch; margin-bottom: 18px; text-wrap: balance; }
.turnsec .ans .say small { display: block; font-size: 16px; font-weight: 400; letter-spacing: 0; color: rgb(var(--ink2)); margin-top: 8px; max-width: 60ch; line-height: 1.5; }
.card { border: 1px solid rgb(var(--hair)); border-radius: 18px; background: rgb(var(--surface)); box-shadow: var(--shadow); overflow: hidden; }
.card .hd { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgb(var(--hair)); font-size: 12.5px; color: rgb(var(--muted)); }
.card .hd b { color: rgb(var(--ink)); font-weight: 600; font-size: 13.5px; }
.card .hd .pill { margin-left: auto; }
.card .hd canvas.mini { width: 84px; height: 54px; flex: none; margin: -6px 2px -6px -4px; }
.row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid rgb(var(--hair)); font-size: 14.5px; }
.row:last-child { border-bottom: 0; }
.row .av { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--c, rgb(var(--brand))); }
.row b { font-weight: 600; } .row .r { display: block; color: rgb(var(--muted)); font-size: 13px; }
.row .r u { text-decoration: none; border-bottom: 1px dotted rgb(var(--hair2)); }
.pill { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill.ok { background: rgb(var(--brand-soft)); color: rgb(var(--brand-ink)); }
.pill.no { background: rgb(var(--coral-tint)); color: rgb(var(--coral)); }
.pill.s { background: rgb(var(--siva-tint)); color: rgb(var(--gold)); }
.why { padding: 12px 16px; font-size: 14.5px; color: rgb(var(--ink2)); background: rgb(var(--raised)); border-top: 1px solid rgb(var(--hair)); }
.why b { color: rgb(var(--ink)); }
.draft { margin: 12px 16px; padding: 14px 16px; border-radius: 12px; background: rgb(var(--raised)); white-space: pre-wrap; font-size: 15px; line-height: 1.55; min-height: 120px; }
.draft.typing::after { content: "▍"; color: rgb(var(--siva)); animation: blink .9s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.decide { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 0 16px 14px; }
.decide .note { font-size: 13px; color: rgb(var(--muted)); width: 100%; }
.reply { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px 16px; }
.reply .q { font-size: 16px; } .reply .m { font-size: 13px; color: rgb(var(--muted)); margin-top: 2px; }
.ans p.plain { padding: 16px; font-size: 16px; line-height: 1.55; color: rgb(var(--ink2)); }
.ans p.plain b { color: rgb(var(--ink)); }
.src { display: inline-flex; gap: 6px; padding: 10px 16px; font-size: 12.5px; color: rgb(var(--muted)); border-top: 1px solid rgb(var(--hair)); }
.ledger .lr { display: grid; grid-template-columns: 110px minmax(0, 1fr) 44px 44px; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid rgb(var(--hair)); font-size: 14.5px; }
.ledger .lr:last-child { border-bottom: 0; }
.ledger .lr .bar { height: 6px; border-radius: 3px; background: rgb(var(--sunken)); overflow: hidden; }
.ledger .lr .bar i { display: block; height: 100%; width: 0; background: var(--c); transition: width 1s cubic-bezier(.2,.7,.2,1) .2s; }
.in .ledger .lr .bar i { width: var(--w); }
.ledger .lr .n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.ledger .lr .why2 { grid-column: 1 / -1; font-size: 13px; color: rgb(var(--muted)); }
.ledger .hd2 { display: grid; grid-template-columns: 110px minmax(0, 1fr) 44px 44px; gap: 12px; padding: 10px 16px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--muted)); border-bottom: 1px solid rgb(var(--hair)); }
.ledger .hd2 .n { text-align: right; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.modelcard { padding: 20px 22px; display: grid; gap: 14px; }
.modelcard .ver { font-size: 40px; font-weight: 560; letter-spacing: -.03em; line-height: 1; font-variation-settings: "wght" 560; }
.modelcard .ver small { font-size: 14px; letter-spacing: 0; color: rgb(var(--muted)); font-weight: 500; margin-left: 8px; }
.modelcard dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 14px; margin: 0; font-size: 14.5px; }
.modelcard dt { color: rgb(var(--muted)); } .modelcard dd { margin: 0; }
.rules { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: r; }
.rules div { padding: 18px 16px; border-right: 1px solid rgb(var(--hair)); }
.rules div:last-child { border-right: 0; }
.rules b { display: block; font-size: 15px; margin-bottom: 6px; }
.rules b::before { counter-increment: r; content: counter(r, decimal-leading-zero); display: block; color: rgb(var(--siva)); font-size: 12px; letter-spacing: .1em; margin-bottom: 8px; }
.rules p { font-size: 13.5px; color: rgb(var(--ink2)); }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.versus > div { padding: 18px 20px; }
.versus > div:first-child { border-right: 1px solid rgb(var(--hair)); }
.versus .k { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: rgb(var(--muted)); margin-bottom: 10px; }
.versus .k.s { color: rgb(var(--siva)); }
.versus p { font-size: 15px; line-height: 1.55; color: rgb(var(--ink2)); }
.versus p b { color: rgb(var(--ink)); }
.versus ul { margin: 10px 0 0; padding-left: 18px; font-size: 14.5px; color: rgb(var(--ink2)); display: grid; gap: 4px; }

/* arrival */
.turnsec .ans > div { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; }
.turnsec.in .ans > div { opacity: 1; transform: none; }
@supports (animation-timeline: view()) {
  .turnsec .ans > div { animation: arrive linear both; animation-timeline: view(); animation-range: entry 0% entry 28%; transition: none; opacity: 1; transform: none; }
  @keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* cta */
.cta { padding: 88px 0 56px; text-align: center; }
.cta h2 { font-size: clamp(32px, 5vw, 60px); font-weight: 560; letter-spacing: -.035em; margin-bottom: 12px; }
.cta p { color: rgb(var(--ink2)); margin-bottom: 24px; }
.cta .acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* composer, product-identical, bottom of every page */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgb(var(--bg)) 70%, rgb(var(--bg) / 0)); pointer-events: none; }
.dock .in { width: min(880px, 100%); margin-inline: auto; pointer-events: auto; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 10px; }
.chip { height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid rgb(var(--hair2)); background: rgb(var(--surface)); font-size: 13.5px; color: rgb(var(--ink)); transition: border-color .18s, background .18s; }
.chip:hover, .chip[aria-pressed="true"] { border-color: rgb(var(--siva)); background: rgb(var(--siva-tint)); }
.composer { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border: 1px solid rgb(var(--hair2)); border-radius: 16px; background: rgb(var(--surface)); box-shadow: var(--shadow); }
.composer .siva-lock { flex: none; }
.composer textarea { flex: 1; min-width: 0; resize: none; border: 0; outline: 0; background: transparent; font-size: 15.5px; line-height: 1.4; padding: 8px 0; max-height: 96px; }
.composer .go { width: 36px; height: 36px; border-radius: 10px; border: 0; background: rgb(var(--brand)); color: #fff; font-size: 18px; line-height: 1; display: grid; place-items: center; }
.composer .go:disabled { opacity: .45; }
.dockfoot { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: rgb(var(--muted)); padding: 6px 4px 0; }
.dockfoot kbd { font: inherit; border: 1px solid rgb(var(--hair2)); border-radius: 5px; padding: 0 5px; }
/* working loader, product style: named steps, found so far, cancel */
.working { display: none; align-items: center; gap: 12px; padding: 10px 14px; margin-bottom: 8px; border: 1px solid rgb(var(--hair)); border-radius: 14px; background: rgb(var(--surface)); box-shadow: var(--shadow); font-size: 13.5px; }
.working[data-on="true"] { display: flex; }
.working .sg { width: 12px; height: 12px; border-radius: 50%; background: rgb(var(--siva)); animation: pulse 1.1s ease-in-out infinite; flex: none; }
.working .step { font-weight: 600; } .working .cnt { color: rgb(var(--muted)); margin-left: auto; white-space: nowrap; }
.working .bar { position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: rgb(var(--siva)); transform-origin: left; transform: scaleX(0); transition: transform .5s linear; }
.working { position: relative; overflow: hidden; }
.working button { background: transparent; border: 0; color: rgb(var(--ink2)); font-size: 13px; padding: 0; }

/* siva page */
.mhero { padding: 56px 0 24px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.mhero .vlock { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--siva)); }
.mhero h1 { font-size: clamp(56px, 10vw, 148px); line-height: .9; letter-spacing: -.045em; margin: 10px 0 8px; font-variation-settings: "wght" var(--w); --w: 300; animation: weigh 1.6s cubic-bezier(.2,.7,.2,1) .2s forwards; }
.mhero h1 small { display: block; font-size: clamp(18px, 2.2vw, 26px); letter-spacing: -.01em; font-weight: 500; font-variation-settings: "wght" 500; color: rgb(var(--ink2)); margin-top: 14px; }
.mhero .lede { margin-top: 18px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgb(var(--hair)); border: 1px solid rgb(var(--hair)); border-radius: 16px; overflow: hidden; }
.kv div { background: rgb(var(--surface)); padding: 16px 18px; }
.kv .k { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: rgb(var(--muted)); }
.kv b { display: block; margin-top: 6px; font-size: 16px; font-weight: 600; }
.sheet .srow { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; padding: 16px 20px; border-bottom: 1px solid rgb(var(--hair)); font-size: 15px; }
.sheet .srow:last-child { border-bottom: 0; }
.sheet .srow .k { font-weight: 600; } .sheet .srow .v { color: rgb(var(--ink2)); }
.sheet .srow ul { margin: 0; padding-left: 18px; display: grid; gap: 5px; }
.evals .er { display: grid; grid-template-columns: 1.1fr 2fr 1fr 1.1fr; gap: 14px; padding: 14px 20px; border-bottom: 1px solid rgb(var(--hair)); align-items: center; font-size: 15px; }
.evals .er:last-child { border-bottom: 0; }
.evals .er .d { color: rgb(var(--ink2)); font-size: 14px; }
.evals .er .run { display: grid; gap: 5px; font-size: 12.5px; color: rgb(var(--muted)); }
.evals .er .run i { display: block; height: 4px; border-radius: 2px; background: rgb(var(--sunken)); overflow: hidden; }
.evals .er .run i::after { content: ""; display: block; height: 100%; width: var(--p); background: rgb(var(--siva)); }
.evals .er .rule { font-weight: 600; color: rgb(var(--siva)); font-size: 14px; }
.evals .hd3 { display: grid; grid-template-columns: 1.1fr 2fr 1fr 1.1fr; gap: 14px; padding: 10px 20px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--muted)); border-bottom: 1px solid rgb(var(--hair)); }
.rels .rr { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 18px 20px; border-bottom: 1px solid rgb(var(--hair)); }
.rels .rr:last-child { border-bottom: 0; }
.rels .v { font-weight: 600; } .rels .v small { display: block; font-weight: 500; font-size: 13px; color: rgb(var(--muted)); margin-top: 3px; }
.rels ul { margin: 0; padding-left: 18px; color: rgb(var(--ink2)); display: grid; gap: 5px; font-size: 15px; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 24px; }
  .tcanvas { min-height: 280px; aspect-ratio: 1 / .85; }
  .rules { grid-template-columns: 1fr 1fr; } .rules div { border-right: 0; border-bottom: 1px solid rgb(var(--hair)); }
  .two, .versus, .mhero, .kv { grid-template-columns: 1fr; }
  .versus > div:first-child { border-right: 0; border-bottom: 1px solid rgb(var(--hair)); }
  .sheet .srow, .rels .rr { grid-template-columns: 1fr; gap: 6px; }
  .evals .hd3 { display: none; } .evals .er { grid-template-columns: 1fr; gap: 6px; }
  .turnsec { padding: 44px 0; }
  .turnsec .ans { grid-template-columns: 1fr; } .turnsec .ans .dot { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .chip { flex: none; }
  .composer .siva-lock small { display: none; }
  .dockfoot kbd { display: none; }
  .tlab { font-size: 11.5px; padding: 5px 8px; }
  .tlab span { display: none; }
}

/* acronym unfold: the four words grow out of the four letters */
.unfold { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .02em; color: rgb(var(--ink2)); margin-bottom: 4px; }
.unfold .sg { width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--siva)); }
.unfold .ex { display: inline-flex; align-items: baseline; }
.unfold .ex b { color: rgb(var(--ink)); font-weight: 700; letter-spacing: .12em; font-size: 13.5px; }
.unfold .ex i { font-style: normal; display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; vertical-align: bottom; animation: grow .55s cubic-bezier(.2,.7,.2,1) forwards; }
.unfold .ex:nth-child(2) i { animation-delay: .5s; } .unfold .ex:nth-child(3) i { animation-delay: .7s; } .unfold .ex:nth-child(4) i { animation-delay: .9s; } .unfold .ex:nth-child(5) i { animation-delay: 1.1s; }
@keyframes grow { to { max-width: 12ch; } }
@media (prefers-reduced-motion: reduce) { .unfold .ex i { max-width: 12ch; animation: none; } }
.decide .ym { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--siva)); margin-right: 4px; }
/* acrostic hero on the SIVA page */
.acro { display: grid; gap: 0; font-size: clamp(40px, 6.4vw, 92px); line-height: .98; letter-spacing: -.035em; font-variation-settings: "wght" var(--w); --w: 300; animation: weigh 1.6s cubic-bezier(.2,.7,.2,1) .2s forwards; margin: 12px 0 10px; }
.acro span { display: block; }
.acro b { color: rgb(var(--siva)); font-weight: inherit; }
.rel-name { display: inline-flex; align-items: baseline; gap: 10px; }
.rel-name .gen { font-weight: 600; } .rel-name .nm { color: rgb(var(--siva)); font-weight: 600; } .rel-name .dt { color: rgb(var(--muted)); font-size: 13px; }
.naming { padding: 14px 20px; font-size: 14px; color: rgb(var(--ink2)); background: rgb(var(--raised)); border-top: 1px solid rgb(var(--hair)); }
@media (max-width: 960px) { .unfold { flex-wrap: wrap; } }

.hero h1.x { opacity: 0; transform: translateY(6px); }
.tfocus { position: absolute; max-width: 240px; transition: left .5s cubic-bezier(.2,.7,.2,1), top .5s cubic-bezier(.2,.7,.2,1); background: rgb(var(--surface)); border: 1px solid rgb(var(--siva)); border-radius: 12px; padding: 9px 12px; font-size: 13px; line-height: 1.4; box-shadow: var(--shadow); animation: pop .3s ease both; }
.tfocus b { display: block; font-weight: 600; font-size: 13.5px; }
.tfocus span { display: block; color: rgb(var(--muted)); }
.tfocus .ok { color: rgb(var(--brand-ink)); font-weight: 600; }
.tfocus .s { color: rgb(var(--gold)); font-weight: 600; }
@media (max-width: 960px) { .tfocus { max-width: 200px; font-size: 12px; } }

.hero h1 .o { display: block; white-space: nowrap; }
.hero h1 em { display: block; }
@media (max-width: 960px) { .hero h1 .o { white-space: normal; } .hero h1 { min-height: 0; } }
.labels.focusing .tlab { opacity: 0; }

.strip { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; counter-reset: s; }
.strip li { flex: 1; font-size: 12px; color: rgb(var(--muted)); padding: 8px 0 0; border-top: 1.5px solid rgb(var(--hair2)); margin-right: 8px; transition: color .25s, border-color .25s; }
.strip li:last-child { margin-right: 0; }
.strip li::before { content: attr(data-n) "  "; font-variant-numeric: tabular-nums; }
.strip li[aria-current="true"] { color: rgb(var(--ink)); border-top-color: rgb(var(--siva)); font-weight: 600; }
@media (max-width: 960px) { .strip { flex-wrap: wrap; gap: 6px 0; } .strip li { flex: 1 1 45%; } }

.hero .lede b { font-weight: 600; color: rgb(var(--ink)); }

.wsel { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.wsel .cap { position: static; margin-right: 4px; }
.wsel .world { height: 28px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; gap: 0; }
.wsel .world[aria-pressed="true"] { border-color: rgb(var(--siva)); box-shadow: none; background: rgb(var(--siva-tint)); }
.strip li { font-size: 11.5px; white-space: nowrap; }
.hero { gap: 48px; }
.hero .lede { margin-bottom: 26px; }

.territory .status { display: none; }
.hero h1 .o { white-space: normal; }
.hero h1 { min-height: 0; }

.tcanvas { transition: transform .35s ease; transform-style: preserve-3d; will-change: transform; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) main { background: linear-gradient(180deg, rgb(var(--band)) 0, rgb(var(--bg)) 760px); } }
:root[data-theme="light"] main { background: linear-gradient(180deg, rgb(var(--band)) 0, rgb(var(--bg)) 760px); }

.sectors { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip.sec { height: 32px; font-size: 13px; }
.chip.sec .live { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--gold)); margin-left: 6px; }
.usecase .urow { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 16px; border-bottom: 1px solid rgb(var(--hair)); font-size: 15px; color: rgb(var(--ink2)); }
.usecase .urow:last-child { border-bottom: 0; }
.uk { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--siva)); padding-top: 3px; }
.regions { margin-top: 14px; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px 16px; font-size: 13.5px; color: rgb(var(--ink2)); }
.regions .rg { display: block; }
.regions .rg b { color: rgb(var(--ink)); font-weight: 600; }
.regions .rg + .rg { grid-column: 2; }
@media (max-width: 960px) { .usecase .urow, .regions { grid-template-columns: 1fr; gap: 4px; } .regions .rg + .rg { grid-column: 1; } }
/* phone pass, 16 Oct */
@media (max-width: 960px) {
  .tcanvas { aspect-ratio: 1 / .62; min-height: 220px; }
  .strip li { display: none; }
  .strip li[aria-current="true"] { display: block; flex: none; width: 100%; border-top: 0; padding-top: 0; }
  .strip { border-top: 1.5px solid rgb(var(--siva)); padding-top: 8px; }
  .sectors { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; padding-bottom: 4px; }
  .sectors .chip { flex: none; }
  .hero .acts { margin-bottom: 8px; }
  .tfocus { max-width: 180px; }
}

/* hero stage: drawing as backdrop, the product card in front */
.stage { position: relative; width: 100%; display: grid; }
.stage .tcanvas { aspect-ratio: 1 / .72; min-height: 300px; margin-bottom: -40px; opacity: .92; }
.stage .cap { font-size: 12px; color: rgb(var(--muted)); margin-top: 10px; }
.mcard { position: relative; z-index: 2; width: min(460px, 100%); border: 1px solid rgb(var(--hair2)); border-radius: 18px; background: rgb(var(--surface)); box-shadow: var(--shadow); overflow: hidden; }
.mcard .mhd { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 14px; border-bottom: 1px solid rgb(var(--hair)); font-size: 12.5px; color: rgb(var(--muted)); }
.mcard .mhd .siva-lock { font-size: 11.5px; }
.mcard .mhd .mt { font-variant-numeric: tabular-nums; }
.wsel2 { margin-left: auto; }
.wsel2 select, .isell select { font: inherit; font-size: 12.5px; color: rgb(var(--ink)); background: rgb(var(--raised)); border: 1px solid rgb(var(--hair2)); border-radius: 8px; padding: 4px 8px; max-width: 180px; }
.mbody { transition: opacity .18s ease, transform .18s ease; min-height: 196px; }
.mbody.x { opacity: 0; transform: translateY(4px); }
.mbody .mttl { display: flex; align-items: center; gap: 8px; padding: 10px 14px 6px; font-size: 13px; font-weight: 600; }
.mbody .mttl .pill { margin-left: auto; }
.mbody .row { padding: 9px 14px; font-size: 13.5px; }
.mbody .row .r { font-size: 12.5px; }
.mbody .row u { text-decoration: none; border-bottom: 1px dotted rgb(var(--hair2)); }
.mbody .row:last-child { border-bottom: 0; }
.mdraft { margin: 4px 14px 8px; padding: 10px 12px; border-radius: 10px; background: rgb(var(--raised)); font-size: 13.5px; line-height: 1.5; }
.mbody .decide { padding: 0 14px 12px; gap: 6px; }
.mbody .decide .btn.sm { height: 32px; font-size: 13px; }
.mbody .reply { padding: 10px 14px 4px; }
.mbody .reply .q { font-size: 14px; }
.mcard .strip { display: flex; gap: 6px; padding: 10px 14px 12px; border-top: 1px solid rgb(var(--hair)); }
.mcard .strip li { font-size: 11px; display: block !important; width: auto; flex: 1; border-top: 2px solid rgb(var(--hair2)); padding-top: 6px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgb(var(--muted)); }
.mcard .strip li[aria-current="true"] { border-top-color: rgb(var(--siva)); color: rgb(var(--ink)); font-weight: 600; }
.mcard .strip li::before { content: ""; }
.isell { font-size: clamp(22px, 2.4vw, 30px); font-weight: 560; letter-spacing: -.02em; margin: 6px 0 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.isell select { font-size: inherit; font-weight: 560; letter-spacing: -.02em; padding: 6px 12px; border-radius: 12px; max-width: 100%; border-color: rgb(var(--siva)); background: rgb(var(--siva-tint)); }
@media (max-width: 960px) {
  .stage .tcanvas { aspect-ratio: 1 / .6; min-height: 200px; margin-bottom: -20px; }
  .mcard { width: 100%; }
  .mcard .strip li { font-size: 10.5px; }
  .mcard .strip li:not([aria-current="true"]) { font-size: 0; }
}

.arc { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgb(var(--hair)); border: 1px solid rgb(var(--hair)); border-radius: 14px; overflow: hidden; margin: 8px auto 24px; }
.arc > div { background: rgb(var(--surface)); padding: 14px 18px; display: grid; gap: 4px; font-size: 15px; color: rgb(var(--ink2)); }
.arc .k { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--muted)); }
.arc .with { background: rgb(var(--siva-tint)); color: rgb(var(--ink)); }
.arc .with .k { color: rgb(var(--siva)); }
@media (max-width: 960px) { .arc { grid-template-columns: 1fr; } }
.stage .labels { display: none; }
.stage .tcanvas { aspect-ratio: 1 / .62; min-height: 260px; margin-bottom: -120px; }
.stage { padding-top: 8px; }
@media (max-width: 960px) { .stage .tcanvas { aspect-ratio: 1 / .55; margin-bottom: -60px; } }

.stage .tcanvas { margin-bottom: -150px; }
.hero { padding-top: 16px; }
.mcard .strip li { font-size: 11.5px; }
@media (max-width: 960px) { .mcard .strip li:not([aria-current="true"]) { font-size: 11px; } }



/* ── SIVA page hero: one composition ── */
.mhero.plate { grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: stretch; padding: 28px 0 20px; min-height: calc(100svh - 64px - var(--composer-h)); }
.mhero.plate > .lead { display: grid; align-content: center; }
.mhero.plate h1.acro { font-size: clamp(40px, 6vw, 84px); line-height: .96; margin: 10px 0 18px; }
.mhero.plate .lede { max-width: 46ch; font-size: 17px; }
.mplate { display: grid; grid-template-rows: minmax(180px, 1fr) auto; border: 1px solid rgb(var(--hair)); border-radius: 22px; background: rgb(var(--surface)); box-shadow: var(--shadow); overflow: hidden; }
.mplate .scene { position: relative; background: linear-gradient(180deg, rgb(var(--raised)) 0%, rgb(var(--surface)) 100%); }
.mplate .scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mplate .scene .tag { position: absolute; left: 16px; top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--siva)); }
.mplate .scene .tag i { width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--siva)); }
.mplate .facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgb(var(--hair)); }
.mplate .facts div { padding: 14px 18px; border-right: 1px solid rgb(var(--hair)); border-bottom: 1px solid rgb(var(--hair)); }
.mplate .facts div:nth-child(2n) { border-right: 0; }
.mplate .facts div:nth-last-child(-n+2) { border-bottom: 0; }
.mplate .facts .k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: rgb(var(--muted)); }
.mplate .facts b { display: block; margin-top: 4px; font-size: 15px; font-weight: 600; line-height: 1.3; }
.mplate .foot { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid rgb(var(--hair)); font-size: 13px; color: rgb(var(--muted)); }
.mplate .foot a { margin-left: auto; }
@media (max-width: 960px) { .mhero.plate { grid-template-columns: 1fr; min-height: 0; } .mplate { grid-template-rows: 200px auto; } .mplate .facts { grid-template-columns: 1fr; } .mplate .facts div { border-right: 0; } }

.mplate .scene .labels { display: none; }
.mplate .scene { min-height: 220px; }

/* ── the SIVA dial ── */
.dialhost { position: relative; background: linear-gradient(180deg, rgb(var(--raised)) 0%, rgb(var(--surface)) 100%); min-height: 300px; }
.dial { position: absolute; inset: 0; width: 100%; height: 100%; }
.dial .ground { fill: rgb(var(--brand) / .06); }
.dial .track { fill: none; stroke: rgb(var(--ink) / .07); }
.dial .fill { fill: none; stroke: rgb(var(--brand) / .55); stroke-dasharray: 1; stroke-dashoffset: 1; }
.dial .fill.cur { stroke: rgb(var(--brand)); }
.dial .needle { stroke: rgb(var(--siva)); stroke-width: 1.5; stroke-linecap: round; opacity: .9; }
.dial .point { fill: rgb(var(--siva)); }
.dial .hub { fill: rgb(var(--brand)); }
.dial .lab text { font-family: inherit; font-size: 13.5px; fill: rgb(var(--muted)); }
.dial .lab .n { font-weight: 700; fill: rgb(var(--siva)); opacity: .5; }
.dial .lab.on text { fill: rgb(var(--ink)); }
.dial .lab.on .n { opacity: 1; }
.dial .lab .k { font-weight: 500; }
.dial .lab.on .k { font-weight: 600; }
.dtitle { position: absolute; left: 16px; top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--siva)); }
.dtitle i { width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--siva)); }
.dsample { position: absolute; left: 16px; top: 44px; max-width: 42%; background: rgb(var(--surface)); border: 1px solid rgb(var(--siva)); border-radius: 12px; padding: 9px 12px; font-size: 12.5px; line-height: 1.4; box-shadow: var(--shadow); opacity: 0; transform: translateY(6px); }
.dsample.in { opacity: 1; transform: none; animation: pop .3s ease; }
.dsample b { display: block; font-weight: 600; font-size: 13px; }
.dsample span { color: rgb(var(--ink2)); display: block; }
@media (max-width: 960px) { .dialhost { min-height: 260px; } .dsample { max-width: 60%; } .dial .lab text { font-size: 14px; } }

/* ── Asks: one line, numbered, keyboard-driven ── */
.chips { display: flex; flex-wrap: nowrap; gap: 6px; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding: 2px 24px 8px; margin: 0 -24px 4px; counter-reset: ask; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); }
.chips::-webkit-scrollbar { display: none; }
.chips::before { content: ""; flex: 1 0 0; }
.chips::after { content: ""; flex: 1 0 0; }
.chips .chip { flex: none; height: 34px; padding: 0 12px 0 6px; display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; border: 1px solid rgb(var(--hair)); background: rgb(var(--surface) / .9); font-size: 13.5px; counter-increment: ask; box-shadow: 0 1px 0 rgb(var(--ink) / .04); }
.chips .chip::before { content: counter(ask); width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; color: rgb(var(--muted)); background: rgb(var(--raised)); border: 1px solid rgb(var(--hair)); transition: color .18s, background .18s, border-color .18s; }
.chips .chip:hover, .chips .chip[aria-pressed="true"] { border-color: rgb(var(--siva)); background: rgb(var(--siva-tint)); }
.chips .chip:hover::before, .chips .chip[aria-pressed="true"]::before { color: rgb(var(--surface)); background: rgb(var(--siva)); border-color: rgb(var(--siva)); }
@media (max-width: 960px) { .chips { padding-inline: 16px; margin-inline: -16px; } .chips::before, .chips::after { display: none; } }

.dock .in { width: min(1000px, 100%); }
.chips .chip { font-size: 13px; padding: 0 11px 0 5px; gap: 7px; }

/* demo form */
.dform .facts div { display: grid; gap: 6px; }
.dform input, .dform select, .dform textarea { font: inherit; font-size: 15px; color: rgb(var(--ink)); background: rgb(var(--raised)); border: 1px solid rgb(var(--hair2)); border-radius: 10px; padding: 9px 12px; width: 100%; }
.dform input:focus, .dform select:focus, .dform textarea:focus { outline: 2px solid rgb(var(--brand)); outline-offset: 1px; }
.dform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dform .consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: rgb(var(--ink2)); }
.dform .consent input { width: auto; margin-top: 3px; }
.dform label.k { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: rgb(var(--muted)); }

.card.facts > div { border-right: 1px solid rgb(var(--hair)); }
.card.facts > div:last-child { border-right: 0; }
@media (max-width: 960px) { .card.facts { grid-template-columns: 1fr !important; } .card.facts > div { border-right: 0; border-bottom: 1px solid rgb(var(--hair)); } }

.top .right .signin { font-size: 14px; color: rgb(var(--ink2)); margin-right: 4px; }
.top .right .signin:hover { color: rgb(var(--ink)); }
@media (max-width: 860px) { .top .right .signin { display: none; } }

/* ── Use cases: the same morning, twelve trades ── */
.tradebar { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 8px; align-items: center; margin: 8px auto 20px; }
.tnav { height: 40px; border-radius: 10px; border: 1px solid rgb(var(--hair2)); background: rgb(var(--surface)); font-size: 16px; }
.trades { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%); }
.trades::-webkit-scrollbar { display: none; }
.trade { flex: none; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgb(var(--hair)); background: rgb(var(--surface)); font-size: 13.5px; color: rgb(var(--ink2)); white-space: nowrap; }
.trade i { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--gold)); margin-left: 6px; }
.trade[aria-selected="true"] { border-color: rgb(var(--siva)); background: rgb(var(--siva-tint)); color: rgb(var(--ink)); font-weight: 600; }
.morning { transition: opacity .16s ease, transform .16s ease; padding-bottom: 20px; }
.morning.x { opacity: 0; transform: translateY(4px); }
.mhead { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 1px; background: rgb(var(--hair)); border: 1px solid rgb(var(--hair)); border-radius: 16px; overflow: hidden; margin-bottom: 28px; }
.mhead > div { background: rgb(var(--surface)); padding: 12px 16px; display: grid; gap: 4px; align-content: start; }
.mhead .k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: rgb(var(--muted)); }
.mhead b { font-size: 15px; font-weight: 600; }
.mhead .pill { justify-self: start; }
.mo { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid rgb(var(--hair)); scroll-margin-top: 80px; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.mo.in { opacity: 1; transform: none; }
.mo .t { font-size: 22px; font-weight: 560; letter-spacing: -.02em; font-variant-numeric: tabular-nums; position: sticky; top: 84px; align-self: start; }
.mo .t small { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--muted)); font-weight: 600; margin-top: 2px; }
.mdraft.big { font-size: 15.5px; line-height: 1.6; margin: 14px 16px 10px; white-space: pre-wrap; }
.cal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgb(var(--hair)); }
.cal .day { background: rgb(var(--surface)); padding: 14px 16px; display: grid; gap: 4px; align-content: start; font-size: 13.5px; color: rgb(var(--ink2)); }
.cal .day .d { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: rgb(var(--siva)); }
.cal .day b { color: rgb(var(--ink)); font-size: 15px; }
.cal .day.stop { background: rgb(var(--siva-tint)); }
@media (max-width: 960px) { .mhead { grid-template-columns: 1fr 1fr; } .mo { grid-template-columns: 1fr; gap: 8px; } .mo .t { position: static; } .cal { grid-template-columns: 1fr; } }

/* day line: the instrument */
.dayline { position: sticky; top: 64px; z-index: 20; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding: 12px 0 10px; margin-bottom: 14px; background: rgb(var(--bg) / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgb(var(--hair)); }
.dayline .track { grid-column: 1 / -1; height: 2px; background: rgb(var(--hair2)); border-radius: 2px; margin: 0 8% 10px; position: relative; overflow: hidden; }
.dayline .track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgb(var(--siva)); transition: width .35s ease; }
.dayline .stop { background: transparent; border: 0; padding: 4px 0; display: grid; justify-items: center; gap: 2px; color: rgb(var(--muted)); font-size: 12px; position: relative; }
.dayline .stop b { font-size: 14px; font-weight: 600; color: rgb(var(--ink2)); font-variant-numeric: tabular-nums; }
.dayline .stop::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--bg)); border: 1.5px solid rgb(var(--hair2)); position: absolute; top: -17px; }
.dayline .stop[aria-current="true"] b { color: rgb(var(--ink)); }
.dayline .stop[aria-current="true"] { color: rgb(var(--siva)); }
.dayline .stop[aria-current="true"]::before { background: rgb(var(--siva)); border-color: rgb(var(--siva)); }
.mo .t { top: 160px; }
.mo { scroll-margin-top: 150px; }
/* animated differences */
#morning .x { opacity: 0; transform: translateY(3px); }
#morning .row, #morning .mhead b, #morning .why, #morning .mdraft, #morning .cal { transition: opacity .14s ease, transform .14s ease; }
body[data-mode="quiet"] .mo#m-write .card { border-color: rgb(var(--hair2)); }
body[data-mode="held"] .mo#m-write .mdraft { opacity: .7; }
@media (max-width: 960px) { .dayline { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dayline .track { display: none; } .dayline .stop::before { display: none; } }

/* dial, extended */
.dial .track.outline { stroke: transparent; stroke-dasharray: 3 5; }
.dial .fill.dim { opacity: .25; }
.dial .fill.next { stroke: rgb(var(--siva) / .55); stroke-dasharray: 3 4; stroke-dashoffset: 0 !important; }
.dial .bar { stroke: rgb(var(--siva)); stroke-width: 2.5; stroke-linecap: round; }
.dial .barl { font-size: 10.5px; fill: rgb(var(--siva)); font-weight: 600; }
.dial.gauge .track { stroke: rgb(var(--ink) / .09); }
.dial.decide .lab text { font-size: 13px; }
/* watch it decide */
.decide-wrap { padding: 0; }
.dctl { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 14px; border-bottom: 1px solid rgb(var(--hair)); }
.dq { display: flex; gap: 6px; flex-wrap: wrap; }
.dq .chip { height: 30px; font-size: 13px; padding: 0 11px; }
.dgrid { display: grid; grid-template-columns: 1fr 1fr; }
.dialhost.small { min-height: 300px; background: linear-gradient(180deg, rgb(var(--raised)) 0%, rgb(var(--surface)) 100%); border-right: 1px solid rgb(var(--hair)); }
.dans { padding: 16px 18px; font-size: 14.5px; line-height: 1.5; color: rgb(var(--ink2)); transition: opacity .16s ease, transform .16s ease; min-height: 300px; }
.dans.x { opacity: 0; transform: translateY(3px); }
.dans > b { display: block; color: rgb(var(--ink)); font-size: 16px; margin-bottom: 8px; }
.dans .row { padding: 8px 0; border-bottom: 1px solid rgb(var(--hair)); }
.dans .row:last-of-type { border-bottom: 0; }
.dans .muted { margin-top: 10px; font-size: 13.5px; }
/* gauges */
.gauges { display: grid; grid-template-columns: 1.1fr 1fr; }
.gleft .dialhost { min-height: 380px; border-right: 1px solid rgb(var(--hair)); }
.gright .srow { grid-template-columns: 150px minmax(0, 1fr); padding: 12px 16px; font-size: 14px; }
.gright .srow .v b { color: rgb(var(--siva)); font-weight: 600; }
/* versions */
.vers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ver { padding: 18px; border-right: 1px solid rgb(var(--hair)); display: grid; gap: 10px; }
.ver:last-child { border-right: 0; }
.vd { width: 150px; height: 150px; }
.vt b { display: block; font-size: 17px; }
.vt small { display: block; color: rgb(var(--muted)); font-size: 13px; margin: 2px 0 8px; }
.vt p { font-size: 14px; color: rgb(var(--ink2)); }
/* system card rail */
.cardwrap { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: start; }
.crail { position: sticky; top: 84px; display: grid; gap: 2px; }
.crail a { font-size: 13.5px; color: rgb(var(--muted)); padding: 6px 10px; border-left: 2px solid rgb(var(--hair)); }
.crail a:hover { text-decoration: none; color: rgb(var(--ink)); }
.crail a[aria-current="true"] { color: rgb(var(--ink)); border-left-color: rgb(var(--siva)); font-weight: 600; }
@media (max-width: 960px) { .dgrid, .gauges, .vers, .cardwrap { grid-template-columns: 1fr; } .dialhost.small, .gleft .dialhost { border-right: 0; border-bottom: 1px solid rgb(var(--hair)); } .ver { border-right: 0; border-bottom: 1px solid rgb(var(--hair)); } .crail { position: static; display: flex; flex-wrap: wrap; } .crail a { border-left: 0; border-bottom: 2px solid rgb(var(--hair)); } }

.vd { position: relative; overflow: hidden; }
.vd .dial { position: absolute; inset: 0; }

/* ethics: commitment · what you see · how to check */
.ethx .ehd, .ethx .erow { display: grid; grid-template-columns: 1.1fr 1.4fr 1.4fr; gap: 18px; padding: 14px 20px; border-bottom: 1px solid rgb(var(--hair)); }
.ethx .ehd { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: rgb(var(--muted)); }
.ethx .erow { font-size: 14.5px; color: rgb(var(--ink2)); }
.ethx .erow b { color: rgb(var(--ink)); font-weight: 600; }
.ethx .erow:last-child { border-bottom: 0; }
.ethx .erow span:last-child { color: rgb(var(--ink)); }
.ethx .erow span:last-child::before { content: "Check: "; color: rgb(var(--siva)); font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 2px; }
@media (max-width: 960px) { .ethx .ehd { display: none; } .ethx .erow { grid-template-columns: 1fr; gap: 6px; } }

/* dial flipped to the mark's orientation: labels on the left, sample and title placed clear of them */
.dtitle { left: auto; right: 16px; top: 14px; }
.dsample { left: 16px; top: auto; bottom: 14px; max-width: 34%; }
.dial .lab text { font-size: 13px; }

/* hero dial: list and sample in a left column, disc on the right */
.dial.herodial { left: auto; right: 0; width: 62%; }
.dcol { position: absolute; left: 16px; top: 44px; bottom: 14px; width: 36%; display: grid; grid-template-rows: auto 1fr; gap: 10px; align-content: start; }
.dlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.dlist li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgb(var(--muted)); }
.dlist li i { font-style: normal; width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; color: rgb(var(--siva)); background: rgb(var(--siva) / .12); }
.dlist li.on { color: rgb(var(--ink)); }
.dlist li.cur { font-weight: 600; }
.dlist li.cur i { color: rgb(var(--surface)); background: rgb(var(--siva)); }
.dcol .dsample { position: static; max-width: none; align-self: end; }
.dtitle { left: 16px; right: auto; top: 14px; }
@media (max-width: 960px) { .dial.herodial { width: 100%; } .dcol { display: none; } }

.mhero.plate { align-items: start; }
.mplate .scene { min-height: 340px; }
.dcol { overflow: hidden; }
.dcol .dsample { font-size: 12px; padding: 8px 10px; }

/* the week line */
.weekline { position: sticky; top: 64px; z-index: 20; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) auto; gap: 0 8px; align-items: end; padding: 12px 0 10px; margin: 8px auto 6px; background: rgb(var(--bg) / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgb(var(--hair)); }
.weekline .track { grid-column: 1 / 7; height: 2px; background: rgb(var(--hair2)); border-radius: 2px; margin: 0 8% 10px; position: relative; overflow: hidden; }
.weekline .track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgb(var(--siva)); transition: width .35s ease; }
.weekline .stop { background: transparent; border: 0; padding: 4px 0; display: grid; justify-items: center; gap: 2px; color: rgb(var(--muted)); font-size: 12px; position: relative; }
.weekline .stop b { font-size: 14px; font-weight: 600; color: rgb(var(--ink2)); }
.weekline .stop::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--bg)); border: 1.5px solid rgb(var(--hair2)); position: absolute; top: -17px; }
.weekline .stop[aria-current="true"] { color: rgb(var(--siva)); }
.weekline .stop[aria-current="true"] b { color: rgb(var(--ink)); }
.weekline .stop[aria-current="true"]::before { background: rgb(var(--siva)); border-color: rgb(var(--siva)); }
.weekline .wk { grid-column: 7; grid-row: 1 / 3; align-self: center; }
.turnsec { scroll-margin-top: 150px; }
/* the leader's week */
.wk .wkh, .wk .wkr { display: grid; grid-template-columns: 90px repeat(5, 44px) minmax(0, 1fr); gap: 8px; align-items: center; padding: 10px 16px; border-bottom: 1px solid rgb(var(--hair)); font-size: 14px; }
.wk .wkh { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--muted)); }
.wk .wkh span:nth-child(n+2):nth-child(-n+6) { text-align: center; }
.wk .wkr:last-of-type { border-bottom: 0; }
.wk .cell { display: flex; gap: 3px; justify-content: center; min-height: 14px; }
.wk i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.wk i.s { background: rgb(var(--siva)); }
.wk i.r { border: 2px solid rgb(var(--brand)); box-sizing: border-box; }
.wk i.m { background: rgb(var(--brand)); border-radius: 2px; }
.wk .why2 { font-size: 13px; color: rgb(var(--muted)); }
.wk .wkl { display: flex; gap: 14px; align-items: center; padding: 10px 16px; font-size: 12px; color: rgb(var(--muted)); background: rgb(var(--raised)); }
.wk .wkl i { margin-right: 4px; vertical-align: -1px; }
@media (max-width: 960px) { .weekline { grid-template-columns: repeat(3, minmax(0, 1fr)); } .weekline .track, .weekline .stop::before { display: none; } .weekline .wk { grid-column: 1 / -1; grid-row: auto; } .wk .wkh, .wk .wkr { grid-template-columns: 70px repeat(5, 28px); } .wk .why2 { grid-column: 1 / -1; } .wk .wkh span:last-child { display: none; } }

/* replay instrument */
.replay .rline { padding: 12px 16px 4px; }
.replay input[type=range] { width: 100%; accent-color: rgb(var(--siva)); }
.replay .rticks { display: flex; justify-content: space-between; font-size: 11px; color: rgb(var(--muted)); font-variant-numeric: tabular-nums; padding: 2px 2px 6px; }
.replay .rev { color: rgb(var(--muted)); transition: color .25s ease; }
.replay .rev.on { color: inherit; }
.replay .rev .av { font-size: 10px; letter-spacing: 0; }
/* dials placed in sheets */
.small-gauge { min-height: 300px; border: 1px solid rgb(var(--hair)); border-radius: 16px; background: linear-gradient(180deg, rgb(var(--raised)), rgb(var(--surface))); margin-bottom: 16px; }
.small-gauge .dtitle { font-size: 11px; }
.marks { display: flex; gap: 10px; }
.swatch { width: 96px; height: 96px; border-radius: 14px; display: grid; place-items: center; border: 1px solid rgb(var(--hair)); }
.swatch svg { width: 56px; height: 56px; }
.swatch.light { background: #FAFAF8; }
.swatch.dark { background: #171614; }
#bterr { position: relative; overflow: hidden; }
#bterr canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.demoterr { position: relative; height: 260px; min-height: 0; aspect-ratio: auto; border: 1px solid rgb(var(--hair)); border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, rgb(var(--raised)), rgb(var(--surface))); margin-top: 18px; }
.demoterr canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.demoterr .labels { position: absolute; inset: 0; pointer-events: none; }
.demoterr .tlab { font-size: 11.5px; padding: 5px 8px; }
.demoterr .tlab span { display: none; }
.demoterr .dtitle { font-size: 11px; }

/* sign in: one quiet pill with the SIVA dot; theme switch last */
.top .right { gap: 8px; }
.top .right .signin { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 10px; border-radius: 10px; border: 1px solid rgb(var(--hair2)); color: rgb(var(--ink)); font-size: 14px; margin: 0; }
.top .right .signin .sg { width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--siva)); }
.top .right .signin:hover { border-color: rgb(var(--siva)); background: rgb(var(--siva-tint)); text-decoration: none; }
.top .right .theme { margin-left: 4px; }
@media (max-width: 860px) { .top .right .signin { display: inline-flex; padding: 0 10px; } .top .right .signin span:last-child { display: none; } }

/* the morning card holds one height across all steps; nothing slides under the dock */
.mbody { min-height: 232px; max-height: 232px; overflow: hidden; display: grid; align-content: start; }
.mbody .mdraft { font-size: 12.5px; line-height: 1.45; margin: 2px 14px 6px; padding: 8px 10px; }
.mbody .mttl { padding: 8px 14px 4px; font-size: 12.5px; }
.mbody .row { padding: 7px 14px; font-size: 13px; }
.mbody .row .r { font-size: 12px; }
.mbody .decide { padding: 0 14px 8px; }
.mbody .decide .btn.sm { height: 28px; font-size: 12.5px; padding: 0 10px; }
.mbody .reply { padding: 8px 14px 2px; }
.mbody .reply .q { font-size: 13px; }
.stage .tcanvas { aspect-ratio: 1 / .56; min-height: 220px; margin-bottom: -130px; }
.hero { min-height: 0; padding-bottom: 8px; }
.stage .cap { margin-top: 8px; }

/* every territory canvas is bounded by its frame; never lets the canvas size the layout */
.tcanvas { overflow: hidden; }
.tcanvas > canvas, .tcanvas > .labels { position: absolute; inset: 0; width: 100%; height: 100%; }
