/* Compact home hero. Scoped so inner pages retain their existing layout. */
.hero.hero-compact{isolation:isolate;overflow:hidden;padding:72px 0 80px;background:#fafaf8}
.hero-compact .hero-layout{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:64px;width:min(1240px,calc(100% - 96px));min-height:440px}
.hero-compact .hero-copy{text-align:left;padding:0;min-width:0;animation:genspark-copy-in .65s cubic-bezier(.2,.7,.2,1) both}
.hero-compact h1{margin:0;font-size:clamp(42px,4.8vw,64px);line-height:1.07;font-weight:780;letter-spacing:-.055em;color:#202b32}
.hero-compact .hero-brand-line{display:block}
.hero-compact h1 em{display:inline-block;position:relative;z-index:0;color:#237d82;font-weight:650;font-style:normal}
.hero-compact h1 em::after{content:"";position:absolute;z-index:-1;left:0;right:0;bottom:.04em;height:.14em;border-radius:70% 40% 60% 35%;background:#f1c99c;transform:rotate(-1.5deg)}
.hero-compact .lead{max-width:390px;margin:26px 0 0;font-size:17px;line-height:1.7;color:#5c666c;text-wrap:pretty}
.hero-compact .actions{justify-content:flex-start;margin:29px 0 0;gap:0}
.hero-compact .button.primary{min-width:172px;min-height:52px;padding:14px 28px;background:#263b3f;border-color:#263b3f;border-radius:12px;font-size:14px;box-shadow:0 7px 18px #24444816}
.hero-compact .button.primary:hover{background:#225d62;border-color:#225d62;box-shadow:0 10px 25px #24444822;transform:translateY(-2px)}
.hero-compact .button.primary:active{transform:translateY(0)}
.hero-compact .hero-art{position:relative;min-width:0;padding:12px 0;animation:genspark-art-in .85s cubic-bezier(.2,.7,.2,1) both}
.hero-compact .hero-visual{position:relative;z-index:2;width:100%;max-width:none;margin:0;overflow:hidden;border:6px solid #fff;border-radius:24px;background:#f3ede3;box-shadow:0 25px 50px -24px #3a554c55;transform:rotate(-2deg)}
.hero-compact .hero-visual img{display:block;width:100%;height:auto;aspect-ratio:1.3;object-fit:cover;object-position:50% 50%}
.hero-compact .hero-paper{position:absolute;pointer-events:none;inset:16px 4px;border:1px solid #c3d9d4;border-radius:24px;background:#dce9e4;transform:rotate(4deg)}
.hero-compact .hero-paper-back{inset:26px 8px 10px;background:#f3dfc6;border-color:#ead4b8;transform:rotate(8deg)}
.hero-compact .hero-spark{position:absolute;z-index:3;pointer-events:none;font-size:44px;line-height:1;font-family:Arial,sans-serif;color:#dc8c4b;text-shadow:0 2px #fff9}
.hero-compact .hero-spark-one{top:-12px;right:12px;transform:rotate(12deg)}
.hero-compact .hero-spark-two{bottom:3px;left:-21px;font-size:29px;color:#478b88;transform:rotate(-12deg)}
.hero-compact .hero-glow{position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 80% 45%,#e1eee1aa,transparent 52%),radial-gradient(ellipse at 52% 82%,#f6e6d077,transparent 48%)}
.hero-compact+#preview{padding-top:60px}
@keyframes genspark-copy-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes genspark-art-in{from{opacity:0;transform:translateY(20px) rotate(2deg)}to{opacity:1;transform:none}}
@media(min-width:1500px){.hero.hero-compact{padding-block:76px 86px}.hero-compact .hero-layout{gap:76px}}
@media(max-width:1100px) and (min-width:781px){.hero-compact .hero-layout{width:calc(100% - 64px);gap:38px}.hero-compact h1{font-size:48px}.hero-compact .lead{font-size:16px}.hero.hero-compact{padding-block:56px 64px}.hero-compact .hero-visual img{aspect-ratio:1.15}}
@media(max-width:780px){.hero.hero-compact{padding:40px 0 52px}.hero-compact .hero-layout{grid-template-columns:1fr;gap:32px;width:min(550px,calc(100% - 40px));min-height:0}.hero-compact .hero-copy{text-align:center}.hero-compact h1{font-size:clamp(40px,7.9vw,58px);line-height:1.06;letter-spacing:-.05em}.hero-compact .lead{font-size:16px;line-height:1.6;max-width:410px;margin:20px auto 0}.hero-compact .actions{justify-content:center;margin-top:23px}.hero-compact .button.primary{min-height:48px;min-width:164px}.hero-compact .hero-art{width:calc(100% - 16px);max-width:440px;margin:auto;padding:8px 0}.hero-compact .hero-visual{border-width:5px;border-radius:19px;transform:rotate(-1.5deg)}.hero-compact .hero-visual img{aspect-ratio:1.6}.hero-compact .hero-paper{border-radius:19px;transform:rotate(3deg)}.hero-compact .hero-paper-back{transform:rotate(6deg)}.hero-compact .hero-spark-one{top:-4px;right:8px;font-size:31px}.hero-compact .hero-spark-two{font-size:24px;left:-13px;bottom:0}.hero-compact+#preview{padding-top:32px}}
@media(max-width:380px){.hero.hero-compact{padding-top:30px}.hero-compact .hero-layout{width:calc(100% - 36px);gap:28px}.hero-compact h1{font-size:38px}.hero-compact .lead{font-size:15px;margin-top:18px}.hero-compact .hero-visual img{aspect-ratio:1.45}}
@media(prefers-reduced-motion:reduce){.hero-compact .hero-copy,.hero-compact .hero-art{animation:none}.hero-compact .button.primary{transition:none}}
