/* AI Ventura Video Studio – brand: black, AI Ventura yellow, white, Montserrat */
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --card: #17171a;
  --card-2: #1e1e22;
  --line: #2a2a30;
  --text: #f6f6f4;
  --muted: #a3a3a8;
  --yellow: #fbb924;
  --yellow-2: #ffcb4d;
  --yellow-ink: #1a1300;
  --ok: #4ade80;
  --err: #ff6b6b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .45);
  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(251, 185, 36, .10), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(251, 185, 36, .06), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--yellow); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--yellow-ink); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(12px + env(safe-area-inset-top)) clamp(16px, 4vw, 40px) 12px;
  background: rgba(11, 11, 12, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand img { width: 34px; height: auto; }
.brand-name { font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.brand-name b { font-weight: 500; color: var(--muted); }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.badge { font-size: 12px; font-weight: 600; color: var(--yellow); border: 1px solid rgba(251, 185, 36, .4); background: rgba(251, 185, 36, .08); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.lang { position: relative; display: flex; align-items: center; gap: 6px; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0 8px 0 10px; height: 38px; }
.lang select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: var(--text); font-weight: 500; padding: 0 18px 0 0; height: 100%; cursor: pointer; }
.lang::after { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.lang select option { background: var(--card); }

main { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: clamp(20px, 4vw, 48px) clamp(16px, 4vw, 40px) 40px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s, border-color .2s, opacity .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--yellow); color: var(--yellow-ink); box-shadow: 0 8px 30px rgba(251, 185, 36, .25); }
.btn-primary:hover:not([disabled]) { background: var(--yellow-2); }
.btn-accent { background: rgba(251, 185, 36, .12); color: var(--yellow); border-color: rgba(251, 185, 36, .35); }
.btn-accent:hover:not([disabled]) { background: rgba(251, 185, 36, .2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover:not([disabled]) { border-color: #45454d; background: rgba(255, 255, 255, .03); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn.loading { position: relative; color: transparent !important; }
.btn.loading::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--yellow-ink); border-right-color: transparent; animation: spin .8s linear infinite; }
.link { background: none; border: 0; padding: 4px 0; color: var(--yellow); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; min-height: 62vh; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 18px; font-weight: 700; }
.lead { font-size: clamp(17px, 2vw, 20px); color: #d4d4d6; margin: 0 0 28px; max-width: 36em; }
.pills { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { font-size: 14px; color: var(--muted); padding: 7px 14px 7px 30px; border: 1px solid var(--line); border-radius: 999px; position: relative; }
.pills li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); transform: translateY(-50%); }
.hero-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #1b1b1f, #0d0d0f); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; }
.hero-frame img { width: 46%; filter: drop-shadow(0 18px 40px rgba(251, 185, 36, .35)); animation: float 6s ease-in-out infinite; }
.hero-glow { position: absolute; inset: 30% 10% auto; height: 50%; background: radial-gradient(closest-side, rgba(251, 185, 36, .35), transparent); filter: blur(30px); animation: pulse 6s ease-in-out infinite; }
.hero-play { position: absolute; bottom: 22px; left: 22px; right: 22px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.hero-play span { position: absolute; inset: 0 auto 0 0; width: 40%; background: var(--yellow); border-radius: 6px; animation: play 6s linear infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-2deg); } }
@keyframes pulse { 50% { opacity: .6; transform: scale(1.08); } }
@keyframes play { from { width: 0; } to { width: 100%; } }

/* Wizard */
.wizard { max-width: 760px; margin: 0 auto; }
.stepper { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 22px; }
.stepper li { flex: 1; min-width: 0; }
.stepper .bar { height: 4px; border-radius: 4px; background: var(--line); transition: background .3s; }
.stepper .lbl { display: block; font-size: 12px; color: var(--muted); margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stepper li.done .bar, .stepper li.active .bar { background: var(--yellow); }
.stepper li.active .lbl { color: var(--text); font-weight: 600; }

.panel { background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); animation: rise .35s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.panel h2 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.15; margin: 4px 0 8px; letter-spacing: -.01em; }
.eyebrow { margin: 0; color: var(--yellow); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); margin: 0 0 22px; }
.center { text-align: center; }
.center .muted { max-width: 34em; margin-left: auto; margin-right: auto; }

.field { display: block; margin: 0 0 16px; }
.field-label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 8px; color: #dcdcde; }
textarea, input[type="text"], input[type="email"], input[type="tel"], .select {
  width: 100%; background: #0f0f11; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; font-size: 16px; line-height: 1.5; resize: vertical; transition: border-color .2s, box-shadow .2s;
}
textarea:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, .select:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(251, 185, 36, .15); }
textarea::placeholder, input::placeholder { color: #6e6e75; }
.field-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.field-error { color: var(--err); font-size: 14px; margin: 6px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.invalid { border-color: var(--err) !important; }

.enhance-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 4px 0 24px; }
.enhance-status { font-size: 14px; color: var(--ok); }
.examples .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--card-2); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font-size: 14px; text-align: left; cursor: pointer; color: #d4d4d6; transition: border-color .2s, color .2s; }
.chip:hover { border-color: rgba(251, 185, 36, .5); color: var(--text); }

.group { border: 0; padding: 0; margin: 0 0 24px; }
.options { display: grid; gap: 10px; }
.options-4 { grid-template-columns: repeat(4, 1fr); }
.options-3 { grid-template-columns: repeat(3, 1fr); }
.option { position: relative; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #0f0f11; cursor: pointer; transition: border-color .2s, background .2s; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option:hover { border-color: #45454d; }
.option.selected { border-color: var(--yellow); background: rgba(251, 185, 36, .07); box-shadow: inset 0 0 0 1px var(--yellow); }
.option:has(input:focus-visible) { outline: 2px solid var(--yellow); outline-offset: 2px; }
.option b { font-size: 18px; }
.option small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.option .opt-price { color: var(--yellow); font-weight: 600; font-size: 14px; }
.shape { border: 2px solid currentColor; border-radius: 4px; margin-bottom: 8px; color: var(--muted); }
.option.selected .shape { color: var(--yellow); }
.shape-169 { width: 44px; height: 25px; } .shape-916 { width: 22px; height: 39px; } .shape-11 { width: 32px; height: 32px; }

.toggle { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; }
.toggle-ui { flex: none; width: 48px; height: 28px; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; margin-top: 2px; }
.toggle-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle input:checked + .toggle-ui { background: var(--yellow); }
.toggle input:checked + .toggle-ui::after { transform: translateX(20px); }
.toggle input:focus-visible + .toggle-ui { outline: 2px solid var(--yellow); outline-offset: 3px; }
.toggle b { display: block; font-weight: 600; }
.toggle small { display: block; color: var(--muted); font-size: 14px; }

.uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 8px; }
.upload-head { margin-bottom: 8px; }
.upload-head b { display: block; }
.upload-head small { color: var(--muted); font-size: 13px; line-height: 1.35; display: block; }
.drop { display: grid; place-items: center; aspect-ratio: 4 / 3; border: 1.5px dashed #3a3a42; border-radius: var(--radius-sm); background: #0f0f11; cursor: pointer; overflow: hidden; transition: border-color .2s, background .2s; position: relative; }
.drop:hover, .drop.drag { border-color: var(--yellow); background: rgba(251, 185, 36, .05); }
.drop-dark { background: #000; }
.drop-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 16px; color: var(--muted); font-size: 14px; }
.drop-empty svg { color: var(--yellow); }
.drop-empty small { font-size: 12px; color: #77777e; }
.drop-preview { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.drop.has-image { border-style: solid; border-color: var(--line); }
.upload-actions { display: flex; gap: 16px; margin-top: 6px; }

.tips { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); }
.tips summary { cursor: pointer; font-weight: 600; color: #dcdcde; }
.tips ul { margin: 10px 0 0; padding-left: 20px; }

.review { display: grid; grid-template-columns: 180px 1fr; gap: 20px; margin-bottom: 20px; }
.review-media { display: grid; gap: 10px; align-content: start; }
.review-media img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #0f0f11; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px; }
#reviewLogo { aspect-ratio: 2 / 1; background: #000; }
.review-list { margin: 0; display: grid; grid-template-columns: auto 1fr auto; gap: 10px 16px; align-items: baseline; }
.review-list dt { color: var(--muted); font-size: 14px; }
.review-list dd { margin: 0; overflow-wrap: anywhere; }
.review-list dd.idea { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.review-list .link { font-size: 14px; }
.price-box { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: var(--radius-sm); background: rgba(251, 185, 36, .07); border: 1px solid rgba(251, 185, 36, .3); margin-bottom: 18px; }
.price { display: block; font-size: 30px; line-height: 1.1; color: var(--yellow); }
.price-box small { color: var(--muted); font-size: 13px; }
.price-note { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: #dcdcde; max-width: 22em; }
.price-note svg { color: var(--ok); flex: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #d4d4d6; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--yellow); margin-top: 1px; flex: none; }

.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; position: sticky; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 60%, transparent); }
.wizard-nav .btn-primary { min-width: 160px; }

/* Production */
.status-view { max-width: 640px; margin: 0 auto; }
.progress-ring { position: relative; width: 150px; height: 150px; margin: 10px auto 24px; display: grid; place-items: center; }
.progress-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.progress-ring circle { fill: none; stroke-width: 8; }
.ring-bg { stroke: var(--line); }
.ring-fg { stroke: var(--yellow); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: calc(326.7 - 326.7 * var(--p) / 100); transition: stroke-dashoffset .8s ease; filter: drop-shadow(0 0 8px rgba(251, 185, 36, .5)); }
#progressText { font-size: 30px; font-weight: 700; }
.steps-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.steps-list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm); background: #0f0f11; border: 1px solid var(--line); }
.steps-list .dot { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; }
.steps-list .name { flex: 1; }
.steps-list .state { font-size: 13px; color: var(--muted); }
.steps-list li.running { border-color: rgba(251, 185, 36, .5); }
.steps-list li.running .dot { border-color: var(--yellow); border-right-color: transparent; animation: spin 1s linear infinite; }
.steps-list li.running .state { color: var(--yellow); }
.steps-list li.done .dot { background: var(--yellow); border-color: var(--yellow); }
.steps-list li.done .dot::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--yellow-ink); border-bottom: 2px solid var(--yellow-ink); transform: translateY(-1px) rotate(-45deg); }
.steps-list li.failed .dot { border-color: var(--err); }
.share { display: flex; gap: 8px; }
.share input { flex: 1; min-width: 0; font-size: 14px; padding: 10px 14px; color: var(--muted); }

.player { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: #000; border: 1px solid var(--line); margin: 6px 0 16px; }
.player video { display: block; width: 100%; max-height: 70vh; background: #000; }
.note { font-size: 14px; color: var(--muted); background: #0f0f11; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; }
.note-warn { color: var(--yellow); border-color: rgba(251, 185, 36, .35); }
.secure { text-align: center; color: var(--muted); font-size: 13px; margin: 10px 0 4px; }
.center-link { display: block; margin: 8px auto 0; }
.icon-circle { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 4px auto 16px; font-size: 34px; font-weight: 700; }
.icon-ok { background: var(--yellow); color: var(--yellow-ink); }
.icon-error { background: rgba(255, 107, 107, .15); color: var(--err); border: 2px solid var(--err); }
.done .player { margin-top: 16px; }
[data-view="done"] .btn { margin-top: 10px; }

/* Demo preview stage (static demo without a real video file) */
.stage { position: relative; width: 100%; background: #000; overflow: hidden; }
.stage.r169 { aspect-ratio: 16 / 9; }
.stage.r916 { aspect-ratio: 9 / 16; width: auto; height: min(70vh, 620px); margin: 0 auto; }
.stage.r11 { aspect-ratio: 1; width: auto; height: min(70vh, 520px); max-width: 100%; margin: 0 auto; }
.stage .scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; }
.stage .bgblur { position: absolute; inset: -10%; background-size: cover; background-position: center; filter: blur(30px) brightness(.45) saturate(1.2); }
.stage .prod { position: relative; width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); }
.stage .endscene { background: #000; flex-direction: column; gap: 4%; display: flex; align-items: center; justify-content: center; }
.stage .endscene img { max-width: 42%; max-height: 42%; object-fit: contain; }
.stage .endscene span { color: #fff; font-family: "Montserrat", var(--font); font-weight: 500; font-size: clamp(12px, 3.2cqw, 30px); }
.stage { container-type: inline-size; }
.stage .wm { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; color: rgba(255, 255, 255, .35); font-weight: 700; font-size: clamp(14px, 6cqw, 54px); letter-spacing: .04em; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.stage .ctrl { position: absolute; left: 12px; bottom: 12px; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; width: 40px; height: 40px; color: #fff; cursor: pointer; display: grid; place-items: center; }
.stage .bar { position: absolute; left: 64px; right: 14px; bottom: 30px; height: 4px; background: rgba(255, 255, 255, .2); border-radius: 4px; overflow: hidden; }
.stage .bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--yellow); }

/* Voice step, contact, status */
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.select option { background: var(--card); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { flex: 1 1 auto; min-height: 44px; padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #0f0f11; color: #d4d4d6; font-weight: 500; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.seg button:hover { border-color: #45454d; }
.seg button[aria-checked="true"] { border-color: var(--yellow); background: rgba(251, 185, 36, .08); color: var(--text); box-shadow: inset 0 0 0 1px var(--yellow); }
.voice-modes .option { justify-content: flex-start; }
.voice-modes .opt-price { margin-top: 4px; }
.drop-audio { aspect-ratio: auto; min-height: 120px; }
.drop-portrait { aspect-ratio: 3 / 4; max-width: 240px; }
.audio-file { font-weight: 600; padding: 16px; text-align: center; overflow-wrap: anywhere; }
#audioPreview { width: 100%; margin-top: 10px; }
.hint { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.field-label.big { font-size: 17px; margin-bottom: 12px; }
.contact { border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 22px; }
.price-box small { display: block; }
.price-box .delivery { color: var(--yellow); margin-top: 4px; }
.timeline { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; gap: 0; }
.timeline li { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 0 10px 4px; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: 15px; top: -50%; height: 100%; width: 2px; background: var(--line); z-index: 0; }
.timeline li:first-child::before { display: none; }
.timeline .dot { position: relative; z-index: 1; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg-2); display: grid; place-items: center; }
.timeline li.done { color: var(--text); }
.timeline li.done .dot { background: var(--yellow); border-color: var(--yellow); }
.timeline li.done .dot::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--yellow-ink); border-bottom: 2px solid var(--yellow-ink); transform: translateY(-1px) rotate(-45deg); }
.timeline li.current { color: var(--text); font-weight: 600; }
.timeline li.current .dot { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(251, 185, 36, .2); }
.timeline time { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 400; }
.change-box { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #0f0f11; }
.change-actions { display: flex; justify-content: flex-end; gap: 10px; }
#changeBtn { margin-top: 12px; }

/* Footer, toast */
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px clamp(16px, 4vw, 40px) calc(20px + env(safe-area-inset-bottom)); color: #77777e; font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .05); }
.footer nav { display: flex; gap: 18px; }
.footer a { color: #9a9aa1; text-decoration: none; }
.footer a:hover { color: var(--text); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--text); color: #111; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 20; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto; width: 100%; }
  .hero-frame { aspect-ratio: 16 / 10; }
  .hero-frame img { width: 28%; }
}
@media (max-width: 620px) {
  .brand-name b { display: none; }
  .options-4 { grid-template-columns: repeat(2, 1fr); }
  .options-3 { grid-template-columns: 1fr; }
  .options-3 .option { flex-direction: row; align-items: center; gap: 14px; }
  .options-3 .shape { margin: 0; flex: none; }
  .uploads { grid-template-columns: 1fr; }
  .review { grid-template-columns: 1fr; }
  .review-media { grid-template-columns: 1fr 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .stepper .lbl { display: none; }
  .badge { display: none; }
  .wizard-nav .btn-primary { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
