:root, html[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --card: #ffffff;
  --card-2: #f7f7f8;
  --line: #ececef;
  --text: #111118;
  --muted: #6b7280;
  --accent: #ff3b5c;
  --accent-2: #ff4d6d;
  --accent-soft: #ffe8ed;
  --ok: #ff3b5c;
  --shadow: 0 18px 50px rgba(17, 17, 24, 0.08);
  --header: rgba(255, 255, 255, 0.92);
  --plan: #ffffff;
  --plan-text: #111118;
  --plan-muted: #6b7280;
  --plan-line: #ececef;
  --stage: #eef0f3;
  --player-bar: rgba(255, 255, 255, 0.92);
  --player-bar-text: #111118;
  --player-bar-line: rgba(17, 17, 24, 0.1);
  --placeholder: #9aa0aa;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --control-h: 46px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070709;
  --card: #141416;
  --card-2: #101012;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f5f7;
  --muted: #9a9aa3;
  --accent: #ff4d6a;
  --accent-2: #ff6b84;
  --accent-soft: rgba(255, 77, 106, 0.16);
  --header: rgba(7, 7, 9, 0.88);
  --shadow: 0 0 0 1px rgba(255, 77, 106, 0.35), 0 16px 40px rgba(0, 0, 0, 0.45);
  --plan: #1a1a1e;
  --plan-text: #f5f5f7;
  --plan-muted: #9a9aa3;
  --plan-line: #2e2e34;
  --stage: #0b0b0d;
  --player-bar: rgba(7, 7, 9, 0.78);
  --player-bar-text: #f5f5f7;
  --player-bar-line: rgba(255, 255, 255, 0.1);
  --placeholder: #7c8190;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: var(--sans); }
html { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }
body { min-height: 100vh; transition: background-color 0.2s ease, color 0.2s ease; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
[x-cloak] { display: none !important; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  background: none;
  border: 0;
  margin: 0;
  box-shadow: none;
}
button { cursor: pointer; }
textarea { resize: vertical; }
input[type="file"]::-webkit-file-upload-button { display: none; }
input[type="file"]::file-selector-button { display: none; }
input[type="range"] { accent-color: transparent; }
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

.announce {
  display: block; text-align: center; background: var(--accent); color: #fff;
  padding: 9px 16px; font-size: 14px; font-weight: 600; text-decoration: none;
}
.site-header, main, .site-footer { position: relative; z-index: 1; }
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 28px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--header); backdrop-filter: blur(16px); z-index: 5;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.02em; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; }
.nav a.active, .nav a:hover { color: var(--text); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.credits-pill, .lang-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 650; color: var(--text); text-decoration: none;
  border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; background: var(--card);
}
.lang-chip { color: var(--muted); cursor: default; }
.coin {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe38a, #f5b400 60%, #c98400);
  box-shadow: inset 0 0 0 2px rgba(255, 210, 80, 0.4);
}
.icon-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); display: grid; place-items: center; color: var(--text);
  text-decoration: none; cursor: pointer; padding: 0;
}
.nav-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.person {
  width: 14px; height: 14px; border: 1.7px solid currentColor; border-radius: 50%;
  position: relative;
}
.person:after {
  content: ""; position: absolute; left: -3px; top: 11px; width: 16px; height: 8px;
  border: 1.7px solid currentColor; border-bottom: 0; border-radius: 10px 10px 0 0;
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 10px 16px; text-decoration: none; cursor: pointer; font-weight: 650; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: var(--card); border: 1px solid var(--line); color: var(--text); }
.btn-lg { padding: 14px 22px; font-size: 16px; min-height: var(--control-h); }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

main { max-width: 1120px; margin: 0 auto; padding: 28px 20px 80px; }
.home-main { padding-top: 36px; }
.hero, .page-hero, .hero-simple { text-align: center; padding: 28px 12px 8px; }
h1 { font-size: clamp(36px, 5.4vw, 58px); letter-spacing: -0.045em; line-height: 1.05; margin: 0 0 16px; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.035em; margin: 0 0 14px; }
h3 { margin: 0 0 8px; font-size: 20px; }
.display { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.04em; margin: 8px 0 10px; }
.subhead { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.lede { max-width: 760px; margin: 0 auto 22px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.lede .accent { color: var(--accent); font-weight: 600; }
.eyebrow { color: var(--accent-2); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.hero-chips span {
  border: 1px solid var(--line); background: var(--card-2); border-radius: 999px;
  padding: 6px 12px; font-size: 13px; font-weight: 650; color: var(--muted);
}
.metric-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: 28px 0 8px;
}
.metric-strip article {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px;
}
.metric-strip strong { display: block; font-size: 22px; letter-spacing: -0.03em; margin-bottom: 6px; }
.metric-strip span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.showcase-tabs { width: fit-content; max-width: 100%; margin: 0 auto 22px; }
.bench-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.bench-list { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.bench-list li { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.bench-list strong { color: var(--text); }
.prompt-formula { grid-template-columns: repeat(4, 1fr); margin: 8px 0 28px; }
.prompt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hero-note, .pay-note, .center { text-align: center; color: var(--muted); }
.center-copy { text-align: center; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.accent-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.warn { color: #c2410c; }
html[data-theme="dark"] .warn { color: #ffb4c0; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-soft); color: var(--accent); border-radius: 999px;
  padding: 5px 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.center-pill { display: flex; width: fit-content; margin: 0 auto 14px; }

.section { padding: 64px 0 8px; }
.feature-grid, .mode-grid, .plan-grid, .stat-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.card, .profile-card, .job-card, .info-card, .example-card, .compare-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px;
  box-shadow: 0 10px 30px rgba(17, 17, 24, 0.04);
}
html[data-theme="dark"] .card, html[data-theme="dark"] .job-card, html[data-theme="dark"] .info-card {
  box-shadow: none;
}
.kicker { color: var(--accent-2); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

.ui-field { display: grid; gap: 8px; }
.ui-label { font-size: 13px; color: var(--muted); font-weight: 650; }
.ui-hint { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.5; }
.ui-value { color: var(--accent); font-size: 14px; }
.ui-row { display: flex; justify-content: space-between; align-items: baseline; }
.muted-row { color: var(--muted); font-size: 12px; }
.ui-stack { display: grid; gap: 10px; }
.ui-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }

.ui-input, .ui-textarea, .ui-locked {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card-2);
  color: var(--text);
  padding: 12px 14px;
  min-height: var(--control-h);
}
.ui-textarea { min-height: 108px; line-height: 1.55; }
.ui-locked { display: flex; align-items: center; font-weight: 650; }
.ui-input::placeholder, .ui-textarea::placeholder { color: var(--placeholder); }
.ui-input:focus, .ui-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.ui-seg, .billing-toggle {
  display: flex; width: 100%; padding: 5px; background: var(--card-2);
  border-radius: 999px; border: 1px solid var(--line); gap: 4px;
}
.ui-seg button, .billing-toggle button {
  flex: 1; border: 0; background: transparent; color: var(--muted);
  padding: 10px 12px; border-radius: 999px; cursor: pointer; font-weight: 650; min-height: 40px;
}
.ui-seg button.on, .billing-toggle button.on { background: var(--accent); color: #fff; }
.ui-seg-mode { flex-wrap: nowrap; }
.ui-seg-mode button {
  flex: 1 1 0; min-width: 0; white-space: nowrap;
  padding: 8px 6px; min-height: 36px; font-size: 13px;
}

.ui-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ui-choice button {
  border: 1px solid var(--line); background: var(--card-2); border-radius: var(--radius-sm);
  padding: 12px 14px; cursor: pointer; text-align: left; font-weight: 700; min-height: var(--control-h);
}
.ui-choice button span { display: block; color: var(--muted); font-size: 11px; font-weight: 500; margin-top: 2px; }
.ui-choice button.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.ui-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-chip {
  border: 1px solid var(--line); background: var(--card-2); color: var(--muted);
  border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 650; cursor: pointer;
}
.ui-chip.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.ui-aspect { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ui-aspect button {
  border: 1px solid var(--line); background: var(--card-2); border-radius: var(--radius-sm);
  padding: 10px 6px; display: grid; place-items: center; gap: 6px; cursor: pointer;
  font-size: 12px; color: var(--muted); font-weight: 650; min-height: 64px;
}
.ui-aspect button.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.ratio { display: block; border: 1.6px solid currentColor; border-radius: 3px; }
.r169 { width: 22px; height: 12px; }
.r916 { width: 12px; height: 20px; }
.r11 { width: 16px; height: 16px; }
.r219 { width: 26px; height: 10px; }
.r43 { width: 20px; height: 15px; }
.r34 { width: 15px; height: 20px; }
.radapt { width: 20px; height: 14px; border-style: dashed; }

.ui-range {
  --pct: 0%;
  position: relative;
  height: 28px;
  display: grid;
  align-items: center;
}
.ui-range-track, .ui-range-fill {
  position: absolute; left: 0; height: 8px; border-radius: 999px; pointer-events: none;
}
.ui-range-track { right: 0; background: var(--line); }
.ui-range-fill { width: var(--pct); background: var(--accent); }
.ui-range input[type="range"] {
  width: 100%; height: 28px; background: transparent; position: relative; z-index: 2;
}
.ui-range input[type="range"]::-webkit-slider-runnable-track { height: 8px; background: transparent; border: 0; }
.ui-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(255, 59, 92, 0.4);
  margin-top: -6px; cursor: pointer;
}
.ui-range input[type="range"]::-moz-range-track { height: 8px; background: transparent; border: 0; }
.ui-range input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border: 3px solid #fff; border-radius: 50%;
  background: var(--accent); cursor: pointer;
}

.ui-switch {
  display: inline-flex; align-items: center; gap: 10px; min-height: var(--control-h);
  padding: 0 4px; width: fit-content; color: var(--muted); font-weight: 650;
}
.ui-switch i {
  width: 46px; height: 28px; border-radius: 999px; background: var(--line); position: relative;
  transition: background 0.18s ease;
}
.ui-switch i:after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
  border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(17, 17, 24, 0.18);
  transition: transform 0.18s ease;
}
.ui-switch.on { color: var(--text); }
.ui-switch.on i { background: var(--accent); }
.ui-switch.on i:after { transform: translateX(18px); }

.ui-drop {
  position: relative; display: block; cursor: pointer;
}
.ui-file {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
  font-size: 0; z-index: 2;
}
.ui-drop-box {
  display: flex; align-items: center; gap: 14px; min-height: 84px;
  border: 1.5px dashed var(--line); border-radius: var(--radius);
  background: var(--card-2); padding: 14px 16px;
}
.ui-drop.over .ui-drop-box, .ui-drop:focus-within .ui-drop-box {
  border-color: var(--accent); background: var(--accent-soft);
}
.ui-drop-copy { display: grid; gap: 4px; }
.ui-drop-copy strong { font-size: 14px; }
.ui-drop-copy em { font-style: normal; color: var(--muted); font-size: 13px; }
.ui-drop-copy .opt { color: var(--muted); font-weight: 500; font-size: 12px; }
.ui-drop-thumb {
  width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--bg);
}

.ui-filechips { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-filechip {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  background: var(--card-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 8px 6px 12px; font-size: 12px; font-weight: 600;
}
.ui-filechip button {
  width: 22px; height: 22px; border-radius: 50%; background: var(--bg);
  color: var(--muted); font-size: 16px; line-height: 1;
}

.ui-acc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; margin-bottom: 10px; overflow: hidden;
}
.ui-acc summary {
  cursor: pointer; font-weight: 650; padding: 16px 18px; display: flex;
  align-items: center; justify-content: space-between; gap: 16px;
}
.ui-acc summary:after {
  content: "+"; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card-2); color: var(--accent);
  display: grid; place-items: center; font-size: 18px; font-weight: 600; line-height: 26px;
  text-align: center;
}
.ui-acc[open] summary:after { content: "–"; background: var(--accent-soft); border-color: transparent; }
.ui-acc[open] { border-color: rgba(255, 59, 92, 0.28); }
.ui-acc p { color: var(--muted); margin: 0; padding: 0 18px 18px; line-height: 1.6; }

.ui-banner {
  margin: 0 0 18px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--accent-soft); border: 1px solid rgba(255, 59, 92, 0.22);
  color: var(--accent); font-weight: 600; text-align: center;
}

.ui-player {
  position: relative; width: 100%; min-height: 420px; background: var(--stage);
  display: grid; align-items: end;
}
.ui-player video { width: 100%; height: 100%; min-height: 420px; object-fit: cover; cursor: pointer; }
.ui-play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px;
  border-radius: 50%; background: rgba(255, 59, 92, 0.92); z-index: 2;
}
.ui-play:after {
  content: ""; position: absolute; left: 26px; top: 20px;
  border-style: solid; border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent #fff;
}
.ui-player-bar {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3;
  display: grid; grid-template-columns: 36px 1fr auto 36px; gap: 10px; align-items: center;
  background: var(--player-bar); color: var(--player-bar-text);
  border: 1px solid var(--player-bar-line);
  border-radius: 999px; padding: 8px 12px 8px 8px;
}
.ui-player-btn {
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent); position: relative;
}
.ui-player-btn:after {
  content: ""; position: absolute; left: 14px; top: 10px;
  border-style: solid; border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent #fff;
}
.ui-player-btn.pause:after {
  left: 12px; top: 10px; width: 4px; height: 14px;
  border: 0; background: #fff; box-shadow: 8px 0 0 #fff;
}
.ui-player-time { color: var(--player-bar-text); font-size: 12px; font-weight: 650; min-width: 84px; text-align: right; }
.ui-player .ui-range-track { background: color-mix(in srgb, var(--player-bar-text) 18%, transparent); }

.clip-frame { position: relative; }
.clip-frame video { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--stage); display: block; }
.ui-mute {
  position: absolute; right: 10px; bottom: 10px; z-index: 4;
  width: 36px; height: 36px; border: 0; border-radius: 10px;
  background: rgba(8, 8, 10, 0.62); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.ui-mute svg { width: 18px; height: 18px; display: block; }
.ui-mute .ui-mute-off { display: none; }
.ui-mute.is-off .ui-mute-on { display: none; }
.ui-mute.is-off .ui-mute-off { display: block; }
.ui-player-bar .ui-mute {
  position: static; width: 36px; height: 36px; border-radius: 50%;
  background: transparent; color: var(--player-bar-text);
}

.studio-shell {
  margin: 28px auto 8px; background: var(--card); border: 1px solid var(--line);
  border-radius: 28px; padding: 28px; box-shadow: var(--shadow);
}
.studio-copy h2 { font-size: 26px; }
.studio-copy p { color: var(--muted); margin: 0 0 14px; }
.studio-copy strong { color: var(--text); }
.studio-model {
  display: inline-flex; align-items: center; font-weight: 700; color: var(--text);
}
.studio-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 22px; align-items: start; }
.studio-form { display: grid; gap: 12px; }
.studio-form .ui-drop-box { min-height: 56px; padding: 10px 12px; gap: 10px; }
.studio-form .ui-drop-thumb { width: 40px; height: 40px; }
.studio-form .ui-switch { min-height: 40px; }

.ui-toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ui-select { position: relative; display: grid; gap: 6px; }
.ui-select-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 8px; min-height: 40px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--card-2); color: var(--text); font-weight: 650; font-size: 13px; text-align: left;
}
.ui-select-btn:after {
  content: ""; width: 7px; height: 7px; flex: 0 0 auto; margin-top: -3px;
  border-right: 1.8px solid var(--muted); border-bottom: 1.8px solid var(--muted);
  transform: rotate(45deg);
}
.ui-select.open .ui-select-btn { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ui-select-menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 8;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 4px; max-height: 240px; overflow: auto;
}
.ui-select-menu button {
  width: 100%; display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px; text-align: left;
  font-weight: 650; font-size: 13px; color: var(--text);
}
.ui-select-menu button:hover, .ui-select-menu button.on {
  background: var(--accent-soft); color: var(--accent);
}
.ui-select-menu .ratio { flex: 0 0 auto; }

.ui-more {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 36px; padding: 0 2px;
  color: var(--muted); font-weight: 650; font-size: 13px;
}
.ui-more:after {
  content: ""; width: 7px; height: 7px; flex: 0 0 auto; margin-top: -3px;
  border-right: 1.8px solid var(--muted); border-bottom: 1.8px solid var(--muted);
  transform: rotate(45deg);
}
.ui-more.open:after { transform: rotate(225deg); margin-top: 3px; }
.ui-more-meta { font-weight: 500; color: var(--muted); }
.ui-more-panel { padding-top: 2px; }
.studio-preview { min-height: 100%; position: sticky; top: 88px; }
.preview-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.preview-head h3 { margin: 0; }
.preview-stage {
  position: relative; background: var(--stage); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; min-height: 420px;
  display: grid; place-items: center;
}
.preview-stage img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.wm {
  position: absolute; top: 12px; left: 12px;
  background: var(--player-bar); color: var(--player-bar-text);
  border: 1px solid var(--player-bar-line);
  font-size: 11px; padding: 4px 8px; border-radius: 8px; font-weight: 650;
}
.preview-empty { position: relative; width: 100%; }
.preview-status {
  position: absolute; bottom: 14px; left: 14px; margin: 0; font-size: 13px; font-weight: 650;
  background: var(--card); color: var(--text); border: 1px solid var(--line);
  padding: 6px 10px; border-radius: 8px;
}

.feature-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; padding: 36px 0; }
.feature-row.flip { direction: rtl; }
.feature-row.flip > * { direction: ltr; }
.media-card { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.media-card img, .media-card video { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--stage); display: block; }
.example-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.example-card { padding: 0 0 18px; overflow: hidden; }
.example-card img, .example-card video { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--stage); display: block; }
.example-card h3, .example-card p { padding: 0 16px; }
.example-card h3 { margin-top: 14px; }
.compare-card { padding: 32px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 18px; background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; background: var(--card-2); }
.compare td:first-child { color: var(--muted); width: 20%; }
.check:before { content: "●"; color: var(--accent); margin-right: 8px; font-size: 10px; vertical-align: middle; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.info-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-bottom: 10px; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prompt-formula.step-grid { grid-template-columns: repeat(4, 1fr); }
.step-num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle, #ff8aa0, var(--accent)); color: #fff; font-size: 22px; font-weight: 800;
  box-shadow: 0 10px 24px rgba(255, 59, 92, 0.28); margin-bottom: 14px;
}
.step-grid p { color: var(--muted); }

.promo-banner {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: var(--card); color: var(--text); border: 1px solid var(--line);
  border-radius: 22px; padding: 28px 32px; margin-bottom: 36px;
  box-shadow: var(--shadow);
}
.promo-banner .off { color: var(--accent); font-size: 42px; font-weight: 800; margin: 6px 0 0; letter-spacing: -0.03em; }
.promo-clock { text-align: center; }
.promo-clock p { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.digits { display: flex; align-items: center; gap: 8px; font-size: 28px; font-weight: 800; }
.digits span {
  background: var(--card-2); color: var(--text); border: 1px solid var(--line);
  min-width: 56px; padding: 8px 10px; border-radius: 10px;
}

.steps { list-style: none; padding: 0; display: grid; gap: 16px; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--line); display: grid; gap: 6px; }
.steps span { color: var(--muted); }
.faq { display: grid; gap: 0; }
.cta-band { margin-top: 56px; padding: 48px 24px; text-align: center; background: var(--accent-soft); border: 1px solid rgba(255,59,92,0.15); border-radius: 24px; }

.billing-toggle { display: flex; width: fit-content; margin: 0 auto 28px; }
.billing-toggle button { flex: 0 0 auto; padding: 10px 16px; color: var(--text); }
.save-badge {
  display: inline-block; margin-left: 6px; font-size: 11px;
  background: var(--card); color: var(--muted); border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 7px;
}
.billing-toggle button.on .save-badge {
  background: rgba(255, 255, 255, 0.18); color: #fff; border-color: transparent;
}

.plan-card {
  position: relative; min-height: 100%;
  background: var(--plan); color: var(--plan-text); border-radius: var(--radius); padding: 22px; border: 1px solid var(--plan-line);
  box-shadow: 0 10px 30px rgba(17, 17, 24, 0.04);
}
html[data-theme="dark"] .plan-card { box-shadow: none; }
.plan-card.popular { box-shadow: 0 0 0 1px rgba(255, 77, 106, 0.55), 0 0 32px rgba(255, 77, 106, 0.18); }
.popular-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.off-badge { position: absolute; top: 16px; right: 16px; color: var(--accent); font-size: 12px; font-weight: 800; }
.price { margin: 8px 0 0; }
.price .amount { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; }
.price .per { color: var(--plan-muted); }
.yearly-line { margin: 6px 0 0; font-size: 14px; }
.yearly-line s { color: var(--plan-muted); margin-right: 8px; }
.tagline { color: var(--plan-muted); min-height: 24px; }
.slider-wrap { margin: 8px 0 16px; }
.plan-card .ui-range-track { background: var(--plan-line); }
.plan-card .ui-range input[type="range"]::-webkit-slider-thumb,
.plan-card .ui-range input[type="range"]::-moz-range-thumb {
  background: var(--accent); border-color: #fff;
}
.slider-labels { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; }
.slider-labels button {
  background: transparent; border: 1px solid transparent; color: var(--plan-muted);
  cursor: pointer; padding: 5px 8px; border-radius: 999px; font-weight: 650;
}
.slider-labels button.on { background: rgba(255,77,106,0.16); color: var(--accent-2); border-color: rgba(255,77,106,0.35); }
.feature-list { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px dashed var(--plan-line); display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--plan-muted); }
.feature-list li.on { color: var(--plan-text); }
.ico { width: 16px; height: 16px; border-radius: 50%; flex: 0 0 16px; margin-top: 2px; }
.ico.yes { background: var(--accent); box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--plan) 40%, transparent); }
.ico.no { background: var(--plan-line); }

.narrow { max-width: 560px; margin: 48px auto; }
.account-page h2 { margin-top: 36px; }
.profile-card { display: flex; gap: 16px; align-items: center; margin: 20px 0; }
.avatar { border-radius: 50%; object-fit: cover; }
.stat { font-size: 36px; font-weight: 800; margin: 6px 0; }
.row-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 8px; }
.ledger { list-style: none; padding: 0; display: grid; gap: 8px; }
.ledger li { display: grid; grid-template-columns: 160px 1fr auto; gap: 12px; background: var(--card); padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; border: 1px solid var(--line); }
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.meta div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.meta dt { color: var(--muted); font-size: 12px; font-weight: 650; }
.meta dd { margin: 6px 0 0; font-size: 20px; font-weight: 700; }

.workspace { padding-top: 12px; }
.studio-head { margin-bottom: 8px; }
.history { margin-top: 40px; }
.job-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.job-prompt { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.job-card .ui-player, .job-card .ui-player video { min-height: 220px; border-radius: var(--radius-sm); overflow: hidden; margin: 10px 0; }
.legal { max-width: 760px; margin: 20px auto; line-height: 1.7; }
.legal h2 { font-size: 22px; margin-top: 32px; }
.what-is { padding-top: 12px; }
.answer-lede { max-width: 720px; }
.lede a, .muted a, .guide a { color: var(--accent); font-weight: 650; }
.guide { max-width: 760px; margin: 12px auto; line-height: 1.7; }
.guide h1 { font-size: clamp(32px, 4.4vw, 48px); }
.guide h2 { font-size: 24px; margin: 32px 0 12px; }
.guide .answer {
  font-size: 18px; line-height: 1.65; margin: 0 0 22px;
  padding: 16px 18px; border-left: 3px solid var(--accent);
  background: var(--card-2); border-radius: 0 14px 14px 0;
}
.guide-kicker { color: var(--accent-2); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; margin: 0 0 8px; }
.guide-updated { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.crumbs { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.guide-steps { margin: 0 0 18px; padding-left: 20px; }
.guide-steps li { margin: 8px 0; }
.guide caption { caption-side: bottom; color: var(--muted); font-size: 13px; padding-top: 10px; text-align: left; }
.guide-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.guide-related { display: grid; gap: 12px; margin: 16px 0 8px; }
.guide-card {
  display: grid; gap: 6px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); text-decoration: none; color: inherit;
}
.guide-card strong { color: var(--text); }
.guide-card span { color: var(--muted); font-size: 14px; line-height: 1.5; font-weight: 500; }
.guide-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.flash { max-width: 1120px; margin: 12px auto 0; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--accent-soft); border: 1px solid rgba(255,59,92,0.2); }
.form-error { color: #dc2626; margin: 0; font-size: 14px; }
html[data-theme="dark"] .form-error { color: #ffa4a4; }

.site-footer { border-top: 1px solid var(--line); padding: 36px 28px 28px; }
.footer-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 24px; }
.footer-grid a, .footer-grid p { display: block; color: var(--muted); text-decoration: none; font-size: 14px; line-height: 1.6; }
.foot-label, .brand-foot { color: var(--text); font-weight: 700; margin: 0 0 8px; }
.copy { max-width: 1120px; margin: 24px auto 0; color: var(--muted); font-size: 13px; }

@media (max-width: 960px) {
  .feature-grid, .mode-grid, .plan-grid, .stat-grid, .studio-split, .footer-grid, .feature-row, .example-grid, .info-grid, .step-grid, .job-grid, .ui-aspect, .ui-grid2, .meta, .metric-strip, .bench-grid, .prompt-grid, .prompt-formula { grid-template-columns: 1fr; }
  .feature-row.flip { direction: ltr; }
  .site-header { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; overflow-x: auto; }
  h1 { font-size: 34px; }
  .ledger li { grid-template-columns: 1fr; }
  .promo-banner { flex-direction: column; text-align: center; }
  .preview-stage, .preview-stage img, .ui-player, .ui-player video { min-height: 260px; }
  .billing-toggle { width: 100%; flex-wrap: wrap; }
}
