/* HeroSelfie landing — implemented from Claude Design "Game Avatar Landing.dc.html" */
:root {
  --bg: #07080b;
  --text: #eceef2;
  --accent: oklch(0.82 0.15 70);
  --accent-deep: oklch(0.6 0.13 60);
  --accent-hover: oklch(0.87 0.14 75);
  --accent-soft: oklch(0.85 0.14 75);
  --accent-ink: #140d02;
  --ok: oklch(0.8 0.15 150);
  --danger: oklch(0.75 0.16 25);
  --muted: #8d93a0;
  --link: #aab0bd;
  --body: #b7bcc8;
  --dim: #9ca2af;
  --faint: #6b7080;
  --soft: #cfd3dc;
  --panel: #0d0f14;
  --well: #14161d;
  --edge: #1c1f28;
  --rule: rgba(255, 255, 255, .06);
  --display: 'Big Shoulders Display', sans-serif;
  --sans: Manrope, system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --pixel: Silkscreen, monospace;
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1360px;
  --pixel-notch: polygon(0 6px, 6px 6px, 6px 0, calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px));
}

html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
input::placeholder { color: var(--faint); }
[hidden] { display: none !important; }
.accent { color: var(--accent); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@keyframes gcPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes gcScan { 0% { top: 0%; } 100% { top: 100%; } }
@keyframes gcSpin { to { transform: rotate(360deg); } }
@keyframes gcRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes gcEmber { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 100% { transform: translate(40px, -900px); opacity: 0; } }
@keyframes gcSheen { 0% { transform: translateX(-120%) skewX(-18deg); } 55%, 100% { transform: translateX(260%) skewX(-18deg); } }
@keyframes gcGlow {
  0%, 100% { box-shadow: 0 30px 90px -20px oklch(0.6 0.17 55 / .45), 0 0 0 6px rgba(0, 0, 0, .4); }
  50% { box-shadow: 0 30px 120px -10px oklch(0.66 0.17 55 / .85), 0 0 0 6px rgba(0, 0, 0, .4); }
}
@keyframes gcMarquee { to { transform: translateX(-50%); } }
@keyframes gcPing { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2); opacity: 0; } }
@keyframes gcScanLoop { 0% { top: -5%; } 100% { top: 105%; } }

.page { min-height: 100vh; background: var(--bg); overflow-x: hidden; position: relative; }

/* ---------- shared type ---------- */
.h2 {
  margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(40px, 5vw, 72px); line-height: .92;
}
.h2--spaced { margin-bottom: 48px; text-wrap: balance; }
.pixel-tag { font-family: var(--pixel); font-size: 12px; color: var(--muted); }
.pixel-kicker { font-family: var(--pixel); font-size: 12px; color: var(--accent); margin-bottom: 14px; }
.pixel-label { font-family: var(--pixel); font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.pixel-xs { font-family: var(--pixel); font-size: 10px; color: var(--muted); }
.mono-sm { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.mono-sm--dim { color: var(--dim); }
.mono-sm--faint { color: var(--faint); }

/* ---------- buttons ---------- */
.btn-primary, .btn-submit {
  font-family: var(--sans); font-weight: 800; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); clip-path: var(--pixel-notch);
}
.btn-primary { font-size: 17px; padding: 20px 34px; }
.btn-primary:hover, .btn-submit:hover { background: var(--accent-hover); }
.btn-primary:focus-visible, .btn-submit:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: -8px; }
.btn-sheen { position: relative; overflow: hidden; }
.sheen {
  position: absolute; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  animation: gcSheen 3.6s ease-in-out infinite;
}
.btn-glow { box-shadow: 0 0 40px oklch(0.7 0.16 60 / .45); }
.btn-ghost {
  height: 44px; white-space: nowrap; font-family: var(--sans); font-weight: 700; font-size: 14px;
  padding: 0 18px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04);
  color: var(--text); cursor: pointer;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* ---------- header ---------- */
.site-header {
  position: relative; z-index: 5; max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 7px); gap: 2px; }
.brand-mark span { width: 7px; height: 7px; background: var(--accent-deep); }
.brand-mark span:nth-child(1), .brand-mark span:nth-child(4) { background: var(--accent); }
.brand-name {
  white-space: nowrap; font-family: var(--display); font-weight: 900; font-size: clamp(19px, 2vw, 24px);
  letter-spacing: .06em; text-transform: uppercase;
}
.nav {
  flex: 1; min-width: 0; height: 44px; overflow: hidden; display: flex; flex-direction: row-reverse;
  flex-wrap: wrap; align-items: center; column-gap: 28px; row-gap: 40px; font-size: 14px; font-weight: 600;
}
.nav-status {
  height: 44px; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.dot { width: 7px; height: 7px; background: var(--ok); animation: gcPulse 1.8s infinite; }
.nav-link { height: 44px; display: flex; align-items: center; color: var(--link); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 56px) var(--gutter) 88px; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 78% 40%, oklch(0.55 0.16 55 / .35), transparent 70%),
    radial-gradient(40% 60% at 20% 30%, oklch(0.5 0.14 260 / .2), transparent 70%),
    linear-gradient(180deg, transparent 60%, #07080b);
}
.hero-pixels {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(60% 60% at 70% 45%, #000, transparent);
  mask-image: radial-gradient(60% 60% at 70% 45%, #000, transparent);
}
.embers { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ember {
  position: absolute; bottom: -12px; background: oklch(0.85 0.15 70); box-shadow: 0 0 10px oklch(0.8 0.16 65);
  opacity: 0; animation-name: gcEmber; animation-timing-function: linear; animation-iteration-count: infinite;
}
.hero-inner {
  position: relative; max-width: var(--max); margin: 0 auto; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.rise { animation: gcRise .8s both; }
.rise-1 { animation-duration: .7s; }
.rise-2 { animation-delay: .08s; }
.rise-3 { animation-delay: .2s; }
.rise-4 { animation-delay: .32s; }
.rise-5 { animation-duration: 1s; animation-delay: .15s; }
.eyebrow {
  font-family: var(--pixel); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.hero h1 {
  margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, 9vw, 148px); line-height: .86; letter-spacing: -.005em; text-wrap: balance;
}
.hero-sub {
  margin: 28px 0 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--body);
  max-width: 470px; text-wrap: pretty;
}
.hero-actions { margin-top: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero-note { font-size: 14px; color: var(--muted); }

.ba {
  position: relative; display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 24px); align-items: end;
}
.ba-col { position: relative; }
.ba-label { font-family: var(--pixel); font-size: 12px; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.ba-label--accent { color: var(--accent); }
.ba-before { position: relative; aspect-ratio: 4 / 5; border: 1px solid rgba(255, 255, 255, .14); }
.ba-after { position: relative; aspect-ratio: 4 / 5.4; border: 1px solid oklch(0.82 0.15 70 / .6); animation: gcGlow 4s ease-in-out infinite; }
.ba-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ba-sheen {
  position: absolute; top: 0; bottom: 0; left: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent);
  animation: gcSheen 5s ease-in-out 1.2s infinite;
}
.ba-scan {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--accent);
  box-shadow: 0 0 16px 3px oklch(0.75 0.16 60 / .6); opacity: .55; animation: gcScanLoop 3.6s linear infinite;
}
.ba-arrow {
  position: absolute; z-index: 2; left: calc(clamp(12px, 2vw, 24px) / -2 - 22px); top: calc(50% - 22px);
  width: 44px; height: 44px; background: var(--accent); color: var(--accent-ink); display: flex;
  align-items: center; justify-content: center; font-weight: 800; font-size: 20px;
  box-shadow: 0 0 0 6px #07080b, 0 0 30px oklch(0.7 0.16 60 / .7); pointer-events: none;
}
.ba-ping { position: absolute; inset: 0; background: var(--accent); animation: gcPing 1.8s ease-out infinite; }
.ba-arrow-glyph { position: relative; }
.corners { position: absolute; inset: 10px; pointer-events: none; }
.corner { position: absolute; width: 22px; height: 22px; border: 0 solid var(--accent); }
.corner--tl { left: 0; top: 0; border-left-width: 3px; border-top-width: 3px; }
.corner--tr { right: 0; top: 0; border-right-width: 3px; border-top-width: 3px; }
.corner--bl { left: 0; bottom: 0; border-left-width: 3px; border-bottom-width: 3px; }
.corner--br { right: 0; bottom: 0; border-right-width: 3px; border-bottom-width: 3px; }
.render-card {
  position: absolute; left: 18px; right: 18px; bottom: 18px; pointer-events: none; display: flex;
  justify-content: space-between; align-items: end; gap: 12px; padding: 12px 14px;
  background: rgba(7, 8, 11, .8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .1);
}
.render-text { min-width: 0; }
.render-name { font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: .04em; line-height: 1; }
.render-class { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.render-status { font-family: var(--pixel); font-size: 10px; color: var(--ok); white-space: nowrap; }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 22px 0; overflow: hidden; background: #090a0e; }
.marquee-track { display: flex; width: max-content; animation: gcMarquee 38s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.mq-word {
  font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5vw, 72px); text-transform: uppercase;
  line-height: 1; white-space: nowrap; color: var(--text);
}
.mq-word--outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .35); }
.mq-diamond { width: 12px; height: 12px; background: var(--accent); transform: rotate(45deg); flex-shrink: 0; }

/* ---------- generic sections ---------- */
.section { padding: 96px var(--gutter); position: relative; }
.section--rule { border-top: 1px solid var(--rule); }
.container { max-width: var(--max); margin: 0 auto; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head--tight { margin-bottom: 40px; }

/* styles */
.styles { padding-top: 88px; padding-bottom: 88px; }
.styles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.style-card { background: var(--panel); border: 2px solid var(--edge); }
.style-card:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 60px -20px oklch(0.7 0.16 60 / .6); }
.style-thumb { position: relative; aspect-ratio: 3 / 4; }
.style-pick {
  width: 100%; min-height: 44px; padding: 14px; border: 0; background: transparent; cursor: pointer; color: var(--text);
  font-family: var(--sans); text-align: left; display: flex; flex-direction: column; gap: 6px;
}
.style-pick:hover { color: var(--accent-soft); }
.style-pick:focus-visible { outline-offset: -4px; }
.style-cat { font-family: var(--pixel); font-size: 10px; color: var(--accent); }
.style-name { display: flex; width: 100%; justify-content: space-between; align-items: center; font-weight: 700; font-size: 16px; }
.style-arrow { color: var(--faint); }

/* use cases */
.uses { background: radial-gradient(50% 60% at 50% 0%, oklch(0.45 0.12 280 / .2), transparent 70%); }
.uses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 16px; }
.use-card { background: var(--panel); border: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; }
.use-card:hover { border-color: oklch(0.82 0.15 70 / .5); }
.use-visual { height: 240px; position: relative; }
.use-visual--center { padding: 24px; display: flex; align-items: center; justify-content: center; }
.use-bg-slate { background: linear-gradient(160deg, #141720, #0b0c11); }
.use-bg-indigo { background: linear-gradient(160deg, oklch(0.25 0.06 260), #0b0c11); }
.use-bg-violet { background: linear-gradient(160deg, oklch(0.24 0.05 275), #0b0c11); }
.use-bg-plum { background: linear-gradient(160deg, oklch(0.24 0.05 330), #0b0c11); }
.use-bg-amber { background: linear-gradient(160deg, oklch(0.25 0.06 55), #0b0c11); }
.use-body { padding: 22px 24px 26px; }
.use-body h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.use-body p { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.5; }
.meter { flex: 1; height: 6px; background: rgba(255, 255, 255, .08); }
.meter-fill { height: 100%; background: var(--accent); }
.meter-fill--hp { background: oklch(0.65 0.19 25); }
.meter-fill--mp { background: oklch(0.65 0.15 250); }

.profile-card { width: 100%; max-width: 280px; background: #07080b; border: 2px solid #22252f; padding: 14px; display: flex; gap: 14px; align-items: center; }
.profile-avatar { position: relative; width: 76px; height: 76px; flex-shrink: 0; border: 2px solid var(--accent); }
.profile-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.profile-name { font-weight: 800; font-size: 16px; }

.virtual-figure { position: absolute; left: 50%; top: 20px; bottom: 0; width: 150px; transform: translateX(-50%); }
.chip-tag {
  position: absolute; right: 14px; top: 14px; font-family: var(--pixel); font-size: 10px; padding: 4px 7px;
  background: rgba(7, 8, 11, .8); border: 1px solid rgba(255, 255, 255, .15); color: var(--link); pointer-events: none;
}

.discord-card { width: 100%; max-width: 260px; background: #15171e; border-radius: 10px; overflow: hidden; }
.discord-banner { height: 56px; background: oklch(0.55 0.16 55); }
.discord-body { padding: 0 16px 16px; }
.discord-avatar { position: relative; width: 76px; height: 76px; margin-top: -38px; }
.discord-avatar-img { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; border: 5px solid #15171e; }
.discord-status {
  position: absolute; right: 2px; bottom: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: oklch(0.75 0.17 150); border: 4px solid #15171e; pointer-events: none;
}
.discord-name { margin-top: 10px; font-weight: 800; font-size: 16px; }
.discord-activity { font-size: 12px; color: var(--muted); margin-top: 2px; }

.use-visual--stream { padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.stream-banner { position: relative; height: 110px; border: 1px solid rgba(255, 255, 255, .1); }
.live-tag {
  position: absolute; left: 10px; top: 10px; padding: 3px 7px; background: oklch(0.62 0.21 25);
  font-family: var(--pixel); font-size: 10px; color: #fff; pointer-events: none;
}
.stream-row { display: flex; align-items: center; gap: 12px; padding: 0 12px; margin-top: -22px; position: relative; }
.stream-avatar { position: relative; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; border: 3px solid var(--panel); flex-shrink: 0; }
.stream-meta { padding-top: 22px; }
.stream-name { font-weight: 800; font-size: 15px; }
.stream-followers { font-size: 12px; color: var(--muted); }

.use-visual--social { padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.social-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: rgba(7, 8, 11, .7); border: 1px solid rgba(255, 255, 255, .08); }
.social-avatar { position: relative; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.social-meta { flex: 1; min-width: 0; }
.social-handle { font-weight: 700; font-size: 14px; }
.social-bio { font-size: 12px; color: var(--muted); }
.social-btn { font-size: 12px; font-weight: 700; padding: 6px 10px; }
.social-btn--follow { background: #eceef2; color: #07080b; }
.social-btn--following { border: 1px solid rgba(255, 255, 255, .2); }

.use-visual--rpg { padding: 20px; display: flex; gap: 16px; }
.rpg-figure { position: relative; width: 120px; flex-shrink: 0; border: 2px solid oklch(0.82 0.15 70 / .6); }
.rpg-stats { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.rpg-name { font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; line-height: 1; }
.rpg-bars { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.rpg-bar { display: flex; align-items: center; gap: 8px; }
.rpg-bar-label { font-family: var(--pixel); font-size: 9px; width: 20px; color: var(--link); }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.pair { margin: 0; background: var(--panel); border: 1px solid rgba(255, 255, 255, .08); }
.pair:hover { border-color: oklch(0.82 0.15 70 / .5); box-shadow: 0 20px 60px -24px oklch(0.7 0.16 60 / .5); }
.pair-media { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px; background: #07080b; }
.pair-half { position: relative; aspect-ratio: 3 / 4; }
.pair-tag {
  position: absolute; left: 8px; top: 8px; padding: 3px 6px; background: #07080b; font-family: var(--pixel);
  font-size: 9px; color: var(--link); pointer-events: none;
}
.pair-tag--avatar { background: var(--accent); color: var(--accent-ink); }
.pair-arrow {
  position: absolute; left: calc(50% - 16px); top: calc(50% - 16px); width: 32px; height: 32px; background: var(--accent);
  color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-weight: 800;
  box-shadow: 0 0 0 4px #07080b; pointer-events: none;
}
.pair figcaption { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pair-title { font-weight: 700; font-size: 15px; }
.pair-style { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.step { background: var(--panel); border: 1px solid rgba(255, 255, 255, .08); padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.step-visual { height: 160px; }
.step-visual--upload {
  border: 2px dashed rgba(255, 255, 255, .2); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; background: rgba(255, 255, 255, .02);
}
.plus-box {
  width: 44px; height: 44px; border: 2px solid rgba(255, 255, 255, .25); display: flex; align-items: center;
  justify-content: center; font-size: 24px; color: var(--accent);
}
.step-visual--styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-content: center; }
.chip-demo { padding: 12px 6px; text-align: center; border: 2px solid rgba(255, 255, 255, .1); font-size: 13px; color: var(--dim); }
.chip-demo.is-on { border-color: var(--accent); background: oklch(0.82 0.15 70 / .1); font-weight: 700; color: var(--text); }
.step-visual--result { display: flex; gap: 16px; align-items: center; justify-content: center; }
.result-thumb { position: relative; width: 120px; height: 150px; border: 2px solid oklch(0.82 0.15 70 / .6); }
.result-meta { display: flex; flex-direction: column; gap: 8px; }
.ready { font-family: var(--pixel); font-size: 11px; color: var(--ok); }
.step-num { font-family: var(--pixel); font-size: 12px; color: var(--accent); margin-bottom: 8px; }
.step h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; }
.step p { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.5; }

/* ---------- create / upload ---------- */
.create { padding: 104px var(--gutter); border-top: 1px solid var(--rule); position: relative; }
.create-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 50% at 50% 60%, oklch(0.55 0.16 55 / .18), transparent 70%); }
.create-inner { position: relative; max-width: 920px; margin: 0 auto; }
.create h2 {
  margin: 0; text-align: center; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(44px, 6vw, 88px); line-height: .9; text-wrap: balance;
}
.create-sub { margin: 16px 0 40px; text-align: center; font-size: 18px; color: var(--body); }
.uploader { background: var(--panel); border: 2px solid var(--edge); padding: clamp(20px, 3vw, 32px); box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .8); }
.file-input { display: none; }
.stage-idle { display: flex; flex-direction: column; gap: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; font-family: var(--sans); font-weight: 700; font-size: 14px; padding: 10px 16px; cursor: pointer;
  border: 2px solid rgba(255, 255, 255, .12); background: transparent; color: var(--dim);
}
.chip[aria-pressed="true"] { border-color: var(--accent); background: oklch(0.82 0.15 70 / .12); color: var(--text); }
.plan-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px;
  border: 2px solid oklch(0.82 0.15 70 / .5); background: oklch(0.82 0.15 70 / .08);
}
.plan-pill-text { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.plan-pill-kicker { font-family: var(--pixel); font-size: 10px; color: var(--accent); }
.plan-change {
  min-height: 32px; padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: var(--link);
  font-family: var(--sans); font-size: 12px; font-weight: 600; cursor: pointer;
}
.plan-change:hover { color: var(--text); }
.dropzone {
  cursor: pointer; min-height: 280px; border: 2px dashed rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .015);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 32px; text-align: center;
}
.dropzone:hover { background: rgba(255, 255, 255, .035); }
.dropzone.is-dragging { border-color: var(--accent); background: oklch(0.82 0.15 70 / .08); }
.drop-icon {
  width: 64px; height: 64px; border: 2px solid oklch(0.82 0.15 70 / .7); display: flex; align-items: center;
  justify-content: center; font-size: 30px; color: var(--accent);
}
.drop-title { font-family: var(--display); font-weight: 800; font-size: 34px; text-transform: uppercase; letter-spacing: .02em; margin-top: 8px; }
.drop-hint { font-size: 14px; color: var(--muted); }
.btn-upload { align-self: center; padding: 20px 40px; }
.error { font-size: 14px; color: var(--danger); }
.error--sm { font-size: 13px; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px; align-items: center; }
.preview { position: relative; aspect-ratio: 4 / 5; max-width: 300px; width: 100%; overflow: hidden; border: 2px solid oklch(0.82 0.15 70 / .5); background: var(--well); }
.preview--queue { border-color: rgba(255, 255, 255, .14); }
.preview-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.preview-img:not([src]) { visibility: hidden; }
.preview--scan .preview-img { filter: saturate(.7) brightness(.85); }
.preview--queue .preview-img { filter: saturate(.6) brightness(.7); }
.scanline {
  position: absolute; left: 0; right: 0; height: 3px; background: var(--accent);
  box-shadow: 0 0 18px 4px oklch(0.75 0.16 60 / .7); animation: gcScan 1.6s ease-in-out infinite alternate;
}
.gen-label { display: flex; align-items: center; gap: 10px; font-family: var(--pixel); font-size: 12px; color: var(--accent); }
.spinner { width: 14px; height: 14px; border: 2px solid var(--accent); border-top-color: transparent; animation: gcSpin .8s linear infinite; }
.gen-title { font-family: var(--display); font-weight: 800; font-size: 40px; text-transform: uppercase; line-height: .95; margin: 14px 0 8px; }
.gen-step { color: var(--dim); font-size: 15px; min-height: 22px; }
.segbar { margin-top: 22px; display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; }
.segbar span { height: 10px; background: rgba(255, 255, 255, .08); }
.segbar span.is-lit { background: var(--accent); }
.progress-pct { margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

.queue-tag {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 12px; background: rgba(7, 8, 11, .85);
  font-family: var(--pixel); font-size: 10px; color: var(--link);
}
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 2px solid oklch(0.82 0.15 70 / .6);
  background: oklch(0.82 0.15 70 / .1); font-family: var(--pixel); font-size: 12px; color: var(--accent-soft);
}
.badge-dot { width: 7px; height: 7px; background: var(--accent); animation: gcPulse 1.2s infinite; }
.demand-copy { margin: 18px 0 0; font-size: 16px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.demand-ask { margin: 14px 0 0; font-size: 17px; line-height: 1.5; font-weight: 700; text-wrap: pretty; }
.notify-form { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.email-input {
  font-family: var(--sans); font-size: 16px; padding: 16px 18px; background: #07080b; color: var(--text);
  border: 2px solid rgba(255, 255, 255, .18); outline: none;
}
.email-input:focus { border-color: var(--accent); }
.btn-submit { font-size: 16px; padding: 17px 24px; }
.btn-submit:disabled { opacity: .7; cursor: progress; }

.done { padding: 40px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.done-icon {
  width: 56px; height: 56px; border: 2px solid var(--ok); color: var(--ok); display: flex; align-items: center;
  justify-content: center; font-size: 26px;
}
.done-title { font-family: var(--display); font-weight: 800; font-size: 40px; text-transform: uppercase; margin-top: 8px; }
.done p { margin: 0; color: var(--body); font-size: 16px; max-width: 460px; line-height: 1.5; }
.done strong { color: var(--text); }
.btn-reset {
  margin-top: 8px; min-height: 44px; font-family: var(--sans); font-weight: 600; font-size: 14px; padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: var(--link); cursor: pointer;
}
.btn-reset:hover { color: var(--text); }

/* ---------- one photo ---------- */
.one-photo { background: radial-gradient(50% 60% at 30% 50%, oklch(0.45 0.12 260 / .18), transparent 70%); }
.one-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; align-items: stretch; }
.one-source { position: relative; min-height: 420px; border: 1px solid rgba(255, 255, 255, .14); background: var(--panel); }
.one-source-tag {
  position: absolute; left: 12px; top: 12px; padding: 4px 8px; background: #07080b; font-family: var(--pixel);
  font-size: 10px; color: var(--link); pointer-events: none;
}
.one-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; grid-column: span 2; min-width: 0; }
.one-tile { position: relative; aspect-ratio: 3 / 4; border: 2px solid var(--edge); background: var(--panel); overflow: hidden; }
.one-name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 12px;
  background: linear-gradient(180deg, transparent, #07080b 80%); font-weight: 700; font-size: 14px; pointer-events: none;
}

/* ---------- pricing ---------- */
.pricing { position: relative; padding: 104px var(--gutter); border-top: 1px solid var(--rule); overflow: hidden; }
.pricing-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 50% at 50% 55%, oklch(0.55 0.16 55 / .2), transparent 70%); }
.pricing-inner { position: relative; max-width: 1120px; margin: 0 auto; }
.pricing-head { text-align: center; margin-bottom: 56px; }
.pricing-head p { margin: 16px 0 0; font-size: 16px; color: var(--dim); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; align-items: center; }
.plan {
  position: relative; background: var(--panel); border: 2px solid var(--edge); padding: 30px 28px;
  display: flex; flex-direction: column; gap: 20px;
}
.plan--featured {
  background: linear-gradient(180deg, oklch(0.82 0.15 70 / .14), #0d0f14 55%); border-color: var(--accent);
  padding: 40px 30px; box-shadow: 0 40px 100px -30px oklch(0.7 0.16 60 / .55);
}
.plan-tag {
  position: absolute; top: -13px; left: 24px; font-family: var(--pixel); font-size: 11px; padding: 5px 9px;
  background: #eceef2; color: var(--accent-ink);
}
.plan-tag--featured { background: var(--accent); }
.plan-name { font-family: var(--pixel); font-size: 13px; color: var(--soft); }
.plan-price { display: flex; align-items: baseline; gap: 10px; }
.plan-amount { font-family: var(--display); font-weight: 900; font-size: 68px; line-height: .9; }
.plan-once { font-size: 13px; color: var(--muted); }
.plan-per { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-top: -8px; }
.plan-rule { height: 1px; background: rgba(255, 255, 255, .08); }
.plan-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plan-features li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: #d5d8df; line-height: 1.35; }
.plan-features li::before { content: ''; flex-shrink: 0; margin-top: 5px; width: 9px; height: 9px; background: var(--accent); }
.plan-btn {
  position: relative; overflow: hidden; min-height: 52px; margin-top: 8px; font-family: var(--sans); font-weight: 800; font-size: 15px;
  padding: 14px 18px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); color: var(--text); cursor: pointer;
}
.plan-btn--featured { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.plan-btn:hover { filter: brightness(1.12); }

/* ---------- sticky CTA ---------- */
/* Centering lives on the wrapper so the rise animation's final transform can't override it. */
.sticky-wrap { position: fixed; left: 0; right: 0; bottom: 20px; z-index: 40; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; }
.sticky-bar {
  pointer-events: auto; animation: gcRise .4s both; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 18px;
  background: rgba(13, 15, 20, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 20px 60px -10px rgba(0, 0, 0, .8); max-width: 100%; min-width: 0;
}
.sticky-text { font-size: 14px; font-weight: 600; color: var(--soft); white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sticky-btn {
  min-height: 44px; white-space: nowrap; font-family: var(--sans); font-weight: 800; font-size: 14px; padding: 0 18px;
  border: 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; flex-shrink: 0;
}
.sticky-btn:hover { background: var(--accent-hover); }

/* ---------- final CTA + footer ---------- */
.final { position: relative; padding: 120px var(--gutter); text-align: center; overflow: hidden; }
.final-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 70% at 50% 100%, oklch(0.55 0.16 55 / .4), transparent 70%); }
.final-inner { position: relative; max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.final h2 {
  margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(48px, 7.4vw, 112px); line-height: .88; text-wrap: balance;
}
.final p { margin: 0; font-size: 18px; color: var(--body); }
.site-footer { border-top: 1px solid var(--rule); padding: 28px var(--gutter); }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); }

/* ---------- image slots (placeholder until a real image is configured) ---------- */
.slot { position: absolute; inset: 0; overflow: hidden; }
.slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot-empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 12px; text-align: center; color: var(--link); font-size: 13px; font-weight: 500; letter-spacing: .01em;
  background: rgba(255, 255, 255, .045);
}
.slot-empty svg { opacity: .45; flex: none; }
.slot-empty .cap { max-width: 90%; }
.slot-ring { position: absolute; inset: 0; border: 1.5px dashed currentColor; opacity: .35; pointer-events: none; color: var(--link); }
.slot[data-compact] .slot-empty { padding: 2px; font-size: 10px; }
.slot[data-compact] .slot-empty svg { display: none; }

/* ---------- debug event log (?debug=1) ---------- */
.event-log {
  position: fixed; left: 16px; bottom: 16px; z-index: 50; width: 300px; max-height: 260px; overflow: auto;
  background: rgba(7, 8, 11, .92); border: 1px solid rgba(255, 255, 255, .14); padding: 12px;
  font-family: var(--mono); font-size: 11px; color: var(--link);
}
.event-log-title { color: var(--accent); margin-bottom: 8px; letter-spacing: .1em; }
.event-log-row { padding: 3px 0; border-top: 1px solid var(--rule); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
