/* =====================================================================
   Product mini-sites. Colours come from --brand / --brand-dark set per product.
   ===================================================================== */
.product-site { --primary: var(--brand); --primary-dark: var(--brand-dark); }
.product-site a { color: var(--brand-dark); }
.product-site input:focus, .product-site select:focus, .product-site textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .14); }
.product-site .checks i { color: var(--brand); }

.p-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.p-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(15,23,42,.25); }
.p-brand { display: flex; align-items: center; gap: .7rem; font-weight: 800; font-size: 1.3rem; color: var(--ink) !important; letter-spacing: -.02em; line-height: 1.1; }
.p-brand small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.p-brand.light, .p-brand.light small { color: #fff !important; }
.p-brand.light small { opacity: .6; }
.p-logo { width: 42px; height: 42px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.25rem; box-shadow: 0 8px 18px -8px var(--brand); }
.p-header .main-nav ul > li > a:hover { color: var(--brand-dark); background: rgba(var(--brand-rgb), .08); }
.p-nav-cta { display: flex; gap: .5rem; }
.p-btn { background: var(--brand); color: #fff !important; box-shadow: 0 8px 20px -8px rgba(var(--brand-rgb), .8); }
.p-btn:hover { background: var(--brand-dark); transform: translateY(-2px); }
.p-btn-main { background: #fff; color: var(--brand-dark) !important; }
.p-btn-main:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(0,0,0,.4); }
.p-btn-second { background: rgba(255,255,255,.12); color: #fff !important; border-color: rgba(255,255,255,.35); }
.p-btn-second:hover { background: rgba(255,255,255,.22); }

/* Hero */
.p-hero { position: relative; overflow: hidden; padding: 5.5rem 0 7rem; color: rgba(255,255,255,.88); background: radial-gradient(800px 500px at 100% 0%, rgba(255,255,255,.16), transparent 60%), linear-gradient(135deg, var(--brand) 0%, var(--brand-accent) 100%); }
.p-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(to right, transparent, #000); pointer-events: none; }
.p-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.p-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.3rem); }
.p-hero .lead { color: rgba(255,255,255,.86); font-size: 1.06rem; }
.p-eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .4rem .9rem; border-radius: 999px; background: rgba(255,255,255,.15); color: #fff; margin-bottom: 1.1rem; }
.p-eyebrow.soft { background: rgba(var(--brand-rgb), .1); color: var(--brand-dark); }
.p-dark .p-eyebrow { background: rgba(255,255,255,.1); }

.p-mock { position: relative; }
.p-mock-win { background: #fff; border-radius: calc(var(--radius) * 1.3); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); transform: perspective(1200px) rotateY(-10deg) rotateX(5deg); }
.p-mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #f1f5f9; }
.p-mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: #cbd5e1; }
.p-mock-bar b { margin-left: .6rem; font-size: .8rem; color: var(--ink); }
.p-mock-body { padding: 18px; display: grid; gap: 12px; }
.p-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.p-mock-kpis div { padding: 12px; border-radius: 12px; background: rgba(var(--brand-rgb), .07); border: 1px solid rgba(var(--brand-rgb), .15); }
.p-mock-kpis i { color: var(--brand); font-size: 1.2rem; }
.p-mock-kpis em { display: block; height: 8px; border-radius: 4px; background: var(--brand); opacity: .7; margin-top: 8px; }
.p-mock-chart { display: flex; align-items: end; gap: 8px; height: 120px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); }
.p-mock-chart span { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(to top, var(--brand-dark), var(--brand)); }
.p-mock-row { display: flex; align-items: center; gap: .7rem; padding: .55rem .8rem; border-radius: 10px; background: #f8fafc; font-size: .85rem; font-weight: 600; color: var(--ink); }
.p-mock-row > i:first-child { color: var(--brand); }
.p-mock-row span { flex: 1; }
.p-mock-row .ok { color: #22c55e; }
.p-float { position: absolute; right: -18px; top: -22px; display: flex; gap: .6rem; align-items: center; padding: .8rem 1.1rem; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.4); font-weight: 700; font-size: .88rem; animation: bob 4s ease-in-out infinite; }
.p-float i { color: #fff; background: var(--brand); width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Steps strip */
.p-steps { margin-top: 4rem; position: relative; z-index: 2; }
.p-steps.attached { margin-top: -3.5rem; }
.p-steps-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.3); box-shadow: var(--shadow-lg); }
.p-step { display: flex; gap: 1rem; padding: 1.7rem; border-right: 1px solid var(--line); }
.p-step:last-child { border-right: 0; }
.p-step > span { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; }
.p-step h4 { margin-bottom: .2rem; }
.p-step p { margin: 0; font-size: .9rem; color: var(--muted); }

/* Features */
.p-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.p-feature { padding: 1.7rem; border-radius: calc(var(--radius) * 1.3); border: 1px solid var(--line); background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.p-feature:hover { transform: translateY(-5px); border-color: rgba(var(--brand-rgb), .35); box-shadow: 0 20px 40px -22px rgba(var(--brand-rgb), .7); }
.p-feature > i { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: rgba(var(--brand-rgb), .1); color: var(--brand); margin-bottom: 1rem; }
.p-feature h3 { font-size: 1.08rem; }
.p-feature p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Modules */
.p-alt { background: linear-gradient(180deg, rgba(var(--brand-rgb), .05), rgba(var(--brand-rgb), .02)); }
.p-module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.p-module { display: flex; gap: 1.1rem; padding: 1.5rem; border-radius: calc(var(--radius) * 1.3); background: #fff; border: 1px solid var(--line); }
.p-module-icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); }
.p-module h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.p-module p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Audience */
.p-dark { background: linear-gradient(160deg, #0b1324, color-mix(in srgb, var(--brand-dark) 55%, #0b1324)); color: #cbd5e1; }
.p-dark h2, .p-dark h3 { color: #fff; }
.p-aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.p-aud { padding: 1.8rem; border-radius: calc(var(--radius) * 1.3); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.p-aud > i { font-size: 2rem; color: color-mix(in srgb, var(--brand) 60%, white); }
.p-aud h3 { font-size: 1.1rem; margin-top: .8rem; }
.p-aud p { margin: 0; font-size: .93rem; }

/* Pricing */
.p-plans { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 1.4rem; align-items: stretch; }
.p-plan { position: relative; display: flex; flex-direction: column; padding: 2.2rem; border-radius: calc(var(--radius) * 1.3); border: 1px solid var(--line); background: #fff; }
.p-plan.hot { border: 2px solid var(--brand); box-shadow: 0 30px 60px -30px rgba(var(--brand-rgb), .8); }
.p-plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem .9rem; border-radius: 999px; }
.p-plan-sum { color: var(--muted); font-size: .93rem; }
.p-price { font-size: 1.7rem; font-weight: 800; color: var(--ink); margin: .4rem 0 1.4rem; letter-spacing: -.02em; }
.p-price small { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.p-plan .checks { flex: 1; margin-bottom: 1.6rem; }
.p-plan .btn { justify-content: center; }

/* FAQ */
.p-faqs { display: grid; gap: .8rem; }
.p-faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.p-faq summary { list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.p-faq summary::-webkit-details-marker { display: none; }
.p-faq summary i { color: var(--brand); transition: transform .2s; }
.p-faq[open] summary i { transform: rotate(45deg); }
.p-faq p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--ink-2); }

/* Demo */
.p-demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.p-demo-copy .checks { margin: 1.2rem 0 1.6rem; }
.p-contact-line { color: var(--muted); font-weight: 600; }
.p-contact-line i { color: var(--brand); }

/* Footer */
.p-footer { background: #0b1324; color: #94a3b8; padding: 4rem 0 0; }
.p-footer a { color: #94a3b8; }
.p-footer a:hover { color: #fff; }
.p-footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }
.p-footer-top p { margin-top: 1rem; max-width: 30em; }
.p-footer h4 { color: #fff; font-size: 1rem; }
.p-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.p-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }

/* ---------- Hero styles ---------- */
.hstyle-solid { background: var(--brand); }
.hstyle-dark { background: radial-gradient(700px 400px at 90% 0%, rgba(var(--brand-rgb), .45), transparent 60%), #0b1324; }
.hstyle-light { background: radial-gradient(700px 400px at 90% 0%, rgba(var(--brand-rgb), .16), transparent 60%), linear-gradient(180deg, #fff, rgba(var(--brand-rgb), .06)); color: var(--text); }
.hstyle-light::after { background-image: radial-gradient(rgba(var(--brand-rgb), .18) 1px, transparent 1px); }
.hstyle-light h1 { color: var(--ink); }
.hstyle-light .lead { color: var(--text); }
.hstyle-light .p-eyebrow { background: rgba(var(--brand-rgb), .1); color: var(--brand-dark); }
.hstyle-light .p-btn-main { background: var(--brand); color: #fff !important; }
.hstyle-light .p-btn-second { background: #fff; color: var(--ink) !important; border-color: var(--line); }
/* ---------- Hero layouts ---------- */
.hero-centered .p-hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero-centered .p-hero-copy { max-width: 820px; }
.hero-centered .hero-cta { justify-content: center; }
.hero-centered .p-mock, .hero-centered .p-hero-media { width: min(760px, 100%); margin-top: 1rem; }
.hero-centered .p-mock-win { transform: none; }
.hero-centered .p-mock, .hero-banner .p-mock { text-align: left; }
.hero-banner { padding: 8rem 0 9rem; text-align: center; }
.hero-banner .p-hero-grid { grid-template-columns: 1fr; justify-items: center; }
.hero-banner .p-hero-copy { max-width: 860px; }
.hero-banner .hero-cta { justify-content: center; }
.hero-banner.has-bg { background: linear-gradient(135deg, rgba(var(--brand-rgb), .88), rgba(var(--brand-accent-rgb), .82)), var(--hero-img) center / cover no-repeat; color: rgba(255,255,255,.9); }
.hero-banner.has-bg h1 { color: #fff; }
.p-hero-media img { width: 100%; border-radius: calc(var(--radius) * 1.2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.hero-split .p-hero-media img { transform: perspective(1200px) rotateY(-6deg); }
.p-hero-copy { min-width: 0; }
/* ---------- Header styles ---------- */
.nav-brand .p-header { background: var(--brand); }
.nav-brand .p-header .p-brand, .nav-brand .p-header .p-brand small, .nav-brand .main-nav ul > li > a, .nav-brand .nav-toggle { color: #fff !important; }
.nav-brand .p-header .main-nav ul > li > a:hover { background: rgba(255,255,255,.14); color: #fff; }
.nav-brand .p-logo { background: #fff; color: var(--brand); }
.nav-brand .p-nav-cta .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.nav-brand .p-nav-cta .p-btn { background: #fff; color: var(--brand-dark) !important; }
.nav-dark .p-header { background: #0b1324; }
.nav-dark .p-header .p-brand, .nav-dark .main-nav ul > li > a, .nav-dark .nav-toggle { color: #fff !important; }
.nav-dark .p-header .p-brand small { color: #94a3b8; }
.nav-dark .p-header .main-nav ul > li > a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-dark .p-nav-cta .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
@media (max-width: 960px) {
  .nav-brand .main-nav { background: var(--brand); }
  .nav-dark .main-nav { background: #0b1324; }
}
/* ---------- Card styles ---------- */
.cards-shadow .p-feature, .cards-shadow .p-module, .cards-shadow .p-plan, .cards-shadow .p-faq { border-color: transparent; box-shadow: 0 18px 40px -24px rgba(15,23,42,.35); }
.cards-filled .p-feature, .cards-filled .p-module, .cards-filled .p-faq { background: rgba(var(--brand-rgb), .06); border-color: transparent; }
.cards-filled .p-feature > i { background: var(--brand); color: #fff; }
.cards-filled .p-alt .p-feature, .cards-filled .p-alt .p-module, .cards-filled .p-alt .p-faq { background: #fff; }
/* ---------- Gallery & video ---------- */
.p-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.p-gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.1); overflow: hidden; }
.p-gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s; }
.p-gallery a:hover img { transform: scale(1.03); }
.p-gallery figcaption { padding: .8rem 1rem; font-weight: 600; color: var(--ink); font-size: .92rem; }
.p-video { position: relative; aspect-ratio: 16 / 9; border-radius: calc(var(--radius) * 1.2); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(15,23,42,.5); }
.p-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 1080px) {
  .p-feature-grid, .p-aud-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .p-hero-grid, .p-demo, .p-module-grid { grid-template-columns: 1fr; }
  .p-mock-win { transform: none; }
  .p-float { right: 10px; }
  .p-steps-grid, .p-plans { grid-template-columns: 1fr; }
  .p-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .p-step:last-child { border-bottom: 0; }
  .p-nav-cta { flex-direction: column; }
  .p-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .p-feature-grid, .p-aud-grid, .p-footer-top { grid-template-columns: 1fr; }
  .p-hero { padding: 3.5rem 0 6rem; }
}

/* =====================================================================
   Professional product homepage
   ===================================================================== */
.product-site h1, .product-site h2, .product-site h3 { letter-spacing: -.022em; }
.product-site h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
.product-site .section-head p { font-size: 1.05rem; }

/* Header: active section while scrolling */
.p-header .main-nav ul > li > a.current { color: var(--brand-dark); background: rgba(var(--brand-rgb), .08); }
.nav-brand .p-header .main-nav ul > li > a.current, .nav-dark .p-header .main-nav ul > li > a.current { background: rgba(255,255,255,.14); color: #fff; }

/* Hero: professional dark with brand glow (default) */
.hstyle-navy { background: radial-gradient(900px 520px at 88% 8%, rgba(var(--brand-rgb), .55), transparent 62%), radial-gradient(600px 400px at 0% 100%, rgba(var(--brand-accent-rgb), .25), transparent 60%), #0b1b33; }
.hstyle-navy::after { background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to left, #000, transparent 75%); }
.hstyle-navy .p-btn-main { background: var(--brand); color: #fff !important; }
.hstyle-navy .p-btn-main:hover { background: var(--brand-dark); box-shadow: 0 12px 26px -12px rgba(var(--brand-rgb), .9); }
.hstyle-navy .p-eyebrow { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.p-hero { padding: 4.8rem 0 6.2rem; }
.p-hero h1 { font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.1; }
.p-hero .lead { font-size: 1.1rem; max-width: 34em; }
.p-hero-ticks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .92rem; font-weight: 600; }
.p-hero-ticks i { color: color-mix(in srgb, var(--brand) 55%, white); margin-right: .2rem; }
.hstyle-light .p-hero-ticks { color: var(--ink); } .hstyle-light .p-hero-ticks i { color: var(--brand); }
.hero-centered .p-hero-ticks, .hero-banner .p-hero-ticks { justify-content: center; }

/* App preview */
.p-mock-win { border-radius: 14px; }
.p-mock-bar { gap: 6px; }
.p-mock-url { margin-left: auto; font-style: normal; font-size: .7rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .15rem .6rem; }
.p-mock-app { display: flex; }
.p-mock-side { width: 54px; flex-shrink: 0; background: #0b1b33; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 14px 0; color: rgba(255,255,255,.45); font-size: .95rem; }
.p-mock-side .on { color: #fff; background: var(--brand); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; }
.p-mock-logo { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; margin-bottom: 6px; }
.p-mock-app .p-mock-body { flex: 1; min-width: 0; padding: 14px; gap: 10px; }
.p-mock-top { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--ink); }
.p-mock-search { flex: 1; height: 22px; border-radius: 6px; background: #f1f5f9; }
.p-mock-avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-accent)); }
.p-mock-kpis div { display: grid; gap: 4px; padding: 10px; }
.p-mock-kpis small { font-size: .62rem; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-mock-kpis strong { display: block; height: 12px; width: 55%; border-radius: 4px; background: var(--ink); opacity: .85; }
.p-mock-kpis em { margin-top: 2px !important; height: 5px !important; }
.p-mock-chart { height: 104px; gap: 6px; }
.p-mock-row { padding: .45rem .7rem; font-size: .8rem; }
.p-float { right: -14px; top: -18px; }

/* Key facts bar */
.p-facts { position: relative; z-index: 2; margin-top: 3rem; }
.p-facts.attached { margin-top: -3.2rem; }
.p-facts-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.3); box-shadow: 0 24px 50px -30px rgba(2,6,23,.45); }
.p-fact { display: flex; align-items: center; gap: .9rem; padding: 1.3rem 1.5rem; border-right: 1px solid var(--line); }
.p-fact:last-child { border-right: 0; }
.p-fact > i { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--brand-rgb), .1); color: var(--brand); font-size: 1.2rem; }
.p-fact strong { display: block; font-size: 1.45rem; line-height: 1.1; color: var(--ink); }
.p-fact span { color: var(--muted); font-size: .88rem; font-weight: 600; }
.p-fact div:not(:has(strong)) span { color: var(--ink); font-size: .98rem; font-weight: 700; }

/* Overview */
.p-overview { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.p-overview-text { font-size: 1.04rem; color: var(--text); }
.p-cap { grid-template-columns: 1fr 1fr; margin: 1.4rem 0 1.8rem; }
.p-overview-img { width: 100%; border-radius: calc(var(--radius) * 1.3); box-shadow: 0 30px 60px -30px rgba(2,6,23,.45); }
.p-who-card { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.3); box-shadow: 0 30px 60px -36px rgba(2,6,23,.45); overflow: hidden; }
.p-who-title { display: flex; gap: .5rem; align-items: center; padding: 1rem 1.3rem; font-weight: 700; color: var(--ink); background: rgba(var(--brand-rgb), .06); border-bottom: 1px solid var(--line); }
.p-who-title i { color: var(--brand); }
.p-who-row { display: flex; gap: .9rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); }
.p-who-row:last-child { border-bottom: 0; }
.p-who-ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: #fff; }
.p-who-row strong { display: block; color: var(--ink); }
.p-who-row small { color: var(--muted); font-size: .88rem; }

/* How it works timeline */
.p-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 1.6rem; position: relative; counter-reset: tl; }
.p-timeline::before { content: ''; position: absolute; top: 22px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, rgba(var(--brand-rgb), .15), rgba(var(--brand-rgb), .5), rgba(var(--brand-rgb), .15)); }
.p-timeline li { position: relative; text-align: center; padding: 0 .6rem; }
.p-tl-num { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; box-shadow: 0 0 0 6px #fff, 0 10px 20px -8px rgba(var(--brand-rgb), .8); margin-bottom: 1rem; }
.p-alt .p-tl-num { box-shadow: 0 0 0 6px color-mix(in srgb, rgb(var(--brand-rgb)) 4%, white), 0 10px 20px -8px rgba(var(--brand-rgb), .8); }
.p-timeline h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.p-timeline p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Closing call-to-action */
.p-cta-wrap { padding: 1rem 0 4.5rem; }
.p-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.8rem 3rem; border-radius: calc(var(--radius) * 1.5); color: rgba(255,255,255,.86); background: radial-gradient(600px 300px at 100% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(120deg, var(--brand-dark), var(--brand)); position: relative; overflow: hidden; }
.p-cta::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255,255,255,.07); }
.p-cta h2 { color: #fff; margin-bottom: .3rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.p-cta p { margin: 0; }
.p-cta-btns { display: flex; gap: .7rem; flex-wrap: wrap; position: relative; z-index: 1; flex-shrink: 0; }
.p-cta .p-btn-main { background: #fff; color: var(--brand-dark) !important; }
.p-cta .p-btn-second { background: rgba(255,255,255,.14); color: #fff !important; border-color: rgba(255,255,255,.4); }

/* Cards: calmer, more professional */
.p-feature { padding: 1.5rem; }
.p-feature > i { border-radius: 10px; width: 46px; height: 46px; font-size: 1.25rem; }
.p-module { padding: 1.3rem; }
.p-module-icon { border-radius: 10px; width: 46px; height: 46px; font-size: 1.25rem; }
.p-plan { padding: 2rem; }
.p-demo .form-card { box-shadow: 0 30px 60px -36px rgba(2,6,23,.5); }

@media (max-width: 960px) {
  .p-overview { grid-template-columns: 1fr; gap: 2.5rem; }
  .p-facts-grid { grid-template-columns: 1fr 1fr; }
  .p-fact:nth-child(2n) { border-right: 0; }
  .p-fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .p-timeline { grid-template-columns: 1fr; text-align: left; }
  .p-timeline::before { left: 22px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .p-timeline li { text-align: left; padding-left: 68px; min-height: 46px; }
  .p-tl-num { position: absolute; left: 0; top: 0; margin: 0; }
  .p-cta { flex-direction: column; align-items: flex-start; padding: 2.2rem; }
  .p-mock-side { display: none; }
}
@media (max-width: 620px) {
  .p-facts-grid { grid-template-columns: 1fr; }
  .p-fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .p-fact:last-child { border-bottom: 0; }
  .p-cap { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .p-facts-grid { grid-template-columns: 1fr 1fr; }
  .p-fact { flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1rem; border-bottom: 1px solid var(--line); }
  .p-fact:nth-child(2n) { border-right: 0; }
  .p-fact:nth-child(2n+1) { border-right: 1px solid var(--line); }
  .p-fact:nth-last-child(-n+2) { border-bottom: 0; }
  .p-fact > i { width: 36px; height: 36px; font-size: 1rem; }
  .p-fact strong { font-size: 1.2rem; }
  .p-fact span { font-size: .8rem; }
  .p-hero { padding: 3.4rem 0 5.4rem; }
}
