/* ==========================================================================
   oaf ai — Noir & Gold. A black studio with one accent: gold.
   Loaded after styles.css. Gold is used only for intent: primary actions,
   active state, focus, and a few highlights.
   ========================================================================== */
:root {
  --night: #070708;
  --base: #0B0B0D;
  --panel: #111114;
  --raised: #17171B;
  --raised-2: #1F1F25;
  --line: rgba(255,255,255,.06);
  --line-2: rgba(255,255,255,.1);
  --brand: #0B0B0D;
  --text: #F3F0EA;
  --muted: #8E8B85;
  --faint: #5E5C58;
  --gold: #D4AF63;
  --gold-hi: #E9CB86;
  --gold-lo: #9C7C3C;
  --gold-a10: rgba(255,122,89,.10);
  --gold-a20: rgba(255,122,89,.20);
  --gold-a35: rgba(255,122,89,.35);
  --ink: #0A0A0B;
  --ok: #CFE0B8;
  --danger: #EE8B7A;
  --glass: rgba(17,17,20,.72);
  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.04);
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}

html { background: var(--night); }
body { background: var(--night); letter-spacing: -0.005em; }
::selection { background: var(--gold); color: var(--ink); }
* { scrollbar-width: thin; scrollbar-color: #2a2a30 transparent; }

body::after {
  content: ""; position: fixed; inset: -50%; z-index: 9999; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } * { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

.splash { position: fixed; inset: 0; display: grid; place-items: center; background: var(--night); z-index: 50; transition: opacity .5s var(--ease), visibility .5s; }
.splash .mark { width: 56px; height: 56px; animation: breathe 1.6s var(--ease) infinite; }
body.ready .splash { opacity: 0; visibility: hidden; }
@keyframes breathe { 0%,100% { transform: scale(1); filter: drop-shadow(0 0 0 transparent); } 50% { transform: scale(1.06); filter: drop-shadow(0 0 24px var(--gold-a35)); } }

.btn-gold {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #C39C4E);
  color: var(--ink); border-radius: 999px; font-weight: 600; letter-spacing: -0.01em;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 30px -12px var(--gold-a35);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s;
}
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-gold:hover { background: linear-gradient(180deg, #F1D697, var(--gold-hi) 55%, var(--gold)); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 16px 40px -14px rgba(255,122,89,.55); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-gold:active { transform: translateY(0) scale(.985); }
.btn-ghost, .btn-danger { border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); transition: background .2s, border-color .2s, transform .2s var(--ease); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.btn-danger { background: transparent; border-color: rgba(238,139,122,.3); }
.ghost-sm { border-radius: 999px; border-color: var(--line-2); }
.ghost-sm:hover { color: var(--text); border-color: var(--gold-a35); }
.icon-btn { border-radius: 999px; }
.icon-btn:hover { background: rgba(255,255,255,.06); }
.avatar { background: radial-gradient(circle at 30% 25%, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); color: var(--ink); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 6px 18px -8px var(--gold-a35); }
.link-btn:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 10px; }

input, select, textarea { caret-color: var(--gold); }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea { transition: border-color .2s, box-shadow .2s, background .2s; }
input:focus:not([type=checkbox]):not([type=radio]), textarea:focus, select:focus { border-color: var(--gold-a35) !important; box-shadow: 0 0 0 4px var(--gold-a10); outline: none; }

.rail {
  background: linear-gradient(180deg, rgba(14,14,17,.9), rgba(9,9,11,.92));
  border-right: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.rail-btn { position: relative; border-radius: 16px; transition: color .2s, background .2s; }
.rail-btn:hover { color: var(--text); background: rgba(255,255,255,.04); }
.rail-btn.is-active { color: var(--text); background: rgba(255,255,255,.06); }
.rail-btn.is-active svg { stroke: var(--gold); }
.rail-btn.is-active::before {
  content: ""; position: absolute; left: -10px; top: 50%; width: 3px; height: 22px; transform: translateY(-50%);
  border-radius: 0 3px 3px 0; background: var(--gold); box-shadow: 0 0 14px var(--gold);
}
.mhead { background: rgba(9,9,11,.78); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--line); }
.stage { background:
  radial-gradient(1200px 600px at 85% -10%, rgba(255,122,89,.06), transparent 60%),
  radial-gradient(900px 500px at -10% 110%, rgba(255,255,255,.025), transparent 60%); }

.view-title, .page-head h1 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.05; }
.page-sub { color: var(--muted); }

.tabs { gap: 4px; }
.tab { border-radius: 999px; transition: color .2s, background .2s; }
.tab.is-active { color: var(--ink) !important; background: var(--text) !important; }

.card, .sheet, .viewer-side, .vform {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)) , var(--panel);
  border: 1px solid var(--line) !important; border-radius: 22px;
}
.sheet, dialog.viewer { box-shadow: var(--shadow-lg); }
dialog::backdrop { background: rgba(3,3,4,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog[open] { animation: rise .35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

.chip, .seg, .stepper, .search { border-radius: 999px !important; background: rgba(255,255,255,.04) !important; border-color: var(--line-2) !important; }
.seg button.is-on { background: var(--text) !important; color: var(--ink) !important; border-radius: 999px; }
.dot { background: var(--gold) !important; box-shadow: 0 0 10px var(--gold); }

.tile { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.tile:hover { transform: translateY(-3px); border-color: var(--gold-a35); box-shadow: 0 24px 50px -24px rgba(0,0,0,.9), 0 0 0 1px var(--gold-a10); }
.tile img { transition: transform .8s var(--ease), filter .4s; }
.tile:hover img { transform: scale(1.035); }
.tile.is-pending { background:
  linear-gradient(110deg, transparent 20%, rgba(255,122,89,.10) 45%, transparent 70%) 0 0 / 250% 100%, var(--panel);
  animation: shimmer 1.8s linear infinite; }
@keyframes shimmer { to { background-position: -250% 0, 0 0; } }
.pending-label strong { color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.badge-star { color: var(--gold) !important; }
.badge-ok { background: var(--gold-a20) !important; color: var(--gold-hi) !important; }

.composer {
  background: rgba(16,16,19,.82) !important; border: 1px solid var(--line-2) !important; border-radius: 26px !important;
  backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.02) inset;
  transition: border-color .3s, box-shadow .3s;
}
.composer:focus-within { border-color: var(--gold-a35) !important; box-shadow: 0 30px 70px -30px rgba(0,0,0,.95), 0 0 0 6px var(--gold-a10); }
.composer textarea { background: transparent !important; }
.enhance-btn { border-radius: 999px !important; }
.enhance-btn svg { stroke: var(--gold); }
.btn-generate .cost { opacity: .7; font-weight: 500; }

.toast { border-radius: 999px !important; background: rgba(20,20,24,.92) !important; border: 1px solid var(--line-2); backdrop-filter: blur(16px); box-shadow: var(--shadow-lg); }
.toast.is-error { border-color: rgba(238,139,122,.4); }

body[data-role="customer"] .staff-only { display: none !important; }
body:not([data-role="customer"]) .customer-only { display: none !important; }
body:not(.is-admin) .admin-only { display: none !important; }
body:not(.is-super) .super-only { display: none !important; }

.wallet-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 14px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2); color: var(--text); font-size: 14px; white-space: nowrap;
  transition: border-color .2s, background .2s;
}
.wallet-chip:hover { border-color: var(--gold-a35); background: var(--gold-a10); }
.wallet-chip strong { font-variant-numeric: tabular-nums; font-weight: 600; }
.wallet-chip .plus { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-weight: 700; line-height: 1; }
.wallet-chip.is-low strong { color: var(--danger); }
.rail-wallet { display: grid; place-items: center; gap: 2px; width: 64px; padding: 8px 0; border-radius: 16px; background: none; border: 1px solid transparent; color: var(--muted); font-size: 11px; }
.rail-wallet strong { color: var(--gold-hi); font-size: 12px; font-variant-numeric: tabular-nums; }
.rail-wallet:hover { border-color: var(--line-2); color: var(--text); }
.mhead .wallet-chip { height: 34px; font-size: 13px; padding-left: 12px; }
.mhead .wallet-chip .plus { width: 24px; height: 24px; }

.landing { position: relative; min-height: 100dvh; overflow-x: clip; color: var(--text); }
.landing a { color: inherit; }
.landing .brand, .l-links a, .hero-cta a { text-decoration: none; }
.l-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

.l-nav {
  position: sticky; top: 0; z-index: 20; padding: 14px 0;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.l-nav.is-stuck { background: rgba(7,7,8,.7); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border-bottom-color: var(--line); }
.l-nav .l-wrap { display: flex; align-items: center; gap: 16px; }
.l-nav .brand-name { font-size: 22px; }
.l-nav .mark { width: 32px; height: 32px; }
.l-links { display: flex; gap: 26px; margin-left: 34px; font-size: 14px; color: var(--muted); }
.l-links a { text-decoration: none; transition: color .2s; }
.l-links a:hover { color: var(--text); }
.l-nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.l-nav-cta .btn-gold, .l-nav-cta .btn-ghost { padding: 10px 18px; font-size: 14px; }

.hero { position: relative; padding: clamp(56px, 10vw, 120px) 0 40px; text-align: center; isolation: isolate; }
.hero-aura { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none; }
.hero-aura i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; }
.hero-aura i:nth-child(1) { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; left: 50%; top: 2%; transform: translateX(-50%); background: radial-gradient(circle, rgba(255,122,89,.42), transparent 62%); animation: drift1 16s var(--ease) infinite alternate; }
.hero-aura i:nth-child(2) { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; left: 12%; top: 26%; background: radial-gradient(circle, rgba(255,240,210,.12), transparent 65%); animation: drift2 19s var(--ease) infinite alternate; }
.hero-aura i:nth-child(3) { width: 26vw; height: 26vw; max-width: 380px; max-height: 380px; right: 8%; top: 10%; background: radial-gradient(circle, rgba(255,122,89,.22), transparent 65%); animation: drift3 22s var(--ease) infinite alternate; }
@keyframes drift1 { to { transform: translate(-44%, 8%) scale(1.12); } }
@keyframes drift2 { to { transform: translate(18%, -14%) scale(.9); } }
@keyframes drift3 { to { transform: translate(-22%, 18%) scale(1.15); } }
.hero-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: 13px; color: var(--muted); backdrop-filter: blur(8px); }
.eyebrow b { background: var(--gold); color: var(--ink); border-radius: 999px; padding: 3px 9px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 { font-family: var(--ui); font-weight: 600; letter-spacing: -0.055em; line-height: .92; font-size: clamp(48px, 10.5vw, 148px); margin: 26px auto 0; max-width: 12ch; }
.hero h1 em { font-family: var(--display); font-weight: 400; font-style: italic; letter-spacing: -0.02em; color: var(--gold-hi);
  background: linear-gradient(100deg, var(--gold-lo), var(--gold-hi) 35%, #FFF1CF 50%, var(--gold-hi) 65%, var(--gold-lo)); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: sheen 6s linear infinite; padding-right: .04em; }
@keyframes sheen { to { background-position: -220% 0; } }
.hero-sub { max-width: 620px; margin: 26px auto 0; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-cta .btn-gold { padding: 16px 28px; font-size: 16px; }
.hero-cta .btn-ghost { padding: 15px 26px; font-size: 16px; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--faint); }

.demo { position: relative; margin: clamp(48px, 7vw, 84px) auto 0; width: min(1080px, 100%); }
.demo-bar { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; border-radius: 999px; background: rgba(17,17,20,.8); border: 1px solid var(--line-2); backdrop-filter: blur(16px); box-shadow: 0 20px 60px -30px rgba(0,0,0,.9); text-align: left; max-width: 760px; margin: 0 auto; }
.demo-bar svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.8; flex: none; }
.demo-type { flex: 1; min-width: 0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-type::after { content: ""; display: inline-block; width: 2px; height: 1.1em; vertical-align: -3px; margin-left: 2px; background: var(--gold); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-go { flex: none; padding: 10px 18px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 600; font-size: 14px; }
.demo-stage { display: grid; grid-template-columns: 1.15fr .85fr .85fr; grid-template-rows: 1fr 1fr; gap: 14px; margin-top: 18px; height: clamp(320px, 46vw, 520px); }
.frame { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); isolation: isolate; }
.frame:nth-child(1) { grid-row: span 2; }
.frame:nth-child(4) { grid-column: span 2; }
.frame .art { position: absolute; inset: 0; transition: opacity 1.2s var(--ease), transform 6s var(--ease); }
.frame .scan { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(255,122,89,.22) 50%, transparent); height: 40%; transform: translateY(-100%); opacity: 0; }
.frame.is-rendering .scan { animation: scan 1.6s var(--ease) infinite; opacity: 1; }
.frame.is-rendering .art { opacity: .25; filter: blur(14px); }
@keyframes scan { to { transform: translateY(260%); } }
.frame-tag { position: absolute; left: 12px; bottom: 12px; z-index: 2; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.5); backdrop-filter: blur(8px); color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.1); }
.art-a { background:
  radial-gradient(60% 50% at 50% 62%, rgba(255,226,160,.85), rgba(255,122,89,.35) 40%, transparent 70%),
  radial-gradient(30% 22% at 50% 42%, #2a2018, transparent 70%),
  linear-gradient(180deg, #0c0b0a 0%, #1a140c 55%, #0b0a08 100%); }
.art-a::before { content: ""; position: absolute; left: 50%; top: 30%; width: 22%; height: 46%; transform: translateX(-50%); border-radius: 18% 18% 12% 12% / 10% 10% 8% 8%;
  background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,236,190,.5) 30%, rgba(255,255,255,.08) 55%, rgba(255,122,89,.4) 85%, rgba(255,255,255,.04)); box-shadow: 0 30px 60px -10px rgba(0,0,0,.8), inset 0 0 30px rgba(255,220,150,.25); }
.art-a::after { content: ""; position: absolute; left: 50%; top: 22%; width: 10%; height: 10%; transform: translateX(-50%); border-radius: 30% 30% 10% 10%; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); box-shadow: 0 0 30px rgba(255,122,89,.5); }
.art-b { background:
  radial-gradient(120% 70% at 50% 120%, #e7a75a 0%, #a8502c 30%, #3a1a2a 55%, #0c0c18 80%),
  linear-gradient(180deg, #0a0a14, #0a0a14); }
.art-b::before { content: ""; position: absolute; inset: 55% -10% -10%; background: linear-gradient(180deg, #050507, #000); clip-path: polygon(0 40%, 14% 18%, 26% 34%, 40% 6%, 55% 30%, 68% 12%, 82% 36%, 100% 20%, 100% 100%, 0 100%); }
.art-b::after { content: ""; position: absolute; left: 62%; top: 30%; width: 12%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff3d6, #f2b66a 60%, transparent 70%); filter: blur(1px); box-shadow: 0 0 60px 20px rgba(242,182,106,.35); }
.art-c { background:
  conic-gradient(from 210deg at 60% 40%, #121214, #2b2b31, #121214 30%, #1d1d22 60%, #121214),
  #111; }
.art-c::before { content: ""; position: absolute; left: 18%; top: 18%; width: 64%; height: 64%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f9e8c5, #d4af63 25%, #6b4e1f 60%, #1b140a 80%); box-shadow: 0 40px 80px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06); }
.art-c::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 18px, rgba(255,255,255,.025) 18px 19px); }
.art-d { background:
  radial-gradient(40% 40% at 30% 30%, rgba(255,122,89,.6), transparent 70%),
  radial-gradient(50% 50% at 75% 70%, rgba(255,255,255,.18), transparent 70%),
  linear-gradient(135deg, #0e0e10, #26211a); }
.art-d::before { content: ""; position: absolute; inset: 22% 26%; border-radius: 50% 50% 46% 46%; background: linear-gradient(160deg, #3a2f22, #110e0b); box-shadow: inset -20px -30px 60px rgba(0,0,0,.6), inset 20px 20px 40px rgba(255,220,160,.15); }

.marquee { margin-top: clamp(56px, 8vw, 100px); border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--display); font-size: clamp(26px, 3.4vw, 42px); color: rgba(255,255,255,.75); white-space: nowrap; }
.marquee-track span { display: inline-flex; align-items: center; gap: 46px; }
.marquee-track span::after { content: "✦"; font-family: var(--ui); font-size: .5em; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

.l-section { padding: clamp(72px, 10vw, 140px) 0 0; }
.l-kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.l-title { font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-size: clamp(36px, 5.6vw, 72px); margin: 14px 0 0; max-width: 16ch; }
.l-title em { font-family: var(--display); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--gold-hi); }
.l-lead { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 560px; margin-top: 18px; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 44px; }
.cell { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)), var(--panel); padding: 26px; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; transition: border-color .4s, transform .5s var(--ease); }
.cell:hover { border-color: var(--gold-a35); transform: translateY(-3px); }
.cell::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,122,89,.12), transparent 60%); }
.cell:hover::before { opacity: 1; }
.cell h3 { margin: 0; font-size: 22px; letter-spacing: -0.03em; font-weight: 600; }
.cell p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 44ch; }
.cell .num { position: absolute; top: 22px; left: 26px; font-family: var(--display); font-style: italic; color: var(--gold); font-size: 20px; }
.c-6 { grid-column: span 6; } .c-4 { grid-column: span 4; } .c-3 { grid-column: span 3; } .c-2 { grid-column: span 2; }
.cell-visual { position: absolute; inset: 0; z-index: -2; }
.cell-visual.v-models { background: radial-gradient(70% 90% at 100% 0%, rgba(255,122,89,.16), transparent 60%); }
.chips-float { position: absolute; top: 26px; right: 26px; left: 26px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.chips-float span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: 13px; color: rgba(255,255,255,.8); }
.chips-float span.on { border-color: var(--gold-a35); color: var(--gold-hi); background: var(--gold-a10); }
.v-video { background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.7)), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 2px, transparent 2px 44px); }
.v-video::after { content: ""; position: absolute; left: 26px; right: 26px; top: 46%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) 0 var(--p, 38%), rgba(255,255,255,.12) var(--p, 38%)); animation: play 6s linear infinite; }
@keyframes play { from { --p: 0%; } to { --p: 100%; } }
@property --p { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.v-edit { background:
  linear-gradient(90deg, transparent 49.6%, var(--gold) 49.8% 50.2%, transparent 50.4%),
  linear-gradient(90deg, #17150f 0 50%, #e9e6df 50% 100%); opacity: .07; }
.v-assist { background: radial-gradient(60% 80% at 0% 100%, rgba(255,122,89,.14), transparent 60%); }
.bubble { position: absolute; top: 26px; left: 26px; right: 26px; display: grid; gap: 8px; }
.bubble span { justify-self: start; max-width: 85%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 13px; color: rgba(255,255,255,.8); }
.bubble span:nth-child(2) { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--gold-a10); border-color: var(--gold-a20); color: var(--gold-hi); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; counter-reset: s; }
.step { padding: 28px; border-radius: 24px; border: 1px solid var(--line); background: var(--panel); position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--display); font-style: italic; font-size: 54px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold-a35); }
.step h3 { margin: 18px 0 8px; font-size: 20px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); line-height: 1.55; }

.price-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; margin-top: 44px; align-items: stretch; }
.price-card { position: relative; padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: linear-gradient(180deg, rgba(255,122,89,.10), rgba(255,122,89,.02) 40%), var(--panel); border: 1px solid var(--gold-a35); overflow: hidden; isolation: isolate; }
.price-card::after { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--gold-hi) 80%, transparent 90%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.price-tag { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.price-tag strong { font-size: clamp(56px, 8vw, 92px); letter-spacing: -0.06em; font-weight: 600; line-height: 1; }
.price-tag span { color: var(--muted); }
.price-list { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.price-list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.88); }
.price-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--gold-a20) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12.5l4 4 8-9' fill='none' stroke='%23E9CB86' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat; }
.price-side { display: grid; gap: 14px; }
.price-side .step { display: flex; flex-direction: column; justify-content: center; }
.price-side .step::before { display: none; }
.price-side h3 { margin-top: 0; }

.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 18px; letter-spacing: -0.02em; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 24px; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); line-height: 1.6; max-width: 72ch; }

.final { margin: clamp(80px, 10vw, 140px) 0 0; padding: clamp(48px, 7vw, 90px) 24px; border-radius: 32px; text-align: center; position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--line);
  background: radial-gradient(60% 120% at 50% 100%, rgba(255,122,89,.22), transparent 60%), var(--panel); }
.final h2 { font-size: clamp(38px, 6.4vw, 84px); letter-spacing: -0.05em; line-height: .98; margin: 0 auto; max-width: 14ch; font-weight: 600; }
.final h2 em { font-family: var(--display); font-weight: 400; font-style: italic; color: var(--gold-hi); }
.final .hero-cta { margin-top: 30px; }
.l-foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding: 36px 0 44px; color: var(--faint); font-size: 13px; }
.l-foot .brand-name { font-size: 18px; color: var(--text); }
.l-foot .mark { width: 24px; height: 24px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.auth { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px; background: rgba(4,4,5,.66); backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%); overflow-y: auto; }
.auth-card { position: relative; width: min(420px, 100%); padding: 34px 28px 28px; border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)), #0F0F12; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); animation: rise .45s var(--ease); }
.auth-card::before { content: ""; position: absolute; inset: 0 30% auto; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.auth-close { position: absolute; top: 12px; right: 12px; }
.auth-head { text-align: center; }
.auth-head .mark { width: 44px; height: 44px; margin: 0 auto; }
.auth-head h2 { margin: 16px 0 6px; font-family: var(--display); font-weight: 400; font-size: 34px; letter-spacing: -0.01em; }
.auth-head p { margin: 0; color: var(--muted); font-size: 14px; }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin: 22px 0 18px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.auth-switch button { border: 0; background: none; color: var(--muted); padding: 10px; border-radius: 999px; font-weight: 500; transition: background .2s, color .2s; }
.auth-switch button.is-on { background: var(--text); color: var(--ink); }
.auth-form { display: grid; gap: 8px; }
.auth-form label { font-size: 13px; color: var(--muted); margin-top: 6px; }
.auth-form input { background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 14px; padding: 13px 14px; outline: none; color: var(--text); }
.auth-form .btn-gold { margin-top: 14px; padding: 14px; }
.auth-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.auth-msg { min-height: 1.4em; margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.auth-msg.is-error { color: var(--danger); }
.auth-foot { margin-top: 10px; text-align: center; font-size: 13px; color: var(--faint); }

.paywall { min-height: 100dvh; padding: 22px 16px 60px; position: relative; isolation: isolate; }
.paywall::before { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(900px 500px at 50% -10%, rgba(255,122,89,.16), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(255,255,255,.03), transparent 60%); }
.pw-top { width: min(1080px, 100%); margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.pw-top .brand-name { font-size: 22px; }
.pw-top .mark { width: 30px; height: 30px; }
.pw-top .link-btn { margin-left: auto; }
.pw-main { width: min(1080px, 100%); margin: clamp(28px, 6vw, 64px) auto 0; display: grid; grid-template-columns: 1fr 1.05fr; gap: 18px; align-items: start; }
.pw-intro h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: -0.05em; margin: 12px 0 0; font-weight: 600; }
.pw-intro h1 em { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--gold-hi); }
.pw-intro p { color: var(--muted); line-height: 1.6; font-size: 16px; }
.pw-intro .price-list { margin: 22px 0; }

.pay { padding: clamp(20px, 3vw, 30px); border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)), #0F0F12; box-shadow: var(--shadow-lg); }
.pay-steps { display: flex; gap: 8px; margin-bottom: 20px; }
.pay-steps span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); }
.pay-steps span.on { background: var(--gold); box-shadow: 0 0 10px var(--gold-a35); }
.pay h2 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.pay .sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0; }
.amounts button { padding: 12px 6px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; transition: border-color .2s, background .2s; }
.amounts button.is-on { border-color: var(--gold); background: var(--gold-a10); color: var(--gold-hi); }
.amounts button:disabled { opacity: .4; cursor: not-allowed; }
.pay-amount { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid var(--line); margin: 18px 0; }
.pay-amount strong { font-size: 34px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.pay-amount span { color: var(--muted); font-size: 13px; }
.upi-box { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: rgba(0,0,0,.25); }
.qr { width: 156px; height: 156px; border-radius: 16px; background: #fff; padding: 10px; display: grid; place-items: center; }
.qr img, .qr svg, .qr canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.upi-meta { display: grid; gap: 10px; min-width: 0; }
.upi-meta small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.upi-id { display: flex; align-items: center; gap: 8px; min-width: 0; }
.upi-id code { font: 600 16px/1.2 var(--ui); color: var(--gold-hi); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upi-apps { display: flex; flex-wrap: wrap; gap: 8px; }
.upi-apps .btn-gold { padding: 11px 18px; }
.pay-form { display: grid; gap: 8px; margin-top: 20px; }
.pay-form label { font-size: 13px; color: var(--muted); margin-top: 6px; }
.pay-form input[type=text] { background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 14px; padding: 13px 14px; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.drop { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--line-2); color: var(--muted); cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover { border-color: var(--gold-a35); background: var(--gold-a10); }
.drop img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; }
.drop svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.pay-form .btn-gold { margin-top: 12px; padding: 14px; }
.pay-note { font-size: 12.5px; color: var(--faint); line-height: 1.5; margin: 12px 0 0; }
.pay-closed { padding: 18px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--muted); line-height: 1.6; }
.pending-card { text-align: center; padding: 10px 6px; }
.pending-card .orb { width: 74px; height: 74px; margin: 6px auto 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 45%, var(--gold-lo)); box-shadow: 0 0 0 10px var(--gold-a10), 0 0 60px var(--gold-a35); animation: breathe 2.4s var(--ease) infinite; }
.pending-card h2 { font-family: var(--display); font-weight: 400; font-size: 32px; }
.pending-card p { color: var(--muted); line-height: 1.6; }
.history { margin-top: 18px; display: grid; gap: 8px; }
.history-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.status { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.status.pending { color: var(--gold-hi); border-color: var(--gold-a35); }
.status.approved { color: var(--ok); border-color: rgba(207,224,184,.35); }
.status.rejected { color: var(--danger); border-color: rgba(238,139,122,.35); }

.console { width: min(1100px, calc(100% - 24px)); max-height: min(88dvh, 900px); padding: 0; border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; color: var(--text); background: #0E0E11; border: 1px solid var(--line-2); }
.console:not([open]) { display: none; }
.c-head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.c-head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 28px; }
.c-head .icon-btn { margin-left: auto; }
.c-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 16px 20px 0; }
.kpi { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.kpi span { display: block; color: var(--muted); font-size: 12px; }
.kpi strong { display: block; margin-top: 4px; font-size: 22px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi.hot strong { color: var(--gold-hi); }
.c-tabs { display: flex; gap: 6px; padding: 16px 20px 0; overflow-x: auto; }
.c-tabs button { border: 1px solid var(--line-2); background: none; color: var(--muted); padding: 9px 16px; border-radius: 999px; white-space: nowrap; }
.c-tabs button.is-on { background: var(--text); color: var(--ink); border-color: transparent; }
.c-tabs button b { margin-left: 6px; background: var(--gold); color: var(--ink); border-radius: 999px; padding: 1px 7px; font-size: 11px; }
.c-body { padding: 16px 20px 22px; overflow-y: auto; }
.c-search { width: 100%; margin-bottom: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 999px; padding: 11px 16px; color: var(--text); }
.c-list { display: grid; gap: 10px; }
.c-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.c-row .who { font-weight: 600; overflow-wrap: anywhere; }
.c-row .meta { color: var(--muted); font-size: 13px; margin-top: 3px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.c-row .meta code { color: var(--gold-hi); font: 600 13px/1 var(--ui); letter-spacing: .02em; }
.c-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; }
.c-actions .btn-gold, .c-actions .btn-ghost, .c-actions .btn-danger { padding: 9px 14px; font-size: 13px; }
.c-actions input, .c-actions select { width: 110px; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 12px; color: var(--text); font-size: 13px; }
.c-actions select { width: auto; }
.proof { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line-2); cursor: zoom-in; }
.c-empty { padding: 40px 10px; text-align: center; color: var(--muted); }
.c-settings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.c-settings label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.c-settings input { background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 14px; color: var(--text); font-size: 15px; }
.c-settings .hint { font-size: 12px; color: var(--faint); }
.c-settings .full { grid-column: 1 / -1; }
.c-settings .btn-gold { justify-self: start; padding: 12px 22px; }
.warn-bar { display: flex; gap: 12px; align-items: center; padding: 12px 16px; margin: 0 0 14px; border-radius: 14px; border: 1px solid var(--gold-a35); background: var(--gold-a10); color: var(--gold-hi); font-size: 14px; }
.warn-bar .link-btn { color: var(--text); margin-left: auto; }

.acct-wallet { margin: 8px 0 14px; padding: 18px; border-radius: 20px; border: 1px solid var(--gold-a20); background: linear-gradient(135deg, var(--gold-a10), transparent 60%), rgba(255,255,255,.02); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.acct-wallet span { color: var(--muted); font-size: 13px; display: block; }
.acct-wallet strong { font-size: 30px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ledger { display: grid; gap: 6px; max-height: 240px; overflow-y: auto; margin-bottom: 14px; }
.ledger div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.025); }
.ledger div span:first-child { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger .plus { color: var(--ok); } .ledger .minus { color: var(--text); }

.topup { width: min(520px, calc(100% - 24px)); padding: 0; border: 0; background: transparent; }
.topup .pay { position: relative; }
.topup .auth-close { top: 14px; right: 14px; }

@media (max-width: 960px) {
  .l-links { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .c-6, .c-4 { grid-column: span 2; } .c-3, .c-2 { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .price-wrap { grid-template-columns: 1fr; }
  .pw-main { grid-template-columns: 1fr; }
  .c-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .l-nav-cta .btn-ghost, .l-nav-cta .btn-gold { padding: 9px 14px; font-size: 13px; }
  .l-nav .brand-name { font-size: 20px; }
  .l-nav .ai-badge { display: none; }
  .hero h1 { font-size: clamp(46px, 15vw, 76px); }
  .demo-stage { grid-template-columns: 1fr 1fr; grid-template-rows: 1.3fr 1fr; height: 460px; }
  .frame:nth-child(1) { grid-column: span 2; grid-row: auto; }
  .frame:nth-child(4) { display: none; }
  .demo-go { display: none; }
  .bento { grid-template-columns: 1fr; }
  .c-6, .c-4, .c-3, .c-2 { grid-column: auto; }
  .cell { min-height: 210px; padding: 22px; }
  .amounts { grid-template-columns: repeat(2, 1fr); }
  .upi-box { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .upi-id { justify-content: center; }
  .upi-apps { justify-content: center; }
  .c-row { grid-template-columns: 1fr; }
  .c-actions { justify-content: flex-start; }
  .c-settings { grid-template-columns: 1fr; }
  .console { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; max-width: none; }
  .wallet-chip .lbl { display: none; }
  .final { border-radius: 24px; }
}

/* ---------- real showcase imagery ---------- */
.frame img.art { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: opacity 1.2s var(--ease), filter .8s var(--ease), transform 6s var(--ease); }
.frame:hover img.art { transform: scale(1.07); }
.frame::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); }
.frame:nth-child(1) img.art { object-position: center 45%; }
.frame:nth-child(3) img.art { object-position: center 22%; }
.frame:nth-child(4) img.art { object-position: 70% center; }
.cell-visual.v-models { background: none; }
.cell-visual.v-models img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: .6; transition: transform 1.2s var(--ease), opacity .6s; }
.cell:hover .cell-visual.v-models img { transform: scale(1.04); opacity: .7; }
.cell-visual.v-models::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,.25) 0%, rgba(10,10,12,.55) 45%, rgba(10,10,12,.96) 100%); }
.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .5; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 100% at 50% 55%, rgba(7,7,8,.5), rgba(7,7,8,.93)); }

/* ---------- voice dictation ---------- */
.mic-btn { position: relative; flex: none; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--text); transition: background .2s, border-color .2s, color .2s; -webkit-user-select: none; user-select: none; touch-action: manipulation; }
.mic-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.mic-btn:hover { border-color: var(--gold-a35); color: var(--gold-hi); }
.mic-lang { position: absolute; right: -5px; bottom: -5px; font-size: 9px; font-weight: 700; line-height: 1; padding: 3px 4px; border-radius: 6px; background: var(--raised-2); border: 1px solid var(--line-2); color: var(--muted); }
.mic-btn.is-live { background: var(--gold); color: var(--ink); border-color: transparent; animation: micpulse 1.3s ease-out infinite; }
.mic-btn.is-live .mic-lang { background: var(--ink); color: var(--gold-hi); border-color: transparent; }
@keyframes micpulse { 0% { box-shadow: 0 0 0 0 rgba(255,122,89,.55); } 100% { box-shadow: 0 0 0 14px rgba(255,122,89,0); } }
.edit-box { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.edit-box textarea { flex: 1 1 200px; }

/* ---------- composer controls: keep quality (1K/2K/4K) visible on phones ---------- */
.seg button[data-size] { min-width: 42px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .chips { flex-wrap: wrap !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; gap: 6px !important; }
  .chip, .seg, .stepper { height: 36px !important; }
  .seg button { padding: 0 10px; }
  .mic-btn { width: 38px; height: 38px; }
}

@media (max-width: 760px) { .topbar .wallet-chip { display: none !important; } }

/* ==========================================================================
   Brand: gold ribbon mark + "oaf ai" wordmark
   ========================================================================== */
.ai-badge {
  background: linear-gradient(100deg, var(--gold-lo), var(--gold-hi) 35%, #FFF1CF 52%, var(--gold) 70%, var(--gold-lo)) !important;
  -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent;
  font-family: var(--display) !important; font-style: italic; font-weight: 400 !important; text-transform: lowercase;
  padding: 0 .06em 0 0 !important; border-radius: 0 !important; letter-spacing: -0.01em !important; line-height: 1;
  font-size: 1.12em !important; display: inline !important; box-shadow: none !important;
}
.brand { gap: .3em; align-items: center; }
.brand .ai-badge { margin-left: -.08em; }
.brand-name { letter-spacing: -0.055em; }
.brand-lg .ai-badge { font-size: 54px !important; }
.brand-sm .ai-badge { font-size: 25px !important; }
.l-nav .ai-badge, .pw-top .ai-badge { font-size: 23px !important; }
.mark { filter: drop-shadow(0 4px 14px rgba(255,122,89,.18)); }
.l-nav .mark { width: 44px; height: 44px; }
.pw-top .mark { width: 40px; height: 40px; }
.rail-logo .mark { width: 50px; height: 50px; }
.mhead .brand-sm .mark { width: 36px; height: 36px; }
.auth-head .mark { width: 64px; height: 64px; }
.splash .mark { width: 96px; height: 96px; }
.l-foot .mark { width: 32px; height: 32px; }
.empty-mark { width: 72px !important; height: 72px !important; opacity: .9; }
@media (max-width: 640px) { .l-nav .ai-badge { display: inline !important; font-size: 21px !important; } }

/* ==========================================================================
   Smoothness: keep animations on the GPU, cut costly repaints on phones
   ========================================================================== */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body::after { animation: none !important; inset: 0; }
.hero-aura i { mix-blend-mode: normal; will-change: transform; filter: blur(60px); }
dialog::backdrop { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: rgba(3,3,4,.8) !important; }
.tile, .cell, .frame { contain: layout paint; }
.marquee-track { will-change: transform; }
.hero h1 em { animation-duration: 9s; }
.demo-type { contain: layout; }
img { -webkit-user-drag: none; }
@media (max-width: 760px), (pointer: coarse) {
  .hero-aura i { animation: none !important; filter: blur(48px); }
  .hero h1 em { animation: none !important; background-position: 30% 0; }
  .price-card::after, .v-video::after { animation: none !important; }
  .composer, .mhead, .rail, .l-nav.is-stuck, .toast, .eyebrow, .demo-bar, .frame-tag, .auth {
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
  .composer { background: rgba(14,14,17,.97) !important; }
  .mhead { background: rgba(9,9,11,.97) !important; }
  .l-nav.is-stuck { background: rgba(7,7,8,.96) !important; }
  .auth { background: rgba(4,4,5,.9) !important; }
  .tile:hover, .cell:hover, .frame:hover img.art { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .marquee-track { animation: none; } }

/* ==========================================================================
   Announcement banner
   ========================================================================== */
.announce { position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 44px 9px 16px; text-align: center;
  font-size: 13.5px; color: var(--ink); background: linear-gradient(90deg, var(--gold-lo), var(--gold) 30%, var(--gold-hi) 50%, var(--gold) 70%, var(--gold-lo)); }
.announce-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); flex: none; }
.announce-text { font-weight: 600; }
.announce button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 0; background: rgba(0,0,0,.12); color: var(--ink); width: 26px; height: 26px; border-radius: 50%; font-size: 12px; }
body.has-announce .rail { top: 38px; }

/* ==========================================================================
   Console: overview, toggles, command palette
   ========================================================================== */
.ov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ov { padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); display: grid; gap: 4px; }
.ov span { color: var(--muted); font-size: 12.5px; }
.ov strong { font-size: 26px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ov small { color: var(--faint); font-size: 12px; }
.ov.hot { border-color: var(--gold-a35); background: linear-gradient(180deg, var(--gold-a10), transparent); }
.ov.hot strong { color: var(--gold-hi); }
.ov-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ov-actions .btn-gold, .ov-actions .btn-ghost { padding: 10px 16px; font-size: 14px; }
kbd { font: 600 11px/1 var(--ui); padding: 3px 6px; border-radius: 6px; border: 1px solid currentColor; opacity: .7; margin-left: 6px; }
.c-head .cmdk-btn { margin-left: auto; }
.c-head .cmdk-btn + .icon-btn, .c-head .icon-btn:last-child { margin-left: 0; }
.c-settings-2 { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.toggle { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 14px; cursor: pointer; color: var(--text) !important; font-size: 14px !important; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle .tg { flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--raised-2); border: 1px solid var(--line-2); position: relative; transition: background .2s; margin-top: 2px; }
.toggle .tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--muted); transition: transform .25s var(--ease), background .2s; }
.toggle input:checked + .tg { background: var(--gold); border-color: transparent; }
.toggle input:checked + .tg::after { transform: translateX(18px); background: var(--ink); }
.toggle input:focus-visible + .tg { outline: 2px solid var(--gold); outline-offset: 3px; }

.cmdk { width: min(620px, calc(100% - 24px)); margin: 12vh auto auto; padding: 0; border: 0; background: transparent; color: var(--text); }
.cmdk-box { border-radius: 22px; overflow: hidden; background: #111114; border: 1px solid var(--line-2); box-shadow: 0 40px 120px -20px rgba(0,0,0,.9), 0 0 0 1px var(--gold-a10); }
.cmdk-in { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cmdk-in svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; flex: none; }
.cmdk-in input { flex: 1; min-width: 0; background: none; border: 0 !important; box-shadow: none !important; outline: none; font-size: 17px; color: var(--text); }
.cmdk-in kbd { color: var(--muted); }
.cmdk-list { max-height: min(56vh, 460px); overflow-y: auto; padding: 8px; }
.cmdk-item { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 0; border-radius: 12px; background: none; color: var(--text); text-align: left; font-size: 15px; }
.cmdk-item small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.cmdk-item.is-on, .cmdk-item:hover { background: rgba(255,255,255,.06); }
.cmdk-item.is-on { box-shadow: inset 2px 0 0 var(--gold); }
@media (max-width: 960px) { .ov-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .c-head .cmdk-btn kbd { display: none; } .ov strong { font-size: 22px; } .cmdk { margin-top: 8vh; } }

.ai-badge { -webkit-background-clip: text !important; background-clip: text !important; }
.l-nav .mark { width: 52px; height: 52px; margin: -4px -4px -4px -6px; }
.pw-top .mark { width: 48px; height: 48px; }
