/* Shared site chrome (agent-workflow/skills/landing-page/chrome): header, language pickers, phone
   menu, store badge, footer and the guide frame. The same form on every app's site; each project
   sets the --chrome-* properties to its own tokens (site_chrome.stylesheet(cfg) appends cfg["theme"]).
   Logical properties only, so right-to-left pages mirror. One line at 375 px, nothing wider than it. */
:root {
  --chrome-bg: #ffffff;
  --chrome-bg-alt: #f5f5f7;
  --chrome-surface: #ffffff;
  --chrome-text: #1d1d1f;
  --chrome-text-2: #4a4a55;
  --chrome-text-3: #6e6e78;
  --chrome-line: rgba(0, 0, 0, .1);
  --chrome-brand: #4648d4;
  --chrome-cta-bg: var(--chrome-bg-alt);
  --chrome-shadow: 0 30px 60px -20px rgba(20, 20, 60, .35), 0 12px 24px -12px rgba(0, 0, 0, .25);
  --chrome-nav-h: 52px;
  --chrome-wrap: 1120px;
  --chrome-radius: 22px;
  --chrome-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue",
    "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --chrome-bg: #000000;
    --chrome-bg-alt: #0e0f13;
    --chrome-surface: #1c1e22;
    --chrome-text: #f5f5f7;
    --chrome-text-2: #c2c3cc;
    --chrome-text-3: #8b8d98;
    --chrome-line: rgba(255, 255, 255, .14);
    --chrome-brand: #9b9dfb;
    --chrome-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 12px 24px -12px rgba(0, 0, 0, .6);
  }
}

.skip { position: absolute; inset-inline-start: 8px; top: -100px; z-index: 100; background: var(--chrome-surface); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }

/* Header */
.nav { position: sticky; top: 0; z-index: 50; height: var(--chrome-nav-h); font-family: var(--chrome-font);
  background: color-mix(in srgb, var(--chrome-bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--chrome-line); }
.nav-inner { height: 100%; width: min(var(--chrome-wrap), 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--chrome-text); font-weight: 650; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 22px; margin-inline-start: auto; font-size: 14px; }
.nav-links a { color: var(--chrome-text-2); }
.nav-lang { position: relative; font-size: 14px; }
.nav-lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; min-height: 32px;
  padding: 0 10px; border-radius: 999px; color: var(--chrome-text-2); }
.nav-lang summary::-webkit-details-marker { display: none; }
.nav-lang summary:hover, .nav-lang[open] summary { color: var(--chrome-text); background: var(--chrome-bg-alt); }
.nav-lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none;
  display: grid; grid-template-columns: repeat(2, max-content); gap: 2px 8px; max-height: min(70vh, 520px); overflow: auto;
  background: var(--chrome-surface); border: 1px solid var(--chrome-line); border-radius: 16px; box-shadow: var(--chrome-shadow); z-index: 60; }
.nav-lang li a { display: block; padding: 7px 12px; border-radius: 10px; color: var(--chrome-text); white-space: nowrap; }
.nav-lang li a:hover { background: var(--chrome-bg-alt); text-decoration: none; }
.nav-lang a[aria-current] { font-weight: 700; color: var(--chrome-brand); }
.nav-links a[aria-current] { color: var(--chrome-text); font-weight: 600; }
/* The header button never wraps: a two-line pill in the bar looks broken. Its colours are the
   project's .btn; its size is fixed here. */
.nav .btn-small { min-height: 32px; padding: 0 14px; font-size: 13px; white-space: nowrap; flex: none; }
/* Phone menu: the links that do not fit in the bar. */
.nav-more { display: none; }
.nav-more summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 999px; color: var(--chrome-text); }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary:hover, .nav-more[open] summary { background: var(--chrome-bg-alt); }
.nav-more ul { position: absolute; inset-inline: 16px; top: calc(var(--chrome-nav-h) + 8px); margin: 0; padding: 8px; list-style: none;
  display: grid; gap: 2px; background: var(--chrome-surface); border: 1px solid var(--chrome-line); border-radius: 16px;
  box-shadow: var(--chrome-shadow); z-index: 60; }
.nav-more li a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--chrome-text); font-size: 16px; }
.nav-more li a:hover { background: var(--chrome-bg-alt); text-decoration: none; }
.nav-more a[aria-current] { font-weight: 700; color: var(--chrome-brand); }
@media (max-width: 720px) {
  .nav-inner { gap: 8px; }
  .nav-more { display: block; }
  .nav-links { display: none; }
  .nav-lang { position: static; margin-inline-start: auto; }
  .nav-lang summary span { display: none; }
  /* Full width under the bar: anchored to the globe, the list would run off a phone's edge. */
  .nav-lang ul { inset-inline: 16px; top: calc(var(--chrome-nav-h) + 8px); grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  /* The narrowest phones: the icon alone is the brand, so the button and both menus still fit. */
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* App Store badge */
.store-badge { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px; border-radius: 14px;
  background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.store-badge:hover { text-decoration: none; background: #111; }
.store-badge svg { width: 26px; height: 26px; }
.store-badge span { display: flex; flex-direction: column; font-size: 22px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.store-badge small { font-size: 11px; font-weight: 500; letter-spacing: .02em; margin-bottom: 3px; }
.store-badge.light { background: #fff; color: #000; border-color: transparent; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 28px 0 14px; }

/* FAQ entries (guides, home, support) */
.faq-item { background: var(--chrome-surface); border-radius: 16px; margin-bottom: 12px; }
.faq-item summary { cursor: pointer; list-style: none; padding-block: 20px; padding-inline: 24px 52px; font-weight: 600; font-size: 18px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; inset-inline-end: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--chrome-text-3); }
.faq-item[open] summary::after { content: "−"; }
.faq-item div { padding: 0 24px 18px; color: var(--chrome-text-2); }
.faq-item div p:last-child { margin-bottom: 0; }

/* Guide frame */
.guide-head { background: var(--chrome-bg-alt); padding: 56px 0 0; overflow: hidden; }
.guide-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.guide-grid > div:first-child { padding-bottom: 64px; }
.guide-grid.no-media { grid-template-columns: minmax(0, 1fr); }
.guide-grid.no-media > div:first-child { max-width: 820px; }
.guide-head h1 { font-size: clamp(34px, 4.4vw, 54px); }
.crumbs { font-size: 14px; color: var(--chrome-text-3); margin-bottom: 20px; }
.crumbs span { margin: 0 6px; }
.guide-media { display: flex; justify-content: center; gap: 16px; height: 460px; align-items: flex-start; }
.guide-media .phone { width: 250px; }
.guide-media.phones-2 .phone { width: 210px; }
.guide-media.phones-2 .phone:last-child { margin-top: 50px; }
.guide-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding-top: 56px; }
.guide-body .prose { max-width: 720px; }
/* Two classes, so a project's own .wrap padding (DeviceBox) cannot drop the space above the body. */
.guide .guide-body { padding-top: 56px; }
/* A wide table scrolls inside its own box; no body content can widen the page. */
.guide-body > * { min-width: 0; }
.guide-body .prose table { max-width: 100%; }
.guide-body .table-wrap { max-width: 100%; overflow-x: auto; }
.toc { position: sticky; top: calc(var(--chrome-nav-h) + 24px); align-self: start; font-size: 14px; }
.toc p { font-weight: 700; margin-bottom: 8px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.toc a { color: var(--chrome-text-2); }
.inline-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px; border-radius: 20px; background: var(--chrome-cta-bg); margin: 40px 0; }
.inline-cta img { border-radius: 13px; }
.inline-cta div { flex: 1; min-width: 200px; }
.inline-cta p { margin: 0; }
.related { list-style: none; padding: 0; display: grid; gap: 12px; }
.related a { display: block; padding: 18px 20px; border-radius: 16px; background: var(--chrome-bg-alt); color: var(--chrome-text); }
.related a:hover { text-decoration: none; background: color-mix(in srgb, var(--chrome-brand) 10%, var(--chrome-bg-alt)); }
.related span { display: block; color: var(--chrome-text-2); font-size: 15px; margin-top: 4px; }
/* Guides index cards: kicker, title, description and date each on their own line. */
.guide-cards { list-style: none; padding: 0 0 100px; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.guide-cards a { display: flex; flex-direction: column; height: 100%; padding: 24px; border-radius: var(--chrome-radius); background: var(--chrome-bg-alt); color: var(--chrome-text); overflow: hidden; }
.guide-cards a:hover { text-decoration: none; transform: translateY(-2px); }
.guide-cards img { width: 130px; border-radius: 18px; margin-bottom: 18px; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5); }
.guide-cards strong { font-size: 21px; line-height: 1.2; margin-bottom: 6px; }
.guide-cards .desc { color: var(--chrome-text-2); font-size: 15px; }
.guide-cards .fine { margin-top: 10px; }
@media (max-width: 900px) {
  .guide-grid { grid-template-columns: 1fr; }
  /* min-width: 0: the screens shrink to the column instead of widening the page on a phone. */
  .guide-grid > *, .guide-media .phone { min-width: 0; }
  .guide-grid > div:first-child { padding-bottom: 8px; }
  .guide-media { height: 360px; }
  .guide-media .phone { width: 200px; }
  /* minmax(0, …): a plain 1fr column cannot be narrower than its widest table, which pushed the
     whole page wider than a phone. */
  .guide-body { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { position: static; margin-bottom: 24px; }
}

/* Footer */
.footer { background: var(--chrome-bg-alt); border-top: 1px solid var(--chrome-line); padding: 56px 0 28px; font-size: 14px; color: var(--chrome-text-2); font-family: var(--chrome-font); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--chrome-text-3); margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--chrome-text-2); }
.footer-brand p { margin: 12px 0 18px; max-width: 26em; }
.footer-identity { font-size: 13px; line-height: 1.6; margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--chrome-surface) 65%, transparent); border: 1px solid var(--chrome-line); }
.footer-identity p { margin: 0; }
.footer-identity strong { color: var(--chrome-text); }
.footer-social { margin: 0 0 18px; display: flex; gap: 12px; }
.footer-social .social { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--chrome-line); color: var(--chrome-text); font-weight: 600; }
.footer-social .social:hover { border-color: var(--chrome-text-3); }
.footer .footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid var(--chrome-line); margin-top: 36px; padding-top: 18px; font-size: 12px; color: var(--chrome-text-3); }
.footer-base p { margin: 0; }
.lang summary { cursor: pointer; display: inline-block; padding: 8px 14px; border: 1px solid var(--chrome-line); border-radius: 999px; }
.lang ul { margin-top: 10px; grid-template-columns: repeat(2, max-content); gap: 6px 22px; }
.lang a[aria-current] { color: var(--chrome-text); font-weight: 700; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Nightcade chrome theme (cfg['theme']) */
:root {
  --chrome-bg: var(--bg);
  --chrome-bg-alt: var(--bg-alt);
  --chrome-surface: var(--surface);
  --chrome-text: var(--text);
  --chrome-text-2: var(--text-2);
  --chrome-text-3: var(--text-3);
  --chrome-line: var(--line);
  --chrome-brand: var(--brand);
  --chrome-cta-bg: var(--bg-alt);
  --chrome-shadow: var(--shadow);
  --chrome-nav-h: var(--nav-h);
  --chrome-wrap: var(--wrap);
  --chrome-radius: var(--radius);
}

/* Nightcade website (TASK-WEB-001). The header, footer, store badge, guide frame, guide cards and FAQ entries come from
   the shared chrome.css (agent-workflow/skills/landing-page/chrome), which the build writes in front of this file.
   Tokens: the app's own monochrome palette (iosApp/RetroMate/DesignSystem/AppColor.swift; owner, 2026-11-18: "Đơn sắc
   đi" — the primary is black/white, colour only in the app icon). Light and Dark by the system setting; the hero, the
   privacy band and the closing call are always dark. Logical properties only. */
:root {
  --bg: #EEEEEE; --bg-alt: #E6E6E6; --surface: #F9F9F9;
  --text: #1F1F1F; --text-2: #5A5A5A; --text-3: #717171; --line: #CBCBCB;
  --brand: #111111; --on-brand: #F9F9F9; --kicker: #5A5A5A;
  --grad: linear-gradient(90deg, #1F1F1F, #717171);
  --shadow: 0 30px 60px -24px rgba(0, 0, 0, .35), 0 12px 24px -12px rgba(0, 0, 0, .2);
  --nav-h: 56px; --wrap: 1120px; --radius: 22px; --dark: #121212;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1E1E1E; --bg-alt: #171717; --surface: #2B2B2B;
    --text: #F9F9F9; --text-2: #A8A8A8; --text-3: #999999; --line: #494949;
    --brand: #F2F2F2; --on-brand: #111111; --kicker: #A8A8A8;
    --grad: linear-gradient(90deg, #F9F9F9, #8A8A8A);
    --shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), 0 12px 24px -12px rgba(0, 0, 0, .6);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", "Hiragino Sans",
    "Apple SD Gothic Neo", "Noto Sans", Arial, sans-serif; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.02em; margin: 0 0 16px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 820px; }
.accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fine { font-size: 14px; color: var(--text-3); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kicker); margin: 0 0 10px; }
.lead { font-size: 19px; color: var(--text-2); }
.btn, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; background: var(--brand); color: var(--on-brand); font-weight: 650; font-size: 16px; border: 0; }
.btn:hover, .button:hover { text-decoration: none; filter: brightness(1.08); }
.btn-small { min-height: 32px; padding: 0 14px; font-size: 13px; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }

/* The app's own screens, in a plain phone frame (guides and their index) */
/* A phone as OptiPixel draws it: a lit metal bezel and the Dynamic Island over the raw screen. */
.phone { position: relative; width: 280px; max-width: 100%; aspect-ratio: 1320 / 2868; border-radius: 48px; padding: 9px;
  background: linear-gradient(145deg, #3a3b42, #121316 40%, #2c2d33); box-shadow: var(--shadow); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 30%; height: 3.3%; transform: translateX(-50%);
  background: #000; border-radius: 20px; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 40px; background: #0e0f13; }

/* Hero: the App Store filmstrip, far larger than the frame and tilted, so no slide is seen whole. A blurred copy fills the
   frame; the sharp one shows through a soft window beside the copy; darkness takes the cut edges. Always dark. */
.hero { position: relative; overflow: hidden; isolation: isolate; background: #121212; color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-film { display: grid; align-content: center; min-height: min(100svh, 880px); padding: 96px 0 72px; }
.hero-copy { max-width: 620px; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.03; letter-spacing: -.035em; }
.hero h1 .accent { background: linear-gradient(90deg, #F9F9F9, #8A8A8A); -webkit-background-clip: text; background-clip: text; }
.hero .lead { font-size: clamp(18px, 2vw, 22px); color: rgba(255, 255, 255, .85); max-width: 34em; margin: 0 0 28px; }
.hero .fine { color: rgba(255, 255, 255, .66); margin-top: 20px; max-width: 34em; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.film-soft { position: absolute; z-index: -3; inset: -12%; background: center / cover no-repeat;
  filter: brightness(.5) saturate(1.2); transform: rotate(-9deg) scale(1.25); }
.film-sharp { position: absolute; z-index: -2; top: 50%; inset-inline-end: -34%; width: 118%; max-width: none; height: auto;
  transform: translateY(-50%) rotate(-9deg);
  -webkit-mask-image: radial-gradient(ellipse 34% 50% at 52% 50%, #000 35%, transparent 80%);
          mask-image: radial-gradient(ellipse 34% 50% at 52% 50%, #000 35%, transparent 80%); }
.hero-film::after { background:
    linear-gradient(90deg, #121212 0%, rgba(18, 18, 18, .92) 38%, rgba(18, 18, 18, .35) 58%, transparent 76%),
    radial-gradient(ellipse 120% 90% at 62% 50%, transparent 42%, rgba(18, 18, 18, .7) 80%, #121212 100%),
    linear-gradient(180deg, rgba(18, 18, 18, .8) 0%, transparent 18%, transparent 74%, #121212 100%); }
[dir="rtl"] .film-sharp { transform: translateY(-50%) rotate(9deg); }
[dir="rtl"] .film-soft { transform: rotate(9deg) scale(1.25); }
[dir="rtl"] .hero-film::after { background:
    linear-gradient(270deg, #121212 0%, rgba(18, 18, 18, .92) 38%, rgba(18, 18, 18, .35) 58%, transparent 76%),
    radial-gradient(ellipse 120% 90% at 38% 50%, transparent 42%, rgba(18, 18, 18, .7) 80%, #121212 100%),
    linear-gradient(180deg, rgba(18, 18, 18, .8) 0%, transparent 18%, transparent 74%, #121212 100%); }
@media (max-width: 860px) {
  .hero-film { align-content: end; min-height: 0; padding: 46svh 0 40px; }
  .film-sharp { top: 0; inset-inline-end: -52%; width: 200%; transform: rotate(-9deg);
    -webkit-mask-image: radial-gradient(ellipse 36% 46% at 50% 40%, #000 35%, transparent 82%);
            mask-image: radial-gradient(ellipse 36% 46% at 50% 40%, #000 35%, transparent 82%); }
  [dir="rtl"] .film-sharp { transform: rotate(9deg); }
  .hero-film::after, [dir="rtl"] .hero-film::after { background:
    linear-gradient(180deg, rgba(18, 18, 18, .75) 0%, transparent 12%, transparent 30%, rgba(18, 18, 18, .88) 50%, #121212 64%); }
}

/* Sections */
section { padding: 96px 0; }
.section-title { font-size: clamp(32px, 4.4vw, 52px); text-align: center; max-width: 16em; margin: 0 auto 16px; }
.section-lead { font-size: clamp(18px, 1.9vw, 21px); color: var(--text-2); text-align: center; max-width: 36em; margin: 0 auto 48px; }
.reasons { background: var(--bg); padding-bottom: 48px; }
.reason-grid { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reason-grid li { background: var(--bg-alt); border-radius: var(--radius); padding: 32px 28px; }
.reason-grid h3 { font-size: 22px; }
.reason-grid p { color: var(--text-2); margin: 0; }
.feature { background: var(--bg-alt); overflow: hidden; }
.feature:nth-of-type(even) { background: var(--bg); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature.reverse .feature-copy { order: 2; }
.feature-copy h2 { font-size: clamp(30px, 3.8vw, 48px); }
.feature-copy .why { font-size: 19px; color: var(--text-2); }
.ticks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-inline-start: 30px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand); }
.ticks li::after { content: ""; position: absolute; inset-inline-start: 6px; top: calc(.3em + 4px); width: 6px; height: 9px;
  border: solid var(--on-brand); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.more { font-weight: 650; }
.more::after { content: " \203A"; }
[dir="rtl"] .more::after { content: " \2039"; }
/* A feature's picture: a close view of its own slide of the same filmstrip, the rest in the dark. */
.film-window { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 36px; overflow: hidden;
  background: #121212; isolation: isolate; box-shadow: var(--shadow); }
.film-window img { position: absolute; top: 50%; left: 50%; width: 150%; max-width: none; height: auto;
  transform: translate(-50%, -50%) rotate(-5deg); }
.film-window::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 75% 75% at 50% 50%, transparent 45%, rgba(18, 18, 18, .7) 82%, #121212 100%); }
.gallery { background: var(--bg); }
.shot-strip { list-style: none; margin: 0; padding: 8px 20px 24px; display: flex; gap: 18px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; }
.shot-strip::-webkit-scrollbar { display: none; }
.shot-strip li { flex: 0 0 230px; scroll-snap-align: start; }
.shot-strip img { width: 230px; border-radius: 26px; box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .5); }
.privacy-band { background: #121212; color: #fff; }
.privacy-band .section-lead { color: rgba(255, 255, 255, .78); margin-bottom: 40px; }
.privacy-band .accent { background: linear-gradient(90deg, #F9F9F9, #8A8A8A); -webkit-background-clip: text; background-clip: text; }
.privacy-points { list-style: none; padding: 0; margin: 0 auto 32px; max-width: 880px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.privacy-points li { padding: 22px 24px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.privacy-band .center { text-align: center; }
.privacy-band a { color: #F2F2F2; text-decoration: underline; text-underline-offset: 3px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 40px auto 20px; }
.plan { border-radius: var(--radius); padding: 32px; background: var(--bg-alt); }
.plan h3 { font-size: 26px; }
.plan ul { margin: 12px 0 0; padding-inline-start: 20px; display: grid; gap: 8px; color: var(--text-2); }
.plan-paid { background: linear-gradient(135deg, #2B2B2B, #121212); color: #fff; border: 1px solid #494949; }
.plan-paid ul { color: rgba(255, 255, 255, .94); }
.center { text-align: center; }
.faq { background: var(--bg-alt); }
.faq-wrap { max-width: 820px; margin-inline: auto; }
.final-cta { text-align: center; color: #fff; background: radial-gradient(80% 120% at 50% 0%, #383838 0%, #1E1E1E 45%, #121212 100%); }
.final-cta img { margin: 0 auto 24px; border-radius: 24px; box-shadow: 0 20px 40px rgba(0, 0, 0, .4); }
.final-cta h2 { font-size: clamp(34px, 5vw, 56px); }
.final-cta .accent { background: linear-gradient(90deg, #F9F9F9, #8A8A8A); -webkit-background-clip: text; background-clip: text; }
.final-cta p { font-size: 20px; color: rgba(255, 255, 255, .84); max-width: 32em; margin: 0 auto 32px; }
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .reason-grid, .plans, .privacy-points { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature.reverse .feature-copy { order: 0; }
}

/* Pages: support, legal, 404, guides index (the guide frame and cards are the shared chrome's) */
.page-head { padding: 80px 0 24px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); }
.page-head .lead { font-size: 21px; }
.page-head .btn { margin: 12px 0; }
.page-body { padding: 24px 0 96px; }
.prose { font-size: 18px; line-height: 1.65; overflow-wrap: break-word; }
.prose h2 { font-size: 28px; margin: 1.8em 0 .5em; letter-spacing: -.01em; }
.prose h3 { font-size: 20px; margin: 1.6em 0 .4em; }
.prose ul, .prose ol { padding-inline-start: 24px; display: grid; gap: 6px; }
.table-wrap { overflow-x: auto; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .92em; background: var(--bg-alt); padding: 1px 6px; border-radius: 6px; }
.guide-head h1 { line-height: 1.08; letter-spacing: -.02em; margin: 0 0 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* The app's identity above the hero headline (as OptiPixel): icon, name, publisher chip, store subtitle. */
.app-id { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.app-id img { border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.app-name { font-size: 22px; font-weight: 700; margin: 0; }
.app-by { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: #D6D6D6; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2);
  padding: 2px 9px; border-radius: 999px; margin: 3px 0 5px; }
.app-sub { margin: 0; color: rgba(255, 255, 255, .78); font-size: 15px; }
