/* styles.css */
:root {
  --brand: #165eee;
  --brand-dark: #0f47bd;
  --brand-light: #9a85ff;
  --brand-soft: #e6f0ff;
  --accent: #F7B955;
  --ink: #000000;
  --muted: #6e7180;
  --line: #d3d6e0;
  --bg: #ffffff;
  --bg-alt: #f0f3f5;
  --dark: #1a2126;
  --dark-2: #232c33;
  --radius: 16px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; color-scheme: dark; }
img { max-width: 100%; }
a { color: var(--brand-light); text-decoration: none; }
h1, h2, h3 { line-height: 1.1; letter-spacing: 0; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 500; }
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: 999px; font-weight: 500; font-size: .95rem; border: 1px 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: #fff; color: var(--navy); }
.btn-primary:hover { background: #fff; color: var(--night); }
.btn-outline { border-color: rgba(255, 255, 255, .22); color: #fff; background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .36); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { color: var(--brand-light); }
.btn-light { background: #fff; color: var(--navy); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Announcement */
.announce { background: var(--night); border-bottom: 1px solid var(--line); text-align: center; font-size: .8rem; line-height: 1.3; padding: 6px 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce a { color: var(--ink-2); }
.announce strong { color: var(--peach); font-weight: 500; white-space: nowrap; }
/* logged in to the dashboard (see src/layout.html): no announcement bar */
.signed-in .announce { display: none; }
.ann-short { display: none; }
/* the short wording on anything narrower than a laptop, always one slim line */
@media (max-width: 1024px) {
  .ann-long { display: none; }
  .ann-short { display: inline; }
}
@media (max-width: 600px) {
  .announce { font-size: .72rem; padding: 5px 12px; }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 15, 26, .72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); 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: 600; letter-spacing: 0; font-size: 1.35rem; color: var(--ink); }
.logo-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(150deg, #fff 30%, var(--sky) 100%); color: var(--navy); font-size: 1rem; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 6px 20px -6px rgba(179, 166, 255, .6); }
.logo-light { color: #fff; }
.logo img { display: block; height: 20px; width: auto; }
.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: inline-flex; align-items: center; gap: 5px; height: 42px; padding: 0 14px; color: var(--ink); font-weight: 500; font-size: .95rem; line-height: 1; background: none; border: 0; cursor: pointer; font-family: inherit; border-radius: 8px; }
@media (hover: hover) { .main-nav > ul > li > a:hover, .dd-btn:hover { color: #fff; background: rgba(255, 255, 255, .07); } }
.caret { flex: none; width: 10px; height: 10px; opacity: .7; transition: transform .2s ease; }
.has-dd.open .caret, .dd-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 260px; background: #08102A; border: 1px solid var(--line-2); 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; }
/* the second menu (Resources) opens toward the left so it never pokes past the window edge */
.has-dd ~ .has-dd .dropdown { left: auto; right: 0; }
.dd-col a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink-2); font-size: .92rem; }
.dd-col a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.dd-head { font-size: .8rem; font-weight: 500; color: var(--muted); margin: 0 0 6px 10px; }
.dd-col a.dd-cta { color: var(--navy); margin-top: 10px; display: inline-flex; padding: 9px 18px; border-radius: 999px; }
.dd-col a.dd-cta:hover { color: var(--night); background: #fff; }
.nav-actions { display: flex; gap: 8px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
/* the menu never wraps: as the window narrows, the least needed items step out first (they stay in
   the footer and the phone menu), then the hamburger takes over with "Free Trial" beside it */
.main-nav > ul > li > a, .dd-btn, .nav-actions .btn { white-space: nowrap; }
.nav-cta { display: none; }
@media (min-width: 1081px) and (max-width: 1260px) { .nav-opt-1 { display: none; } }

/* Hero */
.hero { padding: 88px 0 72px; background: radial-gradient(70% 60% at 50% 0%, var(--navy-2), transparent 70%), var(--bg); overflow: hidden; }
.play { font-size: .75rem; }

/* 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: radial-gradient(70% 60% at 50% 0%, var(--navy-2), transparent 70%), var(--bg); }
.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; }
.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-light); font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.checks.sm li { font-size: .88rem; margin-bottom: 6px; }

.tool-card, .callout, .t-card, .step { background: var(--surface); 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(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.tool-card-cta { background: linear-gradient(150deg, rgba(124, 92, 255, .28), rgba(124, 92, 255, .18) 60%, rgba(22, 94, 238, .2)); border-color: var(--line-2); }
.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-light); }
.center > .btn, .section .center { margin-top: 40px; }

/* Mock cards */
.mock-card { background: var(--surface); 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); letter-spacing: 0; 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: #fff; color: var(--navy); border-color: #fff; }
.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-light); 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; }

/* Integrations */
.int-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.int-tile { background: var(--surface); 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-light); 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% 125%, rgba(22, 94, 238, .45) 0, rgba(124, 92, 255, .3) 35%, transparent 70%), linear-gradient(180deg, var(--bg), var(--navy-2)); border-top: 1px solid var(--line); color: #fff; text-align: center; padding: 88px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--ink-2); 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(--navy); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.billing-toggle em { font-style: normal; font-size: .75rem; color: var(--mint); margin-left: 4px; }
.billing-toggle button.on em { color: #0b7a5f; }
.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: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 1px solid var(--sky); box-shadow: var(--shadow-2); }
.ribbon { position: absolute; top: -12px; left: 24px; background: #fff; color: var(--navy); 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-2); color: #fff; background: var(--surface-solid); box-shadow: var(--shadow); font-size: 1.6rem; cursor: pointer; }
.car-btn.prev { left: -22px; }
.car-btn.next { right: -22px; }
.faq details { background: var(--surface); 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-light); 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-2); border-radius: 10px; font: inherit; background: var(--surface-2); color: var(--ink); }

/* 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: #fff; color: var(--navy); 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: var(--mint); font-weight: 600; margin-top: 12px; }

/* Footer */
.site-footer { background: var(--night); border-top: 1px solid var(--line); color: var(--ink-2); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px 32px; }
.footer-brand p { color: var(--ink-2); margin-top: 14px; font-size: .92rem; max-width: 36ch; }
.footer-head { color: #fff; font-weight: 500; margin-bottom: 14px; }
.footer-grid a:not(.logo):not(.badge) { display: block; color: var(--ink-2); 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 var(--line-2); border-radius: 8px; padding: 8px 14px; color: #fff; font-size: .82rem; font-weight: 600; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
/* a social profile with its handle: an icon and the name, as a pill */
.footer-grid .socials a.social { display: inline-flex !important; align-items: center; gap: 8px; width: auto; height: 38px; min-height: 0; padding: 0 14px 0 11px !important; border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--ink) !important; }
.footer-grid .socials a.social:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .1); text-decoration: none; }
.socials a { display: grid !important; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: #fff !important; font-size: .8rem; font-weight: 700; padding: 0 !important; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px; font-size: .82rem; }
.footer-legal p { color: var(--ink-3); font-size: .76rem; line-height: 1.55; max-width: 90ch; }
.footer-legal p + p { margin-top: 8px; }
/* phones: the small print stays small, and the chat bubble never covers the last links */
@media (max-width: 720px) {
  .footer-legal p { font-size: .7rem; }
  .site-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}
.footer-legal a { color: var(--ink-2); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: 3px; }
.footer-legal a:hover { color: #fff; text-decoration-color: currentColor; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-toggle { display: block; margin-left: 10px; }
  .nav-cta { display: inline-flex; margin-left: auto; }
  .main-nav { position: fixed; inset: 72px 0 0 0; background: var(--bg); 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; }
  .main-nav > ul > li > a, .dd-btn { display: flex; width: 100%; height: 46px; }
  .dd-btn { justify-content: space-between; }
  .dropdown, .dd-wide { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; background: none; padding: 2px 8px 12px; min-width: 0; display: none; grid-template-columns: 1fr; gap: 0; }
  .has-dd:hover .dropdown { display: none; }
  .has-dd.open .dropdown { display: grid; }
  /* an open section is one panel: its button and its links share the same background */
  .main-nav > ul > li.has-dd { border-radius: 12px; transition: background .2s ease; }
  .main-nav > ul > li.has-dd.open { background: rgba(255, 255, 255, .05); }
  .has-dd.open > .dd-btn, .has-dd.open > .dd-btn:hover { background: none; }
  .dd-head { margin: 4px 0 2px 10px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
  .dd-col + .dd-col .dd-head { margin-top: 14px; }
  .dd-col a { padding: 9px 10px; font-size: .98rem; }
  .dd-col a.dd-cta { display: none; }   /* the menu already has Free Trial at the top and bottom */
  .nav-actions { flex-direction: row; justify-content: center; gap: 12px; margin-top: 16px; }
  .nav-actions .btn { flex: 1 1 0; max-width: 200px; height: 46px; justify-content: center; }
  .int-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .split, .grid-3, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  /* phone-sized tap targets */
  .footer-grid a:not(.logo):not(.badge) { display: flex; align-items: center; min-height: 44px; padding: 0; }
  .footer-legal a { display: inline-block; padding: 12px 2px; }
  .split.reverse > :first-child { order: 0; }
  .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; }
  .nav-cta { padding: 8px 14px; font-size: .88rem; }
}
@media (max-width: 370px) {
  .logo { font-size: 1.15rem; gap: 6px; }
  .nav-cta { padding: 7px 11px; font-size: .82rem; }
  .nav-toggle { margin-left: 6px; }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .branch { flex-direction: column; }
}

/* ===== 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: #fff; }
.site-header { transition: transform .3s ease; }
.site-header.hide-util .utility-bar { display: none; }
.nav-actions { align-items: center; }
.nav-actions .btn-ghost { height: 42px; padding: 0 14px; border-width: 0; font-weight: 500; line-height: 1; }
.hl { color: var(--brand-light); }
.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; }

.sent-card { background: var(--surface-solid); border: 1px solid var(--line); 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: #fff; color: var(--navy); 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: var(--surface-2); }
.seg .on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-light); }
.field.ok { display: flex; justify-content: space-between; }
.field.ok span { color: var(--mint); 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; }

/* 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 { transition: none; }
  .reveal { opacity: 1; transform: 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) {
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* legal pages (terms, privacy) */
.legal { padding: 56px 0 80px; }
.legal-wrap { max-width: 760px; }
.legal .legal-eyebrow { color: var(--brand-light); font-weight: 500; font-size: .9rem; margin: 0 0 6px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal-date { color: var(--muted); margin: 0 0 28px; }
.legal h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: 0; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; }
.legal h1, .legal h2, .legal b { color: var(--ink); }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }

/* open phone menu: Log In and Free Trial side by side, Log In outlined */
@media (max-width: 1080px) {
  .main-nav .nav-actions .btn-ghost { border: 1px solid var(--line-2); height: 46px; }
}

/* small phones: keep the logo and the header button apart, and the announcement on one line */
@media (max-width: 380px) {
  .logo img { height: 16px; }
  .announce { font-size: .68rem; padding: 5px 10px; }
  .ann-short { letter-spacing: 0; }
}

/* Touch screens: every control at least 44px tall, without moving anything (the extra room is padding
   that a negative margin gives back, or room the bar already had). */
@media (pointer: coarse) {
  .announce a { display: inline-block; padding: 14px 0; margin: -14px 0; }
  .logo { min-height: 44px; }
  .btn { min-height: 44px; }
}

/* fx/fx.css */
/* Shared design language + declarative effects for every page and scene.
   Scenes: build on these classes and tokens; put scene-specific rules in assets/scenes/<name>.css */

:root {
  /* palette: the SMSBlast brand guidelines. Casual Navy night, Lady Blue (#7C5CFF) to Impact Blue (#0F47BD) light, cool greys */
  --night: #07090F;
  --navy: #0B1A3B;
  --navy-2: #10245A;
  --sky: #B3A6FF;
  --sky-2: #7C5CFF;
  --sky-3: #165EEE;
  --sun: #165EEE;
  --sun-2: #3B74F2;
  --peach: #C9BEFF;
  --bloom: #7C5CFF;
  --brand: #7C5CFF;
  --brand-dark: #B3A6FF;   /* the stronger variant on dark backgrounds is the lighter one */
  --brand-light: #B3A6FF;
  --brand-soft: rgba(124, 92, 255, .14);
  --violet: #A28BFF;
  --mint: #5FD49A;
  --amber: #F7B955;
  --rose: #E85678;
  --ink: #FFFFFF;
  --ink-2: #BCBFCC;
  --ink-3: #9DA2B3;
  --muted: #BCBFCC;
  --line: rgba(179, 166, 255, .13);
  --line-2: rgba(179, 166, 255, .26);
  --bg: #0A0F1A;
  --bg-alt: #0E1526;
  --surface: rgba(11, 22, 56, .62);       /* dark glass card */
  --surface-solid: #0F1628;
  --surface-2: rgba(179, 166, 255, .06);  /* fields and wells inside a card */
  --dark: #07090F;
  --dark-2: #0F1628;
  --dark-line: rgba(179, 166, 255, .14);
  --spectrum: linear-gradient(92deg, #B3A6FF 0%, #C9BEFF 55%, #165EEE 100%);
  /* type */
  --f-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* labels and figures: the same face as the text (no monospace), with even-width numbers */
  --f-mono: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* shape + motion */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-1: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 24px 60px -28px rgba(0, 0, 0, .7);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 40px 90px -36px rgba(22, 94, 238, .45);
  --glass: blur(18px) saturate(140%);
  --e-out: cubic-bezier(.2, .7, .2, 1);
  --e-spring: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 72px;
  --gutter: 24px;
}
@media (max-width: 520px) { :root { --gutter: 16px; } }

html { scroll-behavior: smooth; }
body { color: var(--ink); overflow-x: clip; }
main { overflow-x: clip; }
::selection { background: var(--sun); color: #fff; }

/* ---------- type helpers ---------- */
.tag { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: 0; color: var(--brand); display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.tag::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 500; line-height: 1.1; letter-spacing: 0; color: var(--ink); margin: 0 0 .45em; text-wrap: balance; }
.h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 500; line-height: 1.05; letter-spacing: 0; color: var(--ink); margin: 0 0 .4em; text-wrap: balance; }
.lede { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6; color: var(--ink-2); max-width: 56ch; margin: 0 0 1.4em; }
.grad { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* one accent phrase per headline: the same Manrope, in the brand's blue-to-violet */
:is(h1, h2, .h1, .h2, .ph-title, .fin-title) .grad { --grad: linear-gradient(100deg, #fff 0%, var(--peach) 45%, #9A85FF 100%); font-family: var(--f-sans); font-style: normal; font-weight: inherit; letter-spacing: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.mono { font-family: var(--f-mono); }
.hud { font-family: var(--f-mono); font-size: .68rem; letter-spacing: 0; color: var(--ink-3); line-height: 1.5; }
.hud b { color: var(--ink); font-weight: 600; }

/* ---------- surfaces ---------- */
.bay { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.bay-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.bay-head .tag { justify-content: center; }
.bay-head .lede { margin-inline: auto; }
.card { background: var(--surface); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: 0; padding: 7px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent); white-space: nowrap; }
.chip.ok { background: color-mix(in srgb, var(--mint) 14%, transparent); color: var(--mint); border-color: color-mix(in srgb, var(--mint) 35%, transparent); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.dot.live { animation: fx-pulse 1.4s ease-in-out infinite; }

/* dark bay: a deeper band with a dusk glow (the whole site is dark, so it no longer flips tokens) */
.darkbay { color: var(--ink-2); background: radial-gradient(900px 420px at 85% -10%, rgba(124, 92, 255, .22), transparent 70%), radial-gradient(700px 380px at 0% 110%, rgba(124, 92, 255, .16), transparent 70%), var(--night); }
.darkbay .tag { color: var(--brand-light); }
.darkbay .card { background: color-mix(in srgb, var(--dark-2) 80%, transparent); box-shadow: none; }
.bay.darkbay.inset { margin: 0 clamp(8px, 1.4vw, 20px); border-radius: var(--r-xl); overflow: clip; border: 1px solid var(--line); }

/* ---------- buttons: lift + sheen ---------- */
.btn { position: relative; overflow: hidden; transition: transform .25s var(--e-out), box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease; will-change: transform; }
.btn-primary { box-shadow: 0 8px 28px -10px rgba(179, 166, 255, .55); }
.btn-primary:hover { box-shadow: 0 12px 36px -10px rgba(179, 166, 255, .75); }
.btn-primary::after, .btn-light::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(179, 166, 255, .35) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.btn-primary:hover::after, .btn-light:hover::after { transform: translateX(120%); transition: transform .7s ease; }
.btn:active { transform: scale(.97); }

/* ---------- header polish ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 80; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: var(--spectrum); transform-origin: 0 50%; transform: scaleX(0); }
.utility-bar { background: transparent; }
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 14px 40px rgba(0, 0, 0, .35); }
.logo-mark { color: var(--navy); }
.logo-mark svg { display: block; }
.nav-toggle { width: 44px; height: 44px; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1080px) { .nav-toggle { display: flex; } }
.dropdown { transition: opacity .2s ease, transform .25s var(--e-out), visibility .2s; }

/* ---------- declarative effects ---------- */
/* reveal: only hidden when JS is running, so content never disappears without it */
.js [data-reveal], .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s var(--e-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal="left"] { transform: translateX(-32px); }
.js [data-reveal="right"] { transform: translateX(32px); }
.js [data-reveal="scale"] { transform: scale(.92); }
.js [data-reveal="blur"] { filter: blur(8px); transition-property: opacity, transform, filter; }
.js [data-reveal].in, .js .reveal.in { opacity: 1; transform: none; filter: none; }

/* decode: words rise and sharpen in sequence */
/* Safari will not paint a parent's gradient text through the word spans below (they are inline-blocks that
   move and blur), so the accent words came out invisible on iPhones. Once split, each word carries the gradient. */
.js [data-decode].words .grad { background: none; }
:where(.js [data-decode].words .grad) .w { background: var(--grad, var(--spectrum)); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .08em .12em 0; margin: 0 -.08em -.12em 0; }
.js [data-decode] .w { display: inline-block; opacity: 0; transform: translateY(.5em); filter: blur(6px); transition: opacity .6s ease, transform .7s var(--e-out), filter .6s ease; transition-delay: calc(var(--i, 0) * 55ms); }
.js [data-decode].shown .w { opacity: 1; transform: none; filter: none; }

/* tilt */
[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--e-out); transform-style: preserve-3d; }
[data-tilt].tilting { transition: transform .08s linear; }
[data-tilt] > .glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .5), transparent 60%); mix-blend-mode: soft-light; }
[data-tilt].tilting > .glare { opacity: 1; }

/* pointer spotlight */
.glow { position: relative; }
.glow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--brand-light) 22%, transparent), transparent 65%); }
.glow:hover::before { opacity: 1; }

/* pin wrapper: height is set by fx.pin(); never put overflow:hidden on it or its ancestors */
.pin { position: relative; }

@keyframes fx-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
@keyframes fx-spin { to { transform: rotate(360deg); } }
@keyframes fx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .reveal, .js [data-decode] .w { opacity: 1; transform: none; filter: none; transition: none; }
  [data-tilt] { transform: none; }
  .btn::after { display: none; }
}

/* product screens that stay light inside the dark site (a phone's Messages app, for example):
   put .light-ui on the screen and everything inside it gets the light tokens back */
.light-ui {
  --ink: #0a0f1a; --ink-2: #6e7180; --ink-3: #9da2b3; --muted: #6e7180;
  --line: #d3d6e0; --line-2: #bcbfcc; --bg: #ffffff; --bg-alt: #edeff7;
  --surface: #ffffff; --surface-solid: #ffffff; --surface-2: #edeff7;
  --brand: #165EEE; --brand-dark: #0F47BD; --brand-light: #7C5CFF; --brand-soft: #ece8ff;
  color: var(--ink);
}

/* inner.css */
/* Inner pages: everything that is not the homepage (pricing, how it works, use cases, contact and
   the templated feature / solution / resource pages). Every class here is prefixed ip-.
   The hero lives in assets/scenes/pagehero.css; behaviour is in assets/main.js.
   Rule of thumb used throughout: an element that reveals ([data-reveal]) never also hovers or tilts.
   The reveal goes on a wrapper (.ip-cell), the card inside does the rest. */

/* ---------- sections + heads ---------- */
.ip-sec { position: relative; padding: clamp(56px, 8vw, 112px) 0; }
/* tinted band: fades in and out of the page colour so the night sky reads as one surface */
.ip-sec.alt { --alt-edge: clamp(56px, 8vw, 128px); background: radial-gradient(70% 520px at 50% 0, rgba(124, 92, 255, .07), transparent 70%), linear-gradient(180deg, var(--bg) 0, var(--bg-alt) var(--alt-edge), var(--bg-alt) calc(100% - var(--alt-edge)), var(--bg) 100%); }
/* a faint dot field at the top of the tinted sections, echoing the hero */
.ip-sec.alt::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(179, 166, 255, .16) 1px, transparent 1.5px); background-size: 28px 28px; background-position: 50% 0; -webkit-mask-image: linear-gradient(180deg, transparent, #000 var(--alt-edge, 0px)), radial-gradient(60% 420px at 50% 0, #000, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent, #000 var(--alt-edge, 0px)), radial-gradient(60% 420px at 50% 0, #000, transparent 100%); mask-composite: intersect; }
.ip-sec > .container { position: relative; }
/* legal pages (markup in styles.css): a faint sky glow over the title */
.legal { background: radial-gradient(80% 420px at 50% 0, rgba(124, 92, 255, .1), transparent 70%), radial-gradient(50% 320px at 88% 0, rgba(124, 92, 255, .08), transparent 70%); }
.ip-sec.tight { padding-top: clamp(20px, 3vw, 36px); }
.ip-sec[id] { scroll-margin-top: var(--header-h); }
.ip-head { max-width: 780px; margin: 0 auto clamp(30px, 4.6vw, 56px); text-align: center; }
.ip-head .tag { justify-content: center; }
.ip-head .tag::after, .ip-cta .tag::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.ip-head .h2 { margin-bottom: .35em; }
.ip-head .lede { margin: 0 auto; }
.ip-sec .h2 .grad .w, .ip-cta .h2 .grad .w { background: linear-gradient(100deg, #fff 0%, #fff 38%, var(--peach) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .12em; margin-bottom: -.12em; }
.ip-note { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: 0; color: var(--ink-3); }
.ip-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.ip-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- icons ---------- */
.ip-i { display: block; width: 24px; height: 24px; flex: none; }
.ip-ico { position: relative; flex: none; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: var(--brand-light); background: var(--brand-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 22%, transparent); transition: background .35s ease, color .35s ease, transform .55s var(--e-spring), box-shadow .35s ease; }
/* icons draw themselves in when their cell reveals, and again on hover */
.js .ip-cell .ip-ico path, .js .ip-fit .ip-fit-node path { stroke-dasharray: 1; stroke-dashoffset: 1.01; transition: stroke-dashoffset 1.1s var(--e-out) calc(var(--i, 0) * 80ms + .25s); }
.js .ip-cell.in .ip-ico path, .js .ip-fit.in .ip-fit-node path { stroke-dashoffset: 0; }
@keyframes ip-draw { from { stroke-dashoffset: 1.01; } to { stroke-dashoffset: 0; } }

/* ---------- cards + grids ---------- */
.ip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.ip-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ip-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ip-cell { display: flex; min-width: 0; }
.ip-card { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 2.2vw, 30px); border-radius: var(--r-lg); background: var(--surface); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-1); color: inherit; transition: transform .5s var(--e-out), translate .45s var(--e-out), border-color .3s ease, box-shadow .35s ease; }
.ip-card[data-tilt].tilting { transition: transform .08s linear, translate .45s var(--e-out), border-color .3s ease, box-shadow .35s ease; }
.ip-card > * { position: relative; z-index: 1; }
.ip-card > .glare { position: absolute; z-index: 2; }
.ip-card::after { content: ""; position: absolute; left: 26px; right: 26px; top: -1px; height: 2px; border-radius: 2px; background: var(--spectrum); transform: scaleX(0); transform-origin: 0 50%; transition: transform .55s var(--e-out); }
.ip-card h3 { font-size: 1.14rem; line-height: 1.25; letter-spacing: 0; color: var(--ink); margin: 20px 0 6px; }
.ip-card p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--ink-2); }
.ip-card > .ip-num { position: absolute; top: clamp(22px, 2.2vw, 30px); right: clamp(22px, 2.2vw, 30px); font-family: var(--f-mono); font-size: .68rem; letter-spacing: 0; color: var(--ink-3); transition: color .3s ease; }
.ip-more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .92rem; color: var(--brand-light); }
.ip-more .ip-i { width: 16px; height: 16px; transition: transform .35s var(--e-out); }
@media (hover: hover) {
  .ip-card:hover { translate: 0 -6px; border-color: color-mix(in srgb, var(--sky) 40%, transparent); box-shadow: var(--shadow-2); }
  .ip-card:hover::after { transform: scaleX(1); }
  .ip-card:hover .ip-ico { background: var(--sky); color: var(--navy); transform: translateY(-2px) rotate(-6deg) scale(1.06); box-shadow: 0 10px 24px rgba(124, 92, 255, .35); }
  .js .ip-cell .ip-card:hover .ip-ico path { animation: ip-draw .9s var(--e-out); }
  .ip-card:hover .ip-num { color: var(--brand-light); }
  .ip-card:hover .ip-more .ip-i { transform: translateX(5px); }
}
/* the "try it" card that fills a grid: a little dusk sky with the sun coming up in its corner */
.ip-card.blue { background: radial-gradient(420px 260px at 0% 100%, rgba(22, 94, 238, .42), transparent 70%), radial-gradient(360px 240px at 30% 110%, rgba(124, 92, 255, .4), transparent 70%), linear-gradient(160deg, #10245A, #1A2766 55%, #3B2A6E); border-color: var(--line-2); color: #fff; }
.ip-card.blue h3 { color: #fff; }
.ip-card.blue p { color: #D3DDEE; }
.ip-card.blue .ip-ico { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.ip-card.blue .ip-more { color: #fff; }
.ip-card.blue::after { background: var(--spectrum); }
@media (hover: hover) { .ip-card.blue:hover .ip-ico { background: #fff; color: var(--navy); } }

.ip-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ip-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; line-height: 1.4; color: var(--ink-2); }
.ip-checks .ip-i { width: 18px; height: 18px; padding: 3.5px; margin-top: 1px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-light); stroke-width: 3; }
.ip-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.ip-link .ip-i { width: 16px; height: 16px; transition: transform .3s var(--e-out); }
.ip-link:hover .ip-i { transform: translateX(5px); }

/* ---------- closing call to action ---------- */
.ip-cta-wrap { padding: clamp(8px, 1.4vw, 20px); background: var(--cta-bg, transparent); }
.ip-cta { --ink: #fff; --ink-2: #D3D6E0; position: relative; isolation: isolate; overflow: clip; border-radius: var(--r-xl); text-align: center; color: var(--ink-2); padding: clamp(64px, 9vw, 124px) 0 clamp(72px, 10vw, 136px); background: var(--navy); box-shadow: inset 0 0 0 1px var(--line); transform: scale(var(--s, 1)); transform-origin: 50% 100%; will-change: transform; }
.ip-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45; background-image: radial-gradient(rgba(255, 255, 255, .55) 1px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(80% 90% at 50% 0%, #000, transparent 70%); mask-image: radial-gradient(80% 90% at 50% 0%, #000, transparent 70%); }
/* the gradient slides on a transform (compositor only), not on background-position */
.ip-cta::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 240%; z-index: -3; background: linear-gradient(100deg, #0A0F1A, #10245A 30%, #13286B 52%, #2A2766 76%, #10245A); animation: ip-slide 18s ease-in-out infinite alternate; will-change: transform; }
.ip-cta-aura { position: absolute; inset: 0; z-index: -2; background: radial-gradient(55% 50% at 50% 106%, rgba(22, 94, 238, .48), rgba(59, 116, 242, .18) 45%, transparent 75%), radial-gradient(90% 70% at 50% 120%, rgba(124, 92, 255, .38), transparent 72%); }
.ip-cta-aura::before, .ip-cta-aura::after { content: ""; position: absolute; width: 46%; aspect-ratio: 1.3; border-radius: 50%; filter: blur(70px); }
.ip-cta-aura::before { left: -8%; top: -40%; background: rgba(124, 92, 255, .24); animation: ip-aura-a 15s ease-in-out infinite alternate; }
.ip-cta-aura::after { right: -10%; bottom: -55%; background: rgba(124, 92, 255, .3); animation: ip-aura-b 19s ease-in-out infinite alternate; }
.ip-cta-rings { position: absolute; left: 50%; bottom: 0; width: 0; height: 0; z-index: -1; }
.ip-cta-rings i { position: absolute; left: 0; top: 0; width: min(120vw, 1500px); aspect-ratio: 1; margin: calc(min(120vw, 1500px) / -2) 0 0 calc(min(120vw, 1500px) / -2); border-radius: 50%; border: 1px solid rgba(201, 190, 255, .55); opacity: 0; animation: ip-ring 7.5s linear infinite; }
.ip-cta-rings i:nth-child(2) { animation-delay: -2.5s; }
.ip-cta-rings i:nth-child(3) { animation-delay: -5s; }
.ip-cta-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.ip-cta .tag { color: var(--sky); font-size: .72rem; margin: 0 0 14px; }
.ip-cta .h2 { color: #fff; font-size: clamp(2.1rem, 4.8vw, 3.8rem); letter-spacing: 0; max-width: 17ch; margin-bottom: .3em; }
.ip-cta .h2 .grad, .ip-cta .h2 .grad .w { background: linear-gradient(100deg, #fff 0%, #fff 38%, var(--peach) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ip-cta p { color: var(--ink-2); font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 46ch; margin: 0 auto; }
.ip-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.ip-cta .btn-light { box-shadow: 0 14px 40px rgba(0, 0, 0, .4), 0 8px 28px -10px rgba(179, 166, 255, .5); }
.ip-cta .btn-outline { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ip-cta .btn-outline:hover { background: rgba(255, 255, 255, .18); }
.ip-cta-notes { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: 0; color: #D3D6E0; }
.ip-cta-notes li { display: inline-flex; align-items: center; gap: 8px; }
.ip-cta-notes .ip-i { width: 15px; height: 15px; color: var(--mint); stroke-width: 2.4; }
@keyframes ip-shift { from { background-position: 0% 40%; } to { background-position: 100% 60%; } }
@keyframes ip-slide { to { transform: translate3d(-58.3%, 0, 0); } }
@keyframes ip-aura-a { to { transform: translate3d(60%, 40%, 0) scale(1.25); } }
@keyframes ip-aura-b { to { transform: translate3d(-55%, -35%, 0) scale(1.2); } }
@keyframes ip-ring { 0% { transform: scale(.06); opacity: 0; } 12% { opacity: .55; } 100% { transform: scale(1); opacity: 0; } }

/* ---------- "how it fits together": three connected steps ---------- */
.ip-fit { --g: clamp(18px, 3.4vw, 48px); list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); }
.ip-fit::before, .ip-fit-line { content: ""; position: absolute; top: 33px; left: calc((100% - 2 * var(--g)) / 6); right: calc((100% - 2 * var(--g)) / 6); height: 2px; border-radius: 2px; }
.ip-fit::before { background: var(--line); }
.ip-fit-line { background: var(--spectrum); transform-origin: 0 50%; transition: transform 1.5s var(--e-out) .15s; box-shadow: 0 0 14px rgba(124, 92, 255, .45); }
.ip-fit-line i { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(201, 190, 255, .6), 0 0 16px 4px rgba(252, 140, 93, .8); offset-path: none; opacity: 0; }
.ip-fit.in .ip-fit-line i, html:not(.js) .ip-fit-line i { animation: ip-travel 3.4s cubic-bezier(.6, 0, .4, 1) 1.9s infinite; }
.ip-fit-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ip-fit-node { position: relative; z-index: 1; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); border: 2px solid var(--sky); color: var(--navy); box-shadow: 0 10px 26px rgba(124, 92, 255, .35), 0 0 0 8px var(--fit-bg, var(--bg-alt)); transition: transform .7s var(--e-spring), background .4s ease, border-color .4s ease, color .4s ease; transition-delay: calc(var(--k, 0) * .55s + .15s); }
.ip-fit-node::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--sky); opacity: 0; }
.ip-fit .hud { margin-top: 18px; color: var(--brand-light); }
.ip-fit h3 { font-size: 1.2rem; margin: 6px 0 6px; color: var(--ink); }
.ip-fit p { margin: 0; font-size: .96rem; line-height: 1.55; color: var(--ink-2); max-width: 30ch; }
.ip-fit .hud, .ip-fit h3, .ip-fit p { transition: opacity .6s ease, transform .7s var(--e-out); transition-delay: calc(var(--k, 0) * .55s + .3s); }
.js .ip-fit:not(.in) .ip-fit-line { transform: scaleX(0); }
.js .ip-fit:not(.in) .ip-fit-node { transform: scale(.6); background: var(--surface-solid); border-color: var(--line); color: var(--ink-3); box-shadow: 0 0 0 8px var(--fit-bg, var(--bg-alt)); }
.js .ip-fit:not(.in) :is(.hud, h3, p) { opacity: 0; transform: translateY(14px); }
.js .ip-fit.in .ip-fit-node::after { animation: ip-burst 1s ease-out calc(var(--k, 0) * .55s + .3s); }
.js .ip-fit[data-reveal] { transform: none; }
@keyframes ip-travel { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes ip-burst { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(2); } }

/* sibling links under the template pages */
.ip-sibs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ip-sibs a { display: inline-flex; align-items: center; min-height: 44px; gap: 9px; padding: 9px 16px 9px 10px; border-radius: 999px; background: var(--surface); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); border: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: .92rem; transition: translate .35s var(--e-out), border-color .25s ease, box-shadow .3s ease, color .25s ease; }
.ip-sibs a .ip-i { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-light); transition: background .3s ease, color .3s ease, transform .5s var(--e-spring); }
.ip-sibs a:hover { translate: 0 -3px; border-color: color-mix(in srgb, var(--sky) 40%, transparent); box-shadow: var(--shadow-1); color: var(--brand-light); }
.ip-sibs a:hover .ip-i { background: var(--sky); color: var(--navy); transform: rotate(-8deg) scale(1.08); }
.ip-sibs-head { display: block; text-align: center; margin: 0 0 18px; }
.ip-sibs-sec { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }

/* integrations tiles */
.ip-int-wrap { margin-top: clamp(36px, 5vw, 64px); }
.ip-int-wrap > .hud { display: block; text-align: center; margin-bottom: 18px; }
.ip-int-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.ip-int.int-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 6px 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .82rem; color: var(--ink); text-align: center; }
.ip-int i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-family: var(--f-mono); font-weight: 600; font-size: .95rem; color: var(--brand-light); background: var(--brand-soft); }

/* =====================================================================
   Pricing
   ===================================================================== */
.ip-bill-row { display: flex; justify-content: center; margin-bottom: clamp(14px, 2vw, 22px); }
.ip-bill { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); }
.ip-bill button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; border: 0; background: none; font: inherit; font-weight: 600; font-size: .95rem; line-height: 1; padding: 13px 22px; border-radius: 999px; color: var(--ink-2); cursor: pointer; transition: color .3s ease; -webkit-tap-highlight-color: transparent; }
.ip-bill button.on { color: var(--navy); background: #fff; }
.ip-bill.live button.on { background: none; }
.ip-bill em { font-style: normal; font-family: var(--f-mono); font-size: .62rem; font-weight: 500; letter-spacing: 0; padding: 5px 8px; border-radius: 999px; background: color-mix(in srgb, var(--mint) 16%, transparent); color: var(--mint); transition: background .3s ease, color .3s ease; white-space: nowrap; }
.ip-bill button.on em { background: #DDF5EA; color: #0B7A5F; }
.ip-bill-thumb { display: none; position: absolute; top: 5px; bottom: 5px; left: 0; width: var(--w, 0); transform: translateX(var(--x, 5px)); border-radius: 999px; background: #fff; box-shadow: 0 6px 22px -4px rgba(179, 166, 255, .5); }
.ip-bill.live .ip-bill-thumb { display: block; }
.ip-bill.moving .ip-bill-thumb { transition: transform .55s var(--e-spring), width .55s var(--e-spring); }
.ip-bill button:focus-visible, .ip-car-btn:focus-visible, .ip-seg label:focus-within { outline: 2px solid var(--brand); outline-offset: 3px; }

.ip-plans { display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: 6px; padding: 26px 6px 56px; margin: 0 -6px -26px; scrollbar-width: none; cursor: grab; }
.ip-plans::-webkit-scrollbar { display: none; }
.ip-plans.dragging, .ip-plans.hinting { scroll-snap-type: none; }
.ip-plans.dragging { cursor: grabbing; user-select: none; }
.ip-plans.dragging a { pointer-events: none; }
.ip-plan-cell { flex: 0 0 calc((100% - 54px) / 4); min-width: 0; display: flex; scroll-snap-align: start; }
.ip-plan { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 26px 22px 24px; border-radius: var(--r-lg); background: var(--surface); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: translate .45s var(--e-out), border-color .3s ease, box-shadow .35s ease; }
.ip-plan-name { margin: 0 0 16px; font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.ip-price { display: flex; align-items: baseline; gap: 5px; margin: 0; color: var(--ink); }
.ip-price-num { display: inline-flex; height: 1.1em; font-size: clamp(2.3rem, 3vw, 2.8rem); font-weight: 600; letter-spacing: 0; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ip-price small { font-size: .95rem; color: var(--ink-3); }
.ip-roll { display: inline-flex; }
.ip-roll > span { display: block; height: 1.1em; line-height: 1.1; }
.ip-roll-d { overflow: hidden; }
.ip-roll-c { display: flex; flex-direction: column; transition: transform .95s cubic-bezier(.16, .9, .2, 1); transition-delay: calc(var(--n, 0) * 70ms); will-change: transform; }
.ip-roll-c span { display: block; height: 1.1em; line-height: 1.1; }
.ip-plan-sub { margin: 8px 0 0; font-size: .9rem; color: var(--ink-2); }
.ip-plan-bill { margin: 10px 0 0; min-height: 2.9em; font-family: var(--f-mono); font-size: .66rem; letter-spacing: 0; color: var(--ink-3); line-height: 1.45; }
.ip-plan-bill b { color: var(--mint); font-weight: 600; }
.ip-swap { display: grid; }
.ip-swap > * { grid-area: 1 / 1; transition: opacity .35s ease, transform .5s var(--e-out); }
.ip-swap > .y { opacity: 0; transform: translateY(8px); pointer-events: none; }
.ip-plans[data-bill="yearly"] .ip-swap > .m { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.ip-plans[data-bill="yearly"] .ip-swap > .y { opacity: 1; transform: none; pointer-events: auto; }
.ip-plan .btn { margin: 16px 0 20px; width: 100%; }
.ip-plan .ip-checks { padding-top: 18px; border-top: 1px solid var(--line); }
.ip-plan .ip-checks li.hi { color: var(--ink); font-weight: 500; }
.ip-plan .ip-checks li.hi .ip-i { background: color-mix(in srgb, var(--mint) 18%, transparent); color: var(--mint); }
@media (hover: hover) { .ip-plan:hover { translate: 0 -6px; border-color: color-mix(in srgb, var(--sky) 40%, transparent); box-shadow: var(--shadow-2); } }
/* featured plan: a gradient border that keeps turning */
@property --ip-a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
/* opaque, and no backdrop-filter: that would make it a stacking context and pull the blurred halo (::before) inside the card */
.ip-plan.featured { border: 2px solid transparent; padding: 25px 21px 23px; -webkit-backdrop-filter: none; backdrop-filter: none; background: radial-gradient(120% 60% at 50% 0%, rgba(22, 94, 238, .14), transparent 70%) padding-box, linear-gradient(180deg, #13225A, var(--surface-solid) 46%) padding-box, conic-gradient(from var(--ip-a), var(--sky-2), var(--sky), var(--peach), var(--sun), var(--bloom), var(--sky-2)) border-box; box-shadow: 0 30px 70px -30px rgba(22, 94, 238, .45); animation: ip-turn 6s linear infinite; }
.ip-plan.featured::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; background: conic-gradient(from var(--ip-a), var(--sky-2), var(--sky), var(--peach), var(--sun), var(--bloom), var(--sky-2)); filter: blur(18px); opacity: .3; }
.ip-plan.featured:hover { border-color: transparent; }
.ip-ribbon { position: absolute; top: -13px; left: 20px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 8px; border-radius: 999px; font-family: var(--f-mono); font-size: .62rem; font-weight: 500; letter-spacing: 0; color: var(--navy); background: linear-gradient(100deg, #fff, var(--peach)); box-shadow: 0 6px 18px rgba(22, 94, 238, .35); }
.ip-ribbon .ip-i { width: 13px; height: 13px; stroke-width: 2.2; }
@keyframes ip-turn { to { --ip-a: 360deg; } }
/* picked by the estimator */
.ip-plan.pick { animation: ip-pick 1.6s var(--e-out); border-color: var(--sky); }
.ip-plan.featured.pick { animation: ip-turn 6s linear infinite, ip-pick 1.6s var(--e-out); border-color: transparent; }
@keyframes ip-pick { 0% { box-shadow: 0 0 0 0 rgba(179, 166, 255, .55), var(--shadow-2); scale: 1; } 30% { scale: 1.035; } 100% { box-shadow: 0 0 0 26px rgba(179, 166, 255, 0), var(--shadow-2); scale: 1; } }

.ip-car-ctl { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.ip-car-bar { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.ip-car-bar i { position: absolute; inset: 0 auto 0 0; width: var(--w, 40%); border-radius: 3px; background: var(--spectrum); transform: translateX(var(--x, 0%)); will-change: transform; }
.ip-car-count { white-space: nowrap; min-width: 9ch; text-align: right; }
.ip-car-btn { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); border: 1px solid var(--line-2); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-1); transition: translate .3s var(--e-out), background .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease, box-shadow .3s ease; }
.ip-car-btn .ip-i { width: 20px; height: 20px; transition: transform .3s var(--e-out); }
.ip-car-btn:not(:disabled):hover { background: #fff; border-color: #fff; color: var(--navy); box-shadow: 0 10px 28px -6px rgba(179, 166, 255, .55); }
.ip-car-btn.prev:not(:disabled):hover .ip-i { transform: translateX(-3px); }
.ip-car-btn.next:not(:disabled):hover .ip-i { transform: translateX(3px); }
.ip-car-btn:not(:disabled):active { translate: 0 1px; }
.ip-car-btn:disabled { opacity: .4; cursor: default; box-shadow: none; }
.ip-fine { margin: 22px auto 0; max-width: 70ch; text-align: center; font-size: .86rem; color: var(--ink-3); }

/* every paid plan includes */
.ip-inc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.ip-inc .ip-card { flex-direction: row; align-items: flex-start; gap: 16px; padding: 22px; }
.ip-inc .ip-card h3 { margin: 2px 0 4px; font-size: 1.04rem; }
.ip-inc .ip-card p { font-size: .9rem; }
.ip-inc .ip-ico { width: 46px; height: 46px; border-radius: 14px; }

/* estimator */
.ip-est { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ip-est-copy .lede { margin-bottom: 1.2em; }
.ip-est-card { position: relative; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--r-xl); background: var(--surface); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.ip-range { display: block; margin-bottom: 22px; }
.ip-range-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-weight: 600; color: var(--ink); }
.ip-range output { font-family: var(--f-mono); font-size: 1.05rem; font-weight: 600; color: var(--brand-light); font-variant-numeric: tabular-nums; }
.ip-range input { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 26px; margin: 0; background: transparent; cursor: pointer; --v: 50%; }
.ip-range input:focus { outline: none; }
.ip-range input::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--sky-2) 0, var(--sky) calc(var(--v) * .55), var(--peach) var(--v), var(--line-2) var(--v)); }
.ip-range input::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--sky-2) 0, var(--sky) calc(var(--v) * .55), var(--peach) var(--v), var(--line-2) var(--v)); }
.ip-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--sky); box-shadow: 0 4px 14px rgba(0, 0, 0, .45), 0 0 14px rgba(179, 166, 255, .4); transition: transform .25s var(--e-spring), box-shadow .25s ease; }
.ip-range input::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--sky); box-shadow: 0 4px 14px rgba(0, 0, 0, .45), 0 0 14px rgba(179, 166, 255, .4); }
.ip-range input:hover::-webkit-slider-thumb, .ip-range input:focus-visible::-webkit-slider-thumb { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(179, 166, 255, .2), 0 4px 14px rgba(0, 0, 0, .45); }
.ip-seg-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; font-weight: 600; color: var(--ink); }
.ip-seg { position: relative; display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.ip-seg label { position: relative; cursor: pointer; border-radius: 9px; }
.ip-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ip-seg span { display: block; padding: 8px 16px; border-radius: 9px; font-size: .86rem; font-weight: 600; color: var(--ink-2); transition: background .3s ease, color .3s ease, box-shadow .3s ease; }
.ip-seg input:checked + span { background: #fff; color: var(--navy); box-shadow: 0 4px 14px -4px rgba(179, 166, 255, .5); }
.ip-est-out { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; align-items: end; padding: 20px 22px; border-radius: var(--r-md); background: radial-gradient(120% 140% at 100% 100%, rgba(22, 94, 238, .16), transparent 60%), linear-gradient(140deg, rgba(124, 92, 255, .1), rgba(124, 92, 255, .1)); border: 1px solid var(--line-2); }
.ip-est-out .hud { grid-column: 1 / -1; }
.ip-est-credits { font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 600; letter-spacing: 0; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.ip-est-plan { text-align: right; font-size: .92rem; color: var(--ink-2); line-height: 1.35; }
.ip-est-plan b { display: block; font-size: 1.1rem; color: var(--ink); }
.ip-est-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.ip-est-foot .ip-note { flex: 1; min-width: 180px; }

/* enterprise + RCS */
.ip-duo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.ip-ent { position: relative; flex: 1; overflow: clip; border-radius: var(--r-xl); padding: clamp(28px, 3.6vw, 52px); display: flex; flex-direction: column; align-items: flex-start; }
.ip-ent > * { position: relative; z-index: 1; }
.ip-ent > .glare, .ip-ent > .ip-ent-orbit { position: absolute; z-index: 0; }
.ip-ent .h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.ip-ent > p { color: var(--ink-2); max-width: 44ch; margin: 0 0 22px; }
.ip-ent-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; width: 100%; }
.ip-ent-list li { display: flex; align-items: center; gap: 11px; color: var(--ink); font-size: .95rem; }
.ip-ent-list .ip-i { width: 34px; height: 34px; padding: 8px; border-radius: 11px; background: rgba(124, 92, 255, .16); color: var(--brand-light); box-shadow: inset 0 0 0 1px rgba(179, 166, 255, .25); }
.ip-ent .btn { margin-top: auto; }
/* a slow orbit in the corner: sub-accounts circling one hub */
.ip-ent-orbit { position: absolute; right: -130px; bottom: -200px; width: 460px; height: 460px; border-radius: 50%; border: 1px dashed rgba(179, 166, 255, .3); background: radial-gradient(closest-side, rgba(22, 94, 238, .24), rgba(124, 92, 255, .14) 45%, transparent 70%); animation: fx-spin 70s linear infinite; pointer-events: none; }
.ip-ent-orbit::before { content: ""; position: absolute; inset: 78px; border-radius: 50%; border: 1px solid rgba(179, 166, 255, .22); }
.ip-ent-orbit::after, .ip-ent-orbit i::after, .ip-ent-orbit i::before { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-light); box-shadow: 0 0 16px 3px rgba(179, 166, 255, .8); }
.ip-ent-orbit::after { top: 50%; left: -5px; }
.ip-ent-orbit i { position: absolute; inset: 150px; border-radius: 50%; border: 1px dashed rgba(201, 190, 255, .3); animation: fx-spin 26s linear infinite reverse; }
.ip-ent-orbit i::after { top: -5px; left: 50%; background: var(--peach); box-shadow: 0 0 16px 3px rgba(201, 190, 255, .7); }
.ip-ent-orbit i::before { bottom: 12%; left: 4%; width: 7px; height: 7px; background: var(--sun); box-shadow: 0 0 14px 3px rgba(22, 94, 238, .8); }
.ip-rcs { position: relative; flex: 1; border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); background: radial-gradient(520px 320px at 100% 0%, rgba(124, 92, 255, .16), transparent 70%), var(--surface); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-1); display: flex; flex-direction: column; align-items: flex-start; }
.ip-rcs h3 { font-size: 1.5rem; margin: 14px 0 8px; color: var(--ink); }
.ip-rcs > p { margin: 0 0 20px; color: var(--ink-2); font-size: .97rem; }
.ip-rcs-mock { width: 100%; margin: 0 0 22px; padding: 14px; border-radius: 20px; background: rgba(4, 8, 26, .55); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.ip-rcs-from { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.ip-rcs-from > i { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(140deg, #fff, var(--sky)); color: var(--navy); display: grid; place-items: center; }
.ip-rcs-from > i .ip-i { width: 15px; height: 15px; }
.ip-rcs-from span { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: .6rem; font-weight: 500; letter-spacing: 0; color: var(--mint); }
.ip-rcs-from span .ip-i { width: 13px; height: 13px; stroke-width: 2.2; }
.ip-rcs-card { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.ip-rcs-img { position: relative; height: 92px; background: linear-gradient(120deg, #10245A, #2A2766 35%, #8A4C9A 65%, #165EEE 100%); background-size: 180% 180%; animation: ip-shift 9s ease-in-out infinite alternate; overflow: hidden; }
.ip-rcs-img::before, .ip-rcs-img::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); width: 150px; height: 150px; right: -30px; top: -40px; }
.ip-rcs-img::after { width: 90px; height: 90px; right: 0; top: -10px; background: rgba(255, 255, 255, .14); }
.ip-rcs-img b { position: absolute; left: 14px; bottom: 12px; color: #fff; font-size: 1.05rem; letter-spacing: 0; }
.ip-rcs-txt { padding: 11px 14px 4px; font-size: .86rem; color: var(--ink-2); margin: 0; }
.ip-rcs-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 14px 14px; }
.ip-rcs-btns span { text-align: center; padding: 8px 6px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--brand-light); background: var(--brand-soft); animation: ip-nudge 4.4s ease-in-out infinite; }
.ip-rcs-btns span:nth-child(2) { animation-delay: 2.2s; }
.ip-rcs .ip-link { margin-top: auto; }
@keyframes ip-nudge { 0%, 16%, 100% { background: var(--brand-soft); color: var(--brand-light); transform: none; } 6% { background: var(--sky); color: var(--navy); transform: scale(1.04); } }

/* FAQ */
.ip-faq-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.ip-faq-side { position: sticky; top: calc(var(--header-h) + 36px); }
.ip-faq-side .lede { margin-bottom: 1.3em; }
.ip-faq-side .btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ip-faq { counter-reset: q; }
.ip-faq-item, .ip-faq > details { margin-bottom: 10px; } /* main.js wraps each question in .ip-faq-item so it can reveal */
.ip-faq details { margin: 0; padding: 0 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s ease, box-shadow .3s ease; }
.ip-faq details:hover { border-color: var(--line-2); }
.ip-faq details[open] { border-color: color-mix(in srgb, var(--sky) 38%, transparent); background: color-mix(in srgb, var(--surface-solid) 85%, transparent); box-shadow: var(--shadow-1); }
.ip-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: flex-start; gap: 14px; padding: 18px 0; font-weight: 600; color: var(--ink); line-height: 1.35; }
.ip-faq summary::-webkit-details-marker { display: none; }
.ip-faq summary::before { counter-increment: q; content: counter(q, decimal-leading-zero); flex: none; font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: 0; color: var(--brand-light); }
.ip-faq summary::after, .ip-faq details[open] summary::after { content: ""; flex: none; margin-left: auto; width: 26px; height: 26px; border-radius: 50%; font-size: 0; background:
  linear-gradient(var(--brand-light), var(--brand-light)) center / 11px 1.75px no-repeat,
  linear-gradient(var(--brand-light), var(--brand-light)) center / 1.75px 11px no-repeat,
  var(--brand-soft); transition: transform .45s var(--e-out), background-size .3s ease, background-color .3s ease; }
.ip-faq details[open] summary::after { transform: rotate(180deg); background-size: 11px 1.75px, 1.75px 0, auto; }
.ip-faq details p { margin: 0; padding: 0 44px 20px 34px; font-size: .96rem; line-height: 1.6; color: var(--ink-2); }
.ip-faq summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 6px; }

/* access code */
.ip-code-card { max-width: 640px; margin: 0 auto; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--surface); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); border: 1px dashed color-mix(in srgb, var(--sky) 40%, transparent); text-align: center; }
.ip-code-card h3 { font-size: 1.35rem; margin: 0 0 6px; color: var(--ink); }
.ip-code-card > p { margin: 0 0 18px; color: var(--ink-2); }
.ip-code { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.ip-code-field { position: relative; flex: 1; display: block; }
.ip-code-field .ip-i { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--ink-3); transition: color .25s ease, transform .45s var(--e-spring); pointer-events: none; }
.ip-code-field input { width: 100%; height: 100%; min-height: 50px; padding: 12px 14px 12px 44px; font: inherit; font-family: var(--f-mono); letter-spacing: 0; color: var(--ink); background: rgba(4, 8, 26, .5); border: 1.5px solid var(--line-2); border-radius: 12px; outline: none; transition: border-color .25s ease, box-shadow .3s ease; }
.ip-code-field input::placeholder { text-transform: none; letter-spacing: 0; font-family: var(--f-sans); color: #8293B4; opacity: 1; }
.ip-code-field input:focus { border-color: var(--sky); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sky) 24%, transparent); }
.ip-code-field:focus-within .ip-i { color: var(--brand-light); transform: rotate(-12deg) scale(1.1); }
.ip-code.bad { animation: ip-shake .4s ease; }
.ip-code.bad input { border-color: var(--rose); }
.ip-code-msg { min-height: 1.5em; margin: 12px 0 0; }
.ip-code-msg.ok { color: var(--mint); }
@keyframes ip-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* =====================================================================
   How it works: the timeline
   ===================================================================== */
.ip-tl { position: relative; max-width: 1080px; margin: 0 auto; }
.ip-tl-rail { position: absolute; left: 50%; top: 34px; bottom: 34px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--line); }
.ip-tl-fill { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(180deg, var(--sky-2), var(--sky) 45%, var(--peach) 78%, var(--sun)); transform-origin: 50% 0; transform: scaleY(var(--p, 1)); box-shadow: 0 0 14px rgba(124, 92, 255, .5); }
.ip-tl-dot { position: absolute; left: 50%; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--sky), 0 0 20px 6px rgba(179, 166, 255, .8); transform: translate3d(0, var(--y, 0px), 0); opacity: var(--o, 0); }
.ip-tl-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(44px, 7vw, 96px); }
.ip-tl-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr); column-gap: clamp(20px, 3.4vw, 48px); align-items: center; }
.ip-tl-node { grid-column: 2; grid-row: 1; position: relative; z-index: 1; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); border: 2px solid var(--sky); color: var(--navy); box-shadow: 0 10px 26px rgba(124, 92, 255, .38), 0 0 0 8px var(--bg); transition: background .4s ease, border-color .4s ease, color .4s ease, transform .7s var(--e-spring), box-shadow .4s ease; }
.ip-tl-node b { font-family: var(--f-mono); font-size: 1rem; font-weight: 600; letter-spacing: .02em; }
.ip-tl-node::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--sky); opacity: 0; }
.ip-tl-copy { grid-column: 1; grid-row: 1; justify-self: end; width: 100%; max-width: 430px; transition: opacity .7s ease, transform .9s var(--e-out); }
.ip-tl-viz { grid-column: 3; grid-row: 1; justify-self: start; width: 100%; max-width: 430px; transition: opacity .7s ease .1s, transform .9s var(--e-out) .1s; }
.ip-tl-step:nth-child(even) .ip-tl-copy { grid-column: 3; justify-self: start; }
.ip-tl-step:nth-child(even) .ip-tl-viz { grid-column: 1; justify-self: end; }
.ip-tl-copy .hud { color: var(--brand-light); }
.ip-tl-copy h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: 0; margin: 8px 0 10px; color: var(--ink); }
.ip-tl-copy p { margin: 0 0 16px; font-size: 1.04rem; line-height: 1.6; color: var(--ink-2); }
.ip-tl-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ip-tl-tags li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 8px; border-radius: 999px; font-size: .84rem; font-weight: 500; color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
.ip-tl-tags .ip-i { width: 16px; height: 16px; color: var(--brand-light); }
.ip-tl-end { position: relative; z-index: 1; margin: clamp(40px, 6vw, 72px) auto 0; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.ip-tl-end .chip { background: color-mix(in srgb, var(--mint) 14%, var(--bg)); }
/* live: hidden until the line reaches each node (main.js adds .live, then .on per step) */
.ip-tl.live .ip-tl-step:not(.on) .ip-tl-node { background: var(--surface-solid); border-color: var(--line-2); color: var(--ink-3); transform: scale(.72); box-shadow: 0 0 0 8px var(--bg); }
.ip-tl.live .ip-tl-step:not(.on) .ip-tl-copy { opacity: 0; transform: translateX(-36px); }
.ip-tl.live .ip-tl-step:not(.on) .ip-tl-viz { opacity: 0; transform: translateX(36px) scale(.96); }
.ip-tl.live .ip-tl-step:nth-child(even):not(.on) .ip-tl-copy { transform: translateX(36px); }
.ip-tl.live .ip-tl-step:nth-child(even):not(.on) .ip-tl-viz { transform: translateX(-36px) scale(.96); }
.ip-tl.live .ip-tl-step.on .ip-tl-node::after { animation: ip-burst 1s ease-out; }
.ip-tl.live .ip-tl-end { transition: opacity .6s ease, transform .8s var(--e-spring); }
.ip-tl.live .ip-tl-end:not(.on) { opacity: 0; transform: translateY(18px) scale(.94); }

/* mock cards inside the timeline */
.ip-mock > * { position: relative; z-index: 1; }
.ip-mock > .glare { position: absolute; z-index: 2; }
.ip-mock { position: relative; padding: 18px; border-radius: 22px; background: var(--surface); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-2); font-size: .88rem; color: var(--ink); }
.ip-mock-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.ip-mock-top .hud b { color: var(--ink); }
.ip-mock .mono { font-family: var(--f-mono); }
.ip-mock .chip .ip-i { width: 12px; height: 12px; stroke-width: 3; }
/* 1: numbers */
.ip-m-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ip-m-opts li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface-2); transition: opacity .5s ease, transform .6s var(--e-out), border-color .4s ease, background .4s ease; transition-delay: calc(var(--k) * .12s + .25s); }
.ip-m-opts b { display: block; font-weight: 600; line-height: 1.2; }
.ip-m-opts .mono { font-size: .76rem; color: var(--ink-3); }
.ip-m-radio { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); position: relative; transition: border-color .3s ease .9s; }
.ip-m-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--brand); transform: scale(0); transition: transform .45s var(--e-spring) .9s; }
.ip-m-opts .sel { border-color: var(--sky-2); background: var(--brand-soft); transition-delay: calc(var(--k) * .12s + .25s), calc(var(--k) * .12s + .25s), .9s, .9s; }
.ip-m-opts .sel .ip-m-radio { border-color: var(--brand); }
.ip-m-opts .sel .ip-m-radio::after { transform: scale(1); }
.ip-m-opts .chip { margin-left: auto; padding: 5px 9px; font-size: .6rem; transition: opacity .4s ease 2.5s, transform .6s var(--e-spring) 2.5s; }
.ip-m-opts .chip .ip-i { width: 12px; height: 12px; stroke-width: 3; }
.ip-m-reg { margin-top: 14px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 12px; }
.ip-m-bar { height: 6px; border-radius: 6px; background: rgba(179, 166, 255, .1); overflow: hidden; }
.ip-m-bar i { display: block; height: 100%; border-radius: 6px; background: var(--spectrum); transform-origin: 0 50%; transition: transform 1.5s var(--e-out) 1s; }
.ip-m-reg-ok { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; color: var(--mint); transition: opacity .4s ease 2.5s; }
.ip-m-reg-ok .ip-i { width: 13px; height: 13px; stroke-width: 3; }
.ip-tl.live .ip-tl-step:not(.on) .ip-m-opts li { opacity: 0; transform: translateY(12px); border-color: var(--line); background: var(--surface-2); }
.ip-tl.live .ip-tl-step:not(.on) .ip-m-radio { border-color: var(--line); }
.ip-tl.live .ip-tl-step:not(.on) .ip-m-radio::after { transform: scale(0); }
.ip-tl.live .ip-tl-step:not(.on) .ip-m-opts .chip { opacity: 0; transform: scale(.6); }
.ip-tl.live .ip-tl-step:not(.on) .ip-m-bar i { transform: scaleX(0); }
.ip-tl.live .ip-tl-step:not(.on) .ip-m-reg-ok { opacity: 0; }
/* 2: subscribers */
.ip-m-thread { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.ip-m-b { max-width: 84%; margin: 0; padding: 9px 13px; border-radius: 17px; font-size: .86rem; line-height: 1.4; transition: opacity .45s ease, transform .6s var(--e-spring); }
.ip-m-b.in { align-self: flex-end; background: var(--sky); color: var(--navy); border-bottom-right-radius: 5px; font-family: var(--f-mono); font-weight: 600; letter-spacing: 0; transition-delay: .35s; }
.ip-m-b.out { align-self: flex-start; background: rgba(179, 166, 255, .1); color: var(--ink); border-bottom-left-radius: 5px; transition-delay: 1.1s; }
.ip-m-count { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 14px; border-radius: 16px; background: radial-gradient(120% 140% at 100% 100%, rgba(22, 94, 238, .14), transparent 60%), linear-gradient(140deg, rgba(124, 92, 255, .1), rgba(124, 92, 255, .1)); }
.ip-m-count b { display: block; font-size: 1.9rem; font-weight: 600; letter-spacing: 0; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ip-m-count small { display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-mono); font-size: .66rem; color: var(--mint); }
.ip-m-spark { width: 46%; height: 52px; overflow: visible; }
.ip-m-spark path { fill: none; stroke: var(--sky); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--e-out) 1.4s; }
.ip-m-spark circle { fill: var(--navy); stroke: var(--peach); stroke-width: 2.5; transition: opacity .3s ease 3s; }
.ip-m-src { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ip-m-src li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 7px; border-radius: 999px; font-size: .76rem; font-weight: 500; background: var(--surface-2); border: 1px solid var(--line); animation: ip-src 6s ease-in-out infinite; animation-delay: calc(var(--k) * 1.5s); }
.ip-m-src .ip-i { width: 14px; height: 14px; color: var(--brand-light); }
.ip-tl.live .ip-tl-step:not(.on) .ip-m-b { opacity: 0; transform: translateY(10px) scale(.9); }
.ip-tl.live .ip-tl-step:not(.on) .ip-m-spark path { stroke-dashoffset: 1.01; }
.ip-tl.live .ip-tl-step:not(.on) .ip-m-spark circle { opacity: 0; }
@keyframes ip-src { 0%, 22%, 100% { border-color: var(--line); background: var(--surface-2); color: var(--ink); } 6%, 16% { border-color: var(--sky-2); background: var(--brand-soft); color: var(--brand-light); } }
/* 3: workflow */
.ip-m-nodes { display: flex; flex-direction: column; align-items: stretch; }
.ip-m-node { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface-2); transition: opacity .5s ease, transform .6s var(--e-spring); transition-delay: calc(var(--k) * .45s + .25s); }
.ip-m-node > i { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-light); }
.ip-m-node > i .ip-i { width: 18px; height: 18px; }
.ip-m-node .hud { display: block; font-size: .6rem; }
.ip-m-node b { font-weight: 600; }
.ip-m-node.trig { border-color: color-mix(in srgb, var(--bloom) 45%, transparent); }
.ip-m-node.trig > i { background: color-mix(in srgb, var(--bloom) 20%, transparent); color: var(--peach); }
.ip-m-node.send { border-color: var(--sky-2); background: var(--brand-soft); }
.ip-m-node.send > i { background: var(--sky); color: var(--navy); }
.ip-m-node .chip { margin-left: auto; padding: 5px 9px; font-size: .6rem; }
.ip-m-link { position: relative; width: 2px; height: 22px; margin: 0 0 0 29px; background: var(--line); transition: transform .4s ease; transition-delay: calc(var(--k) * .45s + .5s); transform-origin: 50% 0; }
.ip-m-link i { position: absolute; left: -3px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px 2px rgba(179, 166, 255, .8); animation: ip-drop 2.4s ease-in infinite; animation-delay: calc(var(--k) * .6s + 1.6s); opacity: 0; }
.ip-tl.live .ip-tl-step:not(.on) .ip-m-node { opacity: 0; transform: translateY(12px) scale(.96); }
.ip-tl.live .ip-tl-step:not(.on) .ip-m-link { transform: scaleY(0); }
@keyframes ip-drop { 0% { transform: translateY(-4px); opacity: 0; } 15% { opacity: 1; } 45% { transform: translateY(18px); opacity: 1; } 55%, 100% { transform: translateY(18px); opacity: 0; } }
/* 4: report */
.ip-m-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.ip-m-kpis div { padding: 11px 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.ip-m-kpis .hud { display: block; font-size: .58rem; margin-bottom: 2px; }
.ip-m-kpis b { font-size: 1.28rem; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.ip-m-kpis div:first-child { background: linear-gradient(140deg, rgba(124, 92, 255, .16), rgba(124, 92, 255, .14)); border-color: var(--line-2); }
.ip-m-chart { display: flex; align-items: flex-end; gap: 7px; height: 108px; padding: 0 2px; border-bottom: 1px solid var(--line); }
.ip-m-chart i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--sky), color-mix(in srgb, var(--sky-2) 55%, transparent)); opacity: .9; transform-origin: 50% 100%; transition: transform .9s var(--e-spring); transition-delay: calc(var(--k) * 70ms + .35s); }
.ip-m-chart i.pk { background: linear-gradient(180deg, var(--peach), var(--sun) 45%, color-mix(in srgb, var(--bloom) 60%, transparent)); opacity: 1; }
.ip-m-axis { display: flex; justify-content: space-between; margin-top: 6px; }
.ip-tl.live .ip-tl-step:not(.on) .ip-m-chart i { transform: scaleY(0); }

/* =====================================================================
   Use cases
   ===================================================================== */
.ip-uc h3 { margin-top: 18px; }
.ip-bub { width: 100%; margin-top: auto; padding-top: 20px; }
.ip-bub-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.ip-bub-msg { position: relative; margin: 0; padding: 11px 14px; border-radius: 18px 18px 18px 5px; background: rgba(179, 166, 255, .08); border: 1px solid var(--line); color: var(--ink); font-size: .9rem; line-height: 1.45; transform-origin: 0 100%; transition: background .35s ease, border-color .35s ease, color .35s ease, opacity .45s ease, transform .6s var(--e-spring); }
.ip-card p.ip-bub-msg { color: var(--ink); font-size: .9rem; }
/* the example text arrives whole, like a delivered message (no typing) */
.js .ip-bub.wait:not(.in) .ip-bub-msg { opacity: 0; transform: translateY(10px) scale(.94); }
.ip-bub-stat { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: .72rem; font-weight: 500; color: var(--mint); opacity: 0; transform: translateY(4px); transition: opacity .35s ease .35s, transform .45s var(--e-spring) .35s; }
.ip-bub-stat .ip-i { width: 12px; height: 12px; stroke-width: 3; }
.ip-bub.in .ip-bub-stat, html:not(.js) .ip-bub-stat { opacity: 1; transform: none; }
@media (hover: hover) { .ip-uc:hover .ip-bub-msg { background: var(--sky); border-color: var(--sky); color: var(--navy); } }

/* =====================================================================
   Contact
   ===================================================================== */
.ip-contact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(18px, 2.6vw, 36px); align-items: start; }
.ip-form-card { position: relative; flex: 1; padding: clamp(22px, 3vw, 40px); border-radius: var(--r-xl); background: var(--surface); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-2); overflow: clip; }
.ip-form-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--spectrum); }
.ip-form-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.ip-form-head h2 { font-size: 1.5rem; margin: 0; color: var(--ink); }
.ip-form { display: grid; gap: 14px; transition: opacity .4s ease, transform .5s var(--e-out), filter .4s ease; }
.ip-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ip-field { position: relative; display: block; }
.ip-field input, .ip-field textarea { display: block; width: 100%; font: inherit; color: var(--ink); caret-color: var(--sky); background: rgba(4, 8, 26, .5); border: 1.5px solid var(--line-2); border-radius: 14px; padding: 25px 16px 9px 46px; outline: none; transition: border-color .25s ease, box-shadow .3s ease, background .25s ease; }
.ip-field textarea { resize: vertical; min-height: 124px; line-height: 1.5; }
.ip-field input:hover, .ip-field textarea:hover { border-color: color-mix(in srgb, var(--sky) 45%, transparent); }
.ip-field input::placeholder, .ip-field textarea::placeholder { color: #8293B4; opacity: 1; }
.ip-field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px #0F1628 inset; -webkit-text-fill-color: var(--ink); caret-color: var(--sky); }
.ip-field input:focus, .ip-field textarea:focus { border-color: var(--sky); background: rgba(4, 8, 26, .7); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sky) 24%, transparent), 0 8px 24px rgba(124, 92, 255, .12); }
.ip-field > span { position: absolute; left: 46px; top: 17px; color: var(--ink-2); pointer-events: none; transform-origin: 0 0; transition: transform .28s var(--e-out), color .25s ease; white-space: nowrap; }
.ip-field input:focus ~ span, .ip-field input:not(:placeholder-shown) ~ span, .ip-field textarea:focus ~ span, .ip-field textarea:not(:placeholder-shown) ~ span { transform: translateY(-10px) scale(.76); color: var(--brand-light); }
.ip-field > .ip-i { position: absolute; left: 15px; top: 18px; width: 20px; height: 20px; color: var(--ink-3); pointer-events: none; transition: color .25s ease, transform .45s var(--e-spring); }
.ip-field:focus-within > .ip-i { color: var(--brand-light); transform: scale(1.14) rotate(-6deg); }
.ip-field > em { display: block; height: 0; overflow: hidden; font-style: normal; font-size: .8rem; color: var(--rose); padding-left: 4px; transition: height .25s ease, margin .25s ease; }
.ip-field.bad input, .ip-field.bad textarea { border-color: var(--rose); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rose) 14%, transparent); }
.ip-field.bad > em { height: 1.4em; margin-top: 5px; }
.ip-field.bad { animation: ip-shake .4s ease; }
.ip-field.ok > .ip-i { color: var(--mint); }
.ip-topic { border: 0; margin: 0; padding: 0; min-width: 0; }
.ip-topic legend { padding: 0; margin: 2px 0 10px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.ip-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ip-pills label { position: relative; cursor: pointer; }
.ip-pills input { position: absolute; opacity: 0; pointer-events: none; }
.ip-pills span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px 9px 11px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface-2); font-size: .9rem; font-weight: 500; color: var(--ink-2); transition: background .3s ease, color .3s ease, border-color .3s ease, transform .4s var(--e-spring), box-shadow .3s ease; }
.ip-pills span .ip-i { width: 17px; height: 17px; }
.ip-pills label:hover span { border-color: color-mix(in srgb, var(--sky) 45%, transparent); color: var(--ink); }
.ip-pills input:checked + span { background: #fff; border-color: #fff; color: var(--navy); box-shadow: 0 8px 24px -6px rgba(179, 166, 255, .55); transform: scale(1.03); }
.ip-pills input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 3px; }
.ip-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.ip-form-foot p { margin: 0; font-size: .82rem; color: var(--ink-3); max-width: 34ch; }
.ip-submit { min-width: 190px; }
.ip-submit .ip-i { width: 18px; height: 18px; transition: transform .45s var(--e-out), opacity .3s ease; }
.ip-submit:hover .ip-i { transform: translate(3px, -3px); }
.ip-submit-spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(11, 26, 59, .25); border-top-color: var(--navy); animation: fx-spin .7s linear infinite; }
.ip-submit.sending { pointer-events: none; }
.ip-submit.sending .ip-i { transform: translate(34px, -34px); opacity: 0; }
.ip-submit.sending .ip-submit-spin { display: inline-block; }
.ip-form-err { margin: 4px 0 0; color: var(--rose); }
.ip-form-err[hidden] { display: none; }
/* success */
.ip-ok { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 28px; background: radial-gradient(520px 320px at 50% 30%, rgba(95, 212, 154, .16), transparent 70%), var(--surface-solid); }
.ip-ok[hidden] { display: none; }
.ip-ok-mark { width: 92px; height: 92px; margin-bottom: 20px; overflow: visible; }
.ip-ok-mark circle { fill: none; stroke: var(--mint); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1.01; transform: rotate(-90deg); transform-origin: 50% 50%; }
.ip-ok-mark path { fill: none; stroke: var(--mint); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1.01; }
.ip-ok-mark .burst { stroke-width: 2.5; stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0; transform-origin: 50% 50%; }
.ip-ok h3 { font-size: 1.6rem; margin: 0 0 8px; color: var(--ink); }
.ip-ok p { margin: 0 0 22px; max-width: 38ch; color: var(--ink-2); }
.ip-ok.show .ip-ok-mark circle { animation: ip-draw .7s var(--e-out) .1s forwards; }
.ip-ok.show .ip-ok-mark path:not(.burst) { animation: ip-draw .45s var(--e-out) .65s forwards; }
.ip-ok.show .ip-ok-mark .burst { animation: ip-okburst .8s ease-out .75s; }
.ip-ok.show { animation: ip-okin .5s var(--e-out); }
.ip-ok.show h3, .ip-ok.show p, .ip-ok.show .btn { animation: ip-rise .6s var(--e-out) backwards; }
.ip-ok.show h3 { animation-delay: .8s; }
.ip-ok.show p { animation-delay: .92s; }
.ip-ok.show .btn { animation-delay: 1.04s; }
.ip-form-card.sent .ip-form, .ip-form-card.sent .ip-form-head { opacity: 0; transform: scale(.98); filter: blur(4px); pointer-events: none; }
@keyframes ip-okin { from { opacity: 0; } }
@keyframes ip-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes ip-okburst { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.35); } }

.ip-side { display: grid; gap: 14px; }
.ip-info { flex-direction: row; align-items: flex-start; gap: 16px; padding: 22px; }
.ip-info h3 { margin: 0 0 3px; font-size: 1.06rem; }
.ip-info p { font-size: .92rem; }
.ip-info a { font-weight: 600; word-break: break-word; }
.ip-info .ip-ico { width: 46px; height: 46px; border-radius: 14px; }
.ip-open { display: inline-flex; margin-top: 10px; }
.ip-open[hidden] { display: none; }
.ip-open.closed { background: var(--surface-2); color: var(--ink-2); border-color: var(--line-2); }
.ip-next { padding: 22px; border-radius: var(--r-lg); background: var(--surface); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); border: 1px solid var(--line); flex: 1; }
.ip-next .hud { display: block; margin-bottom: 14px; }
.ip-next ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: n; position: relative; }
.ip-next ol::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 2px; background: var(--line); }
.ip-next li { position: relative; display: flex; gap: 14px; align-items: flex-start; font-size: .93rem; line-height: 1.45; color: var(--ink-2); }
.ip-next li::before { counter-increment: n; content: counter(n); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-solid); border: 2px solid var(--sky-2); color: var(--brand-light); font-family: var(--f-mono); font-size: .72rem; font-weight: 600; position: relative; z-index: 1; }
.ip-next b { display: block; color: var(--ink); font-weight: 600; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .ip-plan-cell { flex-basis: calc((100% - 36px) / 3); }
  .ip-int-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ip-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .ip-grid, .ip-inc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ip-est, .ip-duo, .ip-faq-grid, .ip-contact { grid-template-columns: minmax(0, 1fr); }
  .ip-faq-side { position: static; }
  .ip-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ip-side .ip-next { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .ip-plan-cell { flex-basis: calc((100% - 18px) / 2); }
  /* timeline: line on the left, copy and mock stacked on the right */
  .ip-tl-rail { left: 22px; top: 22px; bottom: 22px; }
  .ip-tl-step, .ip-tl-step:nth-child(even) { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 18px; align-items: start; }
  .ip-tl-node { grid-column: 1; width: 44px; height: 44px; box-shadow: 0 8px 20px rgba(124, 92, 255, .35), 0 0 0 6px var(--bg); }
  .ip-tl-node b { font-size: .78rem; }
  .ip-tl-step .ip-tl-copy, .ip-tl-step:nth-child(even) .ip-tl-copy { grid-column: 2; grid-row: 1; justify-self: stretch; max-width: none; padding-top: 6px; }
  .ip-tl-step .ip-tl-viz, .ip-tl-step:nth-child(even) .ip-tl-viz { grid-column: 2; grid-row: 2; justify-self: stretch; max-width: 460px; }
  .ip-tl.live .ip-tl-step:not(.on) .ip-tl-copy, .ip-tl.live .ip-tl-step:nth-child(even):not(.on) .ip-tl-copy { transform: translateY(20px); }
  .ip-tl.live .ip-tl-step:not(.on) .ip-tl-viz, .ip-tl.live .ip-tl-step:nth-child(even):not(.on) .ip-tl-viz { transform: translateY(24px) scale(.97); }
  .ip-tl.live .ip-tl-step:not(.on) .ip-tl-node { box-shadow: 0 0 0 6px var(--bg); }
  .ip-tl-end { align-items: flex-start; text-align: left; padding-left: 60px; }
  /* fit strip: vertical */
  .ip-fit { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ip-fit::before, .ip-fit-line { top: 26px; bottom: 26px; left: 25px; right: auto; width: 2px; height: auto; }
  .ip-fit-line { transform-origin: 50% 0; }
  .js .ip-fit:not(.in) .ip-fit-line { transform: scaleY(0); }
  .ip-fit .ip-fit-line i { animation-name: ip-travel-y; left: 50%; }
  .ip-fit-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; text-align: left; align-items: start; }
  .ip-fit-node { width: 52px; height: 52px; grid-row: 1 / span 3; box-shadow: 0 8px 20px rgba(124, 92, 255, .35), 0 0 0 6px var(--fit-bg, var(--bg-alt)); }
  .ip-fit-node .ip-i { width: 22px; height: 22px; }
  .ip-fit .hud { margin-top: 4px; }
  .ip-fit h3 { margin: 2px 0 4px; font-size: 1.1rem; }
  .ip-fit p { max-width: none; }
}
@keyframes ip-travel-y { 0% { top: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@media (max-width: 620px) {
  .ip-grid, .ip-grid.two, .ip-grid.four, .ip-inc, .ip-side { grid-template-columns: minmax(0, 1fr); }
  .ip-plan-cell { flex-basis: 84%; }
  .ip-bill button { padding: 12px 14px; font-size: .9rem; }
  .ip-car-count { display: none; }
  .ip-ent-list { grid-template-columns: minmax(0, 1fr); }
  .ip-ent-orbit { right: -250px; bottom: -230px; }
  .ip-row2 { grid-template-columns: minmax(0, 1fr); }
  .ip-code { flex-direction: column; }
  .ip-code .btn { width: 100%; }
  .ip-est-out { grid-template-columns: 1fr; }
  .ip-est-plan { text-align: left; }
  .ip-est-foot .btn, .ip-submit { width: 100%; }
  .ip-form-foot p { max-width: none; }
  .ip-faq details { padding: 0 16px; }
  .ip-faq details p { padding: 0 8px 18px 0; }
  .ip-faq summary { padding: 15px 0; font-size: .96rem; gap: 10px; }
  .ip-int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ip-cta-btns .btn { flex: 1 1 100%; }
  .ip-cta-btns { width: 100%; }
  .ip-m-kpis b { font-size: 1.05rem; }
  .ip-m-kpis div { padding: 10px 9px; }
  .ip-mock { padding: 14px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .ip-cta::after, .ip-cta-aura::before, .ip-cta-aura::after, .ip-cta-rings i, .ip-plan.featured, .ip-ent-orbit, .ip-rcs-img, .ip-rcs-btns span, .ip-fit-line i, .ip-m-src li, .ip-m-link i, .ip-bub-dots i { animation: none !important; }
  .ip-cta-rings i:first-child { opacity: .3; transform: scale(.5); }
  .ip-cta { transform: none; }
  .ip-card, .ip-plan, .ip-roll-c, .ip-swap > *, .ip-bill.moving .ip-bill-thumb, .ip-fit-line, .ip-fit-node, .ip-fit :is(.hud, h3, p), .ip-tl-copy, .ip-tl-viz, .ip-tl-node, .ip-tl-end, .ip-mock *, .ip-field > span, .ip-form { transition: none !important; }
  .js .ip-cell .ip-ico path, .js .ip-fit .ip-fit-node path { transition: none; stroke-dashoffset: 0; }
  .ip-ok.show, .ip-ok.show h3, .ip-ok.show p, .ip-ok.show .btn { animation: none; }
  .ip-ok.show .ip-ok-mark circle, .ip-ok.show .ip-ok-mark path:not(.burst) { animation: none; stroke-dashoffset: 0; }
  .ip-card:hover, .ip-plan:hover { translate: none; }
}

/* use-case cards that have their own page: a link under the example text (a full tap target on phones) */
.ip-uc .ip-uc-more { margin-top: 14px; padding-top: 0; min-height: 44px; position: relative; z-index: 1; }
.ip-uc .ip-uc-more:hover .ip-i { transform: translateX(5px); }

/* ---------- search landing pages (src/landing.mjs) ---------- */
/* breadcrumb above the hero badge */
.ip-crumbs { position: relative; z-index: 2; margin: 0 0 14px; }
.ip-crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin: 0; padding: 0; list-style: none; font: 500 .74rem/1.2 var(--f-mono); letter-spacing: .02em; color: var(--ink-3); }
.ip-crumbs li { display: inline-flex; align-items: center; }
.ip-crumbs li + li::before { content: ""; width: 5px; height: 5px; margin: 0 10px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.ip-crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink-2); transition: color .2s ease; }
.ip-crumbs a:hover { color: var(--brand-light); }
.ip-crumbs [aria-current] { color: var(--ink); }
@media (pointer: coarse), (max-width: 620px) { .ip-crumbs a { min-height: 44px; min-width: 44px; justify-content: center; padding: 0 4px; } .ip-crumbs { margin-bottom: 4px; } }

/* overview: prose beside a stack of example texts */
.ip-lp-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ip-lp-prose .h2 { margin-bottom: .5em; }
.ip-lp-prose p:not(.tag) { color: var(--ink-2); font-size: 1.04rem; line-height: 1.7; max-width: 62ch; }
.ip-lp-prose p + p { margin-top: 1em; }
.ip-lp-texts { display: flex; flex-direction: column; gap: 6px; padding: clamp(18px, 2.6vw, 28px); border-radius: var(--r-lg, 22px); background: var(--surface); -webkit-backdrop-filter: var(--glass); backdrop-filter: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.ip-lp-texts .ip-bub { margin-top: 0; padding-top: 12px; }
.ip-lp-texts-head { margin: 0; color: var(--ink-3); }
@media (max-width: 980px) { .ip-lp-intro { grid-template-columns: minmax(0, 1fr); } }

@media (pointer: coarse) {
  .ip-link { min-height: 44px; }
  .ip-range input { height: 44px; margin: -9px 0; }
  .ip-bill button { min-height: 44px; }
}

/* scenes/pagehero.css */
/* Page hero: the top of every page except the homepage.

   <section class="ph">
     {{scene:pagehero}}                      backdrop: glows + signal-field canvas
     <div class="ph-chips">…</div>           optional floating chips (desktop only)
     <div class="container ph-inner">…</div> badge, .tag, h1.ph-title[data-decode], .ph-lede, .ph-cta
   </section> */

/* a gentle dusk: navy sky on top, a faint pink and peach glow low down, fading into the page */
.ph { position: relative; isolation: isolate; overflow: clip; text-align: center; padding: clamp(52px, 8vw, 108px) 0 clamp(52px, 7vw, 92px); background: radial-gradient(42% 30% at 50% 90%, rgba(22, 94, 238, .2), transparent 72%), radial-gradient(78% 42% at 50% 94%, rgba(124, 92, 255, .26), transparent 72%), radial-gradient(70% 70% at 18% 0%, rgba(16, 36, 90, .9), transparent 70%), linear-gradient(180deg, #0A0F1A 0%, #0B1A3B 42%, #0C1C52 76%, #16205C 100%); }
.ph.ph-tight { padding-bottom: clamp(28px, 4vw, 48px); }

/* backdrop */
.ph-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: clip; }
:not(.ph) > .ph-bg { position: relative; height: 70vh; background: radial-gradient(42% 30% at 50% 90%, rgba(22, 94, 238, .2), transparent 72%), radial-gradient(78% 42% at 50% 94%, rgba(124, 92, 255, .26), transparent 72%), radial-gradient(70% 70% at 18% 0%, rgba(16, 36, 90, .9), transparent 70%), linear-gradient(180deg, #0A0F1A 0%, #0B1A3B 42%, #0C1C52 76%, #16205C 100%); } /* scene-test page */
.ph-canvas { position: absolute; inset: 0; width: 100%; height: 100%; transform: translate3d(0, calc(var(--sy, 0) * 70px), 0); }
.ph-glow { position: absolute; border-radius: 50%; filter: blur(72px); will-change: transform; }
.ph-glow-a { width: min(46vw, 620px); height: min(34vw, 440px); left: -10%; top: -44%; background: rgba(124, 92, 255, .2); animation: ph-drift-a 18s ease-in-out infinite alternate; }
.ph-glow-b { width: min(40vw, 540px); height: min(30vw, 400px); right: -8%; bottom: -24%; background: rgba(124, 92, 255, .2); animation: ph-drift-b 22s ease-in-out infinite alternate; }
/* the last strip melts the warm glow into the page colour so the next section joins without a seam */
.ph-fade { position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(180deg, rgba(10, 15, 26, 0) 0%, rgba(10, 15, 26, .35) 45%, var(--bg) 100%); }
@keyframes ph-drift-a { to { transform: translate3d(18%, 22%, 0) scale(1.15); } }
@keyframes ph-drift-b { to { transform: translate3d(-22%, -18%, 0) scale(1.2); } }

/* copy */
.ph-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.ph .tag { justify-content: center; margin-bottom: 18px; }
.ph .tag::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.ph-title { font-size: clamp(2.25rem, 5.1vw, 4rem); font-weight: 600; line-height: 1.03; letter-spacing: 0; color: var(--ink); margin: 0 auto .42em; max-width: 17ch; text-wrap: balance; }
.ph-title .grad { padding-bottom: .12em; margin-bottom: -.12em; display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ph-title .grad .w { background: linear-gradient(100deg, #fff 0%, #fff 38%, var(--peach) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .12em; margin-bottom: -.12em; }
.ph-lede { font-size: clamp(1.02rem, 1.35vw, 1.2rem); line-height: 1.6; color: var(--ink-2); max-width: 52ch; margin: 0 auto; text-wrap: pretty; }
.ph-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: clamp(22px, 2.6vw, 32px); }
.ph-note { display: inline-flex; align-items: center; gap: 9px; margin: 18px 0 0; font-family: var(--f-mono); font-size: .68rem; letter-spacing: 0; color: var(--ink-3); }
.ph-note i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 22%, transparent); animation: fx-pulse 1.6s ease-in-out infinite; }
.ph-notes { list-style: none; margin: clamp(20px, 2.4vw, 28px) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: 0; color: var(--ink-2); }
.ph-notes li { display: inline-flex; align-items: center; gap: 8px; }
.ph-notes svg { width: 15px; height: 15px; color: var(--mint); stroke-width: 2.25; }

/* page icon badge above the eyebrow */
.ph-badge { position: relative; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto 22px; color: var(--sky-3); background: linear-gradient(180deg, #fff 30%, #E4E0FF); box-shadow: 0 16px 40px -8px rgba(124, 92, 255, .45), 0 0 0 1px rgba(255, 255, 255, .5), inset 0 -2px 0 rgba(22, 94, 238, .12); }
.ph-badge svg { width: 26px; height: 26px; }
.ph-badge::before, .ph-badge::after { content: ""; position: absolute; inset: -9px; border-radius: 26px; border: 1px solid color-mix(in srgb, var(--sky) 32%, transparent); }
.ph-badge::after { inset: -9px; animation: ph-badge-ring 2.8s var(--e-out) infinite; }
.js .ph-badge.in svg path { stroke-dasharray: 1; animation: ph-draw 1.1s var(--e-out) .25s backwards; }
@keyframes ph-badge-ring { 0% { transform: scale(.82); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes ph-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* floating chips: the broadcast wave "delivers" to each one as it passes */
.ph-chips { position: absolute; inset: 0; pointer-events: none; display: none; }
.ph-chip { position: absolute; translate: calc(var(--px, 0) * var(--d, 1) * -18px) calc(var(--py, 0) * var(--d, 1) * -12px + var(--sy, 0) * var(--d, 1) * -46px); }
.ph-chip b { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; font-size: .86rem; font-weight: 500; line-height: 1; color: var(--ink); white-space: nowrap; background: rgba(11, 22, 56, .58); border: 1px solid var(--line-2); box-shadow: 0 14px 36px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); animation: ph-bob var(--t, 7s) ease-in-out infinite; }
.ph-chip i { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-light); transition: background .4s ease, color .4s ease; }
.ph-chip i svg { width: 16px; height: 16px; }
.ph-chip i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--mint); opacity: 0; }
.ph-chip.ph-ping i { animation: ph-pop .7s var(--e-spring); background: color-mix(in srgb, var(--mint) 24%, transparent); color: var(--mint); }
.ph-chip.ph-ping i::after { animation: ph-ring .9s ease-out; }
@keyframes ph-bob { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-9px) rotate(var(--rot, 0deg)); } }
@keyframes ph-pop { 0% { transform: scale(.8); } 100% { transform: scale(1); } }
@keyframes ph-ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.4); } }
@media (min-width: 1240px) { .ph-chips { display: block; } }
@media (min-width: 1240px) and (max-width: 1339px) { .ph-chip:nth-child(n+3) { display: none; } } /* the lower pair needs wider gutters */

@media (max-width: 860px) {
  .ph-badge { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 18px; }
  .ph-badge svg { width: 23px; height: 23px; }
  .ph-cta { width: 100%; }
  .ph-notes { gap: 8px 16px; font-size: .66rem; }
}
@media (max-width: 520px) {
  .ph-cta .btn { flex: 1 1 100%; }
  .ph-title { max-width: 14ch; }
}
@media (prefers-reduced-motion: reduce) {
  .ph-glow, .ph-chip b, .ph-note i, .ph-badge::after, .js .ph-badge.in svg path { animation: none; }
  .ph-badge::after { opacity: 0; }
  .ph-canvas, .ph-chip { transform: none; translate: none; }
}
