/* Oshicue Apps — one day at the venue, elevated with Rare UI tactile craft. */

@font-face {
  font-family: "Unbounded";
  src: url("fonts/unbounded-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B7, U+00D7, U+2013-2014, U+2019, U+201C-201D, U+2026, U+2192;
}

:root {
  --ink: #0A0A0D;
  --paper: #F4F3EE;
  --surface: #FFFFFF;
  --night-surface: #131318;
  --night-elevated: #1A1A22;
  --pink: #FF3D6E;
  --pink-deep: #D3164A;   /* white text on this: 5.2:1 */
  --blue: #375DFF;
  --coral: #F26B52;
  --amber: #F2A93B;
  --muted: #55545B;       /* on paper: 6.9:1 */
  --rule: rgba(10, 10, 13, .11);
  --hairline: rgba(10, 10, 13, .08);
  --stage: rgba(10, 10, 13, .038);
  --active-accent: #375DFF;

  --display: "Unbounded", var(--body);
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --spring: cubic-bezier(.22, 1.12, .36, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  --rail: 0px;
  --pad: clamp(20px, 5vw, 64px);
  --max: 1280px;
  color-scheme: light;
}

:lang(zh-Hans) { --body: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif; }
:lang(zh-Hant) { --body: "PingFang TC", "Noto Sans TC", "Source Han Sans TC", "Microsoft JhengHei", sans-serif; }
:lang(zh-HK)   { --body: "PingFang HK", "Noto Sans HK", "Source Han Sans HC", "Microsoft JhengHei", sans-serif; }
:lang(ja)      { --body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Meiryo", sans-serif; }
:lang(ko)      { --body: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; }
:lang(th)      { --body: "Thonburi", "Sukhumvit Set", "Noto Sans Thai", "Leelawadee UI", "Tahoma", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.7 var(--body);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
:lang(zh-Hans) body, :lang(zh-Hant) body, :lang(zh-HK) body, :lang(ja) body { line-break: strict; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) .scene, :lang(ja) .slot-line { word-break: auto-phrase; }
:lang(ko) body { word-break: keep-all; }
:lang(th) body { line-height: 1.85; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p, ul, h1, h2, h3, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.svg-defs { position: absolute; width: 0; height: 0; pointer-events: none; }
.skip {
  position: fixed; left: 16px; top: -64px; z-index: 90;
  background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 16px; }

/* ---------- Rare UI Scroll Progress Indicator (GPU scaleX) ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  pointer-events: none; background: transparent;
}
.scroll-progress-bar {
  width: 100%; height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--active-accent);
  transition: background-color .35s ease;
  will-change: transform;
}

/* ---------- Wordmark (Unbounded 900, CUE in family pink) ---------- */
.wm { font-family: var(--display); font-weight: 900; letter-spacing: .015em; white-space: nowrap; line-height: 1; }
.wm-cue { color: var(--pink); }
.wm-name { font-size: .62em; letter-spacing: .04em; margin-left: .12em; }
.brand-glyph { display: block; flex: none; }

/* ---------- Floating Pill Top Chrome + Gooey Nav (Rare UI) ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  padding: 16px var(--pad) 10px;
  pointer-events: none;
}
.top-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.pill-btn {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.5) blur(16px);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  border: 1px solid rgba(10, 10, 13, .08);
  box-shadow: 0 6px 24px -10px rgba(10, 10, 13, .16), 0 1px 2px rgba(10, 10, 13, .05), inset 0 1px 0 rgba(255, 255, 255, .8);
  text-decoration: none;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .25s ease, transform .18s var(--ease-out);
}
.pill-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -10px rgba(10, 10, 13, .22), 0 1px 2px rgba(10, 10, 13, .06); }
.pill-btn:active { transform: scale(.98); }

.top-mark { font-size: 16px; padding: 8px 15px 8px 10px; }
.top-mark .wm-name { font-size: .78em; }
.top-glyph { width: 24px; height: 24px; border-radius: 7px; }

/* Center Gooey Navigation Pill */
.goo-nav {
  pointer-events: auto;
  position: relative;
  display: inline-flex; align-items: center;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.5) blur(16px);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  border: 1px solid rgba(10, 10, 13, .08);
  box-shadow: 0 6px 24px -10px rgba(10, 10, 13, .16), 0 1px 2px rgba(10, 10, 13, .05), inset 0 1px 0 rgba(255, 255, 255, .8);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.goo-layer {
  position: absolute; inset: 5px; pointer-events: none; border-radius: 999px;
  overflow: visible;
}
.goo-base { position: absolute; inset: 0; border-radius: 999px; opacity: 0; }
.goo-pill {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: var(--pill-w, 0px);
  transform: translateX(var(--pill-x, 0px)) scaleX(var(--pill-sx, 1)) scaleY(var(--pill-sy, 1));
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 4px 14px -4px rgba(10, 10, 13, .38);
  opacity: 0;
  transition:
    transform .44s var(--spring),
    width .38s var(--spring),
    opacity .22s ease,
    background-color .3s ease;
  will-change: transform, width;
}
.goo-nav.has-active .goo-pill { opacity: 1; }
.goo-links { position: relative; z-index: 1; display: flex; align-items: center; gap: 2px; }
.goo-links a {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 15px; border-radius: 999px;
  font-size: 14.5px; font-weight: 560; text-decoration: none;
  color: var(--muted);
  transition: color .22s ease;
  white-space: nowrap;
}
.goo-links a:hover { color: var(--ink); }
.goo-links a.is-active { color: var(--paper); }

/* Language Dropdown Pill */
.lang { position: relative; font-size: 14px; pointer-events: auto; }
.lang summary { list-style: none; cursor: pointer; font-weight: 560; }
.lang summary::-webkit-details-marker { display: none; }
.lang-icon { width: 15px; height: 15px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; opacity: .75; }
.lang-icon::before { content: ""; position: absolute; inset: -1.5px 3.5px; border: 1.5px solid currentColor; border-radius: 50%; }
.lang-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; }
.lang-chevron { width: 12px; height: 12px; opacity: .65; transition: transform .22s var(--ease-out); }
.lang[open] .lang-chevron { transform: rotate(180deg); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 232px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(10, 10, 13, .1); border-radius: 20px; padding: 6px;
  box-shadow: 0 22px 48px -16px rgba(10, 10, 13, .28), 0 2px 6px rgba(10, 10, 13, .06);
  transform-origin: top right;
  animation: popIn .2s var(--spring) both;
}
@keyframes popIn {
  from { opacity: 0; transform: translateY(-6px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.lang-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 13px; border-radius: 13px; text-decoration: none;
  color: var(--ink); font-weight: 500;
  transition: background-color .16s ease, color .16s ease;
}
.lang-list a:hover { background: var(--paper); }
.lang-list a[aria-current] { background: var(--ink); color: var(--paper); font-weight: 650; }

/* Night mode floating chrome inversion */
.is-night .pill-btn,
.is-night .goo-nav {
  background: rgba(20, 20, 26, .84);
  color: var(--paper);
  border-color: rgba(244, 243, 238, .12);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .72), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.is-night .goo-pill { background: var(--paper); box-shadow: 0 4px 16px -4px rgba(0, 0, 0, .55); }
.is-night .goo-links a { color: #A6A5A0; }
.is-night .goo-links a:hover { color: var(--paper); }
.is-night .goo-links a.is-active { color: var(--ink); }
.is-night .lang-list {
  background: rgba(20, 20, 26, .96);
  border-color: rgba(244, 243, 238, .13);
  box-shadow: 0 24px 54px -16px rgba(0, 0, 0, .82);
}
.is-night .lang-list a { color: var(--paper); }
.is-night .lang-list a:hover { background: rgba(244, 243, 238, .09); }
.is-night .lang-list a[aria-current] { background: var(--paper); color: var(--ink); }

/* ---------- Left Rail: Odometer Now Clock + Proximity / Hook Sidebar (Rare UI) ---------- */
.rail { display: none; }
@media (min-width: 1080px) {
  :root { --rail: 112px; }
  .rail {
    display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
    position: fixed; z-index: 30; left: 18px; top: 50%; transform: translateY(-50%);
    width: calc(var(--rail) - 18px);
  }
  .now-wrap { position: relative; }
  .now-chip {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 8px 10px; border-radius: 12px;
    background: var(--active-accent); color: var(--surface);
    font: 700 14px/1 var(--mono); font-variant-numeric: tabular-nums;
    box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--active-accent) 65%, #000), inset 0 1px 0 rgba(255, 255, 255, .28);
    transition: background-color .35s ease, box-shadow .35s ease;
  }
  .odo { display: inline-flex; align-items: center; height: 1.15em; }
  .odo-sep { padding: 0 1px; opacity: .82; }
  .odo-col {
    position: relative; display: inline-block; width: .66em; height: 1.15em; overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  }
  .odo-strip {
    display: flex; flex-direction: column; align-items: center;
    transform: translateY(calc(var(--d, 0) * -1.15em));
    transition: transform .42s var(--ease-out);
    will-change: transform;
  }
  .odo-strip span { display: flex; align-items: center; justify-content: center; height: 1.15em; line-height: 1.15em; }

  /* Hook Sidebar + Proximity Sidebar */
  .prox-nav { position: relative; padding-left: 14px; }
  .hook-track {
    position: absolute; left: 0; top: 0; bottom: 0; width: 12px; pointer-events: none;
  }
  .hook-active, .hook-hover {
    position: absolute; left: 0; top: 0; width: 10px;
    border-left: 2px solid var(--active-accent);
    border-bottom: 2px solid var(--active-accent);
    border-bottom-left-radius: 6px;
    height: var(--hook-h, 14px);
    transition: height .42s var(--spring), border-color .3s ease, opacity .2s ease;
  }
  .hook-hover {
    border-left-style: dashed;
    border-color: rgba(10, 10, 13, .28);
    height: var(--hover-h, 0px);
    opacity: 0;
  }
  .prox-nav.has-hover .hook-hover { opacity: 1; }
  .is-night .hook-hover { border-color: rgba(244, 243, 238, .32); }

  .rail-list { display: flex; flex-direction: column; gap: 4px; }
  .rail-item { position: relative; }
  .rail-link {
    display: flex; align-items: center; height: 26px; padding: 0 6px 0 4px;
    text-decoration: none; position: relative;
  }
  .rail-dash {
    display: block; width: 18px; height: 2.5px; border-radius: 999px;
    background: rgba(10, 10, 13, .22);
    transform-origin: left center;
    transform: scaleX(var(--prox, 1));
    transition: transform .22s var(--ease-out), background-color .22s ease, height .2s ease;
  }
  .is-night .rail-dash { background: rgba(244, 243, 238, .25); }
  .rail-item.is-active .rail-dash {
    background: var(--active-accent);
    height: 3.5px;
    transform: scaleX(calc(max(1.65, var(--prox, 1))));
  }
  .rail-link:hover .rail-dash, .rail-link:focus-visible .rail-dash {
    background: var(--ink);
  }
  .is-night .rail-link:hover .rail-dash, .is-night .rail-link:focus-visible .rail-dash {
    background: var(--paper);
  }
  .rail-item.is-active .rail-link:hover .rail-dash { background: var(--active-accent); }

  .rail-tip {
    position: absolute; left: calc(100% + 14px); top: 50%;
    transform: translateY(-50%) translateX(-6px);
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 11px; border-radius: 999px; white-space: nowrap;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(10, 10, 13, .09);
    box-shadow: 0 10px 24px -10px rgba(10, 10, 13, .22);
    color: var(--ink); font-size: 12.5px;
    opacity: 0; pointer-events: none;
    transition: opacity .18s ease, transform .24s var(--spring);
  }
  .is-night .rail-tip {
    background: rgba(22, 22, 28, .95);
    border-color: rgba(244, 243, 238, .12);
    color: var(--paper);
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .75);
  }
  .rail-link:hover .rail-tip, .rail-link:focus-visible .rail-tip {
    opacity: 1; transform: translateY(-50%) translateX(0);
  }
  .rail-tip-time { font: 700 11.5px/1 var(--mono); opacity: .65; font-variant-numeric: tabular-nums; }
  .rail-tip-name { font: 700 11.5px/1 var(--display); letter-spacing: .04em; }
}

/* ---------- Main Canvas & Sections ---------- */
main { display: block; overflow-x: clip; }
.hero, .app, .closing, .download, .faq, .contact, .foot {
  padding-left: calc(var(--rail) + var(--pad));
  padding-right: var(--pad);
}

/* ---------- Hero: Timetable Headline + Rare UI Watermark & Blur-Focus Entrance ---------- */
.hero {
  position: relative;
  padding-top: clamp(24px, 4.5vw, 56px);
  padding-bottom: clamp(56px, 8vw, 112px);
  overflow: hidden;
}
.hero-watermark {
  position: absolute; right: -4%; top: -4%; width: min(62vw, 680px); height: auto;
  color: rgba(10, 10, 13, .035); pointer-events: none; z-index: 0;
}
.hero > *:not(.hero-watermark) { position: relative; z-index: 1; }
.hero-mark {
  font-size: min(calc((100vw - var(--rail) - 2 * var(--pad)) / 10.4), 146px);
  margin-left: -.04em;
}
.hero-mark .wm-name { font-size: 1em; margin-left: .18em; }

.board {
  margin-top: clamp(24px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(9, minmax(34px, 1fr));
  gap: 0 12px;
  min-height: clamp(360px, 40vw, 540px);
  padding: 12px;
  border-radius: 28px;
  background:
    repeating-linear-gradient(to bottom, rgba(10, 10, 13, .08) 0 1px, transparent 1px calc(100% / 9)),
    linear-gradient(to right, var(--stage) 0 25%, transparent 25% 50%, var(--stage) 50% 75%, transparent 75%),
    rgba(255, 255, 255, .52);
  border: 1px solid rgba(10, 10, 13, .08);
  box-shadow: 0 18px 44px -28px rgba(10, 10, 13, .22), inset 0 1px 0 rgba(255, 255, 255, .85);
  font-weight: inherit;
}
.slot {
  --c: var(--ink);
  position: relative; display: flex; flex-direction: column; gap: 10px;
  margin: 5px 0; padding: 14px 16px 16px 20px;
  text-decoration: none; color: var(--ink);
  background: color-mix(in srgb, var(--c) 11%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--c) 18%, transparent);
  border-radius: 18px;
  box-shadow: 0 6px 18px -12px rgba(10, 10, 13, .22), inset 0 1px 0 rgba(255, 255, 255, .75);
  overflow: hidden;
  transition: transform .3s var(--spring), background-color .22s ease, box-shadow .28s ease, border-color .22s ease;
}
.slot::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c); }
.slot:hover {
  transform: translateY(-4px) scale(1.012);
  background: color-mix(in srgb, var(--c) 18%, var(--surface));
  box-shadow: 0 18px 34px -16px color-mix(in srgb, var(--c) 45%, rgba(10, 10, 13, .35));
}
.slot-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.slot-time { font: 600 13.5px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--muted); }
.slot-ico { width: 22px; height: 22px; border-radius: 6px; box-shadow: 0 2px 6px rgba(10, 10, 13, .16); }
.slot-line {
  font-size: clamp(24px, 3.2vw, 48px); font-weight: 800; line-height: 1.08; letter-spacing: -.015em;
  text-wrap: balance;
}
:lang(en) .slot-line, :lang(id) .slot-line, :lang(ms) .slot-line, :lang(th) .slot-line { font-size: clamp(20px, 2.3vw, 34px); line-height: 1.12; }
.slot-app { margin-top: auto; font: 900 11.5px/1 var(--display); letter-spacing: .08em; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.slot-dev { font: 600 11px/1 var(--body); letter-spacing: 0; padding: 4px 8px; border: 1.5px dashed currentColor; border-radius: 999px; }

.slot-lineup  { --c: var(--blue);  grid-column: 1; grid-row: 1 / span 3; }
.slot-standby {
  --c: var(--ink); grid-column: 2; grid-row: 3 / span 4;
  background: rgba(255, 255, 255, .45);
  border: 1.5px dashed rgba(10, 10, 13, .38);
  box-shadow: none;
}
.slot-standby::before { background: repeating-linear-gradient(to bottom, var(--ink) 0 8px, transparent 8px 14px); }
.slot-standby:hover { background: rgba(255, 255, 255, .82); }
.slot-tempo   { --c: var(--pink);  grid-column: 3; grid-row: 4 / span 3; }
.slot-keeps   {
  --c: var(--coral); grid-column: 4; grid-row: 7 / span 3;
  background: var(--ink); color: var(--paper);
  border-color: rgba(244, 243, 238, .12);
  box-shadow: 0 14px 30px -14px rgba(10, 10, 13, .6), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.slot-keeps .slot-time { color: rgba(244, 243, 238, .68); }
.slot-keeps:hover { background: #181820; }

/* Spotlight sheen utility (Rare UI surface reactivity) */
.spotlight { position: relative; }
.spotlight::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 65%);
  transition: opacity .25s ease;
}
.spotlight:hover::after { opacity: 1; }
.night .spotlight::after, .slot-keeps.spotlight::after {
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .09), transparent 65%);
}

.hero-foot {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px 48px; align-items: start;
}
.lede { font-size: clamp(18px, 1.65vw, 21.5px); line-height: 1.65; max-width: 34em; grid-row: span 2; }
.status { display: grid; gap: 10px; font-size: 15.5px; }
.status li {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(10, 10, 13, .08);
  font-weight: 530;
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-ok { background: var(--blue); box-shadow: 0 0 0 3px rgba(55, 93, 255, .18); }
.dot-beta { border: 2px dashed var(--pink-deep); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 1000px) {
  .hero { display: grid; grid-template-columns: minmax(0, 4.1fr) minmax(0, 7.9fr); gap: 0 clamp(28px, 4vw, 56px); align-items: start; }
  .hero-mark { grid-column: 1 / -1; }
  .board { grid-column: 2; grid-row: 2; }
  .hero-foot { grid-column: 1; grid-row: 2; grid-template-columns: 1fr; margin-top: clamp(24px, 4vw, 44px); gap: 26px; }
  .lede { grid-row: auto; }
  .slot-line { font-size: clamp(22px, 2.5vw, 42px); }
  :lang(en) .slot-line, :lang(id) .slot-line, :lang(ms) .slot-line, :lang(th) .slot-line { font-size: clamp(18px, 1.75vw, 29px); }
}

/* ---------- Tactile Rare UI Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; min-height: 46px;
  padding: 10px 19px; border-radius: 999px; text-decoration: none;
  font-weight: 650; font-size: 15px; line-height: 1.2;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .22s var(--spring), box-shadow .22s ease;
}
.btn:hover { transform: translateY(-1.5px); }
.btn:active { transform: scale(.97); }
.btn-big { min-height: 54px; padding: 14px 26px; font-size: 16px; }
.btn-solid {
  background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink);
  box-shadow: 0 8px 20px -10px rgba(10, 10, 13, .45), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-solid:hover {
  background: var(--pink-deep); border-color: var(--pink-deep); color: var(--surface);
  box-shadow: 0 12px 26px -10px rgba(211, 22, 74, .5), inset 0 1px 0 rgba(255, 255, 255, .24);
}
.btn-line {
  background: rgba(255, 255, 255, .68);
  border: 1.5px solid rgba(10, 10, 13, .22);
  color: var(--ink);
}
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-meta {
  font: 600 10.5px/1 var(--display); letter-spacing: .06em;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .14);
}
.btn-ico { width: 15px; height: 15px; flex: none; transition: transform .22s var(--spring); }
.btn:hover .btn-ico-ext { transform: translate(2px, -2px); }

/* ---------- App Sessions ---------- */
.day { border-top: 1px solid var(--rule); }
.app {
  --c: var(--ink);
  position: relative;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(32px, 5vw, 76px);
  padding-top: clamp(68px, 9vw, 132px); padding-bottom: clamp(68px, 9vw, 132px);
  border-bottom: 1px solid var(--rule);
}
.app-lineup { --c: var(--blue); }
.app-standby { --c: var(--ink); }
.app-tempo { --c: var(--pink); }
.app-keeps { --c: var(--coral); }

.app-text { position: relative; padding-left: 24px; }
.app-text::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px; border-radius: 999px; background: var(--c); }
.app-standby .app-text::before { background: repeating-linear-gradient(to bottom, var(--ink) 0 10px, transparent 10px 18px); }

.app-kicker { display: flex; align-items: flex-end; gap: 18px; margin-bottom: 20px; }
.app-time {
  font: 900 clamp(54px, 7.6vw, 112px)/.88 var(--display); letter-spacing: -.025em;
  font-variant-numeric: tabular-nums; color: var(--c);
}
.app-standby .app-time {
  color: transparent;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 3px, transparent 3px 9px);
  -webkit-background-clip: text; background-clip: text;
}
.app-icon-badge {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 6px;
  box-shadow: 0 8px 20px -8px rgba(10, 10, 13, .36), 0 0 0 1px rgba(10, 10, 13, .08);
}
.night .app-icon-badge { box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .85), 0 0 0 1px rgba(244, 243, 238, .15); }

.app-title { font-size: clamp(26px, 3vw, 40px); }
.app-title .wm-name { font-size: 1em; }
.app-tagline { margin-top: 8px; font-size: 18px; color: var(--muted); }

.state { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.state-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .75); border: 1px solid rgba(10, 10, 13, .09);
}
.night .state-pill { background: rgba(255, 255, 255, .06); border-color: rgba(244, 243, 238, .12); }
.state-mark { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); flex: none; }
.state-beta { display: inline-flex; align-items: center; gap: 8px; }
.state-beta::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px dashed var(--pink-deep); }
.state-dev .state-mark { background: transparent; border: 2px dashed currentColor; }

.scene { margin-top: 28px; display: grid; gap: 10px; font-size: clamp(20px, 1.85vw, 24.5px); line-height: 1.6; font-weight: 600; max-width: 26em; }
:lang(en) .scene, :lang(id) .scene, :lang(ms) .scene, :lang(th) .scene { font-size: clamp(19px, 1.55vw, 22px); }
.app-body { margin-top: 20px; max-width: 34em; }
.points-label { margin-top: 26px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.points { margin-top: 18px; display: grid; gap: 10px; max-width: 34em; }
.points-label + .points { margin-top: 10px; }
.points li { position: relative; padding-left: 26px; }
.points li::before { content: ""; position: absolute; left: 0; top: .64em; width: 12px; height: 5px; border-radius: 999px; background: var(--c); }
.app-standby .points li::before { background: transparent; border: 1.5px dashed var(--ink); height: 7px; top: .56em; }
.get { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Companion Web Tool Card + Rare UI Frosted Folder Component ---------- */
.tool {
  margin-top: 34px; padding: 22px 24px 24px; max-width: 34em;
  border: 1px solid rgba(10, 10, 13, .1); border-radius: 24px;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 12px 32px -20px rgba(10, 10, 13, .22), inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: transform .3s var(--spring), box-shadow .3s ease, border-color .25s ease;
}
.tool:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--c) 35%, rgba(10, 10, 13, .12));
  box-shadow: 0 20px 40px -22px color-mix(in srgb, var(--c) 30%, rgba(10, 10, 13, .26));
}
.night .tool {
  border-color: rgba(244, 243, 238, .12);
  background: var(--night-surface);
  box-shadow: 0 16px 36px -22px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.night .tool:hover { border-color: color-mix(in srgb, var(--c) 45%, rgba(244, 243, 238, .16)); }

.tool-head { display: flex; align-items: center; gap: 18px; }
.tool-meta { min-width: 0; }
.tool-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.tool-label::before { content: ""; width: 10px; height: 4px; border-radius: 999px; background: var(--c); }
.tool-name { margin-top: 5px; font: 900 clamp(18px, 1.6vw, 22px)/1.15 var(--display); letter-spacing: .01em; }
.tool-body { margin-top: 14px; font-size: 15px; line-height: 1.7; }

/* Rare UI Frosted-Glass Folder miniature */
.rare-folder {
  position: relative; width: 58px; height: 46px; flex: none;
  perspective: 260px;
}
.rf-back {
  position: absolute; inset: 7px 0 0 0; border-radius: 11px;
  background: color-mix(in srgb, var(--c) 82%, #000);
  box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--c) 55%, #000);
}
.rf-back::before {
  content: ""; position: absolute; left: 0; top: -6px; width: 25px; height: 10px;
  border-radius: 6px 8px 0 0;
  background: color-mix(in srgb, var(--c) 82%, #000);
}
.rf-sheet {
  position: absolute; left: 7px; right: 7px; bottom: 8px; height: 30px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid rgba(10, 10, 13, .12);
  box-shadow: 0 3px 8px rgba(10, 10, 13, .14);
  transition: transform .42s var(--spring);
}
.rf-sheet-1 {
  display: flex; align-items: flex-start; justify-content: center; padding-top: 4px;
  font: 800 7.5px/1 var(--mono); color: var(--ink); letter-spacing: -.02em;
  transform: translateY(-2px) rotate(-3deg);
}
.rf-sheet-2 {
  padding: 6px 7px; display: flex; flex-direction: column; gap: 3px;
  background: #F6F5F0;
  transform: translateY(-1px) rotate(3deg);
}
.rf-sheet-2 span { display: block; height: 2.5px; border-radius: 2px; background: rgba(10, 10, 13, .2); }
.rf-sheet-2 span:first-child { width: 65%; background: var(--c); opacity: .75; }
.rf-flap {
  position: absolute; left: 0; right: 0; bottom: 0; height: 31px;
  border-radius: 9px 9px 11px 11px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 52%, rgba(255, 255, 255, .58)), color-mix(in srgb, var(--c) 76%, rgba(255, 255, 255, .25)));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .52);
  border-bottom-color: rgba(10, 10, 13, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
  transform-origin: bottom center;
  transition: transform .4s var(--spring);
}
.rf-flap-line {
  position: absolute; left: 16px; right: 16px; top: 5px; height: 2px; border-radius: 2px;
  background: rgba(255, 255, 255, .58);
}
.tool:hover .rf-sheet-1, .tool:focus-within .rf-sheet-1 { transform: translateY(-14px) translateX(-4px) rotate(-9deg); }
.tool:hover .rf-sheet-2, .tool:focus-within .rf-sheet-2 { transform: translateY(-11px) translateX(5px) rotate(8deg); }
.tool:hover .rf-flap, .tool:focus-within .rf-flap { transform: rotateX(-28deg); }

.tool-link {
  margin-top: 18px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px;
  padding: 13px 15px 13px 18px; border-radius: 16px; text-decoration: none;
  background: var(--ink); color: var(--paper);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: background-color .2s ease, color .2s ease, transform .22s var(--spring);
}
.tool-link:hover { background: var(--c); color: var(--surface); transform: translateY(-1px); }
.night .tool-link { background: var(--paper); color: var(--ink); }
.night .tool-link:hover { background: var(--c); color: var(--ink); }
.tool-button { font-weight: 700; font-size: 15px; }
.tool-host { grid-row: 2; font: 500 12.5px/1.3 var(--mono); opacity: .72; overflow-wrap: anywhere; }
.tool-arrow {
  grid-row: 1 / span 2; grid-column: 2; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid currentColor; position: relative;
  transition: transform .28s var(--spring);
}
.tool-link:hover .tool-arrow { transform: translateX(3px); }
.tool-arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4.5px 0 0 -5px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.tool-arrow::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; }

/* ---------- Interactive Screenshot Deck + Rare UI Step Player ---------- */
.visual { align-self: center; min-width: 0; }
.deck { display: flex; flex-direction: column; align-items: center; width: 100%; }
.shots {
  position: relative;
  width: 100%; max-width: 560px;
  padding: 14px 0 22px;
  display: grid; place-items: center;
}
.shot {
  grid-area: 1 / 1;
  position: relative;
  width: 46%;
  padding: 0; border: 0; background: transparent; cursor: pointer;
  transform-origin: center 70%;
  transition: transform .52s var(--spring), opacity .34s ease, filter .34s ease;
  will-change: transform;
}
.shot-bezel {
  display: block;
  border-radius: 14% / 6.5%; overflow: hidden;
  background: var(--surface);
  border: 5px solid var(--ink);
  box-shadow: 0 32px 60px -28px rgba(10, 10, 13, .46), 0 0 0 1px rgba(255, 255, 255, .14);
  transition: box-shadow .35s ease, border-color .3s ease;
}
.night .shot-bezel {
  border-color: #2A2A34;
  box-shadow: 0 34px 68px -24px rgba(0, 0, 0, .92), 0 0 0 1px rgba(244, 243, 238, .12);
}
.shot img { width: 100%; pointer-events: none; }

/* Dynamic deck positions controlled by data-active (0, 1, 2) */
.deck[data-active="0"] .shot-0,
.deck[data-active="1"] .shot-1,
.deck[data-active="2"] .shot-2 {
  z-index: 3; opacity: 1; transform: translateX(0) scale(1) rotate(0deg);
}
.deck[data-active="0"] .shot-2,
.deck[data-active="1"] .shot-0,
.deck[data-active="2"] .shot-1 {
  z-index: 2; opacity: .78; transform: translateX(-58%) scale(.82) rotate(-5deg);
}
.deck[data-active="0"] .shot-1,
.deck[data-active="1"] .shot-2,
.deck[data-active="2"] .shot-0 {
  z-index: 2; opacity: .78; transform: translateX(58%) scale(.82) rotate(5deg);
}

/* Hover lift on side slides to signal interactivity */
.deck[data-active="0"] .shot-2:hover,
.deck[data-active="1"] .shot-0:hover,
.deck[data-active="2"] .shot-1:hover {
  opacity: .96; transform: translateX(-63%) translateY(-6px) scale(.85) rotate(-6deg);
}
.deck[data-active="0"] .shot-1:hover,
.deck[data-active="1"] .shot-2:hover,
.deck[data-active="2"] .shot-0:hover {
  opacity: .96; transform: translateX(63%) translateY(-6px) scale(.85) rotate(6deg);
}

/* Rare UI Step Player Control Dock */
.step-bar {
  margin-top: 18px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: 100%;
}
.sp-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(10, 10, 13, .09);
  box-shadow: 0 8px 22px -12px rgba(10, 10, 13, .2), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.night .sp-pill {
  background: var(--night-elevated);
  border-color: rgba(244, 243, 238, .12);
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .82);
}
.sp-toggle {
  position: relative; width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s ease, transform .2s var(--spring);
}
.sp-toggle:hover { background: var(--c); color: var(--surface); transform: scale(1.06); }
.sp-toggle:active { transform: scale(.94); }
.night .sp-toggle { background: var(--paper); color: var(--ink); }
.night .sp-toggle:hover { background: var(--c); color: var(--ink); }
.sp-toggle svg { position: absolute; width: 14px; height: 14px; transition: transform .28s var(--spring), opacity .2s ease; }
.sp-icon-pause { opacity: 0; transform: scale(.4) rotate(-20deg); }
.sp-toggle[aria-pressed="true"] .sp-icon-play { opacity: 0; transform: scale(.4) rotate(20deg); }
.sp-toggle[aria-pressed="true"] .sp-icon-pause { opacity: 1; transform: scale(1) rotate(0deg); }

.sp-dots { display: flex; align-items: center; gap: 6px; padding-right: 4px; }
.sp-dot {
  position: relative; height: 8px; width: 8px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(10, 10, 13, .18); cursor: pointer; overflow: hidden;
  transition: width .38s var(--spring), background-color .22s ease;
}
.night .sp-dot { background: rgba(244, 243, 238, .22); }
.sp-dot:hover { background: rgba(10, 10, 13, .36); }
.night .sp-dot:hover { background: rgba(244, 243, 238, .4); }
.sp-dot[aria-pressed="true"] { width: 38px; background: color-mix(in srgb, var(--c) 24%, transparent); }
.sp-fill {
  position: absolute; inset: 0; border-radius: inherit;
  background: var(--c);
  transform-origin: left center;
  transform: scaleX(0);
}
.sp-dot[aria-pressed="true"] .sp-fill { transform: scaleX(1); transition: transform .35s var(--ease-out); }
.deck.is-playing .sp-dot[aria-pressed="true"] .sp-fill {
  animation: stepFill 4.2s linear forwards;
}
@keyframes stepFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.sp-caption {
  font-size: 14.5px; font-weight: 560; text-align: center; color: var(--ink);
  min-height: 1.7em; max-width: 30em;
  transition: opacity .22s ease;
}
.night .sp-caption { color: var(--paper); }
.shots-caption, .shots-note { margin-top: 8px; text-align: center; font-size: 13.5px; color: var(--muted); }
.shots-note { margin-top: 4px; }

/* ---------- Standby Ticket: Tactile Squircle Card + Odometer Number ---------- */
.visual-ticket { display: grid; justify-items: center; perspective: 900px; }
.ticket {
  position: relative; width: min(440px, 100%); container-type: inline-size;
  background: var(--surface); border-radius: 30px; padding: 28px 30px 30px;
  border: 1.5px dashed rgba(10, 10, 13, .35);
  box-shadow: 0 24px 54px -26px rgba(10, 10, 13, .22), inset 0 1px 0 rgba(255, 255, 255, .95);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .32s var(--ease-out), box-shadow .3s ease;
  will-change: transform;
}
.ticket:hover { box-shadow: 0 32px 64px -26px rgba(10, 10, 13, .3); }
.ticket-glow {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 61, 110, .09), transparent 65%);
  transition: opacity .25s ease;
}
.ticket:hover .ticket-glow { opacity: 1; }
.ticket-top { display: flex; justify-content: space-between; align-items: center; font-size: 18px; font-weight: 700; }
.ticket-status {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px;
  padding: 6px 13px; border-radius: 999px;
  background: var(--paper); border: 1px solid rgba(10, 10, 13, .08);
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 3px rgba(255, 61, 110, .2); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; transform: scale(.88); } }

.ticket-number {
  display: flex; align-items: center;
  font: 900 20cqi/1.05 var(--display); letter-spacing: -.02em;
  margin: 26px 0 22px;
}
.tk-digit {
  display: inline-block; height: 1.05em; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.tk-strip {
  display: flex; flex-direction: column;
  transform: translateY(calc(var(--d, 0) * -1.05em));
  transition: transform 1.05s var(--ease-out);
}
.tk-strip span { display: block; height: 1.05em; line-height: 1.05em; }
.ticket-perf { position: relative; margin: 0 -30px 18px; height: 20px; display: flex; align-items: center; }
.ticket-perf-line { width: 100%; border-top: 2px dashed var(--rule); }
.ticket-perf::before, .ticket-perf::after {
  content: ""; position: absolute; top: 50%; width: 26px; height: 26px; margin-top: -13px;
  border-radius: 50%; background: var(--paper);
  box-shadow: inset 0 0 0 1.5px rgba(10, 10, 13, .14);
}
.ticket-perf::before { left: -14px; }
.ticket-perf::after { right: -14px; }
.ticket-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 16.5px; font-weight: 600; }
.ticket figcaption { position: absolute; left: 0; right: 0; top: calc(100% + 18px); text-align: center; font-size: 13.5px; color: var(--muted); }

/* ---------- Night: Obsidian Rare UI Canvas (from 22:40 Keeps onward) ---------- */
.night {
  background: var(--ink); color: var(--paper);
  --rule: rgba(244, 243, 238, .12);
  --muted: #A9A8A3;
  color-scheme: dark;
}
.night .btn-solid {
  background: var(--paper); color: var(--ink); border-color: var(--paper);
  box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.night .btn-solid:hover { background: var(--pink); border-color: var(--pink); color: var(--ink); }
.night .btn-solid .btn-meta { background: rgba(10, 10, 13, .1); }
.night .btn-line {
  background: rgba(244, 243, 238, .05);
  border-color: rgba(244, 243, 238, .22); color: var(--paper);
}
.night .btn-line:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.night .state-beta::before { border-color: var(--pink); }
.night :focus-visible { outline-color: var(--pink); }

.closing {
  padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(72px, 10vw, 140px);
  font-size: clamp(26px, 3.5vw, 50px); font-weight: 800; line-height: 1.32; letter-spacing: -.015em;
  max-width: calc(var(--rail) + var(--pad) + 20em);
  text-wrap: balance;
}

.section-head h2 { font-size: clamp(30px, 4vw, 54px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.section-head p { margin-top: 14px; max-width: 36em; }
.section-head .fine { color: var(--muted); font-size: 14.5px; }
.section-head .fine-tight { margin-top: 2px; }

/* ---------- Download Rows: Elevated Rare UI Obsidian Squircle Cards ---------- */
.download { padding-top: 32px; padding-bottom: clamp(72px, 9vw, 120px); }
.rows { margin-top: 36px; display: grid; gap: 14px; }
.row {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.35fr) minmax(0, .65fr);
  gap: 20px 28px; padding: 24px 26px; align-items: center;
  border-radius: 24px;
  background: var(--night-surface);
  border: 1px solid rgba(244, 243, 238, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: border-color .22s ease, transform .28s var(--spring);
}
.row:hover { border-color: rgba(244, 243, 238, .22); transform: translateY(-1px); }
.row-app-head { display: flex; align-items: center; gap: 14px; }
.row-icon { width: 40px; height: 40px; border-radius: 11px; flex: none; box-shadow: 0 0 0 1px rgba(244, 243, 238, .12); }
.row-time { display: block; font: 600 12.5px/1 var(--mono); color: var(--muted); margin-bottom: 6px; }
.row-app h3 { font-size: clamp(19px, 1.9vw, 24px); }
.row-app h3 .wm-name { font-size: 1em; }
.row-app > p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.row-label { font: 700 11px/1 var(--display); letter-spacing: .09em; color: var(--muted); margin-bottom: 10px; }
.row-state { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 15px; }
.row-state.state-beta::before { content: none; }
.row-state.state-beta .state-mark { background: transparent; border: 2px dashed var(--pink); }
.row-note { margin-top: 6px; color: var(--muted); font-size: 14px; }
.get-row { margin-top: 0; }

/* ---------- Conversational Chat-Thread FAQ (Rare UI FAQ) ---------- */
.faq {
  padding-top: clamp(64px, 8vw, 108px); padding-bottom: clamp(72px, 9vw, 120px);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px;
  border-top: 1px solid var(--rule);
}
.faq .section-head { position: sticky; top: 108px; align-self: start; }
.qas { display: flex; flex-direction: column; gap: 10px; }
.qa {
  border-radius: 22px;
  background: var(--night-surface);
  border: 1px solid rgba(244, 243, 238, .09);
  transition: border-color .22s ease, background-color .22s ease;
  overflow: hidden;
}
.qa:hover { border-color: rgba(244, 243, 238, .18); }
.qa[open] {
  background: #16161D;
  border-color: rgba(255, 61, 110, .34);
}
.qa-q-bubble {
  list-style: none; cursor: pointer;
  display: flex; gap: 18px; justify-content: space-between; align-items: center;
  padding: 20px 22px;
  font-size: clamp(17px, 1.5vw, 20px); font-weight: 680; line-height: 1.45;
  user-select: none;
}
.qa-q-bubble::-webkit-details-marker { display: none; }
.qa-mark {
  position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(244, 243, 238, .16);
  background: rgba(244, 243, 238, .04);
  transition: transform .32s var(--spring), background-color .22s ease, border-color .22s ease, color .22s ease;
}
.qa-mark::before, .qa-mark::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 11px; height: 1.8px; margin: -0.9px 0 0 -5.5px;
  background: currentColor; border-radius: 2px;
}
.qa-mark::after { transform: rotate(90deg); transition: transform .28s var(--spring); }
.qa[open] .qa-mark { background: var(--pink); border-color: var(--pink); color: var(--ink); transform: rotate(180deg); }
.qa[open] .qa-mark::after { transform: rotate(0deg); }

.qa-reply-wrap {
  padding: 0 22px 22px;
  animation: chatIn .32s var(--spring) both;
}
@keyframes chatIn {
  from { opacity: 0; transform: translateY(-6px) scale(.985); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.qa-reply {
  display: flex; align-items: flex-start; gap: 12px;
}
.qa-avatar {
  width: 30px; height: 30px; border-radius: 9px; margin-top: 2px;
  box-shadow: 0 0 0 1px rgba(244, 243, 238, .16);
}
.qa-a {
  flex: 1;
  padding: 14px 18px;
  border-radius: 6px 18px 18px 18px;
  background: rgba(244, 243, 238, .06);
  border: 1px solid rgba(244, 243, 238, .09);
  color: rgba(244, 243, 238, .88);
  font-size: 15.5px; line-height: 1.72;
  max-width: 44em;
}

/* ---------- Contact Channels + Copy-to-Checkmark (Rare UI Code Block copy) ---------- */
.contact { padding-top: clamp(64px, 8vw, 108px); padding-bottom: clamp(72px, 9vw, 120px); border-top: 1px solid var(--rule); }
.channels { margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.channel-card {
  position: relative;
  border: 1px solid rgba(244, 243, 238, .11);
  border-radius: 22px;
  background: var(--night-surface);
  transition: background-color .22s ease, border-color .22s ease, transform .28s var(--spring);
}
.channel-card:hover {
  background: var(--paper); color: var(--ink); border-color: var(--paper);
  transform: translateY(-3px);
}
.channel-link {
  display: flex; flex-direction: column; gap: 24px; height: 100%; min-height: 156px;
  padding: 20px 22px; text-decoration: none;
}
.c-name { font-size: 14.5px; color: var(--muted); transition: color .2s ease; }
.channel-card:hover .c-name { color: #55545B; }
.c-handle { margin-top: auto; font: 700 clamp(14.5px, 1.2vw, 17px)/1.35 var(--display); letter-spacing: .01em; overflow-wrap: break-word; }

.copy-btn {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 11px;
  border: 1px solid rgba(244, 243, 238, .14);
  background: rgba(244, 243, 238, .06); color: var(--paper);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .2s var(--spring);
}
.channel-card:hover .copy-btn { border-color: rgba(10, 10, 13, .16); background: rgba(10, 10, 13, .06); color: var(--ink); }
.copy-btn:hover { transform: scale(1.06); }
.copy-btn:active { transform: scale(.93); }
.copy-btn svg { position: absolute; width: 15px; height: 15px; transition: transform .26s var(--spring), opacity .2s ease; }
.copy-btn .ico-check { opacity: 0; transform: scale(.4); color: #16A34A; }
.copy-btn.is-copied .ico-copy { opacity: 0; transform: scale(.4); }
.copy-btn.is-copied .ico-check { opacity: 1; transform: scale(1); }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--paper); padding-top: 56px; padding-bottom: 44px; border-top: 1px solid rgba(244, 243, 238, .12); }
.foot-mark { font-size: min(calc((100vw - var(--rail) - 2 * var(--pad)) / 10.4), 146px); }
.foot-mark .wm-name { font-size: 1em; margin-left: .18em; }
.foot-mark::after { content: ""; display: block; width: 1.1em; height: .09em; margin-top: .3em; border-radius: 999px; background: var(--pink); }
.foot-langs { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.foot-langs a { text-decoration: none; color: #A9A8A3; transition: color .18s ease; }
.foot-langs a:hover { color: var(--paper); text-decoration: underline; }
.copyright { margin-top: 26px; font-size: 14px; color: #A9A8A3; }

/* ---------- Rare UI Stacked Squircle Toast ---------- */
.toast-stack {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: flex; flex-direction: column-reverse; gap: 10px;
  pointer-events: none; max-width: min(360px, calc(100vw - 40px));
}
.toast-item {
  pointer-events: auto;
  display: flex; align-items: center; gap: 11px;
  padding: 12px 16px; border-radius: 18px;
  background: rgba(16, 16, 22, .94); color: var(--paper);
  border: 1px solid rgba(244, 243, 238, .14);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .1);
  font-size: 14px; font-weight: 560; line-height: 1.4;
  animation: toastIn .36s var(--spring) both;
}
.toast-item.is-leaving { animation: toastOut .24s ease forwards; }
.toast-badge {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: var(--pink); color: var(--ink);
  display: grid; place-items: center;
}
.toast-badge svg { width: 13px; height: 13px; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(16px) scale(.92); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateY(8px) scale(.95); }
}

/* ---------- Entrance: Rare UI Blur-to-Focus Kinetic Reveal (once on load) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-mark { animation: rareReveal .48s var(--ease-out) both; }
  .js .slot { animation: slotPlace .52s var(--spring) both; animation-delay: calc(var(--i) * 65ms + 60ms); }
  @keyframes rareReveal {
    from { opacity: 0; transform: translateY(10px); filter: blur(5px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
  }
  @keyframes slotPlace {
    from { opacity: 0; transform: translateY(-16px) scale(.97); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
  .deck.is-playing .sp-dot[aria-pressed="true"] .sp-fill { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1079px) {
  .goo-nav { display: none; }
}
@media (max-width: 999px) {
  .app { grid-template-columns: 1fr; }
  .visual { order: 2; }
  .faq { grid-template-columns: 1fr; }
  .faq .section-head { position: static; }
  .row { grid-template-columns: 1fr 1fr; }
  .row-app { grid-column: 1 / -1; }
  .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-foot { grid-template-columns: 1fr; }
  .lede { grid-row: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top { padding: 12px var(--pad) 8px; }
  .top-mark { font-size: 14px; padding: 7px 12px 7px 8px; }
  .top-glyph { width: 20px; height: 20px; }
  .lang summary.pill-btn { padding: 7px 12px; font-size: 13.5px; }
  .board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(10, minmax(30px, auto));
    padding: 8px; border-radius: 22px; min-height: 0; gap: 0 8px;
    background:
      repeating-linear-gradient(to bottom, rgba(10, 10, 13, .08) 0 1px, transparent 1px 10%),
      linear-gradient(to right, var(--stage) 0 50%, transparent 50%),
      rgba(255, 255, 255, .52);
  }
  .slot { padding: 12px 12px 14px 16px; border-radius: 15px; }
  .slot-lineup  { grid-column: 1; grid-row: 1 / span 4; }
  .slot-standby { grid-column: 2; grid-row: 2 / span 4; }
  .slot-tempo   { grid-column: 1; grid-row: 5 / span 4; }
  .slot-keeps   { grid-column: 2; grid-row: 7 / span 4; }
  .slot-line, :lang(en) .slot-line, :lang(id) .slot-line, :lang(ms) .slot-line, :lang(th) .slot-line { font-size: clamp(18px, 5.6vw, 25px); }
  .app-text { padding-left: 18px; }
  .shots { max-width: 320px; padding: 10px 0 18px; }
  .shot { width: 58%; }
  .deck[data-active="0"] .shot-2,
  .deck[data-active="1"] .shot-0,
  .deck[data-active="2"] .shot-1 { transform: translateX(-42%) scale(.78) rotate(-4deg); }
  .deck[data-active="0"] .shot-1,
  .deck[data-active="1"] .shot-2,
  .deck[data-active="2"] .shot-0 { transform: translateX(42%) scale(.78) rotate(4deg); }
  .step-bar { margin-top: 8px; }
  .visual-ticket { overflow: hidden; padding: 6px 0 42px; }
  .row { grid-template-columns: 1fr; padding: 20px; }
  .channels { grid-template-columns: 1fr; }
  .channel-link { min-height: 0; flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; padding-right: 56px; }
  .c-handle { margin-top: 0; text-align: right; }
  .qa-q-bubble { padding: 16px 18px; }
  .qa-reply-wrap { padding: 0 16px 18px; }
  .ticket { padding: 22px 22px 24px; }
  .ticket-perf { margin: 0 -22px 16px; }
}
