/* Shared building blocks for the overview pages (/platform, /solutions):
   section rhythm, pills, gradient headings, capability chips, the light hero
   shell and the closing band. Each page adds its own stylesheet on top. */

.is-overview { background: var(--bg); }
/* Capability group colours, used by chips and cards on every page */
.g-create { --g: #2563EB; --gs: #E8F0FE; }
.g-guide { --g: #0E8A80; --gs: #E2F4F1; }
.g-connect { --g: #B26F08; --gs: #FDF1DC; }
.g-govern { --g: #6A4BD8; --gs: #EFEAFD; }

.px-pill { margin: 0; padding: 7px 16px; border-radius: 999px; border: 1.5px solid var(--navy); background: #fff; font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.px-grad { background: linear-gradient(92deg, #2563EB, #0B87B6 60%, #0E8A80); -webkit-background-clip: text; background-clip: text; color: transparent; }
.px-sec { padding-block: clamp(44px, 5.5vw, 80px); }
.px-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-bottom: clamp(28px, 3.5vw, 44px); }
.px-head h2 { max-width: 22ch; }
.px-sub { margin: 0; max-width: 42em; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.px-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.px-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--gs); border: 1px solid color-mix(in srgb, var(--g) 22%, #fff); color: var(--g); font-size: 13px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.px-chip:hover { background: var(--g); color: #fff; }
.px-chip-ic, .px-ic, .pt-ic, .pr-ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.px-chip-ic { width: 15px; height: 15px; }

/* Hero shell */
.px-hero { position: relative; overflow: hidden; padding-block: clamp(20px, 3vw, 36px) clamp(36px, 4.5vw, 64px);
  background: radial-gradient(42% 60% at 78% 40%, rgba(76, 154, 255, .16), transparent 70%), radial-gradient(30% 40% at 70% 10%, rgba(239, 182, 74, .14), transparent 70%), linear-gradient(180deg, #FAFAF7, #EEF5FC);
  border-bottom: 1px solid var(--line); }
.px-hero-bg { position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background: repeating-linear-gradient(30deg, rgba(23, 63, 115, .055) 0 1px, transparent 1px 30px), repeating-linear-gradient(150deg, rgba(23, 63, 115, .055) 0 1px, transparent 1px 30px);
  -webkit-mask-image: radial-gradient(60% 80% at 72% 50%, #000, transparent 75%); mask-image: radial-gradient(60% 80% at 72% 50%, #000, transparent 75%); }
.px-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.px-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.px-hero-copy .crumbs { margin-bottom: 4px; }
.px-hero h1 { font-size: clamp(38px, 4.4vw, 62px); line-height: 1.02; letter-spacing: -.045em; max-width: 15ch; }
.px-lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.px-hero .hero-ctas { margin-top: 4px; }

/* Closing band */
.px-close { padding-block: clamp(32px, 4vw, 48px); background: linear-gradient(115deg, #FDF5E4, #EEF5FC 52%, #E6F5F2); border-top: 1px solid var(--line); }
.px-close-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.px-close-mark { width: 72px; height: 72px; filter: drop-shadow(0 10px 14px rgba(16, 40, 76, .2)); animation: pxFloat2 6s ease-in-out infinite; }
.px-close h2 { font-size: clamp(26px, 3vw, 38px); }
.px-close p { margin: 6px 0 0; font-size: 16px; color: var(--ink-2); }
@keyframes pxFloat2 { 0%, 100% { transform: none; } 50% { transform: translateY(-6px) rotate(-4deg); } }
@keyframes pxDash { to { stroke-dashoffset: -30; } }
@keyframes pxUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .px-hero-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .px-close-in { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .px-close .hero-ctas { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .is-overview main *, .is-overview main *::before, .is-overview main *::after { animation: none !important; transition: none !important; }
}
