/* dubdesk website. Tokens come from the dubdesk design system; the site is light-first and flat (no gradients).
   Geist everywhere, the wordmark too. */
:root {
  --bg: #ffffff;
  --canvas: #fafafa;
  --surface: #ffffff;
  --subtle: #f4f4f5;
  --border: #ebebeb;
  --border-strong: #d4d4d8;
  --text: #0a0a0a;
  --muted: #71717a;
  --faint: #a1a1aa;
  --accent: #0a0a0a;
  --accent-text: #ffffff;
  --sel-bg: #f3f3f3;
  --focus: rgb(10 10 10 / 0.75);
  --ai: #c2410c;
  --ai-soft: #f9ece7;
  --on-ai: #ffffff;
  --green: #15803d;
  --green-bg: #edf7f0;
  --red: #dc2626;
  /* Site-only: the inverted band */
  --band: #0a0a0a;
  --band-text: #ededed;
  --band-muted: #a1a1aa;
  --band-line: #26262a;
  --shadow-pop: 0 1px 2px rgb(0 0 0 / 0.05), 0 16px 48px rgb(0 0 0 / 0.08);
  /* The film is always dark, in both themes */
  --film-bg: #05070b;
  --film-ink: #ffffff;
  --film-dim: rgb(255 255 255 / 0.38);
  --film-ai: #fb923c;

  --font-sans: Geist, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: Geist, ui-sans-serif, system-ui, sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px; --space-32: 128px;
  --radius-xs: 4px; --radius-sm: 6px; --radius-md: 8px; --radius-lg: 12px; --radius-xl: 16px;
  /* Site-only: large marketing surfaces */
  --radius-2xl: 24px;
  --radius-full: 999px;
  --control-md: 32px; --control-lg: 44px;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a; --canvas: #0f0f10; --surface: #141415; --subtle: #1c1c1e; --border: #232326; --border-strong: #34343a;
    --text: #ededed; --muted: #a1a1aa; --faint: #71717a; --accent: #ededed; --accent-text: #0a0a0a; --sel-bg: #1f1f20;
    --focus: rgb(237 237 237 / 0.75); --ai: #fb923c; --ai-soft: #22180f; --on-ai: #0a0a0a; --green: #4ade80; --green-bg: #13281b;
    --red: #f87171;
    --band: #141415; --band-text: #ededed; --band-muted: #a1a1aa; --band-line: #2a2a2e;
    --shadow-pop: 0 1px 2px rgb(0 0 0 / 0.4), 0 16px 48px rgb(0 0 0 / 0.5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font-sans); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.tc { font-variant-numeric: tabular-nums; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-weight: 500; }
h3 { font-weight: 600; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: baseline; gap: 0.18em; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--text); text-decoration: none; }
.logo svg { fill: currentColor; height: 0.74em; width: auto; }

/* ---------- buttons and badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: var(--control-lg); padding: 0 20px; border-radius: var(--radius-full); font-size: 15px; font-weight: 500; white-space: nowrap; text-decoration: none; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); transition: background 0.15s, border-color 0.15s, opacity 0.15s; }
.btn:hover { background: var(--subtle); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn.primary:hover { opacity: 0.86; }
.btn.sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }
.btn[disabled] { opacity: 0.5; cursor: default; }
.badge { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: var(--radius-xs); font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap; background: var(--subtle); color: var(--muted); }
.badge.round { border-radius: var(--radius-full); }
.badge.ok { background: var(--green-bg); color: var(--green); }
.badge.ai { background: var(--ai-soft); color: var(--ai); }
.badge svg { width: 10px; height: 10px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
body::before { content: ''; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--bg); }
.nav.scrolled { border-bottom-color: var(--border); }
.nav .wrap { display: flex; align-items: center; gap: var(--space-8); height: 64px; }
.nav .logo { font-size: 22px; }
.nav-links { display: flex; gap: var(--space-6); font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav-acts { margin-left: auto; display: flex; gap: var(--space-2); align-items: center; }
@media (max-width: 760px) { .nav-links { display: none; } }
/* On a phone the bar only fits one button: the demo one is right below, in the hero */
@media (max-width: 480px) { .nav-acts .btn.primary { display: none; } }

/* ---------- hero ---------- */
.hero { padding: var(--space-16) 0 0; }
.hero-copy { text-align: center; max-width: 900px; margin: 0 auto; }
.hero h1 { margin: 0 0 var(--space-6); font-size: clamp(48px, 9vw, 112px); line-height: 0.95; letter-spacing: -0.045em; }
.lead { margin: 0 auto; max-width: 640px; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }

/* the film: a dubbed scene with karaoke text, grows to full width as it scrolls in */
.film-stage { margin-top: var(--space-16); padding: 0 max(12px, env(safe-area-inset-left, 0px)); }
.film { position: relative; margin: 0 auto; max-width: 1400px; aspect-ratio: 16 / 9; border-radius: 32px; overflow: hidden; background: var(--film-bg); color: var(--film-ink); transform: scale(var(--film-scale, 0.9)); transform-origin: 50% 0; will-change: transform; }
@media (max-width: 700px) { .film { aspect-ratio: 4 / 5; border-radius: 24px; } }
.film { background: #1b1f26; }
.film-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: no-preference) { .film-img { animation: push 24s ease-in-out infinite alternate; } }
@keyframes push { from { transform: scale(1); } to { transform: scale(1.06); } }
/* Flat shade so white text reads on any frame (no gradients) */
.film-shade { position: absolute; inset: 0; background: rgb(0 0 0 / 0.38); }
.film-ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: clamp(18px, 3vw, 40px); pointer-events: none; }
/* Burned-in timecode, top right: white digits on a black box, as on a screener */
.film-tc { align-self: flex-end; padding: 0.15em 0.45em; background: #000; color: var(--film-ink); font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: clamp(13px, 1.5vw, 20px); font-weight: 500; letter-spacing: 0.02em; line-height: 1.3; }
.film-line { margin: 0; max-width: 18ch; font-weight: 500; font-size: clamp(30px, 5.6vw, 76px); line-height: 1.05; letter-spacing: -0.035em; color: var(--film-dim); text-wrap: balance; }
.film-line .on { color: var(--film-ink); }
.film-sub { display: grid; gap: clamp(6px, 1vw, 12px); }
.film-who { font-size: clamp(12px, 1.3vw, 16px); font-weight: 600; letter-spacing: 0.08em; color: var(--film-ink); }

/* ---------- sections ---------- */
section { padding: var(--space-32) 0 0; }
.hero { padding-top: var(--space-16); }
.sec-head { max-width: 760px; margin-bottom: var(--space-12); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--space-4); }
h2 { margin: 0; font-size: clamp(36px, 5.6vw, 68px); line-height: 1; letter-spacing: -0.04em; }
.sec-head p:not(.kicker) { margin: var(--space-6) 0 0; font-size: 19px; color: var(--muted); text-wrap: pretty; }
.sec-head.center p:not(.kicker) { margin-left: auto; margin-right: auto; max-width: 620px; }
h3 { letter-spacing: -0.015em; }

/* features: two wide cards, then three */
.features { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-4); }
.feat { grid-column: span 2; display: flex; flex-direction: column; border-radius: var(--radius-2xl); background: var(--subtle); overflow: hidden; min-width: 0; }
.feat.wide { grid-column: span 3; }
@media (max-width: 960px) { .feat, .feat.wide { grid-column: span 3; } .feat:last-child { grid-column: span 6; } }
@media (max-width: 620px) { .feat, .feat.wide, .feat:last-child { grid-column: span 6; } }
.feat-art { height: 230px; display: grid; place-items: center; padding: var(--space-6); }
.feat-copy { padding: 0 var(--space-8) var(--space-8); }
.feat h3 { margin: 0 0 var(--space-2); font-size: 22px; line-height: 1.15; }
.feat p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; }
.mini { width: 100%; max-width: 340px; display: grid; gap: 10px; padding: var(--space-4); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-pop); font-size: 12px; }
.mini.dark { background: var(--film-bg); color: var(--film-ink); }
.mini.dark .t { color: var(--film-dim); }
.mini-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mini-row > span:not(.badge) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini .t { color: var(--muted); font-size: 11px; }
.strike { color: var(--muted); text-decoration: line-through; }
.ai-text { color: var(--ai); }
.karaoke-mini { font-weight: 500; font-size: 20px; line-height: 1.15; letter-spacing: -0.02em; }
.karaoke-mini span { color: var(--film-dim); }
.wave { display: flex; align-items: center; gap: 3px; height: 40px; }
.wave i { width: 3px; border-radius: 2px; background: var(--border-strong); }
.wave i.on { background: var(--text); }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.shot { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); background: #20242b; overflow: hidden; }
.shot::after { content: ''; position: absolute; left: 32%; top: 24%; width: 26%; height: 76%; border-radius: 45% 45% 8% 8%; background: #3a404a; }
.shot.alt { background: #2b2420; }
.shot.alt::after { left: 55%; width: 34%; height: 40%; top: 60%; border-radius: 4px; background: #463a31; }
.shot .badge { position: absolute; left: 4px; bottom: 4px; height: 16px; font-size: 10px; padding: 0 5px; z-index: 1; }

/* steps: text beside a live widget */
.steps { display: grid; gap: var(--space-24); }
.step { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--space-16); align-items: center; }
.step:nth-child(even) .step-copy { order: 2; }
@media (max-width: 860px) { .step { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); } .step:nth-child(even) .step-copy { order: 0; } }
.step-n { font-weight: 500; font-size: 15px; color: var(--muted); }
.step h3 { margin: var(--space-3) 0 var(--space-4); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; font-weight: 500; letter-spacing: -0.035em; }
.step p { margin: 0; font-size: 17px; color: var(--muted); max-width: 440px; }
.widget { display: grid; gap: var(--space-3); padding: var(--space-6); border-radius: var(--radius-2xl); background: var(--subtle); min-height: 320px; align-content: center; min-width: 0; }
.w-file { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); font-size: 14px; }
.w-file > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.w-file b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-file small { color: var(--muted); font-size: 12px; }
.w-ico { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--subtle); }
.w-ico svg { width: 18px; height: 18px; }
.w-bar { height: 4px; border-radius: 2px; background: var(--border); overflow: hidden; margin-top: 6px; }
.w-bar i { display: block; height: 100%; width: 0; background: var(--text); }
.w-note { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 13px; color: var(--muted); }
.w-note svg { width: 14px; height: 14px; }
.w-head { display: flex; align-items: center; gap: 10px; font-size: 15px; padding: 0 var(--space-1) var(--space-1); }
.w-head b { font-weight: 500; }
.w-head small { margin-left: auto; color: var(--muted); font-size: 13px; }
.w-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border-strong); border-top-color: var(--ai); flex-shrink: 0; }
.w-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.w-list li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.w-list li::before { content: ''; width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--border-strong); }
.w-list li small { margin-left: auto; font-size: 12px; color: var(--muted); opacity: 0; transition: opacity 0.3s; white-space: nowrap; }
.w-list li.done { color: var(--text); }
.w-list li.done::before { border-color: var(--text); background: var(--text); box-shadow: inset 0 0 0 3.5px var(--surface); }
.w-list li.done small { opacity: 1; }
.w-list li.now { color: var(--text); border-color: var(--ai); }
.w-list li.now::before { border-color: var(--ai); border-top-color: transparent; }
.w-row { display: grid; grid-template-columns: 92px 64px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 12px 14px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); font-size: 14px; }
.w-row > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-row b { font-size: 12px; font-weight: 600; }
.w-row .t { font-size: 12px; color: var(--muted); }
.w-row.edit { border-color: var(--text); }
.w-tc { font-size: 12px; padding: 2px 6px; margin: -2px -6px; border-radius: var(--radius-xs); background: var(--sel-bg); outline: 1.5px solid var(--text); justify-self: start; }
.w-tc.caret::after { content: '|'; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.w-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-1); }
.w-foot .btn { pointer-events: none; }
#w-recalc { opacity: 0; transition: opacity 0.3s; }
#w-recalc.show { opacity: 1; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) { .step.live .w-spin, .step.live .w-list li.now::before { animation: spin 0.9s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 480px) { .w-row { grid-template-columns: 84px minmax(0, 1fr); } .w-row > span:last-child { grid-column: 1 / -1; } }

/* editor: a still of the real app editor (always in the app's dark theme) */
.appshot { --a-bg: #0a0a0a; --a-canvas: #0f0f10; --a-surface: #141415; --a-subtle: #1c1c1e; --a-border: #232326; --a-strong: #34343a;
  --a-text: #ededed; --a-muted: #a1a1aa; --a-faint: #71717a; --a-ai: #fb923c; --a-amber: #fbbf24; --a-blue: #60a5fa; --a-sel: #1f1f20;
  position: relative; display: grid; grid-template-columns: 290px minmax(0, 1fr); height: 640px; border-radius: var(--radius-2xl); overflow: hidden;
  background: var(--a-bg); color: var(--a-text); font-size: 13px; line-height: 1.5; border: 1px solid var(--a-border); box-shadow: 0 30px 80px rgb(0 0 0 / 0.18); text-align: left; }
.appshot .tc { font-size: 12px; color: var(--a-muted); }
.as { display: flex; flex-direction: column; gap: 14px; padding: 14px 16px; border-right: 1px solid var(--a-border); min-height: 0; }
.as-head .logo { color: var(--a-text); font-size: 17px; }
.as-file { padding: 10px 12px; border-radius: 10px; background: var(--a-subtle); font-size: 12px; }
.as-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.as-steps li { display: grid; grid-template-columns: 16px 1fr auto; gap: 8px; align-items: baseline; font-size: 12.5px; }
.as-steps li::before { content: '✓'; color: var(--a-text); font-size: 12px; }
.as-steps b { font-weight: 500; }
.as-steps small { color: var(--a-muted); font-size: 11px; text-align: right; }
.as-msg { font-size: 13px; }
.as-msg p { margin: 0 0 8px; }
.as-msg ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.as-msg u { color: var(--a-blue); text-underline-offset: 2px; }
.as-input { margin-top: auto; padding: 12px; border-radius: 12px; background: var(--a-subtle); color: var(--a-faint); font-size: 12.5px; }
.am { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--a-canvas); }
.am-top { display: flex; align-items: center; gap: 16px; padding: 10px 16px; background: var(--a-bg); border-bottom: 1px solid var(--a-border); }
.am-title { display: grid; min-width: 0; }
.am-title b { font-weight: 600; font-size: 13px; }
.am-title small { color: var(--a-muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-tabs { margin-left: auto; display: inline-flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--a-subtle); }
.am-tabs span { padding: 3px 10px; border-radius: 7px; color: var(--a-muted); font-size: 12.5px; }
.am-tabs span.on { background: var(--a-surface); color: var(--a-text); }
.am-acts { display: flex; gap: 6px; }
.am-btn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--a-border); background: var(--a-surface); font-size: 12.5px; white-space: nowrap; }
.am-btn.light { background: var(--a-text); color: var(--a-bg); border-color: var(--a-text); }
.am-btn svg { width: 13px; height: 13px; }
.am-strip { display: flex; align-items: center; gap: 18px; padding: 10px 20px; font-size: 12.5px; color: var(--a-muted); }
.am-strip b { color: var(--a-text); font-weight: 600; }
.am-review { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.am-review i { font-style: normal; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--a-border); color: var(--a-text); font-size: 12px; }
.am-script { flex: 1; overflow: hidden; padding: 0 20px 20px; display: grid; align-content: start; gap: 10px; }
.am-scene { display: flex; align-items: baseline; gap: 10px; padding: 8px 2px 0; }
.am-scene small { font-size: 11px; letter-spacing: 0.04em; color: var(--a-faint); }
.am-scene b { font-weight: 500; font-size: 13.5px; }
.am-scene span { color: var(--a-faint); font-size: 11.5px; }
.am-take { border: 1px solid var(--a-border); border-radius: 10px; background: var(--a-bg); }
.am-take-head { display: flex; align-items: baseline; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--a-border); font-size: 12px; color: var(--a-muted); white-space: nowrap; }
.am-take-head b { color: var(--a-text); font-weight: 600; }
.am-cast { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.am-count { margin-left: auto; }
.am-row { position: relative; display: grid; grid-template-columns: 96px 128px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 7px 12px; }
.am-row b { font-weight: 600; font-size: 12.5px; }
.am-row b small { font-weight: 400; color: var(--a-muted); }
.am-row .tc.rev { color: var(--a-amber); }
.am-row .tc.rev::before { content: '▸ '; }
.am-row.sel { background: var(--a-sel); box-shadow: inset 2px 0 0 var(--a-text); }
.am-row .tc.edit { color: var(--a-text); outline: 1.5px solid var(--a-text); border-radius: 4px; padding: 1px 4px; margin: -1px -4px; background: var(--a-surface); justify-self: start; }
.am-sug { font-style: normal; display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; height: 21px; padding: 0 9px; border-radius: 999px; background: #22180f; color: var(--a-ai); font-size: 11.5px; font-weight: 500; white-space: nowrap; vertical-align: 1px; }
.am-sug svg { width: 10px; height: 10px; }
.am-menu { position: absolute; z-index: 2; left: 240px; top: calc(100% - 4px); display: grid; min-width: 200px; padding: 4px; border: 1px solid var(--a-border); border-radius: 12px; background: var(--a-surface); box-shadow: 0 12px 32px rgb(0 0 0 / 0.5); font-size: 12.5px; }
.am-menu span { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 7px; }
.am-menu span:first-child { background: var(--a-subtle); }
.am-menu span.ai { color: var(--a-ai); }
.am-menu svg { width: 11px; height: 11px; }
.am-player { position: absolute; right: 16px; bottom: 16px; width: 300px; border: 1px solid var(--a-border); border-radius: 12px; background: var(--a-surface); overflow: hidden; box-shadow: 0 16px 40px rgb(0 0 0 / 0.5); }
.am-video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.am-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.am-video .tc { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); padding: 1px 6px; border-radius: 4px; background: rgb(0 0 0 / 0.7); color: #fff; font-size: 11px; }
.am-pfoot { display: flex; align-items: center; gap: 10px; padding: 8px 10px; font-size: 11.5px; color: var(--a-muted); }
.am-pfoot label { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--a-text); }
.am-pfoot label i { width: 12px; height: 12px; border-radius: 3px; background: var(--a-blue); }
.am-pfoot .am-btn { height: 24px; font-size: 11.5px; }
@media (max-width: 1000px) { .appshot { grid-template-columns: minmax(0, 1fr); } .as { display: none; } }
@media (max-width: 760px) { .appshot { height: 560px; } .am-tabs, .am-acts .am-btn:first-child, .am-review, .am-player, .am-menu, .am-sug { display: none; } .am-row { grid-template-columns: 84px minmax(0, 1fr); } .am-row > span:nth-child(3) { grid-column: 1 / -1; } .am-cast { display: none; } }
.powers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-12) var(--space-8); margin-top: var(--space-16); }
@media (max-width: 860px) { .powers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .powers { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); } }
.powers h3 { margin: 0 0 var(--space-2); font-size: 22px; line-height: 1.15; }
.powers p { margin: 0; color: var(--muted); font-size: 15px; }

/* security band */
.band { background: var(--band); color: var(--band-text); border-radius: var(--radius-2xl); margin: var(--space-32) max(12px, env(safe-area-inset-left, 0px)) 0; padding: var(--space-24) 0; }
.band .kicker, .band .sec-head p:not(.kicker) { color: var(--band-muted); }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
@media (max-width: 1000px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .principles { grid-template-columns: minmax(0, 1fr); } }
.principle { padding: var(--space-6); border: 1px solid var(--band-line); border-radius: var(--radius-xl); }
.principle svg { width: 24px; height: 24px; color: var(--band-text); }
.principle h3 { margin: var(--space-8) 0 var(--space-2); font-size: 22px; line-height: 1.15; }
.principle p { margin: 0; color: var(--band-muted); font-size: 15px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-6) 0; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-weight: 400; font-size: 24px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 var(--space-6); color: var(--muted); max-width: 680px; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-12); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.contact .sec-head { margin-bottom: var(--space-8); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); color: var(--muted); }
.checks li { display: flex; gap: var(--space-3); align-items: baseline; }
.checks svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--text); transform: translateY(3px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); padding: var(--space-8); border-radius: var(--radius-2xl); background: var(--subtle); }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); padding: var(--space-6); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; min-width: 0; height: var(--control-lg); padding: 0 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface); color: var(--text); font: inherit; font-size: 15px; }
.field textarea { height: auto; min-height: 104px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-4); }
.form-foot small { color: var(--muted); font-size: 13px; flex: 1; min-width: 200px; }
.form-msg { grid-column: 1 / -1; margin: 0; font-size: 14px; }
.form-msg.err { color: var(--red); }
.form-done { grid-column: 1 / -1; display: grid; gap: var(--space-2); padding: var(--space-6) 0; }
.form-done h3 { margin: 0; font-size: 28px; }
.form-done p { margin: 0; color: var(--muted); }

/* footer */
.footer { padding: var(--space-12) 0 calc(var(--space-12) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); margin-top: var(--space-32); }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); font-size: 14px; color: var(--muted); }
.footer .logo { font-size: 20px; }
.footer nav { display: flex; gap: var(--space-6); margin-left: auto; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer .credit { font-size: 12px; }
.footer .credit a { text-decoration: underline; text-underline-offset: 2px; }
