:root, [data-theme="dark"] {
  --bg: #08080a;
  --bg-2: #0e0e11;
  --glass: rgba(255,255,255,.045);
  --glass-2: rgba(255,255,255,.07);
  --glass-line: rgba(255,255,255,.09);
  --glass-hi: rgba(255,255,255,.14);
  --ink: #ededf0;
  --ink-2: #a1a1aa;
  --ink-3: #71717a;
  --a1: #8b7bff;
  --a2: #22d3ee;
  --lime: #c6f432;
  --spot: rgba(139,123,255,.16);
  --aurora-1: rgba(124,92,255,.45);
  --aurora-2: rgba(34,211,238,.30);
  --aurora-3: rgba(198,244,50,.12);
  --grain: .07;
  --shadow: 0 30px 80px -30px rgba(0,0,0,.8);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f7f7f5;
  --bg-2: #efefec;
  --glass: rgba(255,255,255,.6);
  --glass-2: rgba(255,255,255,.85);
  --glass-line: rgba(10,10,20,.08);
  --glass-hi: rgba(255,255,255,.9);
  --ink: #0b0b0f;
  --ink-2: #52525b;
  --ink-3: #71717a;
  --a1: #6d4dff;
  --a2: #0891b2;
  --lime: #4d7c0f;
  --spot: rgba(109,77,255,.10);
  --aurora-1: rgba(124,92,255,.22);
  --aurora-2: rgba(34,211,238,.20);
  --aurora-3: rgba(198,244,50,.18);
  --grain: .05;
  --shadow: 0 30px 70px -34px rgba(20,20,40,.35);
  color-scheme: light;
}
:root {
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ios: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Geist", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 22px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); letter-spacing: -.011em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: var(--grain); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
button { font: inherit; color: inherit; }
kbd { font: 500 12px var(--mono); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--glass-line); background: var(--glass); }
:focus-visible { outline: 2px solid var(--a2); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; z-index: 200; text-decoration: none; }
.skip:focus { top: 12px; }
.grad-text { background: linear-gradient(100deg, var(--a1), var(--a2) 55%, var(--a1)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 8s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.mono { font-family: var(--mono); }
.label { font: 500 12px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Glass + spotlight ---------- */
.glass { background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); box-shadow: inset 0 1px 0 var(--glass-hi); }
.spot { position: relative; isolation: isolate; overflow: hidden; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), var(--spot), transparent 60%); }
.spot:hover::before { opacity: 1; }

/* ---------- Floating nav ---------- */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; width: max-content; max-width: calc(100% - 24px); }
.nav .mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--sans); color: #fff; background: linear-gradient(135deg, var(--a1), var(--a2)); text-decoration: none; margin-right: 6px; flex: none; }
.nav a.link { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); text-decoration: none; transition: color .2s, background .2s; }
.nav a.link:hover, .nav a.link[aria-current="true"] { color: var(--ink); background: var(--glass-2); }
.nav .k { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 8px 0 12px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); cursor: pointer; font-size: 13px; color: var(--ink-2); margin-left: 6px; }
.nav .k:hover { color: var(--ink); }
.nav .k kbd { font-size: 11px; }
.nav .icon { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); flex: none; }
.nav .icon:hover { color: var(--ink); background: var(--glass-2); }
.nav .icon svg { width: 17px; height: 17px; }
[data-theme="dark"] .sun, [data-theme="light"] .moon { display: none; }
@media (max-width: 760px) { .nav a.link, .nav .k kbd, .k .k-long { display: none; } .nav .k { padding: 0 14px; } }
@media (min-width: 761px) { .k .k-short { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font: 500 15px var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 0 0 0 0 var(--a1); }
.btn-primary:hover { box-shadow: 0 10px 40px -10px var(--a1); transform: translateY(-1px); }
.btn-glass { color: var(--ink); }
.btn-glass:hover { background: var(--glass-2); }

/* ---------- Scroll-driven reveals (progressive enhancement) ---------- */
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
}
@keyframes rise { from { opacity: 0; transform: translateY(48px) scale(.98); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .grad-text, .aurora i, .typing::after, .caret { animation: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 148px 0 72px; }
.aurora { position: absolute; inset: -10% 0 auto; height: 900px; z-index: -1; overflow: hidden; pointer-events: none; -webkit-mask: linear-gradient(#000 40%, transparent); mask: linear-gradient(#000 40%, transparent); }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 640px; height: 520px; left: -8%; top: 4%; background: var(--aurora-1); }
.aurora i:nth-child(2) { width: 560px; height: 480px; right: -6%; top: 0; background: var(--aurora-2); animation-duration: 28s; }
.aurora i:nth-child(3) { width: 420px; height: 360px; left: 38%; top: 30%; background: var(--aurora-3); animation-duration: 34s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }
.hero-grid-lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--glass-line) 1px, transparent 1px), linear-gradient(90deg, var(--glass-line) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%); mask: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; font: 500 13px var(--mono); color: var(--ink-2); }
.pill .live { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.hero h1 { font-size: clamp(48px, 8.6vw, 116px); line-height: .96; letter-spacing: -.05em; font-weight: 600; margin: 26px 0 26px; max-width: 13ch; }
.hero .lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 36em; line-height: 1.5; }
.hero .lede b { color: var(--ink); font-weight: 500; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); gap: 14px; margin-top: 64px; }
.bento > * { border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; text-decoration: none; transition: transform .35s var(--ease), border-color .3s; }
.bento > a:hover { transform: translateY(-3px); border-color: var(--glass-hi); }
.b-bw { grid-column: span 2; grid-row: span 2; }
.b-jv { grid-column: span 2; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .b-bw, .b-jv { grid-column: span 2; } }
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; } .bento > * { grid-column: auto !important; grid-row: auto !important; } }
.b-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.b-title { font-size: 28px; letter-spacing: -.03em; margin-top: 12px; }
.b-sub { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.arrow-chip { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--glass-line); transition: transform .3s var(--ease), background .3s; flex: none; }
a:hover .arrow-chip { transform: rotate(-45deg); background: var(--ink); color: var(--bg); }
.mini-ring { --p: 76; margin: auto auto 0; width: 190px; height: 190px; border-radius: 50%; position: relative; display: grid; place-items: center;
  background: conic-gradient(from -90deg, #34d399 0 calc(var(--p) * 1%), var(--glass-2) 0); -webkit-mask: radial-gradient(circle, transparent 72px, #000 73px); mask: radial-gradient(circle, transparent 72px, #000 73px); }
.ring-wrap { position: relative; margin: 26px auto 4px; width: 190px; }
.ring-wrap .mini-ring { margin: 0; }
.ring-wrap .val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-wrap .val strong { font-size: 46px; letter-spacing: -.04em; line-height: 1; }
.ring-wrap .val span { font: 500 11px var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }
.typing-row { margin-top: auto; padding-top: 18px; display: grid; gap: 8px; }
.tbubble { justify-self: end; max-width: 92%; background: #0a84ff; color: #fff; padding: 9px 14px; border-radius: 18px 18px 5px 18px; font: 400 15px/1.3 var(--ios); }
.typing::after { content: "▍"; margin-left: 1px; animation: blink 1s steps(1) infinite; opacity: .8; }
@keyframes blink { 50% { opacity: 0; } }
.tfiled { justify-self: end; font: 500 12px var(--mono); color: var(--lime); min-height: 1.3em; }
.b-stat strong { font-size: 28px; letter-spacing: -.035em; line-height: 1.05; margin-top: auto; }
.b-stat span { color: var(--ink-2); font-size: 14px; margin-top: 8px; }

/* ---------- Sections ---------- */
section.block { padding: clamp(96px, 12vw, 160px) 0; position: relative; }
.sec-head { display: grid; gap: 18px; margin-bottom: 56px; max-width: 860px; }
.sec-head h2 { font-size: clamp(40px, 6.4vw, 84px); line-height: .98; letter-spacing: -.05em; }
.sec-head p { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 38em; }
.index-num { font: 500 13px var(--mono); color: var(--ink-3); display: flex; align-items: center; gap: 12px; }
.index-num::after { content: ""; height: 1px; width: 64px; background: var(--glass-line); }

.case { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.case.flip { grid-template-columns: 420px minmax(0, 1fr); }
@media (max-width: 900px) { .case, .case.flip { grid-template-columns: 1fr; } .case .stage { order: -1; justify-self: center; } }
.stage { position: sticky; top: 96px; display: grid; justify-items: center; gap: 16px; }
@media (max-width: 900px) { .stage { position: static; } }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.facts span { font: 500 12px var(--mono); padding: 6px 10px; border-radius: 999px; color: var(--ink-2); }
.facts a { color: var(--a2); text-decoration: none; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }
.stats > div { border-radius: 18px; padding: 18px; }
.stats strong { display: block; font-size: clamp(22px, 2.3vw, 28px); overflow-wrap: anywhere; letter-spacing: -.04em; line-height: 1.05; }
.stats span { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.4; }
.decisions { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: d; }
.decisions li { counter-increment: d; border-radius: 18px; padding: 20px 20px 20px 64px; position: relative; }
.decisions li::after { content: "0" counter(d); position: absolute; left: 20px; top: 21px; font: 500 13px var(--mono); color: var(--a2); }
.decisions h3 { font-size: 18px; letter-spacing: -.02em; }
.decisions p { color: var(--ink-2); font-size: 15.5px; margin-top: 4px; }
.decisions .trade { font-size: 13.5px; color: var(--ink-3); margin-top: 10px; }
.decisions .trade b { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--lime); margin-right: 6px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fine { font-size: 12.5px; color: var(--ink-3); max-width: 360px; text-align: center; line-height: 1.45; }

/* ---------- Device ---------- */
.iphone { position: relative; width: 320px; height: 660px; padding: 11px; border-radius: 56px; background: linear-gradient(145deg, #3a3a3e, #121214 40%, #2a2a2e); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.08), 0 0 0 1px #000, var(--shadow), 0 0 120px -40px var(--a1); flex: none; }
.iphone::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; background: #000; border-radius: 20px; z-index: 5; }
.screen { position: relative; height: 100%; border-radius: 46px; overflow: hidden; font-family: var(--ios); letter-spacing: -.01em; display: flex; flex-direction: column; }
@media (max-width: 360px) { .iphone { transform: scale(.92); margin: -26px 0; } }
.sb { height: 50px; flex: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 28px 0 34px; font: 600 15px var(--ios); position: relative; z-index: 4; }
.sb i { display: inline-block; width: 24px; height: 11px; border-radius: 3.5px; border: 1.3px solid currentColor; position: relative; opacity: .9; }
.sb i::after { content: ""; position: absolute; inset: 1.3px 4px 1.3px 1.3px; background: currentColor; border-radius: 1.5px; }

/* view switcher */
.views { display: inline-grid; grid-auto-flow: column; padding: 4px; border-radius: 999px; gap: 2px; position: relative; }
.views button { position: relative; z-index: 1; border: 0; background: none; padding: 8px 14px; border-radius: 999px; font: 500 13px var(--sans); color: var(--ink-2); cursor: pointer; transition: color .25s; }
.views button[aria-selected="true"] { color: var(--bg); }
.views .thumb { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--ink); transition: transform .4s var(--ease), width .4s var(--ease); z-index: 0; }
.view { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: scale(.98); transition: opacity .35s, transform .35s var(--ease), visibility 0s .35s; }
.view.on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .35s var(--ease); }

/* Jarvis app (Workbench theme from the Swift source) */
.jv-app { background-color: #0A2A40; color: #e8f4fb;
  background-image: linear-gradient(rgba(191,230,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(191,230,255,.08) 1px, transparent 1px), linear-gradient(rgba(191,230,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(191,230,255,.03) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px; }
.jv-nav { flex: none; display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; padding: 2px 14px 4px; }
.jv-nav b { text-align: center; font: 700 15px var(--ios); letter-spacing: .14em; }
.jv-nav svg { width: 20px; height: 20px; color: #3CE6FF; justify-self: end; }
.jv-search { margin: 4px 14px 0; height: 32px; border-radius: 10px; background: rgba(3,16,28,.8); display: flex; align-items: center; gap: 6px; padding: 0 10px; color: #5F8296; font-size: 14px; flex: none; }
.jv-search svg { width: 13px; height: 13px; }
.jv-status { flex: none; display: flex; align-items: center; gap: 6px; padding: 8px 16px 0; font: 500 9.5px var(--mono); color: #8FB8CF; letter-spacing: .02em; }
.jv-status i { width: 5px; height: 5px; border-radius: 50%; background: #3CE6FF; box-shadow: 0 0 6px #3CE6FF; }
.jv-tags { flex: none; display: flex; gap: 7px; padding: 8px 14px; overflow: hidden; }
.net { flex: none; font: 500 10.5px var(--mono); padding: 5px 15px 5px 9px; color: #8FB8CF; background: rgba(3,16,28,.7); clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%); box-shadow: inset 0 0 0 1px #1A4560; }
.net.sel { color: #fff; background: rgba(255,255,255,.14); font-weight: 600; }
.jv-feed { flex: 1; overflow: hidden; padding: 0 14px; display: flex; flex-direction: column; gap: 8px; }
.jv-day { font: 700 9.5px var(--mono); color: #5F8296; padding: 4px 4px 0; }
.jcard { position: relative; background: #041525; border: 1px solid #1A4560; padding: 10px 12px; border-radius: 2px; flex: none; }
.jcard::before, .jcard::after { content: ""; position: absolute; width: 9px; height: 9px; border-color: #3CE6FF; border-style: solid; opacity: .8; }
.jcard::before { left: -1px; top: -1px; border-width: 1.5px 0 0 1.5px; }
.jcard::after { right: -1px; bottom: -1px; border-width: 0 1.5px 1.5px 0; }
.jcard.new { animation: pop .45s var(--ease); box-shadow: 0 0 0 1px rgba(60,230,255,.35), 0 0 24px -6px rgba(60,230,255,.5); }
@keyframes pop { from { transform: translateY(-6px); opacity: .4; } }
.jmeta { display: flex; justify-content: space-between; font: 400 9.5px var(--mono); color: #5F8296; margin-bottom: 5px; }
.jtext { font-size: 14px; line-height: 1.35; word-break: break-word; }
.jtext.empty { color: #5F8296; }
.jtext .h { font-weight: 600; }
.jtree { list-style: none; margin: 6px 0 0; padding: 0; font: 400 11.5px/1.55 var(--mono); color: #8FB8CF; }
.jtree .ck { color: #3CE6FF; }
.jstat { margin-top: 8px; padding-top: 7px; border-top: 1px dashed rgba(191,230,255,.22); font: 500 10px var(--mono); color: #F0A55A; display: flex; gap: 6px; align-items: center; }
.jstat.cal { color: #3CE6FF; }
.jlink { margin-top: 7px; display: flex; gap: 6px; align-items: center; padding: 7px 8px; background: #03101C; border: 1px solid #1A4560; font: 400 10.5px var(--mono); color: #3CE6FF; }
.jv-composer { flex: none; margin: 6px 10px 0; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; background: #03101C; border: 1px solid #1A4560; border-radius: 4px; font: 400 13px var(--mono); color: #e8f4fb; min-height: 38px; }
.jv-composer .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jv-composer .ph { color: #5F8296; }
.caret { display: inline-block; width: 7px; height: 14px; background: #3CE6FF; vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.jv-composer .send { width: 26px; height: 26px; border-radius: 3px; background: #3CE6FF; color: #041525; display: grid; place-items: center; flex: none; }
.jv-composer .send svg { width: 13px; height: 13px; }
.jv-tabs { flex: none; display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px 6px 22px; margin-top: 8px; background: rgba(3,16,28,.92); border-top: 1px solid #1A4560; }
.jv-tabs span { display: grid; justify-items: center; gap: 3px; font: 500 9.5px var(--ios); color: #5F8296; }
.jv-tabs span.on { color: #3CE6FF; }
.jv-tabs svg { width: 21px; height: 21px; }

/* Messages */
.msg { background: #000; color: #fff; }
.msg-head { flex: none; text-align: center; padding: 0 0 10px; background: rgba(28,28,30,.9); border-bottom: .5px solid #38383a; position: relative; }
.msg-head .back { position: absolute; left: 14px; top: 16px; color: #0a84ff; font-size: 26px; line-height: 1; }
.avatar { width: 54px; height: 54px; margin: 0 auto 4px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; background: linear-gradient(180deg, #a8adb7, #858a94); }
.msg-head small { font-size: 11.5px; color: #e5e5ea; }
.msg-head small::after { content: " ›"; color: #8e8e93; }
.msg-body { flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 10px 12px; }
.msg-time { text-align: center; font-size: 11px; color: #8e8e93; margin: 2px 0 6px; }
.mb { align-self: flex-end; max-width: 80%; background: #0a84ff; color: #fff; padding: 8px 13px; border-radius: 18px 18px 5px 18px; font-size: 15.5px; line-height: 1.28; word-break: break-word; }
.mb.old { background: #0a84ff; opacity: .95; }
.mb.ghost { opacity: .45; }
.msg-del { align-self: flex-end; font-size: 11px; color: #8e8e93; margin: 1px 4px 6px 0; }
.msg-filed { align-self: flex-end; font: 500 11px var(--ios); color: #30d158; margin-right: 4px; min-height: 1.3em; text-align: right; }
.msg-bar { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 10px 26px; }
.msg-bar .plus { width: 32px; height: 32px; border-radius: 50%; background: #2c2c2e; display: grid; place-items: center; color: #8e8e93; font-size: 22px; flex: none; }
.msg-bar .field { flex: 1; min-width: 0; min-height: 34px; border: 1px solid #3a3a3c; border-radius: 18px; padding: 6px 12px; font-size: 15px; color: #8e8e93; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Lock screen */
.lock { color: #fff; background: radial-gradient(120% 70% at 20% 0%, #1d4ed8 0%, transparent 60%), radial-gradient(90% 60% at 100% 30%, #7c3aed 0%, transparent 60%), radial-gradient(100% 80% at 50% 100%, #0e7490 0%, #020617 70%); }
.lock-top { flex: none; text-align: center; padding-top: 4px; }
.lock-date { font-size: 16px; font-weight: 600; opacity: .9; }
.lock-time { font-size: 86px; font-weight: 700; letter-spacing: -.02em; line-height: 1; margin-top: 2px; font-family: -apple-system, "SF Pro Rounded", "Geist", sans-serif; }
.widgets { display: flex; justify-content: center; gap: 10px; margin-top: 12px; padding: 0 22px; }
.wg { background: rgba(255,255,255,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 18px; }
.wg-circ { width: 62px; height: 62px; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 1px; }
.wg-circ svg { width: 13px; height: 13px; }
.wg-circ b { font-size: 19px; line-height: 1; }
.wg-rect { flex: 1; max-width: 190px; padding: 8px 12px; text-align: left; font-size: 12px; line-height: 1.3; min-width: 0; }
.wg-rect .t { display: flex; gap: 5px; align-items: center; font-weight: 700; font-size: 11px; }
.wg-rect .t svg { width: 11px; height: 11px; }
.wg-rect .r { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .92; margin-top: 2px; }
.wg-rect .r em { font-style: normal; opacity: .75; font-variant-numeric: tabular-nums; margin-right: 4px; }
.lock-spacer { flex: 1; }
.la { flex: none; margin: 0 10px 10px; padding: 12px 14px; border-radius: 22px; background: rgba(0,0,0,.62); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.la-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.la-head b { color: #3CE6FF; display: inline-flex; gap: 5px; align-items: center; }
.la-head b svg { width: 12px; height: 12px; }
.la-head span { color: #8e8e93; }
.la ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 5px; }
.la li { display: grid; grid-template-columns: 7px auto 1fr auto; gap: 7px; align-items: center; font-size: 13px; min-width: 0; }
.la li i { width: 6px; height: 6px; border-radius: 50%; }
.la li em { font-style: normal; color: #8e8e93; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.la li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.la li small { color: #8e8e93; font-size: 11px; }
.lock-bottom { flex: none; display: flex; justify-content: space-between; padding: 0 44px 28px; }
.lock-bottom span { width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.35); backdrop-filter: blur(10px); display: grid; place-items: center; }
.lock-bottom svg { width: 18px; height: 18px; }

/* Try-it controls */
.try { width: min(420px, 100%); border-radius: 20px; padding: 14px; display: grid; gap: 10px; }
.try label { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.try input { width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--glass-line); background: var(--bg); color: var(--ink); padding: 0 14px; font: 400 16px var(--sans); }
.try input:focus { outline: 2px solid var(--a2); outline-offset: 0; border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { border: 1px solid var(--glass-line); background: var(--glass); color: var(--ink-2); border-radius: 999px; padding: 6px 11px; font: 400 12.5px var(--mono); cursor: pointer; transition: color .2s, border-color .2s; text-align: left; }
.chips button:hover { color: var(--ink); border-color: var(--glass-hi); }
.parsed { display: flex; flex-wrap: wrap; gap: 6px; min-height: 26px; }
.parsed span { font: 500 11.5px var(--mono); padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--a2) 14%, transparent); color: var(--ink); }

/* Betawise phone */
.bw { background: #f2f2f7; color: #000; }
.bw-title { font-size: 30px; font-weight: 700; letter-spacing: -.03em; padding: 4px 18px 10px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 16px; padding: 2px; border-radius: 9px; background: rgba(118,118,128,.12); position: relative; }
.seg button { position: relative; z-index: 1; border: 0; background: none; padding: 6px 4px; font: 500 13px var(--ios); color: #000; cursor: pointer; border-radius: 7px; min-height: 30px; }
.seg .thumb { position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc((100% - 4px) / 3); border-radius: 7px; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.12); transition: transform .35s var(--ease); }
.seg button[aria-pressed="true"] { font-weight: 600; }
.ios-card { margin: 12px 16px 0; background: #fff; border-radius: 14px; padding: 14px 16px; }
.ring-row { display: flex; align-items: center; gap: 16px; }
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
.ring-num { position: relative; width: 92px; height: 92px; flex: none; }
.ring { --p: 76; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(#34c759 calc(var(--p) * 1%), #e5e5ea 0); -webkit-mask: radial-gradient(circle, transparent 34px, #000 35px); mask: radial-gradient(circle, transparent 34px, #000 35px); transition: --p .6s var(--ease); }
.ring-num b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.ring-meta .k { font-size: 13px; color: #8e8e93; }
.ring-meta .v { font-size: 15px; font-weight: 600; margin-top: 2px; }
.ring-meta .v.ok { color: #248a3d; } .ring-meta .v.bad { color: #d70015; }
.ranges { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 7px; font-size: 13px; }
.ranges li { display: grid; grid-template-columns: 8px 1fr auto 14px; gap: 8px; align-items: center; }
.ranges i { width: 8px; height: 8px; border-radius: 50%; }
.ranges .val { font-variant-numeric: tabular-nums; color: #3c3c43; }
.ranges .ok { color: #34c759; font-size: 12px; } .ranges .no { color: #ff3b30; font-size: 12px; }
.focus { margin: 12px 16px 0; border-radius: 14px; padding: 14px 16px; background: #fff; border-left: 4px solid #34c759; }
.focus.safety { border-left-color: #ff9500; }
.focus .k { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: #248a3d; }
.focus.safety .k { color: #c93400; }
.focus h4 { font-size: 19px; letter-spacing: -.02em; margin: 3px 0 4px; }
.focus p { font-size: 13.5px; line-height: 1.35; color: #3c3c43; }

/* ---------- Approach ---------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }
.principles article { border-radius: var(--r); padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; min-height: 260px; }
.principles .n { font: 500 13px var(--mono); color: var(--a2); }
.principles h3 { font-size: 22px; letter-spacing: -.03em; line-height: 1.15; margin-top: auto; }
.principles p { color: var(--ink-2); font-size: 15px; }

/* ---------- Experience ---------- */
.xp { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--glass-line); }
.xp li { display: grid; grid-template-columns: 140px 1fr auto; gap: 8px 32px; align-items: baseline; padding: 26px 4px; border-bottom: 1px solid var(--glass-line); transition: background .3s; }
.xp li:hover { background: var(--glass); }
.xp .when { font: 500 13px var(--mono); color: var(--ink-3); }
.xp h3 { font-size: 22px; letter-spacing: -.03em; }
.xp .org { color: var(--ink-2); text-align: right; }
@media (max-width: 640px) { .xp li { grid-template-columns: 1fr; } .xp .org { text-align: left; } }
.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
@media (max-width: 900px) { .creds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .creds { grid-template-columns: 1fr; } }
.creds div { border-radius: 18px; padding: 18px; }
.creds strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.creds span { display: block; font-size: 13px; color: var(--ink-2); margin-top: 4px; }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact h2 { font-size: clamp(56px, 12vw, 168px); line-height: .9; letter-spacing: -.06em; }
.contact p { color: var(--ink-2); font-size: clamp(18px, 2vw, 21px); max-width: 30em; margin: 24px auto 34px; }
.contact .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.copied { display: block; min-height: 1.5em; margin-top: 14px; font: 500 13px var(--mono); color: var(--lime); }
footer { padding: 28px 0 40px; color: var(--ink-3); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; border-top: 1px solid var(--glass-line); padding-top: 24px; }
footer a { color: var(--ink-2); }

/* ---------- Command palette ---------- */
dialog.cmdk { width: min(560px, calc(100% - 24px)); margin: 12vh auto auto; padding: 0; border-radius: 20px; color: var(--ink); background: color-mix(in srgb, var(--bg) 94%, transparent); border: 1px solid var(--glass-line); backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%); box-shadow: var(--shadow), inset 0 1px 0 var(--glass-hi); overflow: hidden; }
dialog.cmdk[open] { animation: cmdin .25s var(--ease); }
@keyframes cmdin { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
dialog.cmdk::backdrop { background: rgba(0,0,0,.35); backdrop-filter: blur(4px); }
.cmdk-in { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--glass-line); }
.cmdk-in svg { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.cmdk-in input { flex: 1; height: 56px; border: 0; background: none; color: var(--ink); font: 400 17px var(--sans); outline: none; }
.cmdk ul { list-style: none; margin: 0; padding: 8px; max-height: 50vh; overflow: auto; }
.cmdk li[role="option"] { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; cursor: pointer; font-size: 15px; }
.cmdk li[aria-selected="true"] { background: var(--glass-2); }
.cmdk li .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--glass-line); font-size: 14px; flex: none; }
.cmdk li .hint { margin-left: auto; font: 500 11px var(--mono); color: var(--ink-3); }
.cmdk .grp { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding: 10px 12px 4px; }
.cmdk .empty { padding: 20px 12px; color: var(--ink-3); font-size: 14px; }
.cmdk-foot { display: flex; gap: 14px; padding: 10px 16px; border-top: 1px solid var(--glass-line); font: 500 11px var(--mono); color: var(--ink-3); }

/* View transition for theme switch */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* =====================================================================
   Multi-page additions
   ===================================================================== */

/* Cross-document page transitions (Chrome / Edge / Safari 18.2+) */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .38s cubic-bezier(.2,.8,.2,1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
::view-transition-group(*) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
.vt-insights { view-transition-name: t-insights; }
.vt-betawise { view-transition-name: t-betawise; }
.vt-jarvis { view-transition-name: t-jarvis; }

.nav a.link[aria-current="page"] { color: var(--ink); background: var(--glass-2); }
@media (max-width: 860px) { .nav a.link { display: none; } .nav .k kbd, .k .k-long { display: none; } .nav .k { padding: 0 14px; } .k .k-short { display: inline; } }
@media (min-width: 861px) { .k .k-short { display: none; } .k .k-long { display: inline; } .nav .k kbd { display: inline; } }

/* Home hero, quieter */
.hero.home h1 { max-width: 15ch; font-size: clamp(44px, 7.4vw, 96px); }
.b-ins { grid-column: span 2; }
.b-bw.small { grid-column: span 1; grid-row: span 1; }
@media (max-width: 900px) { .b-ins { grid-column: span 2; } }
.mini-bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin-top: auto; padding-top: 16px; }
.mini-bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--a2), color-mix(in srgb, var(--a2) 30%, transparent)); transform-origin: bottom; animation: grow 1s var(--ease) both; }
.mini-bars span:nth-child(2n) { background: linear-gradient(180deg, var(--a1), color-mix(in srgb, var(--a1) 30%, transparent)); }
@keyframes grow { from { transform: scaleY(0); } }
.mini-ring.sm { width: 110px; height: 110px; -webkit-mask: radial-gradient(circle, transparent 40px, #000 41px); mask: radial-gradient(circle, transparent 40px, #000 41px); }
.ring-wrap.sm { width: 110px; margin: auto 0 0 auto; }
.ring-wrap.sm .val strong { font-size: 24px; }

/* Work list on home */
.work-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.work-row { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 28px; align-items: center; padding: 28px; border-radius: var(--r); text-decoration: none; transition: transform .35s var(--ease), border-color .3s; }
.work-row:hover { transform: translateY(-3px); border-color: var(--glass-hi); }
.work-row h3 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.04em; line-height: 1; margin-top: 10px; }
.work-row p { color: var(--ink-2); font-size: 16px; }
.work-row .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.work-row .tags span { font: 500 11.5px var(--mono); padding: 4px 9px; border-radius: 999px; border: 1px solid var(--glass-line); color: var(--ink-2); }
@media (max-width: 760px) { .work-row { grid-template-columns: 1fr; gap: 12px; } .work-row .arrow-chip { display: none; } }

/* Case study page header */
.page-head { position: relative; padding: 140px 0 48px; }
.crumbs { font: 500 13px var(--mono); color: var(--ink-3); display: flex; gap: 8px; align-items: center; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-head h1 { font-size: clamp(52px, 9vw, 128px); line-height: .92; letter-spacing: -.055em; margin: 22px 0 22px; width: fit-content; }
.page-head .lede { font-size: clamp(19px, 2.2vw, 24px); color: var(--ink-2); max-width: 34em; line-height: 1.45; }
.meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
@media (max-width: 760px) { .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.meta div { border-radius: 16px; padding: 14px 16px; }
.meta dt { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.meta dd { margin: 4px 0 0; font-size: 15px; overflow-wrap: anywhere; }
.meta a { color: var(--a2); text-decoration: none; }
.meta a:hover { text-decoration: underline; }
.prose h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.04em; line-height: 1.05; margin-bottom: 14px; }
.prose p { color: var(--ink-2); font-size: 18px; line-height: 1.6; max-width: 40em; }
.prose p + p { margin-top: 14px; }
.chapter { padding: 56px 0; border-top: 1px solid var(--glass-line); }
.chapter .label { display: block; margin-bottom: 14px; }
.features { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }
.features li { border-radius: 18px; padding: 18px 20px; }
.features strong { display: block; font-size: 16px; letter-spacing: -.02em; }
.features span { display: block; color: var(--ink-2); font-size: 15px; margin-top: 4px; }

.next-case { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; padding: 30px; border-radius: var(--r); text-decoration: none; }
.next-case:hover .arrow-chip { transform: rotate(-45deg); background: var(--ink); color: var(--bg); }
.next-case strong { display: block; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.045em; line-height: 1; margin-top: 8px; }
.contact-band { padding: 96px 0 40px; text-align: center; }
.contact-band h2 { font-size: clamp(40px, 7vw, 88px); letter-spacing: -.055em; line-height: .95; }
.contact-band p { color: var(--ink-2); font-size: 19px; margin: 18px auto 28px; max-width: 30em; }
.contact-band .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Insights: browser-frame dashboard */
.browser { width: 100%; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow), 0 0 120px -50px var(--a2); }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--glass-line); }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--glass-hi); }
.browser-bar .url { flex: 1; text-align: center; font: 500 12px var(--mono); color: var(--ink-3); padding: 5px 10px; border-radius: 8px; background: var(--glass); max-width: 320px; margin: 0 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash { display: grid; grid-template-columns: 170px 1fr; min-height: 420px; background: var(--bg-2); }
@media (max-width: 640px) { .dash { grid-template-columns: 1fr; } .dash-side { display: none !important; } }
.dash-side { border-right: 1px solid var(--glass-line); padding: 16px 14px; display: grid; align-content: start; gap: 6px; }
.dash-side .nav-i { font-size: 13px; padding: 7px 10px; border-radius: 8px; color: var(--ink-2); }
.dash-side .nav-i.on { background: color-mix(in srgb, var(--a2) 18%, transparent); color: var(--ink); font-weight: 500; }
.dash-side .flt { margin-top: 12px; font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.dash-side select { width: 100%; height: 32px; border-radius: 8px; border: 1px solid var(--glass-line); background: var(--bg); color: var(--ink); padding: 0 8px; font: 400 13px var(--sans); }
.dash-main { padding: 18px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { border-radius: 12px; padding: 12px; background: var(--glass); border: 1px solid var(--glass-line); min-width: 0; }
.kpi b { display: block; font-size: 24px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.kpi span { display: block; font-size: 11.5px; color: var(--ink-3); }
.kpi em { display: block; font: 500 11px var(--mono); font-style: normal; color: var(--lime); margin-top: 2px; }
.chart-card { border-radius: 12px; padding: 14px; background: var(--glass); border: 1px solid var(--glass-line); }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.chart-head b { font-size: 13.5px; font-weight: 600; }
.mini-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg); border: 1px solid var(--glass-line); }
.mini-seg button { border: 0; background: none; padding: 5px 10px; border-radius: 999px; font: 500 12px var(--sans); color: var(--ink-2); cursor: pointer; }
.mini-seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 44px 1fr 64px; gap: 10px; align-items: center; font-size: 13px; }
.bar-row .yr { font: 500 12px var(--mono); color: var(--ink-3); }
.bar-row .track { display: block; height: 22px; border-radius: 6px; background: var(--glass); overflow: hidden; }
.bar-row .fill { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--a1), var(--a2)); width: 0; transition: width .8s var(--ease); }
.bar-row .n { font: 500 12.5px var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.split { display: flex; height: 22px; border-radius: 6px; overflow: hidden; gap: 2px; }
.split span { transition: flex-grow .6s var(--ease); }
.split-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; font-size: 12.5px; color: var(--ink-2); }
.split-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; }
.note-callout { font-size: 12.5px; color: var(--ink-3); border-left: 2px solid var(--a2); padding: 2px 0 2px 10px; }
/* The theme switch uses its own circular reveal, not the page-change fade */
:root.theme-vt::view-transition-old(root), :root.theme-vt::view-transition-new(root) { animation: none; }
:root.theme-vt::view-transition-group(*) { animation: none; }

/* =====================================================================
   The Stream of Time
   ===================================================================== */
.vt-sot { view-transition-name: t-sot; }
@media (min-width: 901px) { .bento .b-stat { grid-column: span 2; } }
.mini-streams { position: relative; margin-top: auto; padding-top: 18px; display: grid; gap: 7px; }
.mini-streams i { display: block; height: 12px; width: var(--w); margin-left: var(--l); border-radius: 999px; background: color-mix(in srgb, var(--c) 70%, transparent); }
.mini-streams .reader { position: absolute; top: 8px; bottom: -6px; left: 46%; width: 2px; border-radius: 2px; background: #e2bb6a; box-shadow: 0 0 12px #e2bb6a; animation: read 9s ease-in-out infinite alternate; }
@keyframes read { from { left: 18%; } to { left: 78%; } }
@media (prefers-reduced-motion: reduce) { .mini-streams .reader { animation: none; } }

.browser-bar .open-full { font: 500 12px var(--sans); color: var(--a2); text-decoration: none; white-space: nowrap; }
.browser-bar .open-full:hover { text-decoration: underline; }
.embed { position: relative; height: min(78vh, 680px); background: #0b0f1c; }
.embed iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }
.embed.live iframe { pointer-events: auto; }
.embed-cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; border: 0; cursor: pointer; background: rgba(8,8,12,.35); transition: background .3s, opacity .3s; }
.embed-cover:hover { background: rgba(8,8,12,.2); }
.embed-cover .hint { font: 500 13px var(--sans); color: #ececf0; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.embed.live .embed-cover { opacity: 0; pointer-events: none; }
@media (max-width: 640px) { .embed { height: 70vh; } }
