/* momensports.com public pages (redesign 11 Nov 2026, "Match night"; mockup in design/web-2026-11).
   Loaded by public_html/index.php for the home page and /revision. */
:root {
  color-scheme: dark;
  /* layered blacks, deepest first (app: kStageDeep, kStage, kPanel, kBg, kSurface) */
  --ground: #08080A;
  --well: #0C0C0F;
  --panel: #141416;
  --raise: #1C1C1F;
  --raise-2: #27272B;
  --line: #2A2A30;
  --line-2: #3B3B41;
  --hair: rgb(255 255 255 / .07);
  /* ink */
  --ink: #F4F3F5;
  --ink-2: #A9A8AE;   /* the logo's silver */
  --ink-3: #6E6D74;
  --on-white: #07070A;
  /* the one red */
  --red: #EA0B41;
  --red-hi: #FF2457;
  --red-deep: #B0082F;
  --red-ink: #FF4468;  /* red text on black */
  --red-glow: rgb(234 11 65 / .35);
  --ok: #3ED37C;
  /* tag colours, only inside the app mock (from the 0.18 coding board) */
  --t-green: #34C46D; --t-red: #E8555F; --t-purple: #9B4FE0; --t-blue: #1E9BEA; --t-yellow: #F2C230;
  /* type */
  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --wrap: 1200px;
  --r-pane: 18px;
  --r-card: 14px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ground); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
h1, h2, h3 { font-family: var(--f-display); font-stretch: 112%; margin: 0; text-wrap: balance; letter-spacing: -.02em; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* the logo's lean: a slanted red stroke before a title (as in the app's panel titles) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 5px; height: 16px; border-radius: 2px; background: var(--red); transform: skewX(-24deg); }
.sec { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.02; font-weight: 800; }
.sec-head h2 em, .sec-head h1 em { font-style: normal; color: var(--red-ink); }
.lead { color: var(--ink-2); font-size: clamp(16px, 1.5vw, 19px); max-width: 60ch; }

/* buttons: round, the main action white with the red play mark (as in the app) */
.btn {
  --h: 50px; display: inline-flex; align-items: center; gap: 10px; height: var(--h); padding: 0 24px;
  border-radius: 999px; font: 600 15px/1 var(--f-body); white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; will-change: transform;
}
.btn-main { background: var(--ink); color: var(--on-white); box-shadow: 0 10px 30px -10px rgb(255 255 255 / .25); }
.btn-main:hover { background: #fff; }
.btn-main .play { width: 11px; height: 12px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); border-radius: 1px; }
.btn-ghost { background: var(--raise); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-3); background: var(--raise-2); }
.btn-red { background: linear-gradient(180deg, var(--red-hi), var(--red) 55%, var(--red-deep)); color: #fff; box-shadow: 0 12px 34px -12px var(--red-glow); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
}
.nav-in {
  max-width: var(--wrap); margin: 12px auto 0; height: 60px; display: flex; align-items: center; gap: 18px;
  padding: 0 10px 0 18px; border-radius: 999px; position: relative; /* not overflow: hidden, the language menu drops out of it */
  background: rgb(20 20 22 / .72); border: 1px solid var(--hair);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.brand { display: flex; align-items: center; gap: 10px; font: 800 19px/1 var(--f-display); font-stretch: 115%; letter-spacing: -.01em; }
.brand svg { width: 36px; height: 19px; }
.nav-links { display: flex; gap: 4px; margin-left: 18px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: var(--raise); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.clock { display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 32px; border-radius: 999px; background: var(--well); border: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.clock .rec { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 var(--red-glow); animation: rec 1.6s infinite; }
@keyframes rec { 0% { box-shadow: 0 0 0 0 rgb(234 11 65 / .6); } 70% { box-shadow: 0 0 0 7px rgb(234 11 65 / 0); } 100% { box-shadow: 0 0 0 0 rgb(234 11 65 / 0); } }
.lang { font-size: 13px; color: var(--ink-2); padding: 8px 10px; border-radius: 999px; }
.lang:hover { color: var(--ink); }
/* The language menu (13 Nov 2026: five languages). */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-weight: 600; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; }
.lang-menu[open] summary { color: var(--ink); background: var(--raise); }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 196px; padding: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgb(0 0 0 / .5); display: grid; gap: 2px; z-index: 60; }
.lang-list a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--ink-2); }
.lang-list a b { width: 22px; font: 600 11px/1 var(--f-mono, monospace); letter-spacing: .06em; color: var(--ink-3, var(--ink-2)); }
.lang-list a:hover { background: var(--raise); color: var(--ink); }
.lang-list a[aria-current] { color: var(--ink); }
.lang-list a[aria-current] b { color: var(--red-ink); }
/* Japanese has no italic: a slanted kana line reads as a mistake (as in the app). */
:lang(ja) em, :lang(ja) i { font-style: normal; }
/* Japanese has no spaces: break headings between phrases, not inside a word (19 Nov 2026). */
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { word-break: auto-phrase; }
.nav-progress { position: absolute; left: 30px; bottom: -1px; height: 2px; width: calc(100% - 60px); border-radius: 2px; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------------------------------------------------------------- hero: a live scene */
/* The scene is a 16:9 box (.scene-in) that covers the hero like background-size: cover,
   so every layer is placed in % of the same picture at every screen width. */
.hero { position: relative; min-height: min(100svh, 980px); display: grid; align-items: end; overflow: hidden; isolation: isolate; padding-top: calc(env(safe-area-inset-top, 0px) + 110px); padding-bottom: clamp(28px, 4vw, 56px); }
.scene { position: absolute; inset: 0; z-index: -1; container-type: size; overflow: hidden; background: #060608; }
/* --fy 60%: on screens wider than 16:9 the crop takes more off the top (stands) than off the floor */
.scene-in { --fx: 50%; --fy: 60%; position: absolute; left: var(--fx); top: var(--fy); width: max(100cqw, 177.78cqh); aspect-ratio: 16 / 9; transform: translate(calc(var(--fx) * -1), calc(var(--fy) * -1)); }
.lyr { position: absolute; inset: 0; }
.lyr img { width: 100%; height: 100%; object-fit: cover; }
/* One still picture of a futsal attack (12 Nov 2026); only the drawings (.tele) and the tags move.
   The strokes, plate, ruler label and bubble copy the look of the app's Gambar tools. Without GSAP (or with
   reduced motion) everything stays drawn; site.js hides it and draws it in order. */
.tele { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 4; }
.tele .ln { fill: none; stroke: var(--red-hi); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgb(255 36 87 / .75)); }
.tele .ln.thin { stroke-width: 3; stroke: rgb(255 255 255 / .9); filter: drop-shadow(0 0 4px rgb(0 0 0 / .8)); }
.tele .ln.dash { stroke-dasharray: 16 12; }
.tele .glow { fill: rgb(234 11 65 / .3); stroke: none; filter: blur(7px); }
.tele .fill { fill: rgb(234 11 65 / .26); stroke: none; }
.tele-tag, .tele-bubble { position: absolute; z-index: 5; white-space: nowrap; pointer-events: none; transform: translate(-50%, -50%); }
.tele-tag { padding: 4px 10px; border-radius: 7px; font-size: clamp(10px, .9cqw, 14px); color: var(--ink); background: rgb(8 8 10 / .82); border: 1px solid rgb(255 255 255 / .22); }
.tele-tag.plate { left: 42.6%; top: 86.5%; font: 700 clamp(11px, 1cqw, 16px)/1.2 var(--f-display); font-stretch: 112%; background: var(--red); border-color: transparent; color: #fff; }
#tRulerLbl { left: 66%; top: 32.5%; }
.tele-bubble { left: 54.8%; top: 18%; padding: 7px 13px; border-radius: 14px; background: #fff; color: #0b0b0d; font: 800 clamp(12px, 1.15cqw, 18px)/1 var(--f-display); font-stretch: 112%; }
.tele-bubble::after { content: ""; position: absolute; right: -9px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-left: 10px solid #fff; border-right: 0; }
/* stand-ins until the ChatGPT layers exist */
.stand-in { display: block; position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; border-radius: 40% 40% 12% 12%; }
.stand-in.red { background: linear-gradient(180deg, #ff4b6b, #b0082f 55%, #111 56%); }
.stand-in.lime { background: linear-gradient(180deg, #c7f23a, #6f8c12 55%, #111 56%); }
.stand-in.flat { height: 30%; bottom: 55%; width: 160%; left: -60%; border-radius: 30px; }
.stand-in.black { background: linear-gradient(180deg, #3a3a40, #16161a); }
.stand-in.ballish { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #bbb 60%, #555); }
.scene-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(6 6 8 / .9) 0%, rgb(6 6 8 / .6) 24%, rgb(6 6 8 / .05) 42%, transparent 55%),
    linear-gradient(180deg, rgb(6 6 8 / .65) 0%, transparent 22%, transparent 84%, var(--ground) 100%); }
.rec-hud { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 96px); right: max(24px, env(safe-area-inset-right, 0px)); display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgb(8 8 10 / .6); border: 1px solid var(--hair); font-size: 12px; color: var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rec-hud i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: rec 1.6s infinite; }
.rec-hud .cam { color: var(--ink-3); padding-left: 8px; border-left: 1px solid var(--line-2); }
.tag-pop { position: absolute; left: 22%; top: 19%; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; opacity: 0;
  background: rgb(20 20 22 / .9); border: 1px solid var(--line-2); box-shadow: 0 0 0 1px rgb(0 0 0 / .5), 0 24px 50px -10px rgb(0 0 0 / .9); font: 800 clamp(13px, 1.25cqw, 20px)/1 var(--f-display); font-stretch: 112%; white-space: nowrap; }
.tag-pop .k { width: 2em; height: 2em; border-radius: 9px; display: grid; place-items: center; background: var(--t-green); color: #fff; font: 600 .8em/1 var(--f-mono); box-shadow: inset 0 -3px 0 rgb(0 0 0 / .25); }
.tag-pop .mono { color: var(--ink-2); font-weight: 500; font-size: .8em; }
.tag-pop::after { content: ""; position: absolute; inset: -2px; border-radius: 18px; border: 2px solid var(--red); opacity: 0; }
.tag-pop.ring::after { animation: ring .7s ease-out; }
@keyframes ring { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.25); } }

.hero-over { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); align-items: end; gap: 32px; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 22px; max-width: 540px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 66px); line-height: .98; font-weight: 850; font-stretch: 116%; letter-spacing: -.03em; text-shadow: 0 4px 40px rgb(0 0 0 / .6); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 em { font-style: italic; color: var(--red-ink); font-weight: 850; }
.hero .lead { max-width: 46ch; color: #C9C8CE; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--ink-3); font-size: 13.5px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--ok); }

/* the tagging deck: Momen's side of the play */
.deck { padding: 16px; border-radius: 20px; background: rgb(20 20 22 / .82); border: 1px solid var(--line-2); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 40px 80px -30px rgb(0 0 0 / .95); display: grid; gap: 14px; }
.deck-head { display: flex; align-items: center; justify-content: space-between; font: 600 13px/1 var(--f-body); color: var(--ink-2); }
.deck-title { display: inline-flex; align-items: center; gap: 9px; }
.deck-title::before { content: ""; width: 4px; height: 13px; border-radius: 2px; background: var(--red); transform: skewX(-24deg); }
.deck-count { font-size: 12px; color: var(--ink); }
.deck-keys { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }
.dkey { --c: var(--t-green); position: relative; height: 46px; border-radius: 11px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 8px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 86%, #fff 14%), var(--c)); color: #fff; font: 700 12.5px/1.1 var(--f-body); white-space: nowrap;
  box-shadow: 0 5px 0 color-mix(in srgb, var(--c) 55%, #000 45%), 0 12px 20px -10px rgb(0 0 0 / .8); transition: transform .08s, box-shadow .08s; }
.dkey .lt { font: 600 10.5px/1 var(--f-mono); padding: 3px 5px; border-radius: 5px; background: rgb(0 0 0 / .22); }
.dkey.down { transform: translateY(4px); box-shadow: 0 1px 0 color-mix(in srgb, var(--c) 55%, #000 45%), 0 4px 8px -6px rgb(0 0 0 / .8); }
.dkey.live { outline: 2px solid var(--red); outline-offset: 3px; }
.dkey.live::after { content: ""; position: absolute; top: 6px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: rec 1.2s infinite; }
.strip { position: relative; display: grid; gap: 5px; padding: 10px 10px 10px 0; border-radius: 12px; background: var(--well); border: 1px solid var(--line); overflow: hidden; }
.strip-lane { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; height: 14px; }
.strip-name { font: 600 10px/1 var(--f-mono); color: var(--ink-3); text-align: center; }
.strip-track { position: relative; height: 100%; }
.strip-track .bar { top: 1px; height: 12px; }
.strip-head { position: absolute; top: 0; bottom: 0; left: 70%; width: 2px; background: var(--red); box-shadow: 0 0 10px var(--red-glow); }

.showcase { padding-top: 10px; }
.showcase .hero-meta { margin-bottom: 8px; }

.stage { position: relative; margin-top: clamp(48px, 7vw, 84px); perspective: 1600px; }
.app-win {
  position: relative; margin: 0 auto; max-width: 1120px; border-radius: 16px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line-2);
  box-shadow: 0 60px 120px -40px rgb(0 0 0 / .9), 0 0 0 1px rgb(0 0 0 / .6), 0 -1px 0 rgb(255 255 255 / .08) inset;
  transform-origin: 50% 0%; transform: rotateX(16deg) scale(.94); will-change: transform;
}
.app-win::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgb(255 255 255 / .05), transparent 30%); }
.app-win img { width: 100%; height: auto; }
.app-shine { position: absolute; inset: -40% -10% auto; height: 60%; background: radial-gradient(closest-side, rgb(234 11 65 / .45), transparent); filter: blur(40px); z-index: -1; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px 9px 9px; border-radius: 14px;
  background: rgb(28 28 31 / .88); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -12px rgb(0 0 0 / .8); font: 600 14px/1 var(--f-body); white-space: nowrap;
}
.chip .k { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font: 600 11px/1 var(--f-mono); color: #fff; box-shadow: inset 0 -3px 0 rgb(0 0 0 / .25); }
.chip .t { font: 500 12px/1 var(--f-mono); color: var(--ink-3); margin-left: 4px; }
.chip.c1 { left: -2%; top: 18%; } .chip.c1 .k { background: var(--t-green); }
.chip.c2 { right: -3%; top: 34%; } .chip.c2 .k { background: var(--t-purple); }
.chip.c3 { left: 4%; bottom: 14%; } .chip.c3 .k { background: var(--red); }
.chip.c4 { right: 6%; bottom: 8%; } .chip.c4 .k { background: var(--t-yellow); color: #3a2a00; }

/* ---------------------------------------------------------------- sports */
.sports { padding-block: clamp(70px, 9vw, 120px) 40px; overflow: hidden; position: relative; }
.sports-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.sports-head h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.02; font-weight: 800; max-width: 14ch; }
.sports-head p { color: var(--ink-2); max-width: 42ch; }
.balls { position: relative; margin: 10px auto 0; max-width: 1200px; aspect-ratio: 1536 / 694; }
.balls img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 40px 50px rgb(0 0 0 / .8)); }
.balls .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.marquee { --gap: 14px; display: flex; gap: var(--gap); width: max-content; padding-block: 18px; }
.marquee-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.sport-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px 12px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font: 600 16px/1 var(--f-body); color: var(--ink-2); white-space: nowrap; }
.sport-pill svg { width: 26px; height: 26px; color: var(--ink); }
.sport-pill.you { color: var(--ink); border-color: var(--red); background: rgb(234 11 65 / .08); }
.sport-pill.you svg { color: var(--red-ink); }

/* ---------------------------------------------------------------- demo board */
.demo { background: linear-gradient(180deg, transparent, var(--well) 12%, var(--well) 88%, transparent); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.pane {
  background: linear-gradient(180deg, #1A1A1E, var(--panel) 40%); border: 1px solid var(--line); border-radius: var(--r-pane);
  box-shadow: 0 1px 0 rgb(255 255 255 / .05) inset, 0 30px 60px -30px rgb(0 0 0 / .9);
}
.pane-title { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 600 13px/1 var(--f-body); color: var(--ink-2); }
.pane-title::before { content: ""; width: 4px; height: 13px; border-radius: 2px; background: var(--red); transform: skewX(-24deg); }
.pane-title .sp { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.kbd-hint { font: 500 12px/1 var(--f-body); color: var(--ink-3); }
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; padding: 20px; }
.key {
  --c: var(--t-green); position: relative; height: 62px; border-radius: 12px; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 10px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 86%, #fff 14%), var(--c));
  color: #fff; font: 700 13.5px/1.1 var(--f-body); text-shadow: 0 1px 1px rgb(0 0 0 / .25);
  box-shadow: 0 6px 0 color-mix(in srgb, var(--c) 55%, #000 45%), 0 14px 24px -10px rgb(0 0 0 / .8);
  transform: translateY(0); transition: transform .08s, box-shadow .08s;
}
.key .lt { font: 600 11px/1 var(--f-mono); padding: 4px 6px; border-radius: 6px; background: rgb(0 0 0 / .22); }
.key .n { position: absolute; top: 6px; right: 8px; font: 600 11px/1 var(--f-mono); opacity: .85; }
.key:active, .key.is-down { transform: translateY(5px); box-shadow: 0 1px 0 color-mix(in srgb, var(--c) 55%, #000 45%), 0 4px 10px -6px rgb(0 0 0 / .8); }
.key.is-down { outline: 2px solid var(--red); outline-offset: 3px; }
.key.yellow { color: #2e2100; text-shadow: none; }
.tl { padding: 8px 0 14px; }
.tl-ruler { position: relative; height: 26px; margin-left: 150px; margin-right: 16px; border-bottom: 1px solid var(--line); }
.tl-ruler span { position: absolute; top: 6px; transform: translateX(-50%); font: 500 11px/1 var(--f-mono); color: var(--ink-3); }
.tl-lanes { position: relative; }
.lane { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; height: 26px; }
.lane:nth-child(odd) .lane-track { background: rgb(255 255 255 / .015); }
.lane-name { display: flex; align-items: center; gap: 8px; padding-left: 16px; font: 600 12.5px/1 var(--f-body); color: var(--ink-2); overflow: hidden; white-space: nowrap; }
.lane-name .cnt { font: 600 11px/1 var(--f-mono); color: var(--ink); min-width: 14px; }
.lane-name .lt { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; font: 600 10px/1 var(--f-mono); color: #fff; background: var(--c); flex: none; }
.lane-track { position: relative; height: 100%; margin-right: 16px; }
.bar { position: absolute; top: 4px; height: 18px; border-radius: 999px; background: var(--c); box-shadow: inset 0 -2px 0 rgb(0 0 0 / .2); transform-origin: 0 50%; }
.playhead { position: absolute; top: -26px; bottom: 0; width: 2px; background: var(--red); left: 150px; z-index: 2; pointer-events: none; box-shadow: 0 0 12px var(--red-glow); }
.playhead::before { content: attr(data-t); position: absolute; top: 2px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font: 600 11px/1 var(--f-mono); padding: 4px 6px; border-radius: 6px; white-space: nowrap; }
.demo-foot { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; margin-top: 18px; color: var(--ink-3); font-size: 14px; }
.demo-foot kbd { font: 600 12px/1 var(--f-mono); padding: 4px 7px; border-radius: 6px; background: var(--raise); border: 1px solid var(--line-2); border-bottom-width: 3px; color: var(--ink); }

/* ---------------------------------------------------------------- workflow (pinned on wide screens) */
.flow { overflow: hidden; }
.flow-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.step { position: relative; padding: 26px; min-height: 300px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; border-radius: var(--r-pane); }
.step .tc { font: 600 12px/1 var(--f-mono); color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.step .tc i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.step.is-on .tc i { background: var(--red); box-shadow: 0 0 10px var(--red); }
.step h3 { font-size: 30px; font-weight: 800; line-height: 1; }
.step p { color: var(--ink-2); font-size: 15px; }
.step .big { margin-top: auto; font: 900 120px/.8 var(--f-display); font-stretch: 125%; color: transparent; -webkit-text-stroke: 1px var(--line-2); align-self: flex-end; }
.step.is-on .big { -webkit-text-stroke-color: var(--red); }
.step .ico { width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; background: var(--raise-2); border: 1px solid var(--line-2); }
.step.is-on .ico { background: var(--red); border-color: var(--red); }
.step .ico svg { width: 20px; height: 20px; }
.flow-line { position: relative; height: 2px; background: var(--line); margin: 0 0 26px; border-radius: 2px; }
.flow-line b { position: absolute; inset: 0; background: var(--red); transform-origin: 0 50%; transform: scaleX(.25); border-radius: 2px; }

/* ---------------------------------------------------------------- workspaces */
.ws { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.ws-list { display: grid; gap: 0; }
.ws-item { padding: 40px 0; border-top: 1px solid var(--line); min-height: 62vh; display: grid; align-content: center; gap: 16px; opacity: .35; transition: opacity .4s; }
.ws-item:last-child { border-bottom: 1px solid var(--line); }
.ws-item.is-on { opacity: 1; }
.ws-name { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--red-ink); }
.ws-item h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; font-weight: 800; }
.ws-item p { color: var(--ink-2); }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--ink-2); font-size: 15px; }
.ticks li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--raise-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4F3F5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ticks kbd { font: 600 11.5px/1 var(--f-mono); padding: 2px 6px; border-radius: 5px; background: var(--raise); border: 1px solid var(--line-2); color: var(--ink); }
.soon { display: inline-block; margin-left: 6px; font: 600 10.5px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: rgb(242 194 48 / .14); color: var(--t-yellow); vertical-align: 2px; }
.ws-media { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 110px); aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); box-shadow: 0 50px 100px -40px rgb(0 0 0 / .95); }
.ws-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .7s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.ws-media img.is-on { opacity: 1; transform: scale(1); }
.ws-media .badge { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgb(8 8 10 / .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 600 12px/1 var(--f-mono); border: 1px solid var(--hair); }
.ws-media .badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.ws-img-inline { display: none; }

/* ---------------------------------------------------------------- why: bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; overflow: hidden; padding: 26px; border-radius: var(--r-pane); background: linear-gradient(180deg, #19191D, var(--panel)); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(234 11 65 / .14), transparent 45%); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 21px; font-weight: 750; line-height: 1.15; font-stretch: 108%; }
.tile p { color: var(--ink-2); font-size: 15px; }
.tile .ib { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--raise-2); border: 1px solid var(--line-2); margin-bottom: 6px; }
.tile .ib svg { width: 20px; height: 20px; color: var(--ink); }
.tile.span-2 { grid-column: span 2; } .tile.span-3 { grid-column: span 3; } .tile.span-4 { grid-column: span 4; }
.tile.photo { padding: 0; min-height: 380px; align-content: end; }
.tile.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile.photo .cap { position: relative; padding: 26px; display: grid; gap: 8px; background: linear-gradient(transparent, rgb(8 8 10 / .92) 45%); }
.stat { font: 850 clamp(56px, 6vw, 84px)/.9 var(--f-display); font-stretch: 120%; letter-spacing: -.03em; }
.stat small { font-size: .38em; letter-spacing: 0; color: var(--ink-2); font-weight: 700; margin-left: 6px; }
.tile.red { background: linear-gradient(160deg, #2A0A12, #160A0D 60%, var(--panel)); border-color: rgb(234 11 65 / .35); }

/* ---------------------------------------------------------------- live band (full bleed photo) */
.band { position: relative; min-height: 78vh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.band-img { position: absolute; inset: -12% 0; z-index: -2; }
.band-img img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ground) 0%, rgb(8 8 10 / .2) 30%, rgb(8 8 10 / .35) 60%, var(--ground) 100%), linear-gradient(90deg, rgb(8 8 10 / .85), transparent 65%); }
.band-copy { padding-block: 120px 100px; display: grid; gap: 22px; max-width: 640px; }
.band-copy h2 { font-size: clamp(36px, 5.6vw, 72px); line-height: 1; font-weight: 850; }
.band-copy h2 em { font-style: italic; color: var(--red-ink); }
.rec-row { display: flex; flex-wrap: wrap; gap: 10px; }
.rec-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgb(20 20 22 / .75); border: 1px solid var(--hair); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 600 13px/1 var(--f-mono); }
.rec-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: rec 1.6s infinite; }

/* ---------------------------------------------------------------- gear */
/* 12 Nov 2026 (Boss): the picture stays in view while the list scrolls past, like the workspaces picture */
.gear { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.gear-art { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 110px); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3 / 2; background: var(--panel); }
.gear-art img { width: 100%; height: 100%; object-fit: cover; }
.pin { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--on-white); font: 700 12px/1 var(--f-mono); box-shadow: 0 0 0 6px rgb(255 255 255 / .12), 0 8px 20px rgb(0 0 0 / .6); transition: background .2s, color .2s, transform .2s; }
.pin.is-on { background: var(--red); color: #fff; transform: scale(1.18); box-shadow: 0 0 0 8px rgb(234 11 65 / .25), 0 8px 20px rgb(0 0 0 / .6); }
.gear-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: g; }
.gear-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 14px 14px; border-radius: 14px; cursor: default; transition: background .2s; }
.gear-list li:hover, .gear-list li.is-on { background: var(--panel); }
.gear-list .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 11px/1 var(--f-mono); background: var(--raise-2); color: var(--ink-2); margin-top: 1px; }
.gear-list li.is-on .n { background: var(--red); color: #fff; }
.gear-list h3 { font: 650 16px/1.3 var(--f-body); letter-spacing: 0; }
.gear-list p { color: var(--ink-3); font-size: 14px; margin-top: 3px; }
.ready { font: 600 10.5px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: rgb(62 211 124 / .12); color: var(--ok); margin-left: 6px; vertical-align: 2px; }
.note { color: var(--ink-3); font-size: 13px; margin-top: 22px; }

/* ---------------------------------------------------------------- roles */
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.role { padding: 26px; border-radius: var(--r-pane); border: 1px solid var(--line); background: var(--panel); display: grid; gap: 10px; align-content: start; transition: border-color .3s, transform .3s; }
.role:hover { border-color: var(--line-2); transform: translateY(-4px); }
.role .who { font: 600 12px/1.3 var(--f-mono); color: var(--red-ink); }
.role h3 { font-size: 22px; font-weight: 800; }
.role p { color: var(--ink-2); font-size: 15px; }

/* ---------------------------------------------------------------- plans */
.plans-head { text-align: center; justify-items: center; margin-inline: auto; }
.toggles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { position: relative; z-index: 1; padding: 10px 18px; border-radius: 999px; font: 600 14px/1 var(--f-body); color: var(--ink-2); cursor: pointer; transition: color .2s; display: inline-flex; gap: 8px; align-items: center; }
.seg input:checked + label { color: #fff; background: var(--red); }
.seg input:focus-visible + label { outline: 2px solid var(--red-ink); outline-offset: 2px; }
.seg .save { font-size: 11px; padding: 3px 7px; border-radius: 999px; background: rgb(255 255 255 / .16); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.plan h3 { font-size: 22px; font-weight: 800; }
.plan .for { color: var(--ink-3); font-size: 14px; min-height: 42px; }
.plan .price { container-type: inline-size; display: grid; gap: 4px; min-height: 92px; align-content: start; }
.plan .amt { font: 850 min(38px, 14cqi)/1 var(--f-display); white-space: nowrap; font-stretch: 112%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan .amt .cur { font-size: .52em; font-weight: 750; vertical-align: .62em; margin-right: .12em; letter-spacing: 0; color: var(--ink-2); }
.plan .per { color: var(--ink-3); font-size: 13.5px; }
.plan .eq { color: var(--ink-2); font-size: 13px; }
.plan .seats { font: 600 12.5px/1.3 var(--f-mono); color: var(--ink-2); padding: 10px 12px; border-radius: 10px; background: var(--well); border: 1px solid var(--line); }
.plan .pitch { color: var(--ink-2); font-size: 14.5px; flex: 1; }
.plan .btn { justify-content: center; width: 100%; }
.plan.best { background: linear-gradient(180deg, #2A0A12, #170B0E 55%, var(--panel)); border-color: var(--red); box-shadow: 0 40px 80px -40px var(--red-glow); }
.plan .flag { position: absolute; top: -12px; left: 24px; background: var(--red); color: #fff; font: 700 11px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; }
.pv { display: none; }
body.c-idr.p-year .pv.idr.year, body.c-idr.p-month .pv.idr.month, body.c-usd.p-year .pv.usd.year, body.c-usd.p-month .pv.usd.month { display: grid; gap: 4px; }
.akademi { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; padding: 24px 28px; border-radius: 20px; border: 1px dashed var(--line-2); }
.akademi h3 { font-size: 20px; font-weight: 800; }
.akademi p { color: var(--ink-2); font-size: 14.5px; margin-top: 4px; }

/* ---------------------------------------------------------------- download */
.dl { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(900px 500px at 75% 40%, rgb(234 11 65 / .22), transparent 60%), linear-gradient(180deg, #151518, var(--well)); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 20px; padding: clamp(32px, 6vw, 72px); }
.dl h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1; font-weight: 850; }
.dl h2 em { font-style: italic; color: var(--red-ink); }
.dl-copy { display: grid; gap: 22px; }
.dl-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.dl-meta { font: 500 12.5px/1.5 var(--f-mono); color: var(--ink-3); }
.dl-mark { position: relative; display: grid; place-items: center; min-height: 320px; }
.dl-mark img, .dl-mark svg.fallback { width: min(420px, 90%); height: auto; filter: drop-shadow(0 40px 60px rgb(0 0 0 / .7)) drop-shadow(0 0 60px rgb(234 11 65 / .25)); }
.dl-mark .ring { position: absolute; width: 460px; height: 460px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgb(255 255 255 / .06); }
.dl-mark .ring.r2 { width: 340px; height: 340px; border-color: rgb(234 11 65 / .2); }

/* ---------------------------------------------------------------- faq + footer */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 650 17px/1.35 var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--raise-2); position: relative; transition: transform .3s, background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); border-radius: 2px; }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); background: var(--red); }
.faq .a { padding: 0 24px 22px; color: var(--ink-2); font-size: 15.5px; max-width: 70ch; }
.faq code { font: 500 13px/1 var(--f-mono); background: var(--raise); padding: 2px 6px; border-radius: 5px; color: var(--ink); }
footer { border-top: 1px solid var(--line); padding-block: 40px 50px; margin-top: 40px; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; color: var(--ink-3); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot nav a:hover { color: var(--ink); }


/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile.span-2, .tile.span-3, .tile.span-4 { grid-column: span 1; }
  .tile.photo { grid-column: 1 / -1; }
  .flow-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gear { grid-template-columns: minmax(0, 1fr); }
  .gear-art { position: relative; top: auto; }
}
@media (max-width: 900px) {
  .nav-links, .clock { display: none; }
  .ws { grid-template-columns: minmax(0, 1fr); }
  .ws-media { display: none; }
  .ws-img-inline { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16 / 10; }
  .ws-img-inline img { width: 100%; height: 100%; object-fit: cover; }
  .ws-item { min-height: 0; opacity: 1; }
  .dl { grid-template-columns: minmax(0, 1fr); }
  .dl-mark { min-height: 240px; order: -1; }
  .chip.c2, .chip.c4 { display: none; }
  .hero { display: block; min-height: 0; padding-top: calc(env(safe-area-inset-top, 0px) + 84px); }
  .scene { position: relative; inset: auto; height: 64vw; min-height: 260px; margin-bottom: -40px; z-index: 0; }
  .scene-in { --fx: 62%; }
  .tag-pop { left: 12%; top: 13%; }
  .tele-tag.plate { top: 80%; }
  .scene-shade { background: linear-gradient(180deg, transparent 74%, var(--ground) 100%); }
  .rec-hud { top: 12px; right: 12px; font-size: 11px; }
  .hero-over { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hero-copy { max-width: none; }
}
@media (max-width: 620px) {
  .plans, .roles, .bento, .flow-track { grid-template-columns: minmax(0, 1fr); }
  .nav .btn-ghost { display: none; }
  .nav-in { padding-left: 14px; }
  .board { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 14px; }
  .key { height: 54px; font-size: 11.5px; flex-direction: column; gap: 4px; }
  .key .n { display: none; }
  .lane { grid-template-columns: 96px minmax(0, 1fr); }
  .tl-ruler { margin-left: 96px; }
  .playhead { left: 96px; }
  .lane-name { padding-left: 10px; font-size: 11px; }
  .chip { font-size: 12px; padding: 7px 10px 7px 7px; }
  .hero h1 { font-stretch: 104%; font-size: 8.4vw; }
  .rec-hud .cam { display: none; }
  .chip.c1 { left: 0; top: -6%; } .chip.c3 { left: auto; right: 0; bottom: -8%; }
  .step { min-height: 0; }
  .step .big { font-size: 80px; }
  .band { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .app-win { transform: none; }
}

/* ================================================================ parts of the live page the mockup did not draw */
kbd { display: inline-block; min-width: 22px; padding: 2px 6px; border-radius: 5px; text-align: center; background: var(--raise); border: 1px solid var(--line-2); border-bottom-width: 2px; font: 600 11.5px/1.4 var(--f-mono); color: var(--ink); }
code { font: 500 13px/1 var(--f-mono); background: var(--raise); padding: 2px 6px; border-radius: 5px; color: var(--ink); }
li::marker { color: var(--red-ink); font-weight: 700; }
.lead b, .info b, .fold-body b, .pt-text b { color: var(--ink); }
.info a, .fold-body a, .pt-text a, .faq .a a { color: var(--red-ink); text-decoration: underline; text-underline-offset: 3px; }

/* the full feature table under the plans */
.matrix-wrap { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.matrix { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 14px; }
.matrix th, .matrix td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix th:first-child, .matrix td:first-child { text-align: left; width: 42%; color: var(--ink-2); }
.matrix thead th { white-space: nowrap; font: 700 13px/1.2 var(--f-body); color: var(--ink-2); background: var(--raise); }
.matrix thead th.best { color: var(--red-ink); }
.matrix tbody tr:last-child td { border-bottom: 0; }
.matrix tbody tr:hover td { background: rgb(255 255 255 / .02); }
.matrix td.best { background: rgb(234 11 65 / .06); }
.matrix .yes { color: var(--ok); display: inline-grid; }
.matrix .yes svg { width: 18px; height: 18px; }
.matrix .no { color: var(--ink-3); }
.matrix .seatrow td { font: 600 13px/1.3 var(--f-mono); color: var(--ink); }

/* download: per-OS facts and checksums under the buttons */
.dl-btns .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.dl-files { display: grid; gap: 6px; }
.dl-files div { font: 500 12px/1.5 var(--f-mono); color: var(--ink-3); }
.dl-files b { color: var(--ink-2); font-weight: 600; }
.sha { word-break: break-all; }

/* install notes and the folds below the download panel */
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.info { padding: 26px 24px; border-radius: var(--r-pane); background: var(--panel); border: 1px solid var(--line); }
.info h3 { margin: 0 0 12px; font: 750 18px/1.2 var(--f-display); font-stretch: 108%; }
.info p, .info li { color: var(--ink-2); font-size: 14.5px; }
.info p { margin: 0 0 10px; }
.info ol { margin: 0; padding-left: 20px; }
.info li { margin: 6px 0; }
.fold { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r-pane); background: var(--panel); }
.fold > summary { cursor: pointer; list-style: none; padding: 20px 24px; font: 650 16px/1.35 var(--f-body); display: flex; align-items: center; gap: 12px; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::before { content: "+"; color: var(--red-ink); font-weight: 800; width: 14px; }
.fold[open] > summary::before { content: "\2212"; }
.fold-body { padding: 0 24px 22px 50px; color: var(--ink-2); font-size: 15px; }
.fold-body ol, .fold-body ul { padding-left: 20px; margin: 0; }
.fold-body li { margin: 6px 0; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--line-2); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-empty { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--ink-2); }

/* /revision: every release, from the start */
.page-top { padding-top: calc(env(safe-area-inset-top, 0px) + 150px); }
.page-h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.02; font-weight: 850; }
.hist { padding: 8px 28px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.hist > details { border-top: 1px solid var(--line); }
.hist > details:first-of-type { border-top: 0; }
.hist summary { cursor: pointer; list-style: none; display: flex; gap: 14px; align-items: baseline; padding: 18px 0; flex-wrap: wrap; }
.hist summary::-webkit-details-marker { display: none; }
.hist > details > summary::before { content: "+"; color: var(--red-ink); font-weight: 800; width: 12px; }
.hist > details[open] > summary::before { content: "\2212"; }
.hist .v { font: 600 15px var(--f-mono); }
.hist .t { font-weight: 600; }
.hist .d { color: var(--ink-3); font-size: 13px; margin-left: auto; }
.hist .now { font: 700 11px/1 var(--f-body); letter-spacing: .04em; color: #fff; background: var(--red); border-radius: 999px; padding: 4px 9px; align-self: center; }
.ver-body { padding: 0 0 18px 26px; }
.rel-intro { color: var(--ink-2); max-width: 70ch; margin: 0 0 4px; font-size: 14.5px; }
.pts { margin-top: 16px; border-top: 1px solid var(--line); }
.pt { border-bottom: 1px solid var(--line); }
.pt > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 4px; }
.pt > summary::-webkit-details-marker { display: none; }
.pt > summary::before { content: "+"; color: var(--red-ink); font-weight: 800; width: 14px; flex: none; }
.pt[open] > summary::before { content: "\2212"; }
.pt > summary:hover .pt-t { color: #fff; }
.pt-t { flex: 1; color: #E4E3E8; }
.pt-n { flex: none; display: inline-flex; align-items: center; gap: 5px; color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.pt-n .ic { width: 15px; height: 15px; }
.pt-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 18px 36px; align-items: start; padding: 0 4px 26px 38px; }
.pt-body.solo { grid-template-columns: minmax(0, 1fr); }
.pt-text p { margin: 0 0 10px; color: var(--ink-2); max-width: 70ch; }
.pt-text ul { margin: 0 0 10px; padding-left: 20px; color: var(--ink-2); }
.asked { font-size: 12.5px; color: var(--ink-2); border-left: 2px solid var(--red); padding: 2px 0 2px 10px; margin-top: 12px; }
.shots { display: grid; gap: 12px; }
.shots.two { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.shots .shot { margin: 0; background: #050507; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; place-items: center; }
.shots .shot a { display: block; cursor: zoom-in; }
.shots .shot img { border-radius: 5px; height: auto; }
.shots .shot:not(.full) img { width: auto; max-height: 460px; }
.shots .shot.full { padding: 0; overflow: hidden; }
.shots .shot.full img { border-radius: 0; width: 100%; }

/* footer: links, CS and "Momen by Futscore" */
footer { padding-bottom: 92px; }
.foot a:hover { color: var(--ink); }
.foot .cs { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); }
.foot .cs .ic { width: 16px; height: 16px; color: var(--red-ink); }
.foot .cs.wa .ic { color: #25d366; }
.foot .by { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 600; }

/* floating CS button and its first-visit greeting (assets/js/cs-hello.js; the chat itself is assets/css/cs-chat.css) */
.cs-float { position: fixed; z-index: 60; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: flex; align-items: center; }
.cs-float-btn { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 6px 18px -4px rgb(0 0 0 / .55), 0 2px 6px rgb(0 0 0 / .3); transition: transform .18s ease, box-shadow .18s ease; }
.cs-float-tip { position: absolute; right: 100%; top: 50%; margin-right: 10px; padding: 6px 12px; border-radius: 999px; white-space: nowrap; background: var(--raise-2); border: 1px solid var(--line-2); color: var(--ink); font-size: 13px; font-weight: 600; opacity: 0; visibility: hidden; transform: translate(6px, -50%); pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.cs-float:hover .cs-float-btn, .cs-float:focus-visible .cs-float-btn { transform: translateY(-3px); }
.cs-float:focus-visible { outline: none; }
.cs-float:focus-visible .cs-float-btn { outline: 2px solid #fff; outline-offset: 3px; }
@media (hover: hover) and (min-width: 576px) { .cs-float:hover .cs-float-tip, .cs-float:focus-visible .cs-float-tip { opacity: 1; visibility: visible; transform: translateY(-50%); } }
.cs-hello { position: fixed; z-index: 60; right: 80px; bottom: calc(42px + env(safe-area-inset-bottom)); display: flex; align-items: flex-start; gap: 2px; max-width: min(240px, calc(100vw - 96px)); padding: 10px 8px 10px 14px; border-radius: 16px; background: #fff; color: #1d1d22; box-shadow: 0 12px 32px -6px rgb(0 0 0 / .55), 0 2px 8px rgb(0 0 0 / .3); opacity: 0; transform: translate(12px, 50%) scale(.92); transform-origin: right center; transition: opacity .3s ease, transform .3s cubic-bezier(.2, .9, .3, 1.3); }
.cs-hello[hidden] { display: none; }
.cs-hello.is-on { opacity: 1; transform: translate(0, 50%) scale(1); }
.cs-hello::after { content: ""; position: absolute; right: -5px; top: 50%; width: 12px; height: 12px; background: #fff; border-radius: 2px; transform: translateY(-50%) rotate(45deg); }
.cs-hello-msg { color: inherit; font-size: 14px; font-weight: 600; line-height: 1.35; padding-top: 1px; }
.cs-hello-msg:hover { color: #0f7a3c; }
.cs-hello-x { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-left: 4px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #8a8a93; font-size: 18px; line-height: 1; cursor: pointer; }
.cs-hello-x:hover { background: #f0f0f3; color: #1d1d22; }
.cs-float--hello .cs-float-tip { display: none; }
.cs-float--pulse .cs-float-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: cs-pulse 1.2s ease-out 1 both; pointer-events: none; }
@keyframes cs-pulse { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.7); } }

@media (max-width: 900px) {
  .info-grid { grid-template-columns: minmax(0, 1fr); }
  .pt-body { grid-template-columns: minmax(0, 1fr); padding-left: 4px; }
  .ver-body { padding-left: 0; }
  .hist { padding: 4px 18px; }
}
@media (max-width: 620px) {
  .fold-body { padding-left: 24px; }
  .hist .d { margin-left: 26px; width: 100%; }
}
@media (max-width: 575.98px) {
  .cs-float-btn { width: 48px; height: 48px; }
  .cs-float-btn svg { width: 26px; height: 26px; }
  .cs-float-tip { display: none; }
  .cs-hello { right: 76px; bottom: calc(40px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .cs-hello, .cs-hello.is-on { transform: translate(0, 50%); }
}
@media print { .cs-float, .cs-hello, .nav { display: none; } }
