:root {
  --brand: #165eee;
  --brand-dark: #0f47bd;
  --brand-light: #5996ff;
  --brand-soft: #e6f0ff;
  --accent: #f5a524;
  --ink: #000000;
  --muted: #4b575e;
  --line: #dfe5e9;
  --bg: #ffffff;
  --bg-alt: #f0f3f5;
  --dark: #1a2126;
  --dark-2: #232c33;
  --radius: 16px;
  --shadow: 0 16px 40px rgba(26, 33, 38, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Host Grotesk', system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--muted); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center-row { justify-content: center; }
.eyebrow { font-size: .95rem; font-weight: 600; color: var(--brand); margin-bottom: .6em; }
.lead { font-size: 1.2rem; }
.fine { font-size: .875rem; color: var(--muted); margin-top: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: .15s; font-family: inherit; white-space: nowrap; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-outline:hover { background: var(--brand-soft); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Announcement */
.announce { background: var(--dark); text-align: center; font-size: .9rem; padding: 10px 16px; }
.announce a { color: #fff; }
.announce strong { color: var(--brand-light); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.35rem; color: var(--ink); }
.logo-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 1rem; }
.logo-light { color: #fff; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a, .dd-btn { display: block; padding: 10px 14px; color: var(--ink); font-weight: 500; font-size: .95rem; background: none; border: 0; cursor: pointer; font-family: inherit; border-radius: 8px; }
.main-nav > ul > li > a:hover, .dd-btn:hover { color: var(--brand); background: var(--brand-soft); }
.caret { font-size: .7rem; }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.dd-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; min-width: 520px; }
.has-dd:hover .dropdown, .has-dd.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dd-col a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink); font-size: .92rem; }
.dd-col a:hover { background: var(--brand-soft); color: var(--brand); }
.dd-head { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 6px 10px; }
.dd-col a.dd-cta { color: #fff; margin-top: 10px; display: inline-flex; }
.dd-col a.dd-cta:hover { color: #fff; background: var(--brand-dark); }
.nav-actions { display: flex; gap: 8px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { padding: 88px 0 72px; background: linear-gradient(180deg, #e6f0ff 0%, #f5f9ff 60%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.play { font-size: .75rem; }
.phone { width: 290px; margin: 0 auto; background: #fff; border: 10px solid var(--ink); border-radius: 40px; padding: 40px 16px 28px; box-shadow: var(--shadow); min-height: 470px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 90px; height: 18px; background: var(--ink); border-radius: 10px; }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: .88rem; line-height: 1.4; }
.bubble.in { background: #f1f5f9; align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.out { background: var(--brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble.small { font-size: .82rem; margin: 12px 0 0 auto; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--brand); }
.stat span { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.page-hero { padding: 88px 0 64px; background: linear-gradient(180deg, #e6f0ff 0%, #fff 100%); }
.page-hero .lead { max-width: 680px; margin: 0 auto 28px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.three-up, .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.checks.sm li { font-size: .88rem; margin-bottom: 6px; }

.vp-card, .tool-card, .callout, .t-card, .step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tool-card { display: block; color: inherit; transition: .15s; }
a.tool-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.tool-card-cta { background: var(--brand); border-color: var(--brand); }
.tool-card-cta h3, .tool-card-cta p { color: #fff; }
.icon { font-size: 1.6rem; width: 52px; height: 52px; border-radius: 12px; background: var(--brand-soft); display: grid; place-items: center; margin-bottom: 16px; color: var(--brand); }
.mini-mock { margin-top: 18px; height: 90px; background: var(--bg-alt); border-radius: 10px; display: flex; align-items: flex-end; gap: 8px; padding: 12px; }
.mini-mock .bar { flex: 1; height: var(--h); background: var(--brand); border-radius: 6px 6px 0 0; opacity: .85; }
.mini-mock.tags, .mini-mock.flow { align-items: center; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.mini-mock.tags span, .mini-mock.flow span { background: #fff; border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; color: var(--ink); }
.center > .btn, .section .center { margin-top: 40px; }

/* Mock cards */
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 24px; }
.mock-head { font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-card label { display: block; font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.field { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: .9rem; margin-bottom: 14px; background: var(--bg-alt); }
.field.tall { min-height: 76px; }
.chat-row { display: flex; flex-direction: column; padding: 12px; border-radius: 10px; font-size: .88rem; border-bottom: 1px solid var(--line); }
.chat-row span { color: var(--muted); }
.chat-row.active { background: var(--brand-soft); }
.flowchart { display: flex; flex-direction: column; align-items: center; }
.node { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 12px 18px; font-size: .88rem; font-weight: 600; text-align: center; }
.node.trigger { background: var(--brand); color: #fff; border-color: var(--brand); }
.connector { width: 2px; height: 22px; background: var(--line); }
.branch { display: flex; gap: 12px; }
.dash { display: grid; grid-template-columns: 120px 1fr; gap: 20px; }
.dash aside { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; }
.dash aside span { padding: 8px 10px; border-radius: 8px; color: var(--muted); }
.dash aside .on { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.kpis div { background: var(--bg-alt); border-radius: 10px; padding: 10px; }
.kpis small { display: block; color: var(--muted); font-size: .72rem; }
.kpis b { font-size: 1.05rem; }
.chart { height: 160px; display: flex; align-items: flex-end; gap: 10px; border-bottom: 1px solid var(--line); }
.chart span { flex: 1; height: var(--h); background: linear-gradient(var(--brand), var(--brand-light)); border-radius: 6px 6px 0 0; }

/* Logos */
.logo-strip { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.logo-strip-title { text-align: center; font-weight: 600; margin-bottom: 20px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll 40s linear infinite; }
.logo-pill { font-weight: 800; font-size: 1.25rem; color: #94a3b8; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Integrations */
.int-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.int-tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 8px; text-align: center; font-weight: 600; font-size: .85rem; }

.badges-wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ind-badge { display: inline-block; padding: 12px 20px; background: var(--brand-soft); color: var(--brand-dark); border-radius: 999px; font-weight: 600; }
.review-badges { display: flex; gap: 16px; justify-content: center; }

/* Testimonials */
.stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; }
.t-card { margin: 0; }
.t-card blockquote { margin: 0 0 16px; color: var(--ink); }
.t-card figcaption strong { display: block; }
.t-card figcaption span { color: var(--muted); font-size: .88rem; }
.t-card.placeholder { border-style: dashed; }

/* CTA band */
.cta-band { background: radial-gradient(900px 400px at 50% 120%, #5996ff 0, transparent 70%), var(--brand); color: #fff; text-align: center; padding: 88px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e0e7ff; margin-bottom: 28px; }

/* Pricing */
.billing-toggle { display: inline-flex; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.billing-toggle button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-weight: 600; cursor: pointer; font-family: inherit; color: var(--muted); }
.billing-toggle button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.billing-toggle em { font-style: normal; font-size: .75rem; color: #059669; margin-left: 4px; }
.pricing-section { padding-top: 32px; }
.carousel { position: relative; }
.plans { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 16px 4px 24px; scrollbar-width: none; }
.plans::-webkit-scrollbar { display: none; }
.plan { flex: 0 0 270px; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.ribbon { position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan-name { font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.price { font-size: 1rem; margin-bottom: 4px; }
.price span { font-size: 2.4rem; font-weight: 800; color: var(--ink); }
.credits { font-size: .88rem; }
.plan .btn { margin: 8px 0 20px; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); font-size: 1.6rem; cursor: pointer; }
.car-btn.prev { left: -22px; }
.car-btn.next { right: -22px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; }
.code-form { display: flex; gap: 10px; max-width: 420px; margin: 16px auto 0; }
.code-form input, .contact-form input, .contact-form select, .contact-form textarea { flex: 1; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 16px; }

/* Contact */
.contact-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.contact-form input, .contact-form select, .contact-form textarea { margin-top: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-info { display: grid; gap: 16px; }
.form-ok { color: #059669; font-weight: 600; margin-top: 12px; }

/* Footer */
.logo-strip-footer { background: #fff; }
.site-footer { background: var(--dark); color: #cbd5e1; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: #94a3b8; margin-top: 14px; }
.footer-head { color: #fff; font-weight: 700; margin-bottom: 14px; }
.footer-grid a:not(.logo):not(.badge) { display: block; color: #94a3b8; padding: 4px 0; font-size: .92rem; }
.footer-grid a:hover { color: #fff; }
.app-badges { display: flex; gap: 10px; margin: 18px 0; }
.badge { border: 1px solid #334155; border-radius: 8px; padding: 8px 14px; color: #fff; font-size: .82rem; font-weight: 600; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid !important; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #1e293b; color: #fff !important; font-size: .8rem; font-weight: 700; padding: 0 !important; }
.footer-legal { border-top: 1px solid #1e293b; margin-top: 48px; padding-top: 24px; font-size: .82rem; }
.footer-legal p { color: #64748b; }
.footer-legal a { color: #94a3b8; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 72px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 24px 32px; overflow-y: auto; display: none; }
  .main-nav.open { display: flex; }
  .main-nav > ul { flex-direction: column; }
  .dropdown, .dd-wide { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; display: none; grid-template-columns: 1fr; }
  .has-dd:hover .dropdown { display: none; }
  .has-dd.open .dropdown { display: grid; }
  .nav-actions { flex-direction: column; margin-top: 12px; }
  .int-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid, .split, .three-up, .grid-3, .footer-grid, .steps { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .stats { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .car-btn { display: none; }
  .row2 { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash aside { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .branch { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
}

/* ===== Theme v2: utility bar, hero collage, scroll effects ===== */
.utility-bar { border-bottom: 1px solid var(--line); font-size: .8rem; }
.utility-inner { display: flex; justify-content: flex-end; gap: 20px; height: 32px; align-items: center; }
.utility-inner a { color: var(--muted); }
.utility-inner a:hover { color: var(--brand); }
.site-header { transition: transform .3s ease; }
.site-header.hide-util .utility-bar { display: none; }
.nav-actions { align-items: center; }
.hl { color: var(--brand); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.link-arrow { font-weight: 600; }
.section-head.left { text-align: left; margin-left: 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Hero collage */
.hero-collage { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; align-items: start; }
.collage-photo { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow); will-change: transform; }
.photo-art { position: absolute; inset: 0; background: linear-gradient(180deg, #ffd9a8, #ffb37a 55%, #f28c5b); }
.photo-art .sun { position: absolute; width: 110px; height: 110px; border-radius: 50%; background: #fff3d6; top: 18%; left: 30%; }
.photo-art .hill { position: absolute; border-radius: 50% 50% 0 0; }
.photo-art .h1 { width: 140%; height: 45%; left: -30%; bottom: -10%; background: #165eee; opacity: .85; }
.photo-art .h2 { width: 120%; height: 38%; right: -40%; bottom: -14%; background: #0f47bd; }
.collage-icon { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 10px; background: #fff; display: grid; place-items: center; }
.collage-col { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; will-change: transform; }
.bubble-card { background: #fff; border-radius: 16px; padding: 14px 16px; font-size: .9rem; line-height: 1.4; box-shadow: 0 6px 18px rgba(26,33,38,.08); color: var(--ink); }
.bubble-card.blue { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.sent-card { background: #fff; border-radius: 14px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; width: max-content; box-shadow: 0 6px 18px rgba(26,33,38,.08); }
.sent-card small { color: var(--muted); font-size: .7rem; display: block; }
.sent-card b { font-size: 1.3rem; }
.sent-card.inline { margin: 12px 0; }
.send-ic { width: 32px; height: 32px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.seg span { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: .8rem; background: #fff; }
.seg .on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.stat-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-soft); color: var(--brand); font-weight: 700; padding: 8px 14px; border-radius: 999px; margin-top: 8px; }
.stat-chip small { font-weight: 500; color: var(--muted); }
.field.ok { display: flex; justify-content: space-between; }
.field.ok span { color: #16a34a; font-weight: 700; }
.popup-demo { border: 1px solid var(--line); border-radius: 14px; padding: 22px; text-align: center; margin-bottom: 12px; }
.popup-demo b { font-size: 1.4rem; display: block; margin-bottom: 4px; }

/* Showcase scale scrub */
.showcase-sec { padding-bottom: 120px; }
.showcase { --p: 0; display: grid; grid-template-columns: 1.3fr 1fr; border-radius: calc(40px - 16px * var(--p)); overflow: hidden; background: var(--bg-alt); transform: scale(calc(.86 + .14 * var(--p))); transform-origin: center top; will-change: transform; }
.showcase-left { padding: 40px; }
.showcase-left .mock-card.flat { box-shadow: none; }
.showcase-right { background: var(--brand); display: grid; place-items: center; padding: 40px; }
.showcase-right .phone { min-height: 380px; width: 260px; }

/* Dark sticky-media section */
.dark-sec { background: var(--dark); color: #fff; padding: 112px 0; }
.dark-sec h2, .dark-sec h3 { color: #fff; }
.dark-sec p { color: #aeb7bd; }
.dark-sec .section-head { margin-bottom: 96px; }
.dark-sec .link-arrow { color: var(--brand-light); }
.ebc { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.ebc-sticky { position: sticky; top: 140px; height: 460px; }
.ebc-panel { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.ebc-panel.show { opacity: 1; transform: none; pointer-events: auto; }
.ebc-panel .mock-card { width: 100%; color: var(--ink); }
.ebc-panel .mock-card p { color: var(--muted); }
.ebc-content { display: flex; flex-direction: column; gap: 120px; padding: 80px 0 160px; }
.ebc-item { min-height: 340px; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .4s ease; }
.ebc-item.active { opacity: 1; }
.ebc-item h3 { font-size: 1.9rem; }
.ebc-inline { display: none; }

/* Story cards */
.story-card { margin: 0; }
.story-art { position: relative; aspect-ratio: 4/3; border-radius: 16px; display: grid; place-items: center; font-size: 3rem; margin-bottom: 16px; overflow: hidden; }
.story-art.s1 { background: linear-gradient(135deg, #ffe1c2, #ffb37a); }
.story-art.s2 { background: linear-gradient(135deg, #d6e6ff, #5996ff); }
.story-art.s3 { background: linear-gradient(135deg, #d9f3ea, #7fc7af); }
.story-art.s4 { background: linear-gradient(135deg, #efe2ff, #a98bff); }
.story-art .play { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.9); font-size: .9rem; display: grid; place-items: center; color: var(--ink); }
.story-card strong { display: block; color: var(--ink); margin-bottom: 4px; }
.story-card p { font-size: .9rem; margin-bottom: 8px; }
.story-card.placeholder .story-art { outline: 2px dashed rgba(0,0,0,.12); outline-offset: -8px; }

/* Stacking cards */
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-card { position: sticky; top: calc(130px + var(--i, 0) * 18px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px; border-radius: 28px; min-height: 420px; transform-origin: center top; will-change: transform; }
.stack-card:nth-child(1) { --i: 0; }
.stack-card:nth-child(2) { --i: 1; }
.stack-card:nth-child(3) { --i: 2; }
.stack-card.light { background: linear-gradient(135deg, #f0f3f5, #e6f0ff); }
.stack-card.blue { background: radial-gradient(600px 300px at 0% 100%, #5996ff, transparent 70%), var(--brand); }
.stack-card.blue h3, .stack-card.blue p, .stack-card.dark h3, .stack-card.dark p { color: #fff; }
.stack-card.dark { background: radial-gradient(500px 300px at 100% 0%, #2e5fbf, transparent 70%), #000; }
.stack-card.dark p { color: #aeb7bd; }
.stack-card h3 { font-size: 1.9rem; }
.support-art { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.support-art .avatar { width: 120px; height: 120px; border-radius: 50%; background: #2a3640; display: grid; place-items: center; font-size: 3.5rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .ebc-panel, .ebc-item { transition: none; }
  .reveal { opacity: 1; transform: none; }
  .showcase { transform: none; }
  .marquee-track { animation: none; }
}

@media (max-width: 1080px) {
  .utility-bar { display: none; }
  .main-nav { position: absolute; inset: 100% 0 auto 0; height: calc(100dvh - 72px); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-collage { margin-top: 8px; }
  .showcase { grid-template-columns: 1fr; }
  .showcase-left, .showcase-right { padding: 24px; }
  .ebc { grid-template-columns: 1fr; gap: 0; }
  .ebc-media { display: none; }
  .ebc-content { gap: 56px; padding: 0; }
  .ebc-item { opacity: 1; min-height: 0; }
  .ebc-inline { display: block; margin-top: 24px; }
  .ebc-inline .mock-card { color: var(--ink); }
  .stack-card { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; top: calc(90px + var(--i, 0) * 12px); min-height: 0; }
  .stack-card h3, .ebc-item h3 { font-size: 1.5rem; }
  .dark-sec { padding: 72px 0; }
  .dark-sec .section-head { margin-bottom: 56px; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-collage { grid-template-columns: 1fr 1fr; }
  .bubble-card { font-size: .8rem; padding: 10px 12px; }
}
