/* Aurora v2 - motion, depth and editor polish. Loaded after aurora.css. */
@property --a-ang{syntax:'<angle>';inherits:false;initial-value:0deg}
html:has(#landing){scroll-padding-top:96px}
::selection{background:rgba(139,92,246,.45);color:#fff}
@media screen{
body:not(.editing):has(#landing)>header{position:sticky;top:0;z-index:50;background:rgba(7,7,12,.82);box-shadow:0 0 0 100vmax rgba(7,7,12,.82);clip-path:inset(0 -100vmax);backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%)}
body:not(.editing):has(#landing)>header nav a{position:relative;padding:6px 0}
body:not(.editing):has(#landing)>header nav a:after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:2px;background:linear-gradient(90deg,#a78bfa,#67e8f9);transform:scaleX(0);transition:transform .25s}
body:not(.editing):has(#landing)>header nav a:hover:after{transform:scaleX(1)}
body:not(.editing):has(#landing){scrollbar-color:#3b3557 #07070c}
#landing:after{content:'';position:absolute;left:50%;bottom:-300px;width:1100px;height:600px;margin-left:-550px;border-radius:50%;background:radial-gradient(closest-side,rgba(99,102,241,.28),rgba(99,102,241,0));filter:blur(40px);pointer-events:none;z-index:0}
#landing h1 em,#landing h2 em{background-size:200% 100%;animation:a-shimmer 6s ease-in-out infinite}
#landing .primary{position:relative;overflow:hidden}
#landing .primary:after{content:'';position:absolute;top:0;bottom:0;left:-60%;width:40%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent);transform:skewX(-20deg);transition:left .6s;pointer-events:none}
#landing .primary:hover:after{left:130%}
#landing .hero:before{animation:a-drift1 14s ease-in-out infinite alternate}
#landing .hero:after{animation:a-drift2 18s ease-in-out infinite alternate}
#landing .hero-art{perspective:1400px}
#landing .hero-art>.sample-sheet{transform:rotateY(-12deg) rotateX(6deg) rotate(-2deg);transition:transform .6s cubic-bezier(.2,.8,.2,1);border-radius:6px}
#landing .hero-art:hover>.sample-sheet{transform:rotateY(0) rotateX(0) rotate(0) translateY(-4px)}
#landing .floating-label{animation:a-float 6s ease-in-out infinite}
#landing .floating-bottom{animation:a-float 7s ease-in-out infinite reverse}
#landing .hero-price{animation:a-float 8s ease-in-out infinite}
#landing .benefits{flex-wrap:wrap;row-gap:12px}
#landing .benefits strong{padding:9px 16px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.10)}
#landing .template-card,#landing .craft-card:not(.craft-main),#landing .writing-card,#landing .resource-grid a,#landing .faq details{border:1px solid transparent;background:linear-gradient(#0e0d1a,#0e0d1a) padding-box,linear-gradient(135deg,rgba(196,181,253,.38),rgba(255,255,255,.06) 40%,rgba(103,232,249,.22) 70%,rgba(249,168,212,.32)) border-box}
#landing .faq details[open]{background:linear-gradient(#141127,#141127) padding-box,linear-gradient(135deg,rgba(196,181,253,.6),rgba(103,232,249,.35),rgba(249,168,212,.5)) border-box}
#landing .template-card:hover,#landing .craft-card:hover,#landing .resource-grid a:hover{box-shadow:0 24px 60px rgba(0,0,0,.5),0 0 50px rgba(139,92,246,.22)}
#landing .template-image .sample-sheet{transition:transform .3s,scale .4s}
#landing .template-card:hover .sample-sheet{scale:1.03}
#landing .template-info button{transition:transform .2s,box-shadow .2s}
#landing .template-info button:hover{transform:rotate(45deg);box-shadow:0 0 20px rgba(255,255,255,.35)}
#landing .resource-grid a h3{background:linear-gradient(90deg,#fff,#c4b5fd);-webkit-background-clip:text;background-clip:text;color:transparent}
#landing .steps article>span{flex:none;width:58px;height:58px;display:grid;place-items:center;border-radius:50%;font-size:20px;line-height:1;color:#fff;-webkit-text-fill-color:#fff;background:linear-gradient(#0e0d1a,#0e0d1a) padding-box,linear-gradient(135deg,#a78bfa,#67e8f9) border-box;border:2px solid transparent;box-shadow:0 0 28px rgba(139,92,246,.45)}
#landing .steps article:nth-child(2)>span{background:linear-gradient(#0e0d1a,#0e0d1a) padding-box,linear-gradient(135deg,#67e8f9,#f472b6) border-box;box-shadow:0 0 28px rgba(34,211,238,.4)}
#landing .steps article:nth-child(3)>span{background:linear-gradient(#0e0d1a,#0e0d1a) padding-box,linear-gradient(135deg,#f472b6,#a78bfa) border-box;box-shadow:0 0 28px rgba(244,114,182,.4)}
#landing .price-card{position:relative;box-shadow:0 40px 100px rgba(139,92,246,.35)}
#landing .price-card:before{content:'';position:absolute;inset:-2px;border-radius:30px;padding:2px;background:conic-gradient(from var(--a-ang),#a78bfa,#67e8f9,#f472b6,#a78bfa);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:a-spin 6s linear infinite;pointer-events:none}
#landing .price-card>.price{font-size:104px;letter-spacing:-.05em}
#landing .faq summary{padding-right:48px;min-height:32px;display:flex;align-items:center}
#landing .faq summary:after{top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;background:rgba(139,92,246,.2);display:grid;place-items:center;font-size:20px;line-height:1;transition:background .2s}
#landing .faq details[open] summary:after{background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff}
body.editing{font-family:'Plus Jakarta Sans',Manrope,'DM Sans',Arial,sans-serif;background:#0b0a14}
body.editing .studio-toolbar{background:rgba(10,9,18,.88);border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 10px 30px rgba(0,0,0,.25);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);color:#f5f5fa}
body.editing .studio-toolbar .text-link{color:#e4e4ef;font-weight:600}
body.editing .studio-toolbar .text-link:hover{color:#c4b5fd}
body.editing .studio-label{color:#c4b5fd;font-weight:700}
body.editing #save-status{color:#6ee7b7;background:rgba(52,211,153,.12);padding:6px 12px;border-radius:999px;font-weight:600}
body.editing .studio-toolbar .outline{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);color:#f5f5fa;border-radius:999px}
body.editing .studio-toolbar .outline:hover{background:rgba(255,255,255,.12)}
body.editing .studio-toolbar .primary,body.editing .mobile-view,dialog .primary{background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff;border:0;border-radius:999px;font-weight:700;box-shadow:0 8px 24px rgba(139,92,246,.45)}
body.editing .studio-toolbar .primary:hover,dialog .primary:hover{background:linear-gradient(135deg,#9b6dff,#7376ff)}
body.editing .editor{background:#fbfafe;border-right:1px solid #ebe7f3}
body.editing .editor-title .eyebrow{color:#7c3aed;font-weight:700}
body.editing .editor-title h2{font-family:'Plus Jakarta Sans',Manrope,Arial,sans-serif;font-weight:800;letter-spacing:-.04em;color:#17142a}
body.editing .draft-progress{background:linear-gradient(135deg,#f3efff,#eefbff);border-color:#e3dcf6}
body.editing .progress-track>span{background:linear-gradient(90deg,#8b5cf6,#22d3ee)}
body.editing .editor-tabs{background:#efeaf8;border-radius:999px;padding:5px}
body.editing .editor-tabs button{border-radius:999px;font-weight:600;font-size:12px;color:#6b5a85}
body.editing .editor-tabs button.active{background:#17142a;color:#fff;box-shadow:0 4px 12px rgba(23,20,42,.25)}
body.editing .editor details{border-radius:14px}
body.editing .editor details[open]{border-color:#cdbcf2;box-shadow:0 8px 24px rgba(91,58,180,.08)}
body.editing .editor summary{font-weight:700;color:#2b2540;font-size:13px}
body.editing .editor details[open]>summary:before{background:linear-gradient(135deg,#8b5cf6,#22d3ee)}
body.editing .editor label{color:#5d5470;font-size:11px;font-weight:600}
body.editing .editor input,body.editing .editor textarea,body.editing .editor select{font-family:'Plus Jakarta Sans',Manrope,Arial,sans-serif;color:#1f1b30;background:#fff;border:1px solid #e2dcee;border-radius:10px;font-size:13px;transition:border-color .2s,box-shadow .2s}
body.editing .editor input:focus,body.editing .editor textarea:focus,body.editing .editor select:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 4px rgba(139,92,246,.18)}
body.editing .editor .add{border-radius:12px;border-color:#c9b6f0;color:#6d4fc4;font-weight:600}
body.editing .entry{border-radius:12px}
body.editing .template-option{border-radius:12px;transition:border-color .2s,box-shadow .2s}
body.editing .template-option.selected{border:1px solid transparent;background:linear-gradient(#f6f2ff,#f6f2ff) padding-box,linear-gradient(135deg,#8b5cf6,#22d3ee) border-box;box-shadow:0 6px 18px rgba(139,92,246,.15)}
body.editing .swatch.selected{outline:2px solid #8b5cf6;outline-offset:2px}
body.editing .tip{background:linear-gradient(135deg,#f3efff,#eefbff);color:#5b3fb0;border-radius:12px}
body.editing .preview-zone{background-color:#0b0a14;background-image:radial-gradient(ellipse 60% 40% at 30% 0%,rgba(139,92,246,.28),transparent),radial-gradient(ellipse 50% 40% at 90% 30%,rgba(34,211,238,.14),transparent),radial-gradient(rgba(255,255,255,.07) .7px,transparent .7px);background-size:auto,auto,10px 10px}
body.editing .preview-top{color:#b4b6cc}
body.editing .preview-top i{background:#34d399;box-shadow:0 0 0 3px rgba(52,211,153,.25),0 0 10px #34d399}
body.editing .preview-controls span{color:#b4b6cc}
body.editing .preview-controls button{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);color:#e4e4ef;border-radius:999px;padding:6px 12px;font-size:10px}
body.editing .preview-controls button[aria-pressed="true"]{background:#f5f5fa;color:#07070c}
body.editing .paper{box-shadow:0 40px 90px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.08);border-radius:4px}
body.editing .preview-note{color:#8c8fa8}
dialog{border-radius:22px;font-family:'Plus Jakarta Sans',Manrope,Arial,sans-serif}
dialog h2{font-family:'Plus Jakarta Sans',Manrope,Arial,sans-serif;font-weight:800;letter-spacing:-.04em;color:#17142a}
dialog::backdrop{background:rgba(7,7,12,.7);backdrop-filter:blur(6px)}
#toast{background:rgba(18,17,30,.92);border:1px solid rgba(255,255,255,.12);border-radius:999px;box-shadow:0 12px 30px rgba(0,0,0,.4)}
}
@media (prefers-reduced-motion:no-preference){
@supports (animation-timeline:view()){
#landing .section-heading,#landing .template-card,#landing .craft-card,#landing .story-copy,#landing .writing-card,#landing .steps article,#landing .price-card,#landing .resource-grid a,#landing .faq details{animation:a-reveal linear both;animation-timeline:view();animation-range:entry 0% entry 60%}
}
}
@keyframes a-shimmer{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes a-drift1{to{translate:120px 60px;scale:1.1}}
@keyframes a-drift2{to{translate:-140px -40px;scale:1.15}}
@keyframes a-float{50%{translate:0 -10px}}
@keyframes a-spin{to{--a-ang:360deg}}
@keyframes a-reveal{from{opacity:0;translate:0 36px}to{opacity:1;translate:0 0}}
@media (prefers-reduced-motion:reduce){#landing h1 em,#landing h2 em,#landing .hero:before,#landing .hero:after,#landing .floating-label,#landing .floating-bottom,#landing .hero-price,#landing .price-card:before{animation:none}}
