/* Main-page look (landingpage-hub/site.css) applied on top of
   the demo page styles. Only visuals change; markup, copy and scripts stay. */
:root {
  --display: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --body: var(--display);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r: 18px;
}
body { -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1240px; padding: 0 40px; }

/* type: sentence case, tight, heavy */
h1, h2 { font-family: var(--display); text-transform: none; font-weight: 800; letter-spacing: -0.04em; }
h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.03; }
h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.06; text-wrap: balance; }
h1 em { background: linear-gradient(90deg, #ff713f, #ffb08f 60%, #ff713f); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: fx-shine 6s linear infinite; }
@keyframes fx-shine { to { background-position: -200% 0; } }
.eyebrow { letter-spacing: .14em; }
.spot-title { font-family: var(--display); text-transform: none; letter-spacing: -0.03em; font-weight: 800; }
.stat .stat-num { font-family: var(--display); letter-spacing: -0.05em; font-weight: 800; }
.final-price strong { font-family: var(--display); text-transform: none; letter-spacing: -0.03em; }

/* buttons: pills with glow instead of hard offset shadow */
.btn { border-radius: 999px; transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s; }
.btn-orange { box-shadow: 0 10px 30px -10px #ff713f99; }
.btn-orange:hover { box-shadow: 0 16px 40px -12px #ff713fcc; filter: none; }
.btn-wa { box-shadow: none; }
.btn-line { border-color: #ffffff40; }
.btn-dark { border-radius: 999px; }
.anim-toggle { border-radius: 999px; }

/* nav: transparent, blurs on scroll */
.top { background: #15191c99; backdrop-filter: blur(14px); transition: background .3s; }
.top.scrolled { background: #15191cd9; }

/* hero: glow + grid background */
.hero { isolation: isolate; background: var(--ink); }
.fx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fx-glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.fx-glow.g1 { width: 620px; height: 620px; background: #ff713f; top: -260px; right: -120px; opacity: .33; animation: fx-drift 18s ease-in-out infinite alternate; }
.fx-glow.g2 { width: 520px; height: 520px; background: #ff9b73; bottom: -120px; left: -260px; opacity: .12; animation: fx-drift 22s ease-in-out infinite alternate-reverse; }
.fx-grid { position: absolute; inset: 0; background-image: linear-gradient(#ffffff0a 1px, transparent 1px), linear-gradient(90deg, #ffffff0a 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 30% 30%, #000 20%, transparent 70%); }
@keyframes fx-drift { to { transform: translate(-80px, 60px) scale(1.12); } }
.pill { border-radius: 999px; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 14px; color: var(--on-dark); }
.hero-copy > * { animation: fx-rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; } .hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .28s; } .hero-copy > :nth-child(5) { animation-delay: .36s; } .hero-copy > :nth-child(6) { animation-delay: .44s; }
.hero-visual { animation: fx-rise 1.2s var(--ease) .4s both; }
@keyframes fx-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.checks li::before { border-radius: 50%; }
.device { box-shadow: 0 0 0 2px #3a4248, 0 60px 120px -40px #000, 0 0 80px -20px #ff713f55; }
.speed-badge { border-radius: 999px; transform: none; box-shadow: 0 10px 30px -10px #ff713f; padding: 9px 16px; }
.logo-chip { border-radius: 12px; }

/* surfaces: rounded, soft shadows, no hard offsets */
.stat { border-radius: var(--r); border-top: 0; background: var(--paper); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.stat:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px #15191c55; }
.stat-dark { background: var(--ink); border-color: var(--ink); }
.channel { border-radius: var(--r); border-top: 0; border: 1px solid var(--line); }
.channel:hover { box-shadow: 0 30px 60px -30px #15191c55; transform: translateY(-6px); }
.ch-ic { border-radius: 14px; }
.phone-spot { border-radius: 22px; border-top: 0; }
.call-card { border-radius: var(--r); box-shadow: 0 30px 60px -20px #000; }
.call-card .call-sum { border-radius: 10px; }
.mail, .staff-push, .staff-wait { border-radius: 14px; }
.mail { box-shadow: 0 20px 40px -20px #15191c55; border-top: 0; border: 1px solid var(--line); }
.mail-student { border-left: 4px solid var(--wa); }
.tag { border-radius: 999px; }
.ai-chip { border-radius: 999px; }
.demo { border-radius: 22px; overflow: hidden; box-shadow: 0 60px 120px -40px #000, 0 0 0 1px #ffffff14; }
.inbox { border-radius: 22px; }
.inbox-status { border-radius: 12px; }
.handoff { border-radius: 12px; }
.composer input { border-radius: 999px; }
.send { border-radius: 999px; }
.chip { border-radius: 999px; }
.demo-cta { border-radius: 14px; }
.plan li::before { content: counter(p); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--orange); font: 800 15px/1 var(--display); color: var(--ink); top: 14px; }
.faq details { border-color: var(--line); }
.faq summary { font-size: 18px; letter-spacing: -.01em; }
.faq summary::after { content: ""; width: 11px; height: 11px; border-right: 2px solid var(--orange-deep); border-bottom: 2px solid var(--orange-deep); top: 50%; right: 8px; transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { content: ""; transform: translateY(-30%) rotate(-135deg); }
.final { position: relative; overflow: hidden; isolation: isolate; }
.final::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; bottom: -420px; border-radius: 50%; background: #ff713f; opacity: .28; filter: blur(80px); z-index: -1; }
.final-box { border-radius: 22px; border-top: 0; background: #ffffff0a; border: 1px solid #ffffff1f; backdrop-filter: blur(10px); }
.founder img { border-radius: 12px; }
.personal { font-weight: 600; }

/* scroll reveals (fx.js) */
.fx .fx-reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: var(--d, 0s); }
.fx .fx-reveal.in { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  h1 em { background: none; color: var(--orange); animation: none; }
  h1 { font-size: clamp(38px, 10.5vw, 48px); }
}
@media (prefers-reduced-motion: reduce) {
  .fx .fx-reveal { opacity: 1; transform: none; }
}
