.page-shell { position: relative; max-width: 1440px; min-height: 100vh; margin: 0 auto; padding: 0 7.1%; display: flex; flex-direction: column; overflow: hidden; }
.page-shell::before,.page-shell::after { position: fixed; z-index: -1; width: 420px; height: 420px; border-radius: 50%; filter: blur(130px); opacity: .16; pointer-events: none; content: ''; }
.page-shell::before { top: 80px; right: -220px; background: #9a53ff; }
.page-shell::after { bottom: 40px; left: -260px; background: #7042c5; opacity: .11; }
.topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #f4f3fa; text-decoration: none; font-size: 18px; font-weight: 680; letter-spacing: -.7px; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(192,153,255,.25); border-radius: 10px; background: linear-gradient(145deg,#242035,#171722); color: #c99cff; font-size: 17px; font-weight: 700; box-shadow: 0 0 22px rgba(157,93,255,.12); }
.topbar nav { display: flex; gap: 34px; }
.topbar nav a { color: #9190a3; text-decoration: none; font-size: 12px; transition: color .2s; }
.topbar nav a:hover { color: #e4d6ff; }
.topbar-cta { padding: 10px 14px; border: 1px solid rgba(208,193,238,.14); border-radius: 10px; background: rgba(255,255,255,.025); color: #d5d1e0; font-size: 11px; text-decoration: none; transition: border-color .2s, background .2s; }
.topbar-cta:hover { border-color: rgba(185,133,255,.5); background: rgba(160,102,255,.08); }
.topbar-cta span { margin-left: 8px; color: #c593ff; }
.hero { min-height: 690px; padding: 84px 0 72px; display: grid; grid-template-columns: minmax(370px,.88fr) minmax(440px,1.12fr); align-items: center; gap: clamp(42px,7vw,104px); }
.hero-copy { min-width: 0; display: flex; align-items: flex-start; flex-direction: column; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #a6a0b8; font-size: 9px; font-weight: 700; letter-spacing: 1.8px; }
.status-dot { width: 7px; height: 7px; background: #c08aff; border-radius: 50%; box-shadow: 0 0 12px rgba(192,138,255,.75); }
h1 { margin: 22px 0 15px; color: #f5f3fb; font-size: clamp(43px,5.1vw,66px); line-height: 1.04; letter-spacing: -4px; font-weight: 620; }
h1 span { color: #c091ff; background: linear-gradient(100deg,#a978ff 10%,#c78dff 58%,#e1a6ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.intro { max-width: 425px; margin: 0; color: #9a98aa; font-size: 14px; line-height: 1.75; }
.upload-card { width: min(100%, 490px); min-height: 230px; margin-top: 29px; box-sizing: border-box; border: 1px dashed rgba(181,156,219,.29); border-radius: 16px; background: linear-gradient(145deg,rgba(25,24,37,.96),rgba(17,18,28,.94)); display: flex; align-items: center; flex-direction: column; justify-content: center; box-shadow: 0 18px 60px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.025); transition: border-color .2s, background .2s, box-shadow .2s; }
.upload-card.is-dragging { border-color: #bd88ff; background: #1d1729; box-shadow: 0 0 0 3px rgba(182,123,255,.1); }
.upload-card.has-file { padding: 25px 20px; }
.file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.upload-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 13px; border: 1px solid rgba(193,150,255,.13); border-radius: 13px; background: #211b2f; color: #c293ff; }
.upload-icon svg { width: 22px; height: 22px; }
.upload-card strong { color: #eeebf6; font-size: 13px; font-weight: 600; }
.upload-hint { margin-top: 7px; color: #858397; font-size: 11px; }
.primary-button { margin-top: 18px; display: flex; align-items: center; gap: 14px; padding: 11px 16px; border: 1px solid rgba(222,198,255,.18); border-radius: 9px; background: linear-gradient(110deg,#a35bf1,#7849d9); color: #fff; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; box-shadow: 0 8px 24px rgba(132,73,222,.2); transition: filter .2s, transform .2s, box-shadow .2s; }
.primary-button:hover { filter: brightness(1.12); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(132,73,222,.3); }
.primary-button span { color: #f3e8ff; font-size: 14px; }
.file-types { margin-top: 12px; color: #737185; font-size: 9px; }
.selected-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-actions { display: flex; align-items: center; gap: 14px; margin-top: 7px; }
.remove-button { margin-top: 0; padding: 10px 4px; border: 0; background: transparent; color: #9994a8; font: inherit; font-size: 11px; cursor: pointer; }
.remove-button:hover { color: #eee7fa; }
.secondary-button { padding: 10px 13px; border: 1px solid rgba(205,190,228,.16); border-radius: 8px; background: rgba(255,255,255,.025); color: #c6c0d2; font: inherit; font-size: 11px; cursor: pointer; transition: border-color .2s, background .2s; }
.secondary-button:hover { border-color: rgba(185,133,255,.42); background: rgba(160,102,255,.08); }
.file-actions .remove-button { margin-top: 0; }
.generate-button { min-width: 187px; justify-content: center; }
.primary-button:disabled { cursor: wait; opacity: .78; transform: none; }
.spinner { width: 13px; height: 13px; border: 1.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.upload-error { margin: 13px 18px 0; color: #ff949c; font-size: 11px; }
.prompt-field { width: min(100%, 490px); margin-top: 18px; display: flex; flex-direction: column; gap: 8px; text-align: left; color: #b9b4c6; font-size: 10px; }
.optional { color: #777387; }
.prompt-field textarea { width: 100%; resize: vertical; min-height: 59px; padding: 11px 13px; border: 1px solid rgba(205,190,228,.12); border-radius: 9px; background: rgba(18,18,28,.74); color: #e3deec; font: inherit; font-size: 11px; line-height: 1.5; }
.prompt-field textarea::placeholder { color: #706d80; }
.prompt-field textarea:focus { outline: 2px solid #a977ed; outline-offset: 1px; }
.privacy-note { margin-top: 14px; color: #777487; font-size: 9px; line-height: 1.6; }
.privacy-note span, .footer-heart { color: #bd87ff; }

/* Decorative product preview */
.studio-preview { min-width: 0; perspective: 1200px; }
.preview-window { position: relative; padding: 0 18px 19px; border: 1px solid rgba(205,190,228,.15); border-radius: 21px; background: linear-gradient(145deg,rgba(24,23,35,.98),rgba(15,16,25,.98)); box-shadow: 0 28px 90px rgba(0,0,0,.4),0 0 80px rgba(132,78,206,.1),inset 0 1px rgba(255,255,255,.045); transform: rotateY(-3deg) rotateX(1deg); }
.preview-window::before { position: absolute; z-index: -1; inset: -35px 8% 44%; border-radius: 50%; background: rgba(145,81,224,.24); filter: blur(65px); content: ''; }
.preview-window-bar,.editor-top { height: 47px; display: flex; align-items: center; gap: 14px; color: #7c798d; font-size: 8px; letter-spacing: 1.2px; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #ec7782; }
.window-dots i:nth-child(2) { background: #e6bb64; }.window-dots i:nth-child(3) { background: #68cc9a; }
.device-pill { margin-left: auto; padding: 6px 9px; border: 1px solid rgba(205,190,228,.1); border-radius: 6px; color: #ada8ba; letter-spacing: 0; }
.device-pill b,.editor-ready b { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: #63d6a0; box-shadow: 0 0 8px rgba(99,214,160,.5); }
.sample-page { overflow: hidden; border-radius: 11px; background: #f8f8fa; box-shadow: 0 9px 32px rgba(0,0,0,.22); }
.sample-browser { height: 24px; display: flex; align-items: center; gap: 5px; padding: 0 12px; background: #e9eaf0; }
.sample-browser i { width: 5px; height: 5px; border-radius: 50%; background: #f17c80; }.sample-browser i:nth-child(2) { background: #e7b857; }.sample-browser i:nth-child(3) { background: #66c992; }
.sample-browser span { width: 34%; height: 8px; margin: auto; border-radius: 6px; background: #f7f7f9; }
.sample-content { position: relative; min-height: 203px; padding: 28px 27px; color: #14131d; }
.sample-kicker { color: #7751b3; font-size: 7px; font-weight: 700; letter-spacing: 1.4px; }
.sample-content h2 { position: relative; z-index: 1; margin: 11px 0 8px; color: #17141f; font-size: clamp(22px,2.4vw,31px); line-height: 1.02; letter-spacing: -1.3px; }
.sample-content p { position: relative; z-index: 1; margin: 0; color: #777481; font-size: 8px; }
.sample-button { position: relative; z-index: 1; width: max-content; margin-top: 15px; padding: 8px 10px; border-radius: 6px; background: #8956df; color: white; font-size: 7px; }.sample-button span { margin-left: 10px; }
.sample-art { position: absolute; top: 34px; right: 8%; width: 130px; height: 130px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(145deg,#f1edf9,#e7e0f2); }
.art-orbit { position: absolute; width: 78px; height: 78px; border: 1px solid rgba(144,89,211,.35); border-radius: 50%; transform: rotateX(65deg) rotate(-25deg); }.orbit-two { width: 106px; height: 106px; transform: rotateX(65deg) rotate(35deg); border-color: rgba(144,89,211,.22); }
.art-core { width: 42px; height: 42px; border-radius: 50%; background: radial-gradient(circle at 32% 27%,#e1c5ff,#a76bea 54%,#7140bb); box-shadow: 0 0 30px rgba(154,83,224,.42); }
.editor-window { margin-top: 14px; padding: 0 15px 13px; border: 1px solid rgba(207,193,232,.1); border-radius: 10px; background: #0b0d14; }
.editor-top { height: 35px; gap: 10px; font-size: 8px; letter-spacing: 0; }.editor-top .window-dots i { width: 5px; height: 5px; }
.editor-ready { margin-left: auto; color: #79768a; font-size: 7px; letter-spacing: 1px; }.editor-ready b { width: 4px; height: 4px; background: #bd87ff; }
.editor-code { display: flex; flex-direction: column; gap: 9px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.06); overflow: hidden; color: #d7d2e1; font: 8px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace; white-space: nowrap; }
.editor-code div { display: flex; gap: 7px; }.editor-code small { width: 15px; color: #646176; }.editor-code em { color: #c391f4; font-style: normal; }.editor-code strong { color: #dce5f4; font-weight: 400; }.editor-code label { color: #acd79a; }
.preview-caption { display: flex; align-items: center; gap: 10px; padding: 15px 4px 0; }.caption-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; background: rgba(161,103,229,.13); color: #c391f4; font-size: 14px; }.preview-caption strong,.preview-caption small { display: block; }.preview-caption strong { color: #ded9e9; font-size: 9px; font-weight: 600; }.preview-caption small { margin-top: 4px; color: #777487; font-size: 8px; }.caption-check { margin-left: auto; color: #71d7a4; font-size: 14px; }

/* Comfortable reading sizes across the workspace and decorative preview. */
.topbar nav a { font-size: 14px; }
.topbar-cta { font-size: 13px; }
.eyebrow { font-size: 11px; }
.intro { font-size: 16px; }
.upload-card strong { font-size: 15px; }
.upload-hint { font-size: 13px; }
.primary-button,.secondary-button,.remove-button { font-size: 13px; }
.file-types,.upload-error { font-size: 11px; }
.prompt-field { font-size: 12px; }
.prompt-field textarea { font-size: 13px; }
.privacy-note { font-size: 11px; }
.preview-window-bar { font-size: 10px; }
.device-pill { font-size: 10px; }
.sample-kicker { font-size: 9px; }
.sample-content p { font-size: 10px; }
.sample-button { font-size: 9px; }
.editor-code { font-size: 10px; }
.editor-ready { font-size: 8px; }
.preview-caption strong { font-size: 11px; }
.preview-caption small { font-size: 10px; }
.result-toolbar { font-size: 11px; }
.result-tabs button { font-size: 12px; }
.result-note { font-size: 11px; }
.steps strong { font-size: 12px; }
.steps p { font-size: 11px; }
.step-number { font-size: 13px; }
footer { font-size: 11px; }

.result-section { margin: 0 0 72px; padding: 30px; border: 1px solid var(--line); border-radius: 17px; background: rgba(20,20,30,.86); box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.result-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }.result-heading h2 { margin: 9px 0 0; color: #f1edf8; font-size: 24px; font-weight: 560; letter-spacing: -1px; }.result-actions { display: flex; gap: 8px; align-items: center; }.result-actions .primary-button { margin: 0; }
.result-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; }.result-toolbar { height: 48px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: #151520; color: #858196; font-size: 9px; }.result-tabs { display: flex; align-self: stretch; gap: 18px; }.result-tabs button { position: relative; padding: 0 2px; border: 0; background: transparent; color: #918da1; font: inherit; font-size: 10px; cursor: pointer; }.result-tabs button.active { color: #eee7fa; font-weight: 600; }.result-tabs button.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #b77bfa; content: ''; }.preview-frame { display: block; width: 100%; height: 560px; border: 0; background: #fff; }.code-view { height: 560px; overflow: auto; margin: 0; padding: 22px; background: #0b0d14; color: #e2dcec; font: 12px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace; white-space: pre-wrap; overflow-wrap: anywhere; }.result-note { margin: 14px 0 0; color: #777487; font-size: 9px; }
.steps { padding: 26px 0 31px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 24px; }.steps article { display: flex; align-items: flex-start; gap: 13px; }.step-number { color: #bd87ff; font-size: 9px; font-weight: 700; letter-spacing: .5px; padding-top: 2px; }.steps strong { display: block; color: #d0cbd9; font-size: 10px; font-weight: 600; }.steps p { margin: 5px 0 0; color: #777487; font-size: 9px; }.step-line { width: 1px; height: 28px; background: var(--line); }
footer { padding: 23px 0; display: flex; justify-content: space-between; color: #6f6d80; font-size: 9px; }
@media (max-width: 1000px) { .page-shell { padding: 0 5%; }.hero { gap: 38px; grid-template-columns: minmax(330px,.92fr) minmax(350px,1.08fr); }.preview-window { padding-right: 13px; padding-left: 13px; }.sample-art { width: 112px; height: 125px; right: 6%; } }
@media (max-width: 760px) { .page-shell { padding: 0 24px; }.topbar { height: 70px; }.topbar nav { gap: 18px; }.topbar nav a { font-size: 11px; }.hero { min-height: 0; padding: 58px 0 56px; grid-template-columns: 1fr; gap: 42px; }.hero-copy { width: 100%; align-items: center; text-align: center; }.intro { max-width: 460px; font-size: 13px; }.upload-card,.prompt-field { width: min(100%,520px); }.privacy-note { max-width: 480px; }.studio-preview { width: min(100%,580px); margin: 0 auto; }.preview-window { transform: none; }.sample-content { min-height: 215px; }.sample-art { width: 150px; height: 150px; }.steps { align-items: flex-start; flex-direction: column; gap: 17px; padding: 24px 6px; }.step-line { display: none; } }
@media (max-width: 520px) { .page-shell { padding: 0 18px; }.topbar { gap: 10px; }.topbar nav { display: none; }.topbar-cta { margin-left: auto; padding: 8px 10px; font-size: 10px; }.hero { padding-top: 48px; gap: 35px; }h1 { font-size: clamp(39px,11vw,52px); letter-spacing: -2.8px; }.intro { font-size: 12px; }.upload-card { min-height: 220px; }.sample-content { min-height: 190px; padding: 25px 20px; }.sample-art { top: 38px; right: 4%; width: 105px; height: 120px; }.sample-content h2 { font-size: clamp(21px,6vw,28px); }.editor-code { font-size: 7px; gap: 8px; }.preview-window { padding: 0 10px 14px; }.result-section { margin-bottom: 52px; padding: 19px 13px; }.result-heading { align-items: flex-start; flex-direction: column; }.result-heading h2 { font-size: 21px; }.result-actions { width: 100%; }.result-actions .secondary-button,.result-actions .primary-button { flex: 1; justify-content: center; padding-right: 9px; padding-left: 9px; }.preview-frame,.code-view { height: 430px; }.prompt-field { margin-top: 17px; }.file-actions { gap: 8px; } }
@media (max-width: 520px) { .topbar-cta { font-size: 12px; }.intro { font-size: 14px; }.editor-code { font-size: 8px; }.sample-content p { max-width: 190px; font-size: 9px; }.sample-kicker { font-size: 8px; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
.steps .step-number { font-size: 15px; }
.steps article { gap: 16px; }
.steps article strong { font-size: 18px; }
.steps article p { font-size: 15px; line-height: 1.5; }
.steps .step-number { font-size: 20px; }
.brand { gap: 13px; font-size: 28px; }
.brand-mark { width: 42px; height: 42px; font-size: 22px; }
.brand-label { letter-spacing: -1px; }
.brand-css { color: #c091ff; }
.brand-guru { color: #f4f3fa; }
.brand-guru { margin-left: 5px; }
.brand-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; line-height: 1; }
.brand-tagline { color: #918aa4; font-size: 9px; font-weight: 700; letter-spacing: 1.8px; }
.hero { min-height: 690px; padding: 46px 0 72px; align-content: start; grid-template-rows: auto 1fr; row-gap: 34px; }
.hero-heading { grid-column: 1 / -1; width: 100%; text-align: center; }
.hero-heading h1 { max-width: 1100px; margin: 0 auto 12px; text-align: center; }
.hero-heading .intro { max-width: 560px; margin: 0 auto; font-size: 16px; }
.brand { gap: 0; }
.brand-label { font-weight: 800; }
.brand-guru { margin-left: 0; }
.brand { font-size: 36px; }
.brand-tagline { font-size: 10px; letter-spacing: 2.2px; }
.upload-card { min-height: 300px; }
.hero-copy,.studio-preview { align-self: start; }
.hero-copy .upload-card { margin-top: 0; }
.privacy-note { font-size: 14px; line-height: 1.6; }
@media (max-width: 520px) { .upload-card { min-height: 270px; } }
@media (max-width: 520px) { .privacy-note { font-size: 12px; } }
footer { font-size: 13px; }
@media (max-width: 520px) { footer { font-size: 12px; } }
@media (max-width: 760px) {
  .hero { min-height: 0; padding: 48px 0 56px; row-gap: 30px; }
  .hero-heading h1 { font-size: clamp(39px, 11vw, 52px); letter-spacing: -2.8px; }
  .hero-heading .intro { font-size: 14px; }
}
:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #ece9f3; background: #0b0d14; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-optical-sizing: auto; font-weight: 400; --line: rgba(202,190,222,.11); }
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: #0b0d14; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(ellipse at 76% 24%,rgba(74,45,111,.13),transparent 36%),linear-gradient(135deg,#10121b 0%,#0b0d14 56%,#10101a 100%); }
button,a { -webkit-tap-highlight-color: transparent; }
button:focus-visible,a:focus-visible { outline: 2px solid #bd87ff; outline-offset: 3px; }
[hidden] { display: none !important; }
.upload-content,.selected-content { width: 100%; display: flex; align-items: center; flex-direction: column; justify-content: center; }
