/* Fonts, served from our own domain (Google Fonts files, SIL Open Font License): no third-party request before first paint */
/* Mozilla Headline 700 latin-ext */
@font-face {
  font-family: 'Mozilla Headline';
  font-style: normal;
  font-weight: 700;
  font-stretch: 75%;
  font-display: swap;
  src: url('/assets/fonts/mozilla-headline-700-75-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Mozilla Headline 700 latin */
@font-face {
  font-family: 'Mozilla Headline';
  font-style: normal;
  font-weight: 700;
  font-stretch: 75%;
  font-display: swap;
  src: url('/assets/fonts/mozilla-headline-700-75-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Mozilla Text 400-700 latin-ext */
@font-face {
  font-family: 'Mozilla Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/mozilla-text-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Mozilla Text 400-700 latin */
@font-face {
  font-family: 'Mozilla Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/mozilla-text-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Silkscreen 400 latin-ext */
@font-face {
  font-family: 'Silkscreen';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/silkscreen-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Silkscreen 400 latin */
@font-face {
  font-family: 'Silkscreen';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/silkscreen-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Arkstone: obsidian ink, one hot accent, heat fields and a pixel layer. */
:root {
  --ink-900: #111821; --ink-800: #1c252f; --ink-700: #293340;
  --paper-100: #fff; --paper-200: #e6e9ec; --paper-300: #cbcfd3;
  --accent: #f77614; --on-accent: #111821;
  --heat-yellow: #ffcd3d; --heat-red: #ff0023; --heat-plum: #210815;
  --surface: var(--ink-900); --on: #fff; --sub: rgba(255,255,255,.6); --ghost: rgba(255,255,255,.1); --dash: rgba(255,255,255,.45);
  --raise: var(--ink-800); --raise-2: var(--ink-700);
  --f-text: 'Mozilla Text', ui-sans-serif, system-ui, sans-serif;
  --f-head: 'Mozilla Headline', 'Mozilla Text', ui-sans-serif, system-ui, sans-serif;
  --f-pixel: 'Silkscreen', ui-monospace, monospace;
  --pad-m: 16px; --pad-l: 32px; --pad-xl: 64px; --gap-m: 20px; --gap-l: 32px;
  --r: 4px; --hdr: 72px;
  --e-ui: cubic-bezier(.4,0,.2,1); --e-out: cubic-bezier(.16,1,.3,1); --e-hero: cubic-bezier(.33,1,.68,1); --e-wipe: cubic-bezier(.77,0,.175,1);
  --t-display: clamp(64px, 9.6vw, 160px);
  --t-h1: clamp(56px, 8.4vw, 132px);
  --t-h2: clamp(30px, 3.4vw, 60px);
  --t-h3: clamp(20px, 2.2vw, 36px);
  --t-eye: clamp(13px, 1vw, 16px);
  --t-body-l: clamp(16px, 1.45vw, 22px);
  --t-body: clamp(15px, 1.1vw, 18px);
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --pad-m: 24px; --pad-l: 48px; --pad-xl: 88px; --hdr: 88px; } }
@media (min-width: 1280px) { :root { --pad-m: 32px; --pad-l: 64px; --pad-xl: 128px; --gap-m: 24px; --gap-l: 40px; } }
@media (min-width: 1920px) { :root { --pad-m: 40px; --pad-l: 80px; --pad-xl: 160px; } }

[data-theme="light"] { --surface: #fff; --on: var(--ink-900); --sub: rgba(17,24,33,.62); --ghost: rgba(17,24,33,.12); --dash: rgba(17,24,33,.4); --raise: #f2f4f6; --raise-2: var(--paper-200); color-scheme: light; }
[data-theme] { background: var(--surface); color: var(--on); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--ink-900); color: #fff; font: 400 var(--t-body)/1.5 var(--f-text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -.01em; line-height: 1.08; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* the orange ring is 2.8:1 on white, below the 3:1 a focus indicator needs, so light sections ring in ink */
[data-theme="light"] :focus-visible, .path.pick :focus-visible { outline-color: var(--ink-900); }
/* over the heat fields an orange ring melts into the orange: a white ring edged in ink reads on every part of them */
.foot :focus-visible, .cta-band :focus-visible, .drawer-foot :focus-visible, .page-hero :focus-visible { outline-color: #fff; box-shadow: 0 0 0 7px var(--ink-900); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: var(--r); font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }
main { display: block; }

/* ---------- dashed 1-on-3-off line, the pixel plus, buttons ---------- */
.dash-x { background: repeating-linear-gradient(to right, var(--dash) 0 1px, transparent 1px 4px) bottom / 100% 1px no-repeat; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 700 var(--t-eye)/1.2 var(--f-text); text-transform: uppercase; letter-spacing: .02em; color: var(--on); }
.eyebrow::before { content: ""; flex: none; width: 15px; height: 15px; background:
  linear-gradient(var(--accent), var(--accent)) 5px 5px / 5px 5px no-repeat,
  linear-gradient(color-mix(in srgb, var(--accent) 50%, transparent), color-mix(in srgb, var(--accent) 50%, transparent)) 5px 0 / 5px 15px no-repeat,
  linear-gradient(color-mix(in srgb, var(--accent) 50%, transparent), color-mix(in srgb, var(--accent) 50%, transparent)) 0 5px / 15px 5px no-repeat; }
.eyebrow.ruled { padding-bottom: 16px; border-bottom: 1px solid var(--ghost); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; min-width: 150px; padding: 8px 16px; border: 0; border-radius: var(--r); font: 500 14px/1.2 var(--f-text); text-decoration: none; cursor: pointer; transition: background-color .15s var(--e-ui), color .15s var(--e-ui); }
.btn-pri { background: var(--accent); color: var(--on-accent); }
.btn-pri:hover { background: #fff; color: var(--ink-900); }
[data-theme="light"] .btn-pri:hover { background: var(--ink-900); color: #fff; }
.btn-sec { background: rgba(255,255,255,.86); color: var(--ink-900); -webkit-backdrop-filter: blur(4.5px); backdrop-filter: blur(4.5px); }
.btn-sec:hover { background: var(--ink-900); color: #fff; }
[data-theme="light"] .btn-sec { background: rgba(17,24,33,.12); }
[data-theme="light"] .btn-sec:hover { background: var(--ink-900); color: #fff; }
.btn-white { background: #fff; color: var(--ink-900); }
.btn-white:hover { background: var(--ink-900); color: #fff; }
.ctas, .btn-pair { display: flex; flex-wrap: wrap; gap: 8px; }
/* phones: a pair sits side by side at a thumb-sized height, and only stacks when the labels cannot fit */
@media (max-width: 767px) {
  .btn { min-height: 44px; }
  .ctas .btn, .btn-pair .btn { flex: 1 1 auto; min-width: 0; padding: 10px 14px; }
}

/* ---------- header: two frosted chips ---------- */
.hdr { position: fixed; inset: 16px 16px auto; z-index: 50; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.chip { pointer-events: auto; display: flex; align-items: center; gap: 0; height: 56px; padding: 0 8px 0 14px; border-radius: var(--r); background: rgba(17,24,33,.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14); color: #fff; }
.chip-r { padding: 0 8px; }
.vdots { width: 1px; align-self: stretch; margin: 12px 8px; background: repeating-linear-gradient(to bottom, rgba(255,255,255,.4) 0 1px, transparent 1px 4px); }
.wordmark { display: flex; align-items: center; gap: 9px; padding-right: 6px; text-decoration: none; font: 700 22px/1 var(--f-text); letter-spacing: -.04em; }
.wordmark .mark { width: 22px; height: 22px; color: var(--accent); }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: var(--r); background: none; color: #fff; cursor: pointer; transition: background-color .15s var(--e-ui); }
.icon-btn:hover { background: rgba(255,255,255,.1); }
.icon-btn svg { width: 20px; height: 20px; }
.chip-r .btn { margin-left: 8px; min-width: 140px; }
@media (max-width: 767px) {
  .hdr { inset: 8px 8px auto; }
  .chip-l { flex: 1; }
  .hdr { gap: 0; }
  .chip-l { border-radius: var(--r) 0 0 var(--r); border-right: 0; }
  .chip-r { border-radius: 0 var(--r) var(--r) 0; border-left: 0; }
  .chip-r .btn { display: none; }
  .wordmark { font-size: 20px; min-height: 44px; }
  .chip { padding-left: 12px; }
  .chip-r { padding: 0 6px 0 2px; }
  .vdots { margin: 12px 4px; }
  .icon-btn { width: 44px; height: 44px; }
  /* menu on the left, logo and name in the middle of the bar */
  .chip-l { position: relative; padding-left: 6px; }
  .chip-l .menu-btn { order: -2; }
  .chip-l .vdots { order: -1; }
  .chip-l .wordmark { position: absolute; top: 50%; left: calc(50vw - 9px); transform: translate(-50%, -50%); width: max-content; padding-right: 0; }
  .chip-l .wordmark .mark { flex-shrink: 0; }
}
@media (max-width: 359px) {
  .chip-l .wordmark { position: static; transform: none; margin: 0 auto; font-size: 18px; }
}

/* ---------- drawer menu from the left ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .5s ease-out, visibility 0s .5s; }
.drawer { position: fixed; inset: 0 auto 0 0; z-index: 70; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--ink-900); border-right: 1px solid rgba(255,255,255,.08); transform: translateX(-100%); visibility: hidden; transition: transform .5s var(--e-out), visibility 0s .5s; overflow: hidden auto; overscroll-behavior: contain; }
html.menu-open .scrim { opacity: 1; visibility: visible; transition: opacity .5s ease-out; }
html.menu-open .drawer { transform: none; visibility: visible; transition: transform .5s var(--e-out); }
.drawer-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 8px 24px; height: 88px; }
.drawer-list { list-style: none; margin: 8px 0 0; padding: 0 24px; position: relative; z-index: 1; }
.drawer-list > li { background: repeating-linear-gradient(to right, rgba(255,255,255,.35) 0 1px, transparent 1px 4px) bottom / 100% 1px no-repeat; }
.drawer-list a { display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 16px 0; border: 0; background: none; text-align: left; text-decoration: none; font: 400 clamp(24px, 2.4vw, 32px)/1.1 var(--f-text); letter-spacing: -.02em; cursor: pointer; color: #fff; }
.drawer-list .n { font: 400 10px/1 var(--f-pixel); color: var(--sub); transform: translateY(-.9em); }
.drawer-list a[aria-current] { color: var(--accent); }
/* the products are always listed under Products */
.sub-links > div { display: flex; flex-direction: column; padding: 0 0 14px 34px; }
.sub-links a { font-size: 17px; padding: 8px 0; color: var(--sub); }
.sub-links a:hover { color: #fff; }
/* Products submenu rows: icon, name and a few words */
.drawer-list .sub-p { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 10px 0; font-size: 17px; line-height: 1.25; letter-spacing: 0; color: #fff; }
.sub-p .ic { width: 16px; height: 16px; margin-top: 2px; color: var(--accent); }
.sub-p .sub-t { display: grid; gap: 3px; }
.sub-p .sub-ds { font-size: 13px; line-height: 1.3; color: var(--sub); }
.sub-p:hover .sub-nm { color: var(--accent); }

.drawer-foot { margin-top: auto; position: relative; padding: 120px 24px 24px; display: grid; gap: 10px; }
.drawer-foot .heat { position: absolute; inset: 0; z-index: 0; }
.drawer-foot > :not(.heat) { position: relative; z-index: 1; }
.drawer-foot .btn { width: 100%; }
.drawer-foot .reach-mini { display: flex; gap: 8px; }
.drawer-foot .reach-mini a { flex: 1; text-align: center; padding: 10px; border-radius: var(--r); background: rgba(17,24,33,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); font-size: 13px; text-decoration: none; }
/* phones: the close button sits where the menu button was, and the demo button stays on a short screen */
@media (max-width: 767px) {
  .drawer-top { height: 72px; padding: 8px 14px 0 20px; }
  .drawer-list { padding: 0 20px; margin-top: 0; }
  .drawer-list a { padding: 14px 0; }
  .sub-links a { padding: 12px 0; }
  .drawer-foot { padding: 64px 20px 20px; }
  .drawer-foot .reach-mini a { display: grid; place-items: center; min-height: 44px; padding: 8px; }
}

/* ---------- heat fields and dot matrix ---------- */
.heat { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.heat canvas { width: 100%; height: 100%; filter: blur(28px) saturate(1.15); transform: scale(1.15); }
.heat[data-heat="hot"] { background: radial-gradient(70% 60% at 30% 70%, #f55804, transparent 70%), radial-gradient(60% 60% at 80% 30%, #e52d05, transparent 70%), radial-gradient(70% 70% at 60% 100%, #b90707, transparent 70%), #3a0a0f; }
.heat[data-heat="warm"] { background: radial-gradient(50% 60% at 70% 30%, #f9c570, transparent 70%), radial-gradient(40% 50% at 90% 10%, #f77614, transparent 70%), radial-gradient(60% 60% at 40% 50%, #f9f5a8, transparent 70%), #fff; }
.heat[data-heat="bloom"] { background: radial-gradient(45% 60% at 92% 0%, rgba(229,45,5,.75), transparent 70%), radial-gradient(30% 40% at 70% 0%, rgba(247,118,20,.45), transparent 70%); }
.dots { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle, rgba(255,255,255,.55) 1.1px, transparent 1.6px) 0 0 / 9px 9px; -webkit-mask-image: linear-gradient(to left, #000, transparent 75%); mask-image: linear-gradient(to left, #000, transparent 75%); }

/* data rain: columns of dots and short pills over a heat field */
.rain { position: absolute; inset: 0; overflow: hidden; pointer-events: none; display: flex; justify-content: flex-end; gap: clamp(10px, 1.4vw, 22px); padding-right: 4%; -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent); mask-image: linear-gradient(to bottom, #000 40%, transparent); }
.rain i { flex: none; width: 6px; height: 160%; margin-top: -60%; background:
  linear-gradient(#fff, #fff) 0 var(--o, 30%) / 6px var(--l, 42px) no-repeat,
  radial-gradient(circle, rgba(255,255,255,.9) 2px, transparent 2.5px) 0 0 / 6px 12px;
  border-radius: 3px; opacity: var(--a, .8); animation: rain var(--s, 9s) linear infinite; }
@keyframes rain { to { transform: translateY(37.5%); } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; min-height: min(78vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--hdr) + 72px) var(--pad-m) 40px; background: var(--ink-900); isolation: isolate; }
.page-hero.simple { min-height: min(64vh, 620px); }
.page-hero > .heat { z-index: -2; }
.page-hero .glyph { position: absolute; z-index: -1; right: 3%; top: calc(var(--hdr) + 4px); width: min(30vw, 340px); aspect-ratio: 1; color: #fff; opacity: .4; }
@media (max-width: 767px) { .page-hero .glyph { top: calc(var(--hdr) + 6px); right: 12px; width: 68px; opacity: .5; } }
.hero-grid { display: grid; gap: 28px; align-items: end; }
.hero-copy { display: contents; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; margin: 0 0 22px; padding: 0; font-size: 13px; color: var(--sub); }
.page-hero .crumbs ol { color: rgba(255,255,255,.85); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.page-hero h1 { font: 700 var(--t-h1)/.82 var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: -.02em; max-width: 14ch; }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero .lead { max-width: 520px; font-size: var(--t-body-l); line-height: 1.45; color: rgba(255,255,255,.85); margin: 0; }
.page-hero .ctas { margin-top: 22px; }
/* product loop in the page hero, poster until it is on screen */
.reel img, .reel video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.reel video { opacity: 0; transition: opacity .4s ease-out; }
.reel video.on { opacity: 1; }
/* transparent product loops: the poster sits on the video itself, the edges fade into the page */
.reel.alpha { position: relative; width: 100%; max-width: 540px; margin: 0 auto; aspect-ratio: 1080 / 1200;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(transparent, #000 5%, #000 95%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(transparent, #000 5%, #000 95%, transparent); mask-composite: intersect; }
.reel.alpha video { opacity: 1; object-fit: contain; transition: none; }
@media (max-width: 960px) { .reel.alpha { max-width: 440px; } }
@media (max-width: 600px) { .reel.alpha { max-width: 360px; } }
.hero-reel { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--ink-800); margin-bottom: 26px; max-width: 560px; }
.page-hero.has-reel .glyph { display: none; }
.hero-rule { height: 1px; background: var(--ghost); margin-top: 36px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 20px 0 0; padding: 0; }
.facts li { padding: 8px 12px; border-radius: var(--r); background: rgba(255,255,255,.07); font-size: 13px; color: rgba(255,255,255,.85); }
.facts li b { color: #fff; font-weight: 700; }
/* phones: the hero starts right under the header and is as tall as its words, the trail stays on one line
   with the current page trimmed, the title and film are sized for the first screen; the facts form an even 2 by 2 grid */
@media (max-width: 767px) {
  .page-hero, .page-hero.simple { min-height: 0; justify-content: flex-start; padding: calc(var(--hdr) + 14px) var(--pad-m) 32px; }
  .hero-grid { gap: 14px; }
  .page-hero .eyebrow { margin: 0; }
  .page-hero h1 { font-size: clamp(36px, 10.6vw, 46px); line-height: .86; }
  .page-hero .lead { font-size: 16px; line-height: 1.5; }
  .page-hero .ctas { margin-top: 18px; }
  .hero-reel { margin: 6px 0 18px; }
  .crumbs ol { flex-wrap: nowrap; white-space: nowrap; margin-bottom: 0; font-size: 12px; }
  .crumbs li[aria-current] { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .facts li { padding: 10px 12px; line-height: 1.35; }
  .hero-rule { margin-top: 28px; }
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.35fr 1fr; column-gap: var(--gap-l); }
  .hero-grid .crumbs, .hero-grid .eyebrow, .hero-grid h1 { grid-column: 1; }
  .hero-grid .side { grid-column: 2; grid-row: 1 / span 4; align-self: end; }
}
.byline { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--sub); margin-top: 14px; }

/* ---------- sections ---------- */
.sec { position: relative; padding: var(--pad-xl) var(--pad-m); }
.sec.tight { padding-top: var(--pad-l); padding-bottom: var(--pad-l); }
.sec.alt { background: var(--ink-800); }
[data-theme="light"].sec.alt, .sec.alt[data-theme="light"] { background: #f4f5f6; }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 72px); }
.sec-head h2, .stmt { font: 400 var(--t-h2)/1.08 var(--f-text); letter-spacing: -.015em; max-width: 22ch; }
.sec-head .sub { color: var(--sub); max-width: 460px; margin: 0; font-size: var(--t-body); }
.stmt .dim, .sec-head h2 .dim { color: var(--sub); }
@media (min-width: 1000px) {
  .sec-head { grid-template-columns: 1.6fr 1fr; align-items: end; column-gap: var(--gap-l); }
  .sec-head .eyebrow { grid-column: 1 / -1; }
  .sec-head.solo { grid-template-columns: 1fr; }
}
.sec-head.solo h2 { max-width: 26ch; }

/* line-mask reveal for statements */
.lm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.lm > span { display: inline-block; }
html.js .split-ready .lm > span { transform: translateY(105%); transition: transform .65s var(--e-out); transition-delay: calc(var(--ln, 0) * 65ms); }
html.js .split-ready.in .lm > span { transform: none; }

/* reveal blocks */
html.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--e-out), transform .7s var(--e-out); transition-delay: var(--d, 0s); }
html.js .rv.in { opacity: 1; transform: none; }

/* features: dashed-bracket cards */
.features { display: grid; gap: var(--gap-m); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
/* feature sets come in threes and sixes, so desktops show three across rather than leaving one card alone on a row */
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature, .val { position: relative; padding: 26px 24px 28px; min-height: 220px; display: flex; flex-direction: column; }
.feature::before, .val::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  repeating-linear-gradient(to right, var(--dash) 0 1px, transparent 1px 4px) top / 100% 1px no-repeat,
  repeating-linear-gradient(to bottom, var(--dash) 0 1px, transparent 1px 4px) left / 1px 100% no-repeat,
  repeating-linear-gradient(to bottom, var(--dash) 0 1px, transparent 1px 4px) right / 1px 100% no-repeat;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.feature .num { font: 400 11px/1 var(--f-pixel); color: var(--accent); margin-bottom: 26px; }
.feature .ic, .val .ic, .xcard .ic { width: 40px; height: 40px; color: var(--accent); margin-bottom: 26px; }
.feature h3, .val h3 { font: 400 clamp(20px, 1.7vw, 26px)/1.15 var(--f-text); margin-bottom: 10px; }
.feature p, .val p { color: var(--sub); margin: 0; font-size: 15px; }
/* phones: cards as tall as their words, so a list of six reads as one list */
@media (max-width: 767px) {
  .features { gap: 12px; }
  .feature, .val { min-height: 0; padding: 22px 20px 24px; }
  .feature .num { margin-bottom: 16px; }
  .feature .ic, .val .ic { width: 34px; height: 34px; margin-bottom: 16px; }
}

/* split blocks */
.split { display: grid; gap: var(--gap-l); align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; } .split.flip > :first-child { order: 2; } }
.split-copy h2 { font: 400 var(--t-h2)/1.08 var(--f-text); letter-spacing: -.015em; margin-bottom: 18px; }
.split-copy h3 { font: 400 24px/1.2 var(--f-text); margin: 22px 0 8px; }
.split-copy > p { color: var(--sub); max-width: 560px; }

/* panels: dark rows like a product screen */
.viz { position: relative; border-radius: var(--r); background: var(--ink-800); padding: 6px; overflow: hidden; }
.viz.heaty { background: linear-gradient(135deg, #f9c570, #f77614 45%, #b90707); padding: clamp(16px, 3vw, 40px); }
.panel { background: var(--ink-900); border-radius: var(--r); padding: 4px 0; font-size: 14px; }
.panel + .panel { margin-top: 6px; }
.panel-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .04em; border-bottom: 1px solid rgba(255,255,255,.08); }
.live { display: inline-flex; align-items: center; gap: 6px; font: 400 10px/1 var(--f-pixel); color: var(--accent); }
.live::before { content: ""; width: 6px; height: 6px; background: var(--accent); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.panel-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid rgba(255,255,255,.05); color: rgba(255,255,255,.7); }
.panel-row:first-of-type { border-top: 0; }
.panel-row b { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.panel-row b.up { color: #ffcd3d; }
.panel-row b.down { color: #ff6b4a; }
.indent-1 { padding-left: 32px; } .indent-2 { padding-left: 48px; } .indent-3 { padding-left: 64px; }
.chip-t { display: inline-block; padding: 3px 7px; border-radius: 2px; font: 700 10px/1.2 var(--f-text); letter-spacing: .04em; text-transform: uppercase; background: rgba(247,118,20,.18); color: var(--accent); }
.chip-t.dim { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); }
.chip-t.hot { background: var(--accent); color: var(--on-accent); }
.odds { display: flex; gap: 4px; }
.odds b { min-width: 52px; text-align: center; padding: 6px 4px; border-radius: 2px; font-weight: 700; color: var(--ink-900) !important; }
.odds .back, .odds .yes { background: #ffcd3d; }
.odds .lay, .odds .no { background: #f9a8a0; }
.swatches { display: flex; gap: 4px; }
.swatches i { width: 18px; height: 18px; border-radius: 2px; }
.code { margin: 0; padding: 16px; overflow: auto; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: rgba(255,255,255,.8); background: var(--ink-900); border-radius: var(--r); }
.code .k { color: #f77614; } .code .s { color: #ffcd3d; } .code .n { color: #f9a8a0; } .code .c { color: rgba(255,255,255,.5); } .code .f { color: #fff; }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 10px 16px; }
.tiles i { aspect-ratio: 1; border-radius: 2px; background: var(--ink-700); }
.tiles i.a { background: #f77614; } .tiles i.y { background: #ffcd3d; } .tiles i.r { background: #e52d05; } .tiles i.p { background: #5a1830; }

/* checks, spec table, flow, tags, metrics */
ul.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
ul.checks li { position: relative; padding: 12px 0 12px 26px; color: var(--sub); background: repeating-linear-gradient(to right, var(--ghost) 0 1px, transparent 1px 4px) bottom / 100% 1px no-repeat; }
ul.checks li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; background: var(--accent); }
ul.checks strong { color: var(--on); font-weight: 500; }
.spec-wrap { overflow-x: auto; border-radius: var(--r); }
table.spec { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
table.spec th, table.spec td { text-align: left; vertical-align: top; padding: 16px 14px; border-bottom: 1px solid var(--ghost); }
table.spec th { width: 32%; font-weight: 500; color: var(--on); }
table.spec td { color: var(--sub); }
table.spec thead th { font: 700 12px/1.2 var(--f-text); text-transform: uppercase; letter-spacing: .04em; color: var(--sub); }
ol.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: f; }
ol.flow li { counter-increment: f; display: grid; grid-template-columns: 64px 1fr; gap: 4px 20px; padding: 24px; border-radius: var(--r); background: var(--raise); transition: background-color .2s var(--e-ui); }
ol.flow li:hover { background: var(--raise-2); }
ol.flow li::before { content: counter(f, decimal-leading-zero); grid-row: 1 / span 3; font: 400 12px/1 var(--f-pixel); color: var(--accent); padding-top: 6px; }
ol.flow .when { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--sub); }
ol.flow h3 { font: 500 20px/1.25 var(--f-text); }
ol.flow p { margin: 0; color: var(--sub); }
@media (min-width: 1000px) { ol.flow li { grid-template-columns: 80px 220px 1fr; align-items: baseline; } ol.flow li::before { grid-row: auto; } ol.flow .when { grid-column: 2; grid-row: 1; } ol.flow h3 { grid-column: 2; grid-row: 2; } ol.flow p { grid-column: 3; grid-row: 1 / span 2; } }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { padding: 6px 10px; border-radius: var(--r); background: var(--raise); font-size: 13px; }
.metrics { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.metric { padding: 22px; border-radius: var(--r); background: #fff; color: var(--ink-900); }
.metric b { display: block; font: 400 clamp(48px, 5vw, 80px)/1 var(--f-text); letter-spacing: -.05em; padding-bottom: 16px; margin-bottom: 12px; background: repeating-linear-gradient(to right, rgba(17,24,33,.35) 0 1px, transparent 1px 4px) bottom / 100% 1px no-repeat; }
.metric span { font-size: 14px; }
/* phones: spec rows stack label over value instead of scrolling sideways; steps and figures tighten up */
@media (max-width: 767px) {
  table.spec { min-width: 0; }
  table.spec tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--ghost); }
  table.spec th, table.spec td { display: block; width: auto; padding: 0; border: 0; }
  table.spec th { margin-bottom: 4px; }
  ol.flow li { grid-template-columns: 34px 1fr; gap: 4px 12px; padding: 20px 18px; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 6px; }
  .metric { padding: 16px; }
  .metric b { font-size: clamp(36px, 11vw, 48px); padding-bottom: 12px; }
  .metric span { font-size: 13px; }
  .path { padding: 24px 20px; }
  .path-go { padding: 12px 16px; }
  .faq-item summary { padding: 18px 18px 18px 20px; }
  .faq-item > div { padding: 0 20px 20px; }
}

/* who does what, which option fits */
.duty { display: grid; gap: var(--gap-m); }
@media (min-width: 900px) { .duty { grid-template-columns: 1fr 1.4fr; } }
.duty-col { padding: 28px; border-radius: var(--r); background: var(--raise); }
.duty-col.us { background: var(--accent); color: var(--on-accent); }
.duty-h { font: 700 13px/1 var(--f-text); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 16px; }
.duty-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.duty-col li { padding-left: 18px; position: relative; }
.duty-col li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: currentColor; }
.paths { display: grid; gap: var(--gap-m); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.path { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r); background: var(--raise); }
.path.pick { background: #fff; color: var(--ink-900); }
.path-k { font: 400 10px/1.4 var(--f-pixel); text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.path.pick .path-k { color: #b84d00; } /* the accent is 2.8:1 on white; this deeper orange is 5.1:1 */
.path h3 { font: 700 26px/1 var(--f-head); font-stretch: 75%; text-transform: uppercase; margin-bottom: 12px; }
.path p { color: var(--sub); }
.path.pick p, .path.pick li { color: rgba(17,24,33,.7); }
.path ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--sub); }
.path li::before { content: "+ "; color: var(--accent); font-weight: 700; }
.path-go { margin-top: auto; align-self: flex-start; font-weight: 500; text-decoration: none; padding: 10px 14px; border-radius: var(--r); background: var(--accent); color: var(--on-accent); transition: background-color .15s var(--e-ui), color .15s var(--e-ui); }
.path-go:hover { background: var(--ink-900); color: #fff; }

/* FAQ as list rows */
.faq { display: grid; gap: 6px; }
.faq-item { border-radius: var(--r); background: var(--raise); transition: background-color .2s var(--e-ui); }
.faq-item:hover { background: var(--raise-2); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 22px 24px; font: 500 clamp(16px, 1.2vw, 19px)/1.35 var(--f-text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font: 400 20px/1 var(--f-pixel); color: var(--accent); transition: transform .3s var(--e-ui); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > div { padding: 0 24px 22px; color: var(--sub); max-width: 820px; }
.faq-item > div p:last-child { margin: 0; }

/* gambling support: one tile per help service, the number or action large enough to tap */
.help-grid { display: grid; gap: var(--gap-m); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-top: var(--gap-l); }
@media (min-width: 1000px) { .help-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.help { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r); background: var(--raise); }
.help-where { font: 400 10px/1 var(--f-pixel); text-transform: uppercase; color: var(--sub); }
.help h2 { margin: 4px 0 0; font: 700 clamp(22px, 1.8vw, 28px)/1 var(--f-head); font-stretch: 75%; text-transform: uppercase; }
.help-go { align-self: flex-start; padding: 2px 0; font: 400 clamp(26px, 2.4vw, 36px)/1.1 var(--f-text); letter-spacing: -.01em; color: var(--accent); text-decoration: none; }
.help-go:hover { text-decoration: underline; text-underline-offset: 4px; }
.help p:not(.help-where) { color: var(--sub); font-size: 15px; }
.help-link { margin-top: auto; padding-top: 6px; font-size: 14px; color: #fff; }
.viz .signs { margin: 0; padding: 6px 22px; }
.help-panel a { color: var(--accent); }

/* cards (cross-links) */
.cards { display: grid; gap: var(--gap-m); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
/* never more than three across, so six products sit in two even rows on wide screens */
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; min-height: 220px; padding: 26px; border-radius: var(--r); background: var(--raise); text-decoration: none; transition: background-color .2s var(--e-ui); }
.card:hover { background: var(--raise-2); }
.card::after { content: ""; position: absolute; top: 24px; right: 24px; width: 15px; height: 15px; background:
  linear-gradient(var(--accent), var(--accent)) 5px 5px / 5px 5px no-repeat,
  linear-gradient(color-mix(in srgb, var(--accent) 50%, transparent), color-mix(in srgb, var(--accent) 50%, transparent)) 5px 0 / 5px 15px no-repeat,
  linear-gradient(color-mix(in srgb, var(--accent) 50%, transparent), color-mix(in srgb, var(--accent) 50%, transparent)) 0 5px / 15px 5px no-repeat; }
.card-k { font: 400 10px/1 var(--f-pixel); text-transform: uppercase; color: var(--sub); margin-bottom: 18px; }
.card-t { font: 700 clamp(24px, 2vw, 32px)/.95 var(--f-head); font-stretch: 75%; text-transform: uppercase; margin-bottom: 12px; max-width: 16ch; }
/* generated cards are a div with one real link, the name, stretched over the whole card; the rest is not link text */
a.card-t { color: inherit; text-decoration: none; }
a.card-t::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
a.card-t:focus-visible { outline: none; }
.card:has(a.card-t:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.card-s { color: var(--sub); font-size: 15px; margin-bottom: 22px; }
/* case-study cards carry the brand's logo instead of its name; an app-icon logo keeps the name beside it */
.card-logo { display: flex; align-items: center; gap: 12px; min-height: 44px; max-width: none; }
.card-logo img { flex: none; }
.card-logo span { font: inherit; }
.card-go { margin-top: auto; align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.card-go svg { width: 14px; transition: transform .2s var(--e-ui); }
.card:hover .card-go svg { transform: translateX(4px); }

/* product card headers (owner pick 26 Nov 2026): a small animated header on each product card. Cards 1, 4, 5 and 6 show a
   tiny working piece of the product (.cv-a), cards 2 and 3 a signal-line diagram (.cv-c). Markup: partials/cv-*.html, named by
   each product page's `viz:` key. Animations run only while the card is on screen (.cv-on, set in site.js), never under reduced motion. */
.cv { position: relative; height: 148px; margin: -26px -26px 22px; border-radius: var(--r) var(--r) 0 0; overflow: hidden;
  background: color-mix(in srgb, var(--ink-900) 72%, var(--raise)); border-bottom: 1px solid rgba(255,255,255,.06); transition: background-color .25s var(--e-ui); }
.card:has(.cv)::after { top: 170px; }
.card:hover .cv { background: color-mix(in srgb, var(--ink-900) 55%, var(--raise-2)); }
.cv svg { display: block; width: 100%; height: 100%; }
.cv *, .cv *::before, .cv *::after { animation-play-state: paused !important; }
.cv.cv-on *, .cv.cv-on *::before, .cv.cv-on *::after { animation-play-state: running !important; }
.cv text { font: 400 8px var(--f-pixel); fill: rgba(255,255,255,.62); text-transform: uppercase; letter-spacing: .02em; }
@media (max-width: 599px) { .cv text { font-size: 10px; } }
.cv-a { display: grid; place-items: center; padding: 14px 18px; font-size: 12px; }
.cv-a .m { position: relative; width: 100%; max-width: 330px; border-radius: 3px; background: var(--ink-900); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 14px 30px rgba(0,0,0,.35); overflow: hidden; }
.cv-a .m-bar { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-bottom: 1px solid rgba(255,255,255,.07); font: 400 8px/1 var(--f-pixel); text-transform: uppercase; color: rgba(255,255,255,.6); }
.cv-a .m-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; height: 27px; padding: 0 10px; border-top: 1px solid rgba(255,255,255,.04); color: rgba(255,255,255,.75); white-space: nowrap; }
.cv-a .m-row:first-of-type { border-top: 0; }
.cv-a .m-row b { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.cv-a .odds { gap: 3px; }
.cv-a .odds b { position: relative; min-width: 42px; height: 19px; padding: 0; overflow: hidden; font-size: 11.5px; line-height: 19px; }
.cv-a .odds i { display: block; font-style: normal; animation: cv-tick 4.8s steps(1) infinite; animation-delay: var(--t, 0s); }
@keyframes cv-tick { 0%, 100% { transform: none; } 50% { transform: translateY(-100%); } }
.cv-a .odds b::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; animation: cv-flash 2.4s ease-out infinite; animation-delay: var(--t, 0s); }
@keyframes cv-flash { 0% { opacity: .55; } 20%, 100% { opacity: 0; } }
.cv-a .up { color: #2bd17e !important; }
.cv-a .dn { color: #ff8a7a !important; }
.cv-a .live { font-size: 8px; }

/* exchange: a toast confirms each bet matched at once */
.cv-a .toast { position: absolute; right: 6px; top: 3px; padding: 4px 8px; border-radius: 2px; background: #2bd17e; color: #0b1a12; font: 400 8px/1 var(--f-pixel); text-transform: uppercase; opacity: 0; transform: translateY(6px); animation: cv-toast 4.8s var(--e-out) infinite 1.2s; }
@keyframes cv-toast { 0%, 8% { opacity: 0; transform: translateY(6px); } 14%, 40% { opacity: 1; transform: none; } 48%, 100% { opacity: 0; transform: none; } }

/* odds API: a log that scrolls one line at a time */
.cv-a .log { height: 81px; overflow: hidden; }
.cv-a .log ul { margin: 0; padding: 0; list-style: none; animation: cv-log 9s steps(1) infinite; }
.cv-a .log li { display: flex; justify-content: space-between; gap: 10px; height: 27px; align-items: center; padding: 0 10px; border-top: 1px solid rgba(255,255,255,.04); color: rgba(255,255,255,.75); white-space: nowrap; }
.cv-a .log li span:first-child { font: 400 8px/1 var(--f-pixel); text-transform: uppercase; color: rgba(255,255,255,.5); min-width: 5.5em; }
.cv-a .log li em { flex: 1; font-style: normal; overflow: hidden; text-overflow: ellipsis; }
@keyframes cv-log { 0% { transform: none; } 16.66% { transform: translateY(-27px); } 33.33% { transform: translateY(-54px); } 50% { transform: translateY(-81px); } 66.66% { transform: translateY(-108px); } 83.33% { transform: translateY(-135px); } 100% { transform: none; } }
.cv-a .mono { font: 500 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: rgba(255,255,255,.8); }
.cv-a .beat { display: inline-flex; align-items: center; gap: 5px; color: #2bd17e; }
.cv-a .beat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2bd17e; animation: cv-beat .5s ease-out infinite; }
@keyframes cv-beat { 0% { box-shadow: 0 0 0 0 rgba(43,209,126,.7); } 100% { box-shadow: 0 0 0 6px rgba(43,209,126,0); } }

/* crypto: the selected balance moves down the list */
.cv-a .bal .m-row { position: relative; }
.cv-a .bal .m-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); opacity: 0; animation: cv-sel 8s steps(1) infinite; animation-delay: var(--s, 0s); }
.cv-a .bal .m-row { animation: cv-selbg 8s steps(1) infinite; animation-delay: var(--s, 0s); }
@keyframes cv-sel { 0% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes cv-selbg { 0% { background: rgba(247,118,20,.1); } 25%, 100% { background: none; } }
.cv-a .coin { display: inline-grid; place-items: center; width: 15px; height: 15px; margin-right: 7px; border-radius: 50%; font: 700 8px/1 var(--f-text); color: var(--ink-900); vertical-align: -3px; }

/* turnkey: modules switch on one by one, then hosting flips between our cloud and your servers */
.cv-a .sw { position: relative; width: 24px; height: 13px; border-radius: 7px; background: rgba(255,255,255,.14); animation: cv-sw-bg 8s steps(1) infinite; animation-delay: var(--s, 0s); }
.cv-a .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: cv-sw 8s var(--e-out) infinite; animation-delay: var(--s, 0s); }
@keyframes cv-sw-bg { 0%, 88% { background: var(--accent); } 94%, 100% { background: rgba(255,255,255,.14); } }
@keyframes cv-sw { 0%, 2% { transform: none; } 5%, 88% { transform: translateX(11px); } 94%, 100% { transform: none; } }
.cv-a .host { display: inline-grid; }
.cv-a .host b { grid-area: 1 / 1; text-align: right; animation: cv-host 8s steps(1) infinite; }
.cv-a .host b + b { animation-delay: -4s; }
@keyframes cv-host { 0% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* iframe and casino API: dots flow along the lines */
.cv-c .ln { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1.2; }
.cv-c .fl { fill: none; stroke: var(--accent); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 0 24; animation: cv-flow 1.4s linear infinite; animation-delay: var(--s, 0s); }
.cv-c .fl.slow { animation-duration: 2.2s; }
@keyframes cv-flow { to { stroke-dashoffset: -24; } }
.cv-c .nd { fill: var(--ink-900); stroke: rgba(255,255,255,.22); stroke-width: 1; }
.cv-c .nd.hot { stroke: var(--accent); }
.cv-c text.a { fill: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .cv *, .cv *::before, .cv *::after { animation: none !important; }
  .cv-a .toast { display: none; }
}

/* ---------- long form ---------- */
.article > .prose { max-width: 46rem; }
.prose { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.65; color: rgba(255,255,255,.82); min-width: 0; }
.prose h2 { font: 400 clamp(26px, 2.4vw, 38px)/1.12 var(--f-text); color: #fff; margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font: 500 21px/1.3 var(--f-text); color: #fff; margin: 1.6em 0 .5em; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: #fff; font-size: 1.1em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; display: block; overflow-x: auto; }
.prose .tbl { margin: 1.4em 0; overflow-x: auto; }
.prose .tbl table { display: table; margin: 0; }
@media (max-width: 767px) {
  .prose .tbl th, .prose .tbl td { min-width: 9em; }
  .prose .tbl tr > :first-child { position: sticky; left: 0; z-index: 1; min-width: 6.5em; background: var(--ink-900); }
}
.prose th, .prose td { text-align: left; padding: 12px; border-bottom: 1px solid var(--ghost); vertical-align: top; }
.prose th { color: #fff; font-weight: 500; }
.callout { margin: 1.6em 0; padding: 22px 24px; border-radius: var(--r); background: var(--ink-800); border-left: 3px solid var(--accent); }
.callout p:last-child { margin: 0; }
.toc { margin: 0 0 2.4em; font-size: 14px; }
.toc p { font: 400 10px/1 var(--f-pixel); text-transform: uppercase; color: var(--sub); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); column-gap: 24px; counter-reset: toc; }
.toc li { margin: 0; }
.prose .toc a { display: flex; gap: 10px; align-items: baseline; padding: 9px 0 9px 14px; border-left: 1px solid var(--ghost); text-decoration: none; color: var(--sub); }
.toc a::before { content: counter(toc, decimal-leading-zero); counter-increment: toc; font: 400 9px/1 var(--f-pixel); color: var(--accent); }
.prose .toc a.on, .prose .toc a:hover { color: #fff; border-left-color: var(--accent); }

/* article sections: each h2 and the blocks after it are wrapped in .psec */
.prose > .psec { margin-top: clamp(44px, 6vw, 72px); }
.prose > .psec:first-child { margin-top: 0; }
.prose .psec > h2:first-child { margin-top: 0; }

/* articles on wide screens use the full width: each section's heading in a left column, pinned while its text runs beside it
   at a reading measure; the summary box and the contents list run across both columns */
@media (min-width: 1100px) {
  .article > .prose { --sg: clamp(44px, 4.4vw, 72px); max-width: none; display: grid; grid-template-columns: minmax(15rem, 1fr) minmax(0, 52rem); column-gap: clamp(40px, 5vw, 96px); align-items: start; font-size: clamp(17px, 1.2vw, 19px); }
  .article > .prose > * { grid-column: 2; }
  .article > .prose > .psec { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: start; margin-top: var(--sg); }
  .article > .prose > .psec:first-child { margin-top: 0; }
  .psec > * { grid-column: 2; }
  .psec > h2 { grid-column: 1; grid-row: 1 / span 40; max-width: 20ch; margin: 0; position: sticky; top: calc(var(--hdr) + 28px); font-size: clamp(24px, 2.1vw, 36px); }
  .psec > h2 + * { margin-top: 0; }
  .article > .prose > .toc { grid-column: 1 / -1; margin-bottom: 0; }
  .article > .prose > .toc ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .article > .prose > .answer { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: start; padding: 30px 0; }
  .article > .prose > .answer > p:first-child { grid-column: 1; margin: 0; padding-left: 30px; font: 400 clamp(26px, 2.4vw, 38px)/1.12 var(--f-text); text-transform: none; color: #fff; }
  .article > .prose > .answer > p:first-child::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 18px; background: var(--accent); }
  .article > .prose > .answer > p:last-child { grid-column: 2; padding-right: 30px; font-size: 1.06em; }
}

/* glossary */
.az { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 32px; position: sticky; top: calc(var(--hdr) + 8px); z-index: 5; padding: 8px; border-radius: var(--r); background: rgba(17,24,33,.75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.az a { display: grid; place-items: center; min-width: 36px; height: 36px; border-radius: var(--r); background: var(--ink-800); text-decoration: none; font: 400 12px/1 var(--f-pixel); }
.az a:hover { background: var(--accent); color: var(--on-accent); }
.gl-letter { font: 400 clamp(56px, 7vw, 110px)/1 var(--f-pixel); color: var(--accent); margin: 48px 0 12px; }
dl.glossary { margin: 0; display: grid; gap: 6px; }
.term { display: grid; gap: 8px 32px; padding: 24px; border-radius: var(--r); background: var(--ink-800); }
@media (min-width: 900px) { .term { grid-template-columns: 260px 1fr; } }
.term dt { font: 700 22px/1.05 var(--f-head); font-stretch: 75%; text-transform: uppercase; }
.term dd { margin: 0; color: var(--sub); }
.term dd p:last-child { margin: 0; }
.term dd a { color: var(--accent); }
.term:target { outline: 1px solid var(--accent); }
/* phones: the letters run in one swipeable row of full-size targets instead of two cramped rows */
@media (max-width: 767px) {
  .az { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 6px; margin-bottom: 24px; overscroll-behavior-x: contain; }
  .az::-webkit-scrollbar { display: none; }
  .az a { flex: none; min-width: 44px; height: 44px; }
  .gl-letter { font-size: 44px; margin: 36px 0 10px; }
  .term { padding: 20px; }
}

/* ---------- contact ---------- */
.contact-split { display: grid; gap: var(--gap-l); align-items: start; }
@media (min-width: 1000px) { .contact-split { grid-template-columns: 1fr 1.1fr; } }
.contact-split h2 { font: 400 var(--t-h2)/1.08 var(--f-text); margin-bottom: 14px; }
.contact-split .sub { color: var(--sub); }
.reach { display: grid; gap: 6px; margin: 24px 0; }
.reach a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-radius: var(--r); background: var(--raise); text-decoration: none; transition: background-color .2s var(--e-ui); }
.reach a:hover { background: var(--raise-2); }
.reach span:first-child { font-weight: 700; }
.reach span:last-child { color: var(--sub); font-size: 14px; overflow-wrap: anywhere; text-align: right; }
.lead-form { display: grid; gap: 14px; padding: clamp(20px, 3vw, 36px); border-radius: var(--r); background: var(--ink-800); color: #fff; }
.lead-form .two { display: grid; gap: 14px; }
@media (min-width: 640px) { .lead-form .two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.75); }
.opt { color: rgba(255,255,255,.5); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.12); background: var(--ink-900); color: #fff; font-size: 16px; transition: border-color .15s var(--e-ui); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #ff6b4a; }
.lead-form .btn { justify-self: start; min-width: 200px; }
@media (max-width: 639px) { .lead-form .btn { justify-self: stretch; } }
.form-status { margin: 0; min-height: 1.4em; font-size: 14px; color: #ffcd3d; }
.form-status.err { color: #ff8a70; }
.ts-box { min-height: 65px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: var(--pad-xl) var(--pad-m); background: var(--ink-900); isolation: isolate; }
.cta-band .heat { z-index: -1; opacity: .9; }
.cta-in { max-width: 860px; }
.cta-in h2 { font: 400 var(--t-h2)/1.06 var(--f-text); margin-bottom: 16px; }
.cta-in p { color: #fff; max-width: 560px; font-size: var(--t-body-l); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to right, rgba(20,6,8,.6), rgba(20,6,8,.25) 60%, transparent); }

/* ---------- footer heat field ---------- */
.foot { position: relative; overflow: hidden; isolation: isolate; padding: clamp(96px, 12vw, 180px) var(--pad-m) 24px; color: #fff; background: #3a0a0f; }
.foot > .heat { z-index: -2; }
.foot::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, rgba(20,6,8,.78), rgba(20,6,8,.45) 45%, rgba(20,6,8,.2)); }
.foot-top { display: grid; gap: 40px; }
@media (min-width: 1000px) { .foot-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-cta h2 { font: 400 var(--t-h2)/1.06 var(--f-text); max-width: 15ch; margin-bottom: 22px; }
.foot-col { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.foot-h { font: 700 11px/1 var(--f-text); text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: 10px; }
.foot-col a { font: 500 clamp(16px, 1.2vw, 19px)/1.4 var(--f-text); text-decoration: none; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-giant { margin: clamp(80px, 12vw, 200px) 0 0; display: grid; justify-items: start; line-height: 1; }
.foot-giant .caps { font: 700 clamp(48px, 9vw, 150px)/.8 var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: -.02em; margin-left: 30%; }
.foot-giant .px { width: 100%; height: auto; color: #fff; margin-top: -1.5%; }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px; margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.25); font-size: 12px; color: #fff; }
.foot-bot nav { display: flex; gap: 18px; align-items: center; }
.cookie-settings { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.cookie-settings:hover { text-decoration: underline; }
/* cookie choice: shown only when analytics is set up (site.json ga_id) and no choice is stored yet */
.consent { position: fixed; z-index: 80; left: 16px; bottom: 16px; width: min(380px, calc(100% - 32px)); padding: 18px 18px 16px; border-radius: var(--r); background: var(--ink-800); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 50px rgba(0,0,0,.5); font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.85); }
.consent b { display: block; margin-bottom: 6px; font: 400 10px/1.3 var(--f-pixel); text-transform: uppercase; color: var(--accent); }
.consent a { color: #fff; }
.consent p { margin: 0 0 14px; }
.consent-btns { display: flex; gap: 8px; }
.consent-btns .btn { flex: 1 1 0; min-height: 40px; }
@media (max-width: 767px) { body:has(.lp-bar) .consent { bottom: 84px; } }
@media (prefers-reduced-motion: no-preference) { .consent { animation: consent-in .4s var(--e-out); } }
@keyframes consent-in { from { opacity: 0; transform: translateY(12px); } }
.foot-bot a { text-decoration: none; }
.foot-note { max-width: 640px; margin: 0 0 6px; }
.to-top { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: rgba(17,24,33,.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@media (max-width: 767px) {
  .foot-giant .caps { margin-left: 0; }
  /* the two lines of the giant sign touch once they sit flush left, so open a small gap */
  .foot-giant .px { margin-top: 2.5%; }
  .foot-top { grid-template-columns: 1.2fr 1fr; gap: 36px 16px; }
  .foot-cta { grid-column: 1 / -1; }
  .foot-col { gap: 0; }
  .foot-h { margin-bottom: 4px; }
  .foot-col a { padding: 11px 0; line-height: 1.35; }
  .foot-giant { margin-top: 64px; }
  .foot-bot nav { gap: 8px; }
  .foot-bot nav a:not(.to-top) { padding: 13px 6px; }
  .to-top { width: 44px; height: 44px; }
}

/* ---------- preloader (first visit of a session) ---------- */
html.pre body { overflow: hidden; }
.preload { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--ink-900); transition: transform .6s var(--e-wipe); }
.preload canvas { width: min(70vw, 520px); height: auto; image-rendering: pixelated; transition: transform .6s var(--e-wipe), opacity .4s; }
.preload.go { transform: translateY(-100%); }
.preload.go canvas { transform: translateY(-60px); opacity: 0; }
html.pre:not(.js) .preload { display: none; }

/* ---------- 404 ---------- */
.t-error .page-hero h1 { font-family: var(--f-pixel); font-weight: 400; font-stretch: 100%; text-transform: none; }
@media (max-width: 767px) { .t-error .page-hero .glyph { display: none; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js .rv, html.js .split-ready .lm > span { opacity: 1; transform: none; }
  .preload { display: none; }
}
html.pre body::after { content: ""; position: fixed; inset: 0; z-index: 199; background: var(--ink-900); animation: pre-gone 0s 2.6s forwards; }
@keyframes pre-gone { to { visibility: hidden; } }
.feature code, .prose code, table.spec code, .faq code { font: 500 .88em/1 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 2px 5px; border-radius: 2px; background: rgba(255,255,255,.08); color: #fff; }

/* animated buttons (.cta-fx): a pixel spark that twinkles through five frames (home.js steps it), a glint that sweeps
   the label every few seconds, and an arrow that flies out and back on hover */
.cta-fx { --tx: var(--ink-900); --hi: var(--accent); }
.btn-pri.cta-fx { --tx: var(--on-accent); --hi: #fff; }
.btn-pri.cta-fx:hover { --tx: var(--ink-900); --hi: var(--accent); }
.btn-sec.cta-fx:hover { --tx: #fff; --hi: var(--accent); }
.cta-fx .shine { color: var(--tx); }
.cta-fx .spark { flex: none; width: 13px; height: 13px; fill: currentColor; transition: fill .15s var(--e-ui); }
.cta-fx:hover .spark { fill: var(--accent); }
.spark path { display: none; }
.spark:not([data-f]) .f5, .spark[data-f="1"] .f1, .spark[data-f="2"] .f2, .spark[data-f="3"] .f3, .spark[data-f="4"] .f4, .spark[data-f="5"] .f5 { display: inline; }
.cta-fx .go { flex: none; display: inline-flex; width: 11px; height: 11px; overflow: hidden; }
.cta-fx .go svg { width: 11px; height: 11px; fill: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .cta-fx .shine { background: linear-gradient(100deg, var(--tx) 0 42%, var(--hi) 50%, var(--tx) 58% 100%) 100% 0 / 320% 100% no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4.2s ease-in-out infinite; }
  .btn-pair .cta-fx + .cta-fx .shine { animation-delay: .5s; }
  .cta-fx:hover .go svg { animation: fly .55s var(--e-out); }
  .cta-fx .go svg { animation: nudge 4.2s ease-in-out .5s infinite; }
}
@keyframes shine { 0%, 58% { background-position: 100% 0; } 88%, 100% { background-position: 0 0; } }
@keyframes nudge { 0%, 80%, 100% { transform: none; } 86% { transform: translate(2px, -2px); } 92% { transform: none; } }
@keyframes fly { 0% { transform: none; } 44% { transform: translate(140%, -140%); } 45% { transform: translate(-140%, 140%); } 100% { transform: none; } }

/* guides: the answer first, in two or three sentences, for skimming readers and for AI answers to quote */
.answer { margin: 0 0 2em; padding: 22px 24px; border-radius: var(--r); background: var(--ink-800); box-shadow: inset 0 3px 0 var(--accent); }
.answer > p:first-child { margin: 0 0 8px; font: 400 11px/1.3 var(--f-pixel); text-transform: uppercase; color: var(--accent); }
.answer p:last-child { margin: 0; color: #fff; }

/* scrolling logo strip: white-label brands and studios on the home page, studios on the casino pages.
   Two copies of the list slide left together; the second fills the gap the first leaves. Every logo links out.
   tools/make_logo_strips.py writes the partials; each logo carries its display height in --h. */
.ticker { --gap: 14px; position: relative; display: flex; overflow: hidden; padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { flex: none; display: flex; align-items: center; gap: var(--gap); margin: 0; padding: 0 var(--gap) 0 0; list-style: none; animation: ticker 70s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker:has(:focus-visible) { -webkit-mask-image: none; mask-image: none; }
.ticker:has(:focus-visible) .ticker-track { animation: none; flex: 1 1 auto; flex-wrap: wrap; justify-content: center; padding: 0; }
.ticker:has(:focus-visible) .ticker-track[aria-hidden] { display: none; }
.ticker li { display: flex; }
.ticker a { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 190px; height: 104px; padding: 0 30px; border: 1px solid transparent; border-radius: var(--r); background: none; color: #fff; text-decoration: none; font: 700 19px/1 var(--f-text); letter-spacing: -.01em; white-space: nowrap; transition: background-color .2s var(--e-ui), border-color .2s var(--e-ui); }
.ticker a:hover, .ticker a:focus-visible { background: rgba(255,255,255,.05); }
.ticker img { display: block; width: auto; height: var(--h, 32px); max-width: none; }
.ticker img.mono { filter: brightness(0) invert(1); }
/* Betcric Neo's "bet" box is see-through: a white backing keeps the black lettering readable on a dark tile */
.ticker img.plate { box-sizing: content-box; padding: 6px 9px; border-radius: 3px; background: #fff; }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (max-width: 767px) {
  .ticker a { min-width: 150px; height: 78px; padding: 0 22px; font-size: 15px; }
  .ticker img { height: calc(var(--h, 32px) * .72); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker { -webkit-mask-image: none; mask-image: none; }
  .ticker-track { animation: none; flex-wrap: wrap; justify-content: center; padding: 0; }
  .ticker-track[aria-hidden] { display: none; }
}

/* the home band: just the strip, between the products and the figures */
.partners-band { padding: clamp(28px, 4vw, 56px) 0; background: var(--ink-900); }

/* page-hero star: a soft pulse runs out from the centre along the arms, every few seconds.
   Each dot carries --r, its ring counted out from the centre (set in partials/glyph-star.html). */
.glyph [style*="--r"] { transform-box: fill-box; transform-origin: center; animation: g-ripple 4.2s ease-in-out infinite; animation-delay: calc(var(--r) * .14s); }
@keyframes g-ripple { 0%, 34%, 100% { opacity: .55; transform: none; } 14% { opacity: 1; transform: scale(1.45); } }
@media (prefers-reduced-motion: reduce) { .glyph [style*="--r"] { animation: none; } }
