.nav { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 14px clamp(16px, 4vw, 48px); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav nav { display: flex; align-items: center; gap: 6px; }
.nav nav a { color: var(--text-2); padding: 6px 10px; font-weight: 500; }
.nav nav a:hover { color: var(--text); }
@media (max-width: 720px) { .nav nav a, .nav nav .ghost { display: none; } }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 72px clamp(16px, 5vw, 72px) 56px; max-width: 1320px; margin: 0 auto; }
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; padding-top: 40px; } }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 13px; }
.pill svg { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.03; letter-spacing: -.035em; margin: 18px 0 16px; font-weight: 800; }
.grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--text-2); max-width: 560px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.ticks { display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 0; list-style: none; color: var(--text-3); font-size: 13px; }
.ticks li::before { content: '✓ '; color: var(--success); font-weight: 700; }

.art-window { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; position: relative; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); }
.art-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.art-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.art-bar span { margin-left: 10px; font-size: 12px; color: var(--text-3); }
.art-svg { display: block; width: 100%; height: auto; background: #fbfcff; }
.art-svg text { font: 600 13px var(--font); fill: #2a2f45; }
.art-svg .hand { font: 600 16px 'Comic Sans MS', 'Segoe Print', cursive; fill: #e5484d; }
.art-svg g { opacity: 0; animation: pop .5s cubic-bezier(.2,.9,.3,1.3) forwards; transform-box: fill-box; transform-origin: center; }
.art-svg .a1 { animation-delay: .4s } .art-svg .a2 { animation-delay: .9s } .art-svg .a3 { animation-delay: 1.4s }
.art-svg .a4 { animation-delay: 1.8s } .art-svg .a5 { animation-delay: 2.3s } .art-svg .a6 { animation-delay: 3s }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.art-prompt { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 13px; }
.art-prompt svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.caret { width: 2px; height: 16px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.features { padding: 56px clamp(16px, 5vw, 72px); max-width: 1320px; margin: 0 auto; }
.features h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; text-align: center; margin: 0 0 36px; }
.features .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.features article { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; transition: transform .2s, box-shadow .2s; }
.features article:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.features article > span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.features article > span svg { width: 20px; height: 20px; }
.features h3 { margin: 14px 0 6px; font-size: 16px; }
.features p { margin: 0; color: var(--text-2); }
.features code { font-size: 12px; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }

.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 24px clamp(16px, 5vw, 72px) 72px; max-width: 1320px; margin: 0 auto; }
.how > div { padding: 22px; border-radius: 16px; background: var(--surface-2); }
.how b { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gradient); color: #fff; }
.how h3 { margin: 12px 0 6px; }
.how p { margin: 0; color: var(--text-2); }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px clamp(16px, 5vw, 72px); border-top: 1px solid var(--border); }
.foot .brand { font-size: 15px; } .foot .brand-mark { width: 24px; height: 24px; }

.auth { display: grid; gap: 18px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); padding: 4px; border-radius: 10px; }
.auth-tabs button { border: 0; background: none; padding: 8px; border-radius: 8px; font-weight: 600; cursor: pointer; color: var(--text-2); }
.auth-tabs button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.auth form { display: grid; gap: 14px; }
.form-error { margin: 0; color: var(--danger); font-size: 13px; }
.strength { height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.strength i { display: block; height: 100%; width: 0; background: var(--danger); transition: width .2s, background .2s; }
.new-pill { display: inline-block; vertical-align: 2px; margin-left: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, #6d4aff, #12a594); border-radius: 999px; padding: 2px 8px; }
