[hidden] { display: none !important; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/jakarta-latin-ext-400-800.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/jakarta-latin-400-800.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/hind-bengali-400.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1, U+11DF0-11DF1; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/hind-bengali-600.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1, U+11DF0-11DF1; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/hind-bengali-700.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1, U+11DF0-11DF1; }
/* VM Player website. Brand: VM Player Aurora (VM Blue, Plus Jakarta Sans, Midnight for the app's own screens).
   The page is light; the app fragments sit on the Midnight stage exactly as the app shows them. */

:root {
  --bg: #ffffff;
  --surface: #f1f3f9;
  --surface-2: #e3e7f1;
  --ink: #0b1020;
  --muted: #4a5268;
  --accent: #2f5bff;
  --on-accent: #ffffff;
  --stage: #0a0d14;
  --dim: #737b90;
  color-scheme: light;

  /* The app's own dark theme, used inside fragments only */
  --app-bg: #0a0d14;
  --app-surface: #141925;
  --app-high: #1a2030;
  --app-highest: #212839;
  --app-ink: #eceff7;
  --app-muted: #a3abbe;
  --app-outline: #8b93a7;
  --app-line: #2a3142;
  --app-blue: #7b93ff;
  --app-blue-c: #1b2b6b;
  --app-green: #6edba4;
  --app-red: #d92d20;
  --app-warn: #ffc26b;

  --font: "Plus Jakarta Sans", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: clamp(44px, 5.4vw, 86px);
  --h2: clamp(30px, 3.3vw, 52px);
  --lead: clamp(18px, 1.35vw, 21px);
  --body: 17px;
  --small: 14px;

  --margin: clamp(16px, 3.2vw, 48px);
  --gap: 8px;
  --radius: 8px;
  --section: clamp(96px, 12vw, 200px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
h3 { font-weight: 700; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--margin); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 50; }
.skip:focus { left: 12px; }

/* ---------- Bar ---------- */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.bar nav { display: flex; align-items: center; gap: 28px; }
.bar nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.bar nav a:hover { color: var(--ink); }
.bar .lang { padding: 8px 14px; border-radius: 999px; background: var(--surface); color: var(--ink); }

/* ---------- Buttons (one shape: the pill) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 26px 0 20px;
  border-radius: 999px; border: 0;
  background: var(--ink); color: #fff;
  font: 700 16px/1.1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.btn:hover { background: var(--accent); }
.btn:active { transform: scale(.97); }
.btn svg { width: 24px; height: 24px; flex: none; }
.btn .two { display: grid; text-align: left; }
.btn .two small { font-size: 13px; font-weight: 600; opacity: .8; }
.btn.accent { background: var(--accent); }
.btn.accent:hover { background: var(--ink); }
.btn.quiet { background: var(--surface); color: var(--ink); padding: 0 24px; }
.btn.quiet:hover { background: var(--surface-2); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: start; padding-top: clamp(24px, 5vw, 72px); }
.hero-copy { grid-column: 1 / span 6; padding-top: clamp(8px, 4vw, 64px); }
.hero h1 { font-size: var(--display); max-width: 11ch; }
.hero .lead { margin-top: 32px; font-size: var(--lead); max-width: 34ch; color: var(--ink); }
.hero .actions { margin-top: 40px; }
.facts { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.facts li { background: var(--surface); padding: 8px 14px; border-radius: 999px; font-size: var(--small); font-weight: 600; }
.hero-stage {
  grid-column: 7 / span 6; position: relative;
  background: var(--stage); border-radius: var(--radius);
  height: 680px; overflow: hidden;
  display: flex; justify-content: center;
}
.hero-stage .phone-fragment { margin-top: 56px; }

/* ---------- App fragments (data-ui: the app's own conventions) ---------- */
[data-ui] { font-family: var(--font); color: var(--app-ink); -webkit-font-smoothing: antialiased; }
.phone-fragment { width: 360px; background: var(--app-bg); }
.app-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; }
.app-top b { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.app-icons { display: flex; gap: 16px; color: var(--app-ink); }
.app-icons svg, .ico { width: 22px; height: 22px; }
.chips { display: flex; gap: 8px; padding: 6px 16px 4px; align-items: center; }
.chip { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--app-line); color: var(--app-muted); } /* taste-skill-ignore: the app's own filter chip */
.chip.on { background: var(--app-blue-c); border-color: var(--app-blue-c); color: var(--app-blue); }
.chips .gear { margin-left: auto; color: var(--app-muted); }
.sec { display: flex; align-items: center; gap: 8px; padding: 18px 16px 10px; font-weight: 700; font-size: 15px; }
.count { background: var(--app-high); color: var(--app-muted); font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 999px; }
.row { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; }
.thumb { width: 96px; height: 54px; border-radius: 8px; overflow: hidden; flex: none; background: var(--app-high); display: grid; place-items: center; color: var(--app-blue); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.row .txt { flex: 1; min-width: 0; }
.row .name { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row .meta { display: flex; gap: 10px; align-items: center; margin-top: 3px; font-size: 12px; color: var(--app-muted); font-variant-numeric: tabular-nums; }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--app-green); font-weight: 600; }
.verified svg { width: 13px; height: 13px; }
.more { width: 40px; height: 40px; display: grid; place-items: center; color: var(--app-muted); flex: none; }
.ring-btn { width: 48px; height: 48px; flex: none; position: relative; display: grid; place-items: center; border: 0; background: none; color: var(--app-ink); cursor: pointer; border-radius: 999px; }
.ring-btn svg.ring { position: absolute; inset: 4px; width: 40px; height: 40px; transform: rotate(-90deg); }
.ring-btn .track { stroke: var(--app-highest); }
.ring-btn .arc { stroke: var(--app-blue); transition: stroke-dashoffset .4s linear, stroke .2s; }
.ring-btn .glyph { width: 18px; height: 18px; }
.ring-btn:hover { background: rgba(123,147,255,.10); }
.nav-bar { display: flex; border-top: 1px solid var(--app-line); margin-top: 18px; } /* taste-skill-ignore: the app's bottom bar hairline */
.nav-bar span { flex: 1; display: grid; justify-items: center; gap: 2px; padding: 8px 0 10px; font-size: 11px; color: var(--app-muted); }
.nav-bar span i { width: 52px; height: 26px; display: grid; place-items: center; border-radius: 13px; }
.nav-bar span.on { color: var(--app-blue); font-weight: 600; }
.nav-bar span.on i { background: var(--app-blue-c); }
.nav-bar svg { width: 20px; height: 20px; }
.badge-new { position: absolute; top: 6px; left: 6px; background: var(--app-red); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .06em; padding: 3px 5px; border-radius: 4px; }

/* ---------- Sections ---------- */
.section { padding-top: var(--section); }
.section h2 { font-size: var(--h2); max-width: 20ch; }
.section .intro { margin-top: 20px; font-size: var(--lead); max-width: 46ch; }

/* Showcase: names on the left, the screen on the stage */
.showcase { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.names { grid-column: 1 / span 5; display: grid; gap: 4px; align-content: start; }
.names h2 { margin-bottom: 36px; }
.names button {
  all: unset; cursor: pointer; display: block; padding: 6px 0;
  font-size: clamp(32px, 3.6vw, 58px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--dim); transition: color .2s var(--ease), transform .2s var(--ease);
}
.names button:hover { color: var(--muted); }
.names button[aria-selected="true"] { color: var(--ink); }
.names button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.names .say { margin-top: 28px; font-size: var(--lead); max-width: 36ch; min-height: 4.8em; }
.stage {
  grid-column: 6 / span 7; background: var(--stage); border-radius: var(--radius);
  height: 620px; overflow: hidden; position: relative;
}
.stage .panel { position: absolute; left: 50%; top: 50%; translate: -50% -50%; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility 0s .25s; }
.stage .panel.on { opacity: 1; visibility: visible; transition: opacity .25s var(--ease); }

/* Player fragment */
.player { width: 620px; aspect-ratio: 16 / 9; position: relative; overflow: hidden; border-radius: 6px; background: #000; color: #fff; }
.player .frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.player .frames img.on { opacity: 1; }
.player .shade { position: absolute; inset: 0; background: rgba(0,0,0,.28); }
.p-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: rgba(0,0,0,.45); }
.p-top b { font-size: 14px; font-weight: 600; flex: 1; }
.p-top .tag { display: grid; justify-items: center; font-size: 10px; gap: 1px; }
.p-mid { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 40px; }
.p-mid .big { width: 60px; height: 60px; border-radius: 999px; background: #fff; color: #0a0d14; display: grid; place-items: center; }
.p-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px 14px; background: rgba(0,0,0,.5); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.seek { display: flex; align-items: center; gap: 12px; }
.seek .line { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); position: relative; }
.seek .line i { position: absolute; left: 0; top: 0; bottom: 0; width: 38%; border-radius: 3px; background: var(--app-blue); }
.seek .line i::after { content: ""; position: absolute; right: -8px; top: -5.5px; width: 16px; height: 16px; border-radius: 999px; background: var(--app-blue); border: 2px solid #fff; box-sizing: border-box; }
.p-menu { position: absolute; right: 16px; top: 54px; width: 230px; background: var(--app-high); border-radius: 8px; padding: 6px 0; box-shadow: 0 8px 24px rgba(0,0,0,.4); } /* taste-skill-ignore: an open overlay menu */
.p-menu p { font-size: 13px; color: var(--app-muted); padding: 8px 14px 4px; font-weight: 600; }
.p-menu div { display: flex; justify-content: space-between; padding: 9px 14px; font-size: 14px; }
.p-menu div.sel { color: var(--app-blue); font-weight: 600; }

/* Browser fragment */
.browser { width: 360px; background: var(--app-bg); }
.url { display: flex; align-items: center; gap: 10px; margin: 12px; padding: 10px 14px; background: var(--app-surface); border-radius: 999px; font-size: 14px; color: var(--app-muted); }
.greet { padding: 26px 20px 6px; color: var(--app-muted); font-size: 14px; }
.clock { padding: 0 20px; font-size: 60px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.shield { display: flex; align-items: center; gap: 12px; margin: 22px 16px 0; padding: 14px; background: var(--app-surface); border-radius: 8px; font-size: 13px; color: var(--app-muted); }
.shield b { display: block; font-size: 20px; color: var(--app-ink); }
.shield .disc { width: 40px; height: 40px; border-radius: 999px; background: var(--app-blue-c); color: var(--app-blue); display: grid; place-items: center; }
.shortcuts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 20px 16px; text-align: center; font-size: 12px; color: var(--app-muted); }
.shortcuts i { width: 52px; height: 52px; margin: 0 auto 6px; border-radius: 999px; background: var(--app-surface); display: grid; place-items: center; font-style: normal; font-weight: 800; color: var(--app-ink); font-size: 18px; }

/* Files fragment */
.files { width: 380px; background: var(--app-bg); padding-bottom: 8px; }
.seg { display: flex; margin: 8px 16px 6px; padding: 3px; border-radius: 8px; background: var(--app-surface); }
.seg span { flex: 1; text-align: center; padding: 8px 0; font-size: 13px; font-weight: 600; color: var(--app-muted); border-radius: 6px; position: relative; }
.seg span.on { background: var(--app-blue-c); color: var(--app-blue); }
.seg em { position: absolute; top: -7px; left: 50%; transform: translateX(-50%); background: var(--app-red); color: #fff; font-style: normal; font-size: 8px; padding: 1px 4px; border-radius: 4px; font-weight: 700; }
.folder { display: flex; align-items: center; gap: 14px; padding: 9px 8px 9px 16px; }
.folder .tile { width: 52px; height: 52px; border-radius: 8px; background: var(--app-blue-c); color: var(--app-blue); display: grid; place-items: center; flex: none; }
.folder .txt { flex: 1; min-width: 0; }
.folder .name { font-size: 14px; font-weight: 600; }
.cols { display: grid; grid-template-columns: 1fr 1fr 1.1fr; margin-top: 3px; font-size: 12px; color: var(--app-muted); font-variant-numeric: tabular-nums; }

/* Private folder fragment */
.vault { width: 360px; height: 560px; background: var(--app-bg); display: grid; align-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px; }
.vault .lock { width: 84px; height: 84px; border-radius: 999px; background: #2e2366; color: #b9a6ff; display: grid; place-items: center; }
.vault b { font-size: 20px; }
.vault p { color: var(--app-muted); font-size: 14px; max-width: 26ch; }
.vault .fp { margin-top: 18px; width: 64px; height: 64px; border-radius: 999px; border: 2px solid #b9a6ff; color: #b9a6ff; display: grid; place-items: center; }

/* Features: staggered fragment cells */
.cells { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cell { background: var(--surface); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; position: relative; }
.cell .t { padding: 28px; }
.cell .t p { margin-top: 10px; color: var(--ink); font-size: 16px; max-width: 34ch; }
.cell .frag { flex: 1; margin: 0 10px 10px; min-height: 250px; background: var(--stage); border-radius: 6px; display: grid; place-items: center; padding: 24px 16px; }
.cell.rev { flex-direction: column; }

.mini { background: var(--app-bg); color: var(--app-ink); border-radius: 8px; padding: 14px 0; width: 100%; max-width: 300px; background: var(--app-surface); }

.mini .h { padding: 2px 16px 8px; font-size: 13px; color: var(--app-muted); font-weight: 600; }
.mini .opt { display: flex; align-items: center; justify-content: space-between; padding: 9px 16px; font-size: 14px; }
.mini .opt.sel { color: var(--app-blue); font-weight: 600; }
.mini .opt small { color: var(--app-muted); font-size: 12px; }
.radio { width: 18px; height: 18px; border-radius: 999px; border: 2px solid var(--app-outline); }
.opt.sel .radio { border: 5px solid var(--app-blue); }
.resume-card { display: flex; gap: 12px; align-items: center; margin: 0 12px; padding: 10px; background: var(--app-surface); border-radius: 10px; }
.resume-card .pic { width: 120px; height: 68px; border-radius: 6px; overflow: hidden; position: relative; flex: none; }
.resume-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.resume-card .pic i { position: absolute; left: 0; bottom: 0; height: 3px; width: 64%; background: var(--app-blue); }
.resume-card b { font-size: 14px; display: block; }
.resume-card span { font-size: 13px; color: var(--app-blue); font-variant-numeric: tabular-nums; }
.qr { display: grid; grid-template-columns: repeat(21, 1fr); width: 176px; aspect-ratio: 1; margin: 6px auto 4px; background: #fff; padding: 16px; border-radius: 6px; gap: 0; }
.qr i { background: #0a0d14; }
.qr i.o { background: transparent; }

/* How it works: one card, four fields */
.strip-head { padding-bottom: 40px; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.field { min-height: 560px; position: relative; display: flex; flex-direction: column; padding: 28px; }
.field:nth-child(1) { background: #e3e7f1; }
.field:nth-child(2) { background: #c9d3f5; }
.field:nth-child(3) { background: #8fa4ff; }
.field:nth-child(4) { background: #2f5bff; color: #fff; }
.field .card { margin: 72px auto 0; width: 270px; transition: transform .15s var(--ease); }
.field:hover .card { transform: translateY(-6px); }
.field p { margin-top: auto; font-size: clamp(22px, 1.9vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; max-width: 14ch; }
.dl-card { background: var(--app-bg); color: var(--app-ink); border-radius: 10px; padding: 14px; }
.dl-card .top { display: flex; gap: 10px; align-items: center; }
.dl-card .tile { width: 40px; height: 40px; border-radius: 8px; background: var(--app-high); display: grid; place-items: center; color: var(--app-blue); flex: none; }
.dl-card b { font-size: 13px; font-weight: 600; line-height: 1.3; }
.dl-card .bar2 { height: 5px; border-radius: 3px; background: var(--app-highest); margin-top: 12px; overflow: hidden; }
.dl-card .bar2 i { display: block; height: 100%; background: var(--app-blue); }
.dl-card .m { margin-top: 8px; font-size: 12px; color: var(--app-muted); font-variant-numeric: tabular-nums; display: flex; justify-content: space-between; }
.blocks { display: grid; grid-template-columns: repeat(16, 1fr); gap: 2px; margin-top: 12px; }
.blocks i { aspect-ratio: 1; border-radius: 2px; background: var(--app-highest); }
.blocks i.d { background: var(--app-blue); }
.blocks i.c { background: var(--app-green); }
.lanes { display: grid; gap: 4px; margin-top: 12px; }
.lanes span { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--app-muted); }
.lanes span i { flex: 1; height: 4px; border-radius: 2px; background: var(--app-highest); position: relative; overflow: hidden; }
.lanes span i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--app-blue); }

/* Live: the download that verifies itself */
.live { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.live-copy { grid-column: 1 / span 5; }
.live-copy .intro { max-width: 34ch; }
.live-stage { grid-column: 6 / span 7; background: var(--stage); border-radius: var(--radius); padding: 48px; display: grid; gap: 22px; }
.live-card { background: var(--app-surface); border-radius: 10px; padding: 18px; color: var(--app-ink); }
.live-card .head { display: flex; gap: 12px; align-items: center; }
.live-card .head b { flex: 1; font-size: 15px; font-weight: 600; }
.live-card .state { font-size: 13px; color: var(--app-muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.live-card .state.ok { color: var(--app-green); font-weight: 600; }
.grid-blocks { display: grid; grid-template-columns: repeat(32, 1fr); gap: 3px; margin-top: 16px; }
.grid-blocks i { aspect-ratio: 1; border-radius: 2px; background: var(--app-highest); transition: background-color .2s; }
.grid-blocks i.d { background: var(--app-blue); }
.grid-blocks i.c { background: var(--app-green); }
.grid-blocks i.bad { background: var(--app-warn); }
.controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--app-ink); font-size: 14px; }
.controls span { color: var(--app-muted); margin-right: 4px; }
.controls button {
  font: 600 14px var(--font); color: var(--app-ink); background: var(--app-high); border: 0;
  min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer; transition: background-color .15s, transform .15s;
}
.controls button:hover { background: var(--app-highest); }
.controls button:active { transform: scale(.96); }
.controls button[aria-pressed="true"] { background: var(--app-blue-c); color: var(--app-blue); }
.key { display: flex; flex-wrap: wrap; gap: 18px; color: var(--app-muted); font-size: 13px; }
.key i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

/* Photo band */
.band { position: relative; margin-top: var(--section); }
.band img { width: 100%; height: min(78svh, 760px); object-fit: cover; border-radius: var(--radius); }
.band figcaption { margin-top: 12px; font-size: var(--small); color: var(--muted); }

/* Languages: tabs and bands */
.lang-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lang-head h2 span { color: var(--dim); display: block; }
.langs { margin-top: 56px; display: grid; grid-template-columns: 170px 1fr; gap: 40px; }
.tabs { display: grid; gap: 6px; align-content: start; }
.tabs button {
  all: unset; cursor: pointer; display: grid; padding: 12px 16px; min-height: 40px; border-radius: var(--radius);
  background: var(--surface); transition: background-color .15s, color .15s;
}
.tabs button b { font-size: 17px; }
.tabs button small { font-size: 13px; color: var(--muted); }
.tabs button:hover { background: var(--surface-2); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tabs button[aria-selected="true"] small { color: #c4c9d6; }
.tabs button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.bands { display: grid; gap: 4px; align-content: start; }
.bands div { display: grid; grid-template-columns: 28% 1fr; align-items: center; min-height: 72px; padding: 0 22px; border-radius: var(--radius); background: var(--surface); }
.bands div:nth-child(even) { background: var(--surface-2); }
.bands span { color: var(--muted); font-size: 15px; }
.bands b { font-size: 22px; font-weight: 700; }
.bands b[dir="rtl"] { text-align: right; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.faq h2 { grid-column: 1 / span 4; position: sticky; top: 96px; align-self: start; font-size: clamp(36px, 4vw, 64px); }
.faq-list { grid-column: 5 / span 8; display: grid; gap: 8px; align-content: start; }
details { background: var(--surface); border-radius: var(--radius); transition: background-color .2s; }
details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 16px 24px; font-size: 19px; font-weight: 600; }
details summary::-webkit-details-marker { display: none; }
.pm { width: 16px; height: 16px; position: relative; flex: none; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; border-radius: 2px; background: currentColor; transition: transform .2s var(--ease); }
.pm::after { transform: rotate(90deg); }
details[open] { background: var(--accent); color: var(--on-accent); }
details[open] .pm::after { transform: rotate(0); }
details .a { padding: 0 24px 24px; font-size: 17px; max-width: 60ch; }
details .a a { color: inherit; }

/* Closing line */
.close { padding-bottom: 0; }
.close h2 { font-size: var(--display); max-width: none; }
.close .actions { margin-top: 40px; }
.close .note { margin-top: 20px; color: var(--muted); font-size: 16px; }

/* Footer tiles */
.foot { margin: var(--section) auto 0; max-width: 1440px; padding: 0 var(--margin) 8px; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.tile { background: var(--surface); border-radius: var(--radius); padding: 24px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.t-say { grid-column: 1 / span 4; }
.t-say p { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.t-say small, .t-made small { font-size: 13px; color: var(--muted); }
.t-nav { grid-column: 5 / span 3; }
.t-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.t-nav a { text-decoration: none; font-weight: 600; }
.t-nav a:hover { text-decoration: underline; }
.t-made { grid-column: 8 / span 2; }
.t-made b { font-size: 20px; }
.t-mail { grid-column: 10 / span 3; }
.t-mail a { font-size: 20px; font-weight: 700; word-break: break-all; }
.t-word { grid-column: 1 / span 8; background: var(--ink); color: #fff; min-height: 320px; display: grid; place-items: center; }
.t-word span { font-size: clamp(56px, 9vw, 150px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.t-go { grid-column: 9 / span 4; background: var(--accent); color: #fff; min-height: 320px; text-decoration: none; transition: background-color .2s; }
.t-go:hover { background: #1f45e0; }
.t-go p { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.t-go svg { align-self: flex-end; width: 56px; height: 56px; transition: transform .2s var(--ease); }
.t-go:hover svg { transform: translate(4px, -4px); }
.credits { grid-column: 1 / -1; font-size: 13px; color: var(--muted); padding: 8px 4px 16px; }
.credits a { color: var(--muted); }

/* ---------- Reading pages (privacy, terms) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 96px) var(--margin) 0; }
.doc h1 { font-size: clamp(40px, 5vw, 64px); }
.doc .updated { margin-top: 16px; color: var(--muted); }
.doc h2 { font-size: 26px; margin-top: 48px; letter-spacing: -0.02em; line-height: 1.2; }
.doc p, .doc li { font-size: 17px; margin-top: 14px; }
.doc ul { padding-left: 22px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 12px; border-bottom: 1px solid var(--surface-2); vertical-align: top; }
.doc th { background: var(--surface); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  .player .frames img { transition: none; }
  .field .card, .btn, .t-go svg { transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .hero-copy { grid-column: 1 / -1; }
  .hero-stage { grid-column: 1 / -1; margin-top: 48px; height: 720px; }
  .names { grid-column: 1 / -1; }
  .stage { grid-column: 1 / -1; }
  .cells { grid-template-columns: repeat(2, 1fr); }
  .live-copy, .live-stage { grid-column: 1 / -1; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .field { min-height: 60svh; }
  .field .card { margin-top: 8svh; }
  .faq h2, .faq-list { grid-column: 1 / -1; position: static; }
  .t-say, .t-nav, .t-made, .t-mail { grid-column: span 6; }
  .t-word { grid-column: 1 / -1; }
  .t-go { grid-column: 1 / -1; }
  .player { width: 560px; }
}

/* ---------- Phone ---------- */
@media (max-width: 680px) {
  :root { --body: 16px; }
  .hero h1 { max-width: none; }
  .hero .lead { margin-top: 24px; }
  .hero .actions { margin-top: 32px; }
  .hero-stage { height: 620px; min-height: 0; margin-top: 40px; }
  .hero-stage .phone-fragment { margin-top: 32px; }
  .names { display: block; }
  .name-row { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .names button { font-size: 24px; scroll-snap-align: start; white-space: nowrap; }
  .names .say { min-height: 0; margin-top: 18px; }
  .stage { height: 70svh; min-height: 520px; margin-top: 8px; }
  .stage .panel { left: 16px; top: 24px; }
  .player { width: 520px; }
  .cells { grid-template-columns: 1fr; gap: 6px; }
  .cell, .cell.rev { min-height: 0; flex-direction: column; }
  .cell .frag, .cell.rev .frag { align-self: flex-end; }
  .cell:nth-child(even) .frag { align-self: flex-start; }
  .cell .mini { border-radius: 8px 0 0 0; }
  .cell:nth-child(even) .mini { border-radius: 0 8px 0 0; }
  .strip { grid-template-columns: 1fr; }
  .field { min-height: 0; padding: 24px 20px 40px; }
  .field p { margin-top: 0; order: -1; font-size: 24px; max-width: none; }
  .field .card { margin: 28px 0 0; }
  .live-stage { padding: 20px; }
  .grid-blocks { grid-template-columns: repeat(16, 1fr); }
  .langs { grid-template-columns: 1fr; gap: 16px; }
  .tabs { display: flex; overflow-x: auto; position: sticky; top: 0; z-index: 2; background: var(--bg); padding: 8px 0; }
  .tabs button { flex: none; }
  .bands div { grid-template-columns: 1fr; padding: 14px 18px; gap: 2px; }
  .band img { height: 52svh; }
  .faq h2 { font-size: 9vw; }
  details summary { font-size: 18px; padding: 14px 20px; min-height: 64px; }
  details .a { padding: 0 20px 20px; font-size: 16px; }
  .foot { padding: 0 var(--margin) 6px; gap: 6px; }
  .t-word { order: -2; min-height: 160px; }
  .t-go { order: -1; min-height: 200px; }
  .t-say, .t-made { grid-column: 1 / -1; }
  .t-nav, .t-mail { grid-column: span 6; }
  .tile { padding: 20px; min-height: 0; }
}

/* Reading-page footer */
.doc-foot { margin-top: 96px; padding: 28px 32px; border-radius: var(--radius); background: var(--surface); margin-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 15px; }
.doc-foot a { color: var(--ink); font-weight: 600; }
.lost { min-height: 70vh; display: grid; align-content: center; gap: 20px; }
.lost h1 { font-size: clamp(48px, 7vw, 96px); }
.lost p { font-size: 19px; max-width: 34ch; }
:lang(bn) body, body:lang(bn) { font-family: "Plus Jakarta Sans", "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif; }

/* App tiles inside fragments are not footer tiles */
[data-ui] .tile { min-height: 0; padding: 0; justify-content: center; gap: 0; }

/* Closing: the storm over Dhaka */
.close { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--stage); color: #fff; min-height: min(86svh, 780px); display: grid; align-content: end; }
.close-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.close::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,13,20,.88) 0%, rgba(10,13,20,.35) 55%, rgba(10,13,20,.1) 100%); } /* taste-skill-ignore: neutral scrim over the video */
.close-in { position: relative; z-index: 1; padding: clamp(28px, 5vw, 72px); }
.close h2 { font-size: var(--display); max-width: 18ch; color: #fff; }
.close .actions { margin-top: 36px; }
.close .note { margin-top: 20px; color: #d5dae6; font-size: 16px; }
.close .btn.quiet { background: rgba(255,255,255,.14); color: #fff; }
.close-cap { position: absolute; z-index: 1; right: clamp(20px, 3vw, 40px); top: clamp(20px, 3vw, 36px); font-size: var(--small); color: #c4cad8; }

/* FAQ side: heading with Hatirjheel at night */
.faq-side { grid-column: 1 / span 4; position: sticky; top: 96px; align-self: start; }
.faq-side h2 { position: static; }
.faq-pic { margin: 32px 0 0; }
.faq-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.faq-pic figcaption { margin-top: 10px; font-size: var(--small); color: var(--muted); }

@media (max-width: 1100px) {
  .faq-side { grid-column: 1 / -1; position: static; }
  .faq-pic img { aspect-ratio: 16 / 9; }
}
@media (max-width: 680px) {
  .name-row { flex-wrap: wrap; overflow: visible; gap: 2px 18px; }
  .tabs { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; position: static; padding: 0; }
  .stage { height: 520px; min-height: 0; }
  .stage .panel { left: 16px; top: 24px; translate: none; }
  .hero-stage { height: 600px; }
  .close { min-height: 560px; }
  .close-cap { left: 20px; right: auto; }
  .field .card { margin: 28px 0 0; }
}
.heart { width: 1em; height: 1em; vertical-align: -0.12em; color: var(--app-red); }
.dl-card .src { font-size: 11px; color: var(--app-muted); background: var(--app-high); border-radius: 6px; padding: 8px 10px; margin-bottom: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-card .shot { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; margin-bottom: 12px; }
.hero h1:lang(bn) { max-width: 13ch; line-height: 1.12; }
.mini .opt { gap: 14px; }
.mini .opt small { flex: none; }
.dl-card .shot { height: auto; }
@media (max-width: 680px) {
  .cell .frag, .cell.rev .frag, .cell:nth-child(even) .frag { align-self: stretch; }
  .cell .mini, .cell:nth-child(even) .mini { border-radius: 8px; }
}
.faq-pic img { height: auto; }

/* ---------- Hero: the phone over Hatirjheel at night ---------- */
.hero-stage { align-items: flex-start; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,13,20,.15) 0%, rgba(10,13,20,.55) 100%); } /* taste-skill-ignore: neutral scrim over the photo */
.hero-cap { position: absolute; left: 24px; top: 20px; font-size: var(--small); color: #dfe4f2; z-index: 1; }
.device {
  margin-top: 56px; width: 384px; padding: 12px; border-radius: 52px; background: #05070b; color: var(--app-ink);
  outline: 1.5px solid #2a3142; outline-offset: -1.5px;
  position: relative;
}
.device::before { content: ""; position: absolute; top: 24px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 999px; background: #000; border: 2px solid #1a2030; z-index: 2; }
.device .phone-fragment { width: 360px; border-radius: 0 0 40px 40px; }
.device .status { display: flex; justify-content: space-between; align-items: center; height: 40px; padding: 4px 28px 0; background: var(--app-bg); border-radius: 40px 40px 0 0; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.device .sb { display: flex; gap: 5px; }
.device .sb svg { width: 15px; height: 15px; }
.hero-stage .phone-fragment { margin-top: 0; }
.formats { margin-top: 28px; max-width: 44ch; font-size: 16px; color: var(--muted); }
.formats b { color: var(--ink); margin-right: 4px; }
@media (max-width: 1100px) {
  .hero-stage { height: 760px; }
}
@media (max-width: 680px) {
  .hero-stage { height: 640px; }
  .device { margin-top: 32px; width: 336px; padding: 10px; border-radius: 46px; }
  .device .phone-fragment { width: 316px; }
  .device .status { padding: 4px 22px 0; }
  .device .row { padding-left: 12px; }
  .device .thumb { width: 72px; height: 44px; }
  .device .row { gap: 10px; padding-right: 2px; }
  .device .row .meta { gap: 7px; flex-wrap: wrap; }
  .device .more { width: 28px; }
  .device .app-top, .device .chips { padding-inline: 14px; }
  .hero-cap { left: 16px; top: 12px; }
}

/* ---------- Dark: follows the phone's own setting ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0b0e15;
    --surface: #151a26;
    --surface-2: #1d2333;
    --ink: #eef1f8;
    --muted: #aab2c5;
    --dim: #7c8499;
    --stage: #05070c;
  }
  .btn { background: var(--ink); color: #0b1020; }
  .btn:hover { background: var(--accent); color: #fff; }
  .btn.accent { background: var(--accent); color: #fff; }
  .btn.accent:hover { background: var(--ink); color: #0b1020; }
  .btn.quiet { background: var(--surface); color: var(--ink); }
  .btn.quiet:hover { background: var(--surface-2); }
  .close .btn.quiet { background: rgba(255,255,255,.14); color: #fff; }
  .skip { background: var(--ink); color: var(--bg); }
  .field:nth-child(1) { background: #151a26; }
  .field:nth-child(2) { background: #1a2550; }
  .field:nth-child(3) { background: #23379e; color: #fff; }
  .tabs button[aria-selected="true"] { background: var(--accent); color: #fff; }
  .tabs button[aria-selected="true"] small { color: #dfe5ff; }
  .t-word { background: var(--surface-2); color: var(--ink); }
  .stage .panel, .live-card { outline: 1px solid #1d2333; }
  .device { outline-color: #343c4e; }
  .doc th, .doc td { border-bottom-color: var(--surface-2); }
  .heart { color: #ff6b5e; }
}
.credits { max-width: 75ch; }

/* ---------- Top bar: stays with you, the app one tap away ---------- */
.site-top { position: sticky; top: 0; z-index: 40; background: var(--bg); transition: box-shadow .2s var(--ease); }
.site-top.scrolled { box-shadow: 0 1px 0 var(--surface-2); } /* taste-skill-ignore: sticky bar edge, only after scrolling */
.site-top .bar { padding-block: 14px; }
.bar.has-menu nav { margin-left: auto; }
.bar .get { min-height: 44px; padding: 0 18px 0 14px; gap: 8px; font-size: 15px; background: var(--accent); color: #fff; }
.bar .get:hover { background: var(--ink); color: var(--bg); }
.bar .get svg { width: 18px; height: 18px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; place-items: center; flex: none; }
.menu-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-btn path { transition: transform .2s var(--ease), opacity .2s; transform-box: fill-box; transform-origin: center; }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .l2 { opacity: 0; }
.menu-btn[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }
.bar nav a { padding-block: 10px; }

@media (max-width: 960px) {
  .js-menu .menu-btn { display: grid; }
  .bar.has-menu { gap: 10px; position: relative; }
  .bar.has-menu .brand { margin-right: auto; }
  .js-menu .bar.has-menu nav {
    position: absolute; left: var(--margin); right: var(--margin); top: calc(100% + 4px);
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-radius: var(--radius); padding: 8px;
    box-shadow: 0 16px 40px rgba(10,13,20,.18); /* taste-skill-ignore: an open menu really floats */
  }
  .js-menu .bar.has-menu nav.open { display: flex; }
  .js-menu .bar.has-menu nav a { font-size: 18px; color: var(--ink); min-height: 52px; display: flex; align-items: center; padding: 0 16px; border-radius: 6px; }
  .js-menu .bar.has-menu nav a:hover, .js-menu .bar.has-menu nav a:focus-visible { background: var(--surface-2); }
  .js-menu .bar.has-menu nav .lang { background: var(--bg); margin-top: 6px; }
  .no-js .bar.has-menu { flex-wrap: wrap; }
  .no-js .bar.has-menu nav { flex-wrap: wrap; gap: 4px 16px; }
}
@media (max-width: 680px) {
  .bar nav { gap: 14px; }
  .bar .get { padding: 0 14px 0 12px; font-size: 14px; }
  .brand { font-size: 17px; }
  .brand img { width: 32px; height: 32px; }
}
@media (max-width: 360px) {
  .bar .get svg { display: none; }
}
@media (prefers-color-scheme: dark) {
  .bar .get:hover { background: var(--ink); color: #0b1020; }
  .js-menu .bar.has-menu nav { box-shadow: 0 16px 40px rgba(0,0,0,.5); } /* taste-skill-ignore: an open menu really floats */
}

/* ---------- Guides ---------- */
.doc-bar nav { margin-left: auto; }
.crumbs { display: flex; gap: 10px; font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.guide h1 { font-size: clamp(36px, 4.6vw, 56px); }
.guide-lead { font-size: var(--lead); margin-top: 24px; }
.guide-fig { margin: 40px 0 8px; }
.guide-stage { background: var(--stage); border-radius: var(--radius); padding: clamp(28px, 6vw, 56px) 20px; display: grid; place-items: center; }
.guide-stage .mini, .guide-stage .dl-card { width: 100%; max-width: 340px; }
.guide-fig figcaption { margin-top: 10px; font-size: var(--small); color: var(--muted); }
.steps { list-style: none; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; margin-top: 18px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.guide .doc-table, .guide table { display: block; overflow-x: auto; }
.guide-cta { margin-top: 56px; background: var(--surface); border-radius: var(--radius); padding: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.guide-cta p { margin: 0; max-width: 34ch; font-size: 17px; }
.more-guides { padding-left: 22px; }
.g-list { list-style: none; padding: 0; margin-top: 40px; display: grid; gap: 10px; }
.g-list li { margin: 0; }
.g-card { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; padding: 10px; border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: background-color .15s; }
.g-card:hover { background: var(--surface-2); }
.g-stage { background: var(--stage); border-radius: 6px; padding: 18px 14px; display: grid; place-items: center; min-height: 170px; }
.g-stage .mini, .g-stage .dl-card { width: 100%; font-size: 13px; }
.g-txt { display: grid; gap: 8px; padding-right: 12px; }
.g-txt b { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
.g-txt span { color: var(--muted); font-size: 16px; }
@media (max-width: 680px) {
  .g-card { grid-template-columns: 1fr; gap: 14px; }
  .g-txt { padding: 0 8px 10px; }
  .doc-bar nav a:last-child { display: none; }
  .guide-cta { padding: 22px; }
}
@media (max-width: 400px) {
  .doc-bar nav { display: none; }
}

/* Phone: the showcase screens fit the stage, which takes the height of the screen shown */
@media (max-width: 680px) {
  .stage { height: auto; min-height: 0; padding: 16px; display: grid; place-items: center; }
  .stage .panel { position: static; translate: none; width: 100%; display: none; justify-content: center; }
  .stage .panel.on { display: flex; }
  .stage .browser, .stage .files, .stage .vault { width: 100%; max-width: 380px; }
  .stage .vault { height: auto; min-height: 460px; }
  .player { width: 100%; }
  .p-menu { width: 164px; right: 8px; top: 38px; padding: 3px 0; border-radius: 6px; }
  .p-menu p { display: none; }
  .p-menu { top: 40px; }
  .p-menu div { font-size: 11px; line-height: 1.3; padding: 4px 10px; }
  .p-top { padding: 10px 12px; gap: 10px; }
  .p-top b { font-size: 12px; }
  .p-mid .big { width: 48px; height: 48px; }
  .p-bottom { padding: 8px 12px 10px; }
}
@media (max-width: 680px) {
  .field .card { width: 100%; max-width: 400px; }
}
.bands[lang="en"] span { display: none; }
@media (max-width: 680px) {
  .t-nav, .t-mail { grid-column: 1 / -1; }
  .t-nav ul { grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .t-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .t-mail a { font-size: 19px; word-break: normal; overflow-wrap: anywhere; }
  .close h2 { font-size: 40px; }
}
.guide h1 { font-size: clamp(32px, 4vw, 52px); max-width: 18ch; }
@media (max-width: 680px) { .guide h1 { font-size: 30px; } }
@media (prefers-color-scheme: dark) { .tabs button[aria-selected="true"] small { color: #fff; } }
@media (min-width: 681px) and (max-width: 1100px) {
  .field { min-height: 440px; }
  .field .card { margin-top: 40px; }
  .t-word { grid-column: 1 / span 7; min-height: 240px; }
  .t-go { grid-column: 8 / span 5; min-height: 240px; }
  .t-word span { font-size: clamp(48px, 8vw, 96px); }
  .tile { min-height: 180px; }
}

/* ---------- Footer: one panel, clear columns, the name to close ---------- */
.foot { display: block; max-width: 1440px; margin: clamp(48px, 6vw, 96px) auto 0; padding: 0 var(--margin); overflow: hidden; }
.f-main { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; background: var(--surface); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); }
.f-brand { display: flex; flex-direction: column; align-items: flex-start; }
.f-say { margin-top: 20px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; max-width: 16ch; }
.f-facts { margin-top: 10px; font-size: 15px; color: var(--muted); }
.f-get { margin-top: 28px; background: var(--accent); color: #fff; }
.f-get:hover { background: var(--ink); color: var(--bg); }
.f-col h2 { font-size: 15px; font-weight: 700; letter-spacing: 0; line-height: 1.3; color: var(--muted); margin: 6px 0 12px; max-width: none; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.f-col a { display: inline-flex; align-items: center; min-height: 36px; font-size: 16px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.f-col a:hover { color: var(--accent); }
.f-col a[aria-current="page"] { color: var(--accent); }
.f-base { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; padding: 22px 4px 40px; font-size: 14px; color: var(--muted); }
.f-base p { margin: 0; }
details.f-credits, details.f-credits[open] { background: none; color: var(--muted); border-radius: 0; flex-basis: 100%; }
details.f-credits summary { display: inline-flex; min-height: 32px; padding: 0; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
details.f-credits p { margin-top: 6px; font-size: 13px; line-height: 1.6; max-width: 110ch; }
details.f-credits a { color: var(--muted); }
@media (max-width: 1100px) {
  .f-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .foot { padding: 0 var(--margin); }
  .f-main { gap: 28px 16px; padding: 24px 20px; }
  .f-say { font-size: 22px; }
  .f-col a { min-height: 44px; font-size: 15px; }
  .f-base { gap: 4px 16px; }
}
@media (prefers-color-scheme: dark) {
  .f-get:hover { background: var(--ink); color: #0b1020; }
}
@media (max-width: 680px) {
  .f-col:nth-child(2) { order: 1; }
  .f-col:nth-child(5) { order: 2; }
  .f-col:nth-child(3) { order: 3; grid-column: 1 / -1; }
  .f-col:nth-child(4) { order: 4; grid-column: 1 / -1; }
  .f-col a { overflow-wrap: normal; }
}
