/* Footer, standalone pages (privacy, 404), and small shared refinements for the published Prism site. */
footer { border-top: 1px solid #ffffff12; color: #a0aab2; font-size: 15px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, .7fr)); gap: 48px; padding: 64px 0 48px; }
html[data-style="prism"] .footer-brand .brand { color: var(--paper); }
.footer-brand p { max-width: 380px; margin-top: 18px; line-height: 1.6; }
.footer-cta { display: inline-flex; background: none; align-items: center; gap: 10px; margin-top: 26px; padding: 12px 18px; border: 1px solid #ffffff26; border-radius: 7px; color: var(--paper); font-weight: 600; font-size: 14px; transition: border-color .2s, background .2s; }
.footer-cta .icon { width: 15px; height: 15px; transition: transform .28s var(--ease); }
.footer-cta:hover { border-color: #add0f3; background: #141924; }
.footer-cta:hover .icon { transform: translate(2px,-2px); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
html[data-style="prism"] .footer-col h2 { margin-bottom: 6px; color: var(--paper); font-size: 14px; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.footer-col a, .back-top { transition: color .2s; }
.footer-col a:hover, .back-top:hover { color: #c3e3ff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0 28px; border-top: 1px solid #ffffff12; font-size: 13px; color: #868f99; }
.inquiry-note { margin: -4px 0 0; color: #9ca8b4; font-size: 13px; line-height: 1.5; }
.inquiry-note a { color: #c3e3ff; text-decoration: underline; text-underline-offset: 3px; }
.inquiry-trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
a:focus-visible, button:focus-visible { outline: 2px solid #add0f3; outline-offset: 3px; }

/* Standalone pages */
.page-main { min-height: calc(100vh - 77px); }
.page-hero { padding: clamp(64px, 9vw, 120px) 0 40px; border-bottom: 1px solid #ffffff12; background: radial-gradient(ellipse 60% 90% at 85% 0%, #21336530, transparent 70%); }
html[data-style="prism"] .page-hero .eyebrow { justify-content: flex-start; color: #a5c9f5; font: 500 14px/1.5 var(--sans); }
html[data-style="prism"] .page-hero h1 { margin-top: 18px; font-size: clamp(42px, 6vw, 76px); line-height: 1.04; letter-spacing: -.045em; font-weight: 600; }
html[data-style="prism"] .page-hero p { max-width: 640px; margin-top: 20px; color: #adb6c1; font-size: 18px; line-height: 1.6; }
.prose { max-width: 760px; padding: 56px 0 96px; color: #c2cbd4; font-size: 17px; line-height: 1.7; }
html[data-style="prism"] .prose h2 { margin: 44px 0 12px; color: var(--paper); font-size: 24px; letter-spacing: -.02em; line-height: 1.25; font-weight: 600; }
html[data-style="prism"] .prose h2:first-child { margin-top: 0; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--paper); font-weight: 600; }
.prose a, .page-link { color: #c3e3ff; text-decoration: underline; text-underline-offset: 3px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.page-actions .btn { padding: 14px 22px; border-radius: 7px; }
.page-header .navlinks a[aria-current] { color: var(--paper); }

@media (max-width: 860px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px 28px; padding-top: 52px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-bottom .back-top { margin-left: 0; }
  .prose { font-size: 16px; padding-bottom: 72px; }
  .page-hero p { font-size: 16px; }
}
.page-hero-full { min-height: calc(100vh - 77px - 220px); display: flex; align-items: center; border-bottom: 0; }
.page-actions .primary { background: #add0f3; border-color: #b7d5f5; color: #0f172a; }
.page-actions .primary:hover { background: #c9e4ff; }
.page-link { display: inline; color: #c3e3ff; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }

/* Service card spotlight */
#solutions .service-item h3, #solutions .service-label { position: relative; z-index: 1; }
#solutions .service-item::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--spot-x, 50%) var(--spot-y, 0%), #93c4f524, transparent 65%); }
#solutions .service-item:hover::before { opacity: 1; }
#solutions .service-grid { position: relative; }

/* Refinement layer: headline reveal, shimmer, CTA light border, spotlight edges, dot grid, grain */
html[data-style="prism"] .prism-title-row { animation: none; }
.title-word { display: inline-block; animation: word-in 1s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes word-in { from { opacity: 0; filter: blur(12px); transform: translateY(14px); } to { opacity: 1; filter: blur(0); transform: none; } }
html[data-style="prism"] .prism-title-row + .prism-title-row .title-word {
  color: transparent;
  background: linear-gradient(100deg, #abb9c9 0%, #abb9c9 40%, #e4f0ff 50%, #abb9c9 60%, #abb9c9 100%) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  animation: word-in 1s var(--ease) both, shimmer 7s linear 1.6s infinite;
  animation-delay: calc(var(--i) * 70ms + 120ms), calc(var(--i) * 70ms + 1.6s);
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }
@property --edge-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
html[data-style="prism"] .hero-actions .primary { position: relative; isolation: isolate; }
html[data-style="prism"] .hero-actions .primary::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--edge-angle), transparent 0 70%, #ffffff 80%, transparent 90%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: edge-spin 4s linear infinite; opacity: .9; }
@keyframes edge-spin { to { --edge-angle: 360deg; } }
#solutions .service-item::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; padding: 1px; background: radial-gradient(260px circle at var(--spot-x, 50%) var(--spot-y, 0%), #b9dcffb3, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
#solutions .service-item:hover::after { opacity: 1; }
#solutions.services, #approach { position: relative; isolation: isolate; }
#solutions.services::before, #approach::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle, #a0bee033 1px, transparent 1.2px) 0 0 / 22px 22px; -webkit-mask: radial-gradient(ellipse 70% 55% at 50% 30%, #000, transparent 75%); mask: radial-gradient(ellipse 70% 55% at 50% 30%, #000, transparent 75%); }
#pixel-workflow::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 38% 30% at 74% 66%, #3f81d02b, transparent 70%), radial-gradient(ellipse 22% 18% at 88% 46%, #6bb4ff1f, transparent 70%); }
body::after { content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: reduce) {
  .title-word, html[data-style="prism"] .prism-title-row + .prism-title-row .title-word, html[data-style="prism"] .hero-actions .primary::before { animation: none; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
