:root {
  --ink: #0f1733; --ink-2: #3a4260; --muted: #6a7190; --line: #e6e8f0; --bg: #ffffff; --soft: #f5f6fb; --soft-2: #eef0fb;
  --brand: #ff5b3a; --brand-ink: #d8401f; --brand-soft: #fff0ec; --indigo: #3b3fd8; --indigo-soft: #eceeff; --green: #1f9d6b;
  --radius: 18px; --shadow: 0 1px 2px rgba(15,23,51,.06), 0 8px 30px rgba(15,23,51,.08); --shadow-lg: 0 30px 80px rgba(15,23,51,.18);
  --max: 1180px;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.ic { display: inline-block; vertical-align: middle; flex: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; }
h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); }
.muted { color: var(--muted); }
section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-2); font-size: 18px; margin: 14px 0 0; }

/* buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(255,91,58,.28); }
.btn.primary:hover { background: var(--brand-ink); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.small { height: 40px; padding: 0 16px; font-size: 14px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -.02em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), #ff8a4a); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 14px rgba(255,91,58,.35); }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { text-decoration: none; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
@media (max-width: 920px) {
  .nav-links, .nav-cta .ghost { display: none; }
  .burger { display: grid; place-items: center; }
  .nav-cta { margin-left: 0; }
  .nav .wrap { gap: 12px; } .logo { font-size: 18px; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 16px 24px 24px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
}

/* hero */
.hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 900px; background: radial-gradient(600px 400px at 75% 30%, rgba(59,63,216,.12), transparent 70%), radial-gradient(500px 360px at 15% 20%, rgba(255,91,58,.12), transparent 70%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.hero h1 .hl { background: linear-gradient(90deg, var(--brand), #ff8a4a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin: 22px 0 30px; max-width: 560px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.hero-points span { display: inline-flex; gap: 7px; align-items: center; }
.hero-points .ic { color: var(--green); }
.hero-visual { position: relative; min-height: 520px; }
.browser { position: absolute; right: -60px; top: 20px; width: 640px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.browser-bar { height: 34px; background: #f3f4f8; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9dbe4; }
.browser-bar .url { margin-left: 12px; font-size: 12px; color: var(--muted); background: #fff; border-radius: 6px; padding: 2px 10px; }
.phone { position: absolute; width: 230px; border-radius: 36px; padding: 9px; background: #0f1733; box-shadow: var(--shadow-lg); }
.phone img { border-radius: 28px; }
.phone.p1 { left: -34px; top: 200px; width: 180px; border-radius: 30px; padding: 7px; transform: rotate(-4deg); z-index: 2; }
.phone.p1 img { border-radius: 24px; }
.floating-chip { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 10px 14px; font-size: 13px; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.floating-chip .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.fc1 { right: 30px; bottom: 30px; } .fc2 { left: 200px; top: 0; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 460px; }
  .browser { position: relative; right: auto; top: 0; width: 100%; }
  .phone.p1 { width: 170px; left: 10px; top: 150px; }
  .fc2 { display: none; }
}

/* industries strip */
.strip { padding: 28px 0 8px; }
.strip .row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.pill { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 999px; background: var(--soft); font-weight: 600; font-size: 15px; color: var(--ink-2); }

/* live demo */
.live { background: var(--ink); color: #fff; border-radius: 32px; margin: 0 24px; padding: 72px 0; }
.live .section-head p { color: #c9cde0; }
.live .eyebrow { color: #ff9a82; }
.live-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.live-tabs button { height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; font: inherit; font-weight: 600; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.live-tabs button.on { background: #fff; color: var(--ink); }
.live-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #1b2447; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.live-frame img { width: 100%; height: 100%; object-fit: cover; }
.live-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-frame .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(15,23,51,.05), rgba(15,23,51,.45)); cursor: pointer; border: 0; width: 100%; }
.live-frame .play span { background: #fff; color: var(--ink); border-radius: 999px; padding: 14px 22px; font-weight: 800; display: inline-flex; gap: 10px; align-items: center; box-shadow: var(--shadow-lg); font-size: 16px; }
.live-note { margin-top: 14px; color: #aab0c8; font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap; }
.live-note a { color: #fff; }
@media (max-width: 700px) { .live { margin: 0 10px; border-radius: 24px; } .live-frame { aspect-ratio: 3 / 4; } }

/* feature grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-2 { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: var(--brand-soft); color: var(--brand-ink); }
.card:nth-child(3n+2) .ico { background: var(--indigo-soft); color: var(--indigo); }
.card:nth-child(3n) .ico { background: #e7f6ef; color: var(--green); }
.card p { color: var(--ink-2); margin: 10px 0 0; font-size: 15.5px; }

/* positioning */
.soft { background: var(--soft); }
.steps-list { display: grid; gap: 16px; margin-top: 28px; }
.step { display: flex; gap: 16px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.step .n { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.step h3 { font-size: 17px; }
.step p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.phones { display: flex; gap: 18px; justify-content: center; }
.phones .phone { position: relative; width: 240px; }
.phones .phone:nth-child(2) { margin-top: 60px; }
@media (max-width: 620px) { .phones .phone { width: 46%; border-radius: 26px; padding: 6px; } .phones .phone img { border-radius: 20px; } }

/* how it works */
.how { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 920px) { .how { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .how { grid-template-columns: 1fr; } }
.how li { list-style: none; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; }
.how li::before { counter-increment: s; content: "0" counter(s); font-weight: 800; font-size: 14px; color: var(--brand-ink); display: block; margin-bottom: 10px; }
.how p { color: var(--ink-2); font-size: 15px; margin: 8px 0 0; }
.formats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.fmt { font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 7px; background: var(--indigo-soft); color: var(--indigo); letter-spacing: .02em; }

/* studio */
.shot { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; color: var(--ink-2); }
.checks .ic { color: var(--green); margin-top: 3px; }

/* embed */
.code { background: #0f1733; color: #d8dcf0; border-radius: 16px; padding: 22px; font: 14px/1.7 ui-monospace, "SF Mono", Menlo, monospace; overflow-x: auto; }
.code .k { color: #ff9a82; } .code .s { color: #9be3c3; } .code .c { color: #7c84a6; }

/* demos */
.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 820px) { .demo-grid { grid-template-columns: 1fr; } }
.demo { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.demo:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.demo .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: #e8e8e4; position: relative; }
.demo .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.demo:hover .thumb img { transform: scale(1.04); }
.demo .tag { position: absolute; left: 14px; top: 14px; background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); display: inline-flex; gap: 6px; align-items: center; }
.demo .body { padding: 22px 24px 24px; display: flex; gap: 18px; flex: 1; }
.demo .body .txt { flex: 1; }
.demo .body p { color: var(--ink-2); margin: 8px 0 14px; font-size: 15px; }
.demo .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.demo .meta span { display: inline-flex; gap: 5px; align-items: center; }
.demo .qr { width: 104px; flex: none; text-align: center; font-size: 11px; color: var(--muted); }
.demo .qr svg { width: 104px; height: 104px; display: block; border-radius: 8px; border: 1px solid var(--line); }
@media (max-width: 520px) { .demo .qr { display: none; } }
.demo-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--brand-ink); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); margin: 12px 0 0; }

/* contact */
.cta-band { background: linear-gradient(135deg, #ff5b3a, #ff8a4a 55%, #ffb36b); color: #fff; border-radius: 32px; padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); font-size: 18px; }
.form { background: #fff; color: var(--ink); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-lg); display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.form input, .form select, .form textarea { font: inherit; font-size: 15px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; background: #fff; color: var(--ink); }
.form textarea { min-height: 96px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .note { font-size: 12px; color: var(--muted); }
@media (max-width: 920px) { .cta-band { grid-template-columns: 1fr; padding: 36px 24px; border-radius: 24px; } .form .row { grid-template-columns: 1fr; } }

/* footer */
footer { padding: 56px 0 40px; border-top: 1px solid var(--line); margin-top: 96px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 12px; font-size: 14px; }
.foot a { display: block; text-decoration: none; color: var(--ink-2); font-size: 14px; margin: 7px 0; }
.foot a:hover { color: var(--ink); }
.foot-bottom { margin-top: 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } }

/* page header */
.page-head { padding: 72px 0 40px; text-align: center; }
.page-head p { max-width: 680px; margin: 18px auto 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px; }
.legal h2 { font-size: 22px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }

/* ── premium motion layer ─────────────────────────────── */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), #ff8a4a, var(--indigo)); z-index: 100; }
h1.split .w { display: inline-block; opacity: 0; transform: translateY(0.45em) rotate(2deg); filter: blur(6px); animation: wordIn .9s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; filter: blur(0); } }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -140px; border-radius: 50%; background: conic-gradient(from 120deg, rgba(255,91,58,.18), rgba(59,63,216,.16), rgba(31,157,107,.12), rgba(255,91,58,.18)); filter: blur(60px); animation: drift 16s ease-in-out infinite alternate; z-index: -1; }
@keyframes drift { to { transform: translate(-120px, 80px) rotate(90deg) scale(1.15); } }
.browser { transition: transform .8s cubic-bezier(.2,.8,.2,1); animation: floatIn 1.2s .2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes floatIn { from { opacity: 0; transform: translateY(40px) rotateX(8deg); } }
.phone.p1 { animation: phoneIn 1.2s .55s cubic-bezier(.2,.8,.2,1) both; }
@keyframes phoneIn { from { opacity: 0; transform: translate(-30px, 40px) rotate(-10deg); } }
.floating-chip { animation: chipIn .8s cubic-bezier(.2,1.3,.4,1) both, bob 5s ease-in-out 1.6s infinite; }
.fc1 { animation-delay: 1.1s, 1.9s; } .fc2 { animation-delay: 1.3s, 2.4s; }
@keyframes chipIn { from { opacity: 0; transform: translateY(14px) scale(.9); } }
@keyframes bob { 50% { transform: translateY(-6px); } }
.live-dot { margin-left: auto; font-size: 10px; font-weight: 800; letter-spacing: .1em; color: #fff; background: var(--brand); padding: 2px 8px; border-radius: 999px; display: inline-flex; gap: 5px; align-items: center; }
.live-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.hero-live { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e9eaec; }
.hero-live img { width: 100%; height: 100%; object-fit: cover; }
iframe.fade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 1.2s ease; }
iframe.fade.ready { opacity: 1; }
.btn.primary { position: relative; overflow: hidden; }
.btn.primary::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .7s ease; }
.btn.primary:hover::after { left: 130%; }
.card, .demo { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; will-change: transform; position: relative; }
.card::before, .demo::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,91,58,.08), transparent 45%); z-index: 1; }
.card:hover::before, .demo:hover::before { opacity: 1; }
.reveal { transform: translateY(26px) scale(.985); }
.reveal.in { transform: none; }

/* story (scrollytelling) */
.story { padding: 110px 0 60px; background: linear-gradient(180deg, #fff, #f6f7fb 40%, #fff); }
.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.story-intro { margin-bottom: 30vh; }
.story-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transform: translateX(-10px); transition: opacity .5s, transform .5s; }
.story-step.active { opacity: 1; transform: none; }
.story-step .step-no { font-weight: 800; font-size: 14px; color: var(--brand-ink); letter-spacing: .08em; }
.story-step h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 10px 0 12px; font-weight: 800; }
.story-step p { color: var(--ink-2); font-size: 17px; margin: 0; max-width: 460px; }
.story-stage { position: sticky; top: 96px; height: calc(100vh - 130px); }
.story-frame { position: relative; height: 100%; border-radius: 26px; overflow: hidden; background: #e9eaec; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.story-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.story-hint { position: absolute; left: 16px; bottom: 16px; z-index: 2; background: rgba(15,23,51,.82); color: #fff; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 999px; display: flex; gap: 6px; align-items: center; backdrop-filter: blur(6px); pointer-events: none; }
@media (max-width: 980px) {
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-stage { order: -1; top: 72px; height: 48vh; z-index: 5; margin: 0 -8px; }
  .story-intro { margin: 0 0 12vh; padding-top: 24px; }
  .story-step { min-height: 55vh; }
}
.feature-demo .live-frame.tall { aspect-ratio: 16 / 8.5; }
.live-tabs.light button { border-color: var(--line); color: var(--ink); background: #fff; }
.live-tabs.light button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 700px) { .feature-demo .live-frame.tall { aspect-ratio: 3 / 4; } }
@media (prefers-reduced-motion: reduce) { h1.split .w { animation: none; opacity: 1; transform: none; filter: none; } .hero::after, .floating-chip, .browser, .phone.p1 { animation: none; } }
