/*
 * DN-CRM cinematic experience layer
 * The original design system remains in styles.css. This file is intentionally
 * isolated so the redesign can be removed without touching product behavior.
 */

:root {
  color-scheme: dark;
  --ink: #f4f7ff;
  --text: #dce4f5;
  --muted: #91a0ba;
  --green: #4d70ff;
  --green-dark: #3155e8;
  --mint: #111b2e;
  --mint-bright: #8ea5ff;
  --blue: #5d7cff;
  --paper: #050a13;
  --tint: #0a1220;
  --line: rgba(155, 177, 221, 0.16);
  --radius: 24px;
  --max: 1320px;
  --header: 88px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --glow: 77, 112, 255;
}

html {
  background: #050a13;
  overflow-x: clip;
  scrollbar-color: #31446c #080e19;
}

body {
  position: relative;
  min-width: 320px;
  overflow-x: clip;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 4%, rgba(58, 93, 225, 0.12), transparent 28rem),
    #050a13;
  font-size: 16px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(121, 150, 217, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 150, 217, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  width: 34rem;
  height: 34rem;
  left: var(--pointer-x, 50%);
  top: var(--pointer-y, 20%);
  z-index: -2;
  pointer-events: none;
  border-radius: 50%;
  background: rgba(var(--glow), 0.1);
  filter: blur(110px);
  transform: translate(-50%, -50%);
  transition: opacity 400ms;
}

.ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.74;
}

main,
.site-footer {
  position: relative;
}

main {
  transition: opacity 180ms ease, transform 180ms ease;
}

.page-leaving main {
  opacity: 0;
  transform: translateY(8px);
}

::selection {
  color: white;
  background: #365eea;
}

:focus-visible {
  outline-color: #9db1ff;
}

h1,
h2,
h3,
h4 {
  color: #f7f9ff;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.5rem, 7.3vw, 7.9rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

h2 {
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

h3 {
  letter-spacing: -0.035em;
}

h1 span,
h2 span {
  color: #7691ff;
}

h1 em,
h2 em {
  color: #a8b8ff;
}

.container {
  width: min(var(--max), calc(100% - 96px));
}

.section {
  position: relative;
  overflow-x: clip;
  padding-block: clamp(7rem, 11vw, 11rem);
  background: rgba(5, 10, 19, 0.72);
  border-top: 1px solid rgba(155, 177, 221, 0.1);
}

.section::after {
  content: "";
  position: absolute;
  width: min(42vw, 42rem);
  height: min(42vw, 42rem);
  right: -18rem;
  top: 10%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(62, 93, 205, 0.08);
  filter: blur(100px);
  pointer-events: none;
}

.section--tint {
  background:
    linear-gradient(145deg, rgba(18, 30, 53, 0.9), rgba(8, 14, 26, 0.96)),
    #0a1220;
}

.section--dark {
  background:
    radial-gradient(circle at 70% 20%, rgba(74, 102, 233, 0.15), transparent 35rem),
    #030811;
  color: #aab7cc;
}

.section--compact {
  padding-block: clamp(3.5rem, 7vw, 7rem);
}

.eyebrow {
  margin-bottom: 1.6rem;
  color: #9aafff;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  background: #6f8bff;
  box-shadow: 0 0 0 6px rgba(91, 122, 255, 0.11), 0 0 22px #6684ff;
}

.mini-label {
  color: #8190aa;
  letter-spacing: 0.16em;
}

.lead,
.section-aside {
  color: var(--muted);
}

.lead {
  max-width: 42rem;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.8;
}

.section-heading {
  max-width: 61rem;
  margin-bottom: 4.5rem;
}

.section-heading-row {
  gap: 6rem;
  margin-bottom: 4.5rem;
}

.section-aside {
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.8;
}

/* Navigation */
.site-header {
  top: 0;
  height: var(--header);
  color: #e9eeff;
  background: rgba(4, 9, 18, 0.62);
  border-bottom: 1px solid rgba(149, 172, 221, 0.12);
  backdrop-filter: blur(22px) saturate(145%);
  transition:
    background 500ms,
    box-shadow 500ms;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: var(--scroll-progress, 0%);
  height: 1px;
  background: linear-gradient(90deg, #476cff, #9bb0ff);
  box-shadow: 0 0 14px #6886ff;
}

.site-header.is-scrolled {
  background: rgba(4, 9, 18, 0.9);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

.brand {
  align-items: flex-start;
  gap: 5px;
}

.brand img {
  width: 122px;
  filter: drop-shadow(0 0 18px rgba(99, 128, 255, 0.22));
}

.brand > span {
  text-align: left;
  color: #8391aa;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links > a,
.demo-link {
  color: #c8d2e7;
}

.nav-links > a {
  font-size: 0.73rem;
  letter-spacing: 0.025em;
}

.nav-links > a::after {
  height: 1px;
  background: #7893ff;
  box-shadow: 0 0 10px #718dff;
  transform-origin: left;
  transition: transform 500ms var(--ease-out);
}

.nav-links > a:hover,
.nav-links > a[aria-current] {
  color: white;
}

.nav-actions {
  gap: 1.5rem;
}

.nav-toggle {
  color: white;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}

.nav-toggle span {
  background: currentColor;
}

/* Buttons and links */
.button {
  position: relative;
  isolation: isolate;
  min-height: 54px;
  overflow: hidden;
  padding: 15px 24px;
  border-radius: 999px;
  color: #eef2ff;
  font-size: 0.78rem;
  letter-spacing: 0.015em;
  transform: translate3d(var(--magnet-x, 0), var(--magnet-y, 0), 0);
  transition:
    transform 500ms var(--ease-out),
    border-color 350ms,
    background 350ms,
    color 350ms,
    box-shadow 500ms;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.24), transparent 75%);
  transform: translateX(-120%);
  transition: transform 850ms var(--ease-out);
}

.button:hover::before {
  transform: translateX(120%);
}

.button--primary {
  background: linear-gradient(135deg, #4268fa, #6d84ff);
  box-shadow: 0 12px 38px rgba(59, 91, 228, 0.34);
}

.button--primary:hover {
  background: linear-gradient(135deg, #5679ff, #8296ff);
  box-shadow: 0 18px 48px rgba(59, 91, 228, 0.47);
}

.button--secondary {
  color: #e8edff;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(160, 181, 229, 0.23);
  backdrop-filter: blur(14px);
}

.button--secondary:hover {
  color: white;
  background: rgba(115, 142, 255, 0.1);
  border-color: rgba(145, 167, 255, 0.58);
}

.button--light {
  color: #071020;
  background: #f5f7ff;
}

.button--light:hover {
  color: #071020;
  background: #dfe6ff;
}

.button--outline-light {
  color: white;
  border-color: rgba(255, 255, 255, 0.34);
}

.text-link {
  color: #91a7ff;
  transition: color 250ms, gap 500ms var(--ease-out);
}

.text-link:hover {
  gap: 18px;
  color: white;
  text-decoration: none;
}

/* Shared cinematic introductions */
.home-hero,
.page-intro,
.pricing-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 5%, rgba(74, 105, 244, 0.19), transparent 34rem),
    linear-gradient(180deg, rgba(7, 14, 28, 0.96), rgba(5, 10, 19, 0.88));
}

.home-hero::before,
.page-intro::before,
.pricing-intro::before {
  content: "";
  position: absolute;
  width: 62rem;
  height: 62rem;
  left: 50%;
  top: -48rem;
  z-index: -1;
  border: 1px solid rgba(117, 146, 255, 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 8rem rgba(82, 110, 226, 0.025),
    0 0 0 16rem rgba(82, 110, 226, 0.018),
    0 0 120px rgba(72, 99, 217, 0.18);
  transform: translateX(-50%);
}

.home-hero {
  min-height: calc(100svh - var(--header));
  padding-top: clamp(5rem, 10vh, 8rem);
  padding-bottom: 5rem;
}

.hero-heading {
  max-width: 72rem;
}

.hero-heading h1 {
  font-size: clamp(4.3rem, 9.3vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.085em;
}

.hero-heading h1 span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(105deg, #ffffff 2%, #91a7ff 48%, #4f75ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 12px 40px rgba(74, 108, 255, 0.15));
}

.hero-lead {
  color: #aebbd1;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.75;
}

.hero-buttons {
  margin-top: 2.25rem;
}

.hero-reassurance {
  margin-top: 2.25rem;
  gap: 1.7rem;
  color: #8190aa;
  font-size: 0.67rem;
  letter-spacing: 0.03em;
}

.hero-reassurance .icon {
  color: #83a0ff;
}

.hero-showcase {
  position: relative;
  margin-top: clamp(4rem, 8vw, 7rem);
  overflow: visible;
  border: 1px solid rgba(132, 158, 220, 0.22);
  border-radius: 28px;
  background: rgba(6, 12, 23, 0.88);
  box-shadow:
    0 60px 140px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset,
    0 0 80px rgba(66, 98, 235, 0.12);
  transform: perspective(1400px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 900ms var(--ease-out);
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from 180deg, transparent, rgba(91, 123, 255, 0.62), transparent 28%, transparent 70%, rgba(155, 174, 255, 0.35), transparent);
  filter: blur(13px);
  opacity: 0.44;
}

.showcase-tabs {
  justify-content: flex-start;
  padding: 1rem 1.1rem 0.65rem;
  border-bottom: 1px solid rgba(150, 170, 214, 0.12);
}

.showcase-tabs button {
  border-radius: 999px;
  color: #8f9db4;
  transition: color 300ms, background 300ms, transform 500ms var(--ease-out);
}

.showcase-tabs button:hover {
  color: white;
  transform: translateY(-2px);
}

.showcase-tabs button[aria-selected="true"] {
  color: white;
  background: rgba(87, 119, 255, 0.16);
  box-shadow: 0 0 0 1px rgba(116, 145, 255, 0.26) inset;
}

.showcase-address {
  color: #92a1b8;
}

.live-dot {
  background: #7795ff;
  box-shadow: 0 0 0 6px rgba(100, 132, 255, 0.1), 0 0 16px #6687ff;
  animation: live-pulse 2.5s ease-in-out infinite;
}

@keyframes live-pulse {
  50% { opacity: 0.5; transform: scale(0.78); }
}

.hero-showcase .screenshot-open {
  border-radius: 15px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.hero-showcase img,
.product-shot img {
  transition: transform 1.1s var(--ease-out), filter 700ms;
}

.hero-showcase:hover img {
  transform: scale(1.012);
}

.showcase-caption {
  color: #71819a;
}

.page-intro {
  min-height: min(760px, calc(100svh - var(--header)));
  padding-block: clamp(6.5rem, 11vw, 11rem);
}

.page-intro h1,
.pricing-intro h1 {
  max-width: 64rem;
}

.page-intro--dark {
  background:
    radial-gradient(circle at 72% 35%, rgba(69, 102, 244, 0.2), transparent 30rem),
    linear-gradient(150deg, #07101f, #030710);
}

.intro-split {
  align-items: center;
  gap: clamp(4rem, 9vw, 9rem);
}

.intro-split > :last-child {
  position: relative;
}

.advantage-summary,
.implementation-card {
  color: var(--text);
  background: rgba(14, 24, 43, 0.68);
  border: 1px solid rgba(150, 173, 224, 0.17);
  border-radius: 28px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
}

/* Product screenshots and data compositions */
.product-shot {
  overflow: hidden;
  border-color: rgba(139, 162, 213, 0.2);
  border-radius: 24px;
  background: #0b1424;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 800ms var(--ease-out), box-shadow 600ms;
}

.product-shot:hover {
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.52), 0 0 60px rgba(58, 87, 213, 0.11);
}

.shot-top,
.product-shot figcaption {
  color: #8998b0;
  background: #0b1424;
  border-color: rgba(151, 174, 222, 0.13);
}

.shot-demo {
  color: #aab9ff;
  background: rgba(78, 108, 240, 0.14);
}

/* Cards and information architecture */
.problem-grid {
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--line);
}

.problem-grid article {
  min-height: 23rem;
  padding: 2.3rem;
  border: 0;
  background:
    linear-gradient(150deg, rgba(15, 26, 46, 0.98), rgba(7, 13, 24, 0.98));
  transition: background 500ms, transform 600ms var(--ease-out);
}

.problem-grid article:first-child {
  padding-left: 2.3rem;
}

.problem-grid article:last-child {
  padding-right: 2.3rem;
}

.problem-grid article:hover {
  background:
    radial-gradient(circle at 100% 0, rgba(78, 108, 241, 0.14), transparent 16rem),
    #0c1628;
}

.problem-grid p,
.solution-card p,
.audience-grid p,
.integration-card > p,
.plan-top p,
.plan-audience {
  color: var(--muted);
}

.problem-result {
  color: #95aaff;
  border-color: var(--line);
}

.solution-grid {
  grid-template-columns: 1.25fr 0.75fr 0.75fr 1.25fr;
  gap: 1rem;
}

.solution-card,
.integration-card,
.plan,
.enquiry-form,
.estimate-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(18, 30, 52, 0.94), rgba(8, 15, 28, 0.96));
  border: 1px solid rgba(150, 173, 222, 0.16);
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
}

.solution-card::before,
.integration-card::before,
.plan::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 20%), rgba(100, 132, 255, 0.18), transparent 16rem);
  opacity: 0;
  transition: opacity 450ms;
}

.solution-card:hover::before,
.integration-card:hover::before,
.plan:hover::before {
  opacity: 1;
}

.solution-card {
  min-height: 27rem;
  padding: 2rem;
  border-radius: 26px;
  transform: translateY(0);
  transition:
    transform 700ms var(--ease-out),
    border-color 400ms,
    box-shadow 600ms;
}

.solution-card:hover {
  border-color: rgba(124, 151, 255, 0.45);
  transform: translateY(-9px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}

.icon-tile {
  color: #9bb0ff;
  background: rgba(80, 111, 243, 0.12);
  border: 1px solid rgba(124, 150, 255, 0.18);
}

.card-link {
  color: #91a7ff;
}

.feature-split {
  gap: clamp(4rem, 9vw, 9rem);
}

.checks li {
  color: #b3bfd3;
  border-color: var(--line);
}

.checks .icon {
  color: #8ea6ff;
}

.assistant-band,
.trust-grid,
.audience-grid {
  gap: 1rem;
}

.question-list > p,
.trust-grid article,
.audience-grid article {
  border-color: var(--line);
  background: rgba(13, 23, 41, 0.52);
}

.question-list > p {
  border-radius: 16px;
  transition: border-color 350ms, transform 500ms var(--ease-out), background 350ms;
}

.question-list > p:hover {
  border-color: rgba(131, 156, 255, 0.44);
  background: rgba(69, 98, 220, 0.1);
  transform: translateX(8px);
}

.audience-grid {
  grid-template-columns: 1.2fr 0.8fr 1fr;
}

.audience-grid article {
  min-height: 20rem;
  padding: 2rem;
  border-radius: 24px;
}

.trust-grid article {
  padding: 2rem;
  border-radius: 22px;
}

/* Visual maps */
.module-map,
.integration-orbit {
  isolation: isolate;
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.3));
}

.module-map,
.integration-orbit {
  background: radial-gradient(circle, rgba(76, 107, 240, 0.24), rgba(20, 36, 68, 0.2) 46%, transparent 70%);
}

.module-map::after,
.integration-orbit::after {
  content: "";
  position: absolute;
  width: 72%;
  height: 72%;
  left: 14%;
  top: 14%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(65, 97, 233, 0.14);
  filter: blur(60px);
}

.map-center,
.orbit-center {
  background: linear-gradient(145deg, #101d36, #080f1e);
  border-color: rgba(131, 156, 255, 0.35);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.4), 0 0 45px rgba(68, 99, 232, 0.16);
}

.map-item,
.orbit-node {
  color: #dce4f6;
  background: rgba(13, 23, 41, 0.86);
  border-color: rgba(141, 163, 214, 0.22);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
}

.orbit-line,
.module-map::before {
  border-color: rgba(113, 143, 255, 0.3);
}

.solution-nav {
  position: static;
  background: rgba(6, 12, 23, 0.9);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

/* Function catalogue */
.catalogue-summary strong {
  color: #7894ff;
}

.catalogue-search {
  background: rgba(13, 23, 41, 0.75);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.catalogue-search input {
  color: white;
}

.catalogue-sidebar {
  scrollbar-color: #31446c transparent;
}

.catalogue-sidebar nav a {
  color: #8f9eb7;
  border-color: var(--line);
}

.catalogue-sidebar nav a:hover {
  color: white;
  background: rgba(76, 108, 239, 0.09);
}

.capability-group {
  scroll-margin-top: 8rem;
}

.capability-heading {
  padding-bottom: 1.4rem;
  border-color: var(--line);
}

.capability {
  border-color: var(--line);
  background: rgba(11, 20, 36, 0.66);
  transition: border-color 350ms, background 350ms;
}

.capability:hover,
.capability[open] {
  border-color: rgba(126, 152, 255, 0.36);
  background: rgba(18, 31, 55, 0.9);
}

.capability summary {
  color: #dce4f5;
}

.capability summary span {
  color: #8da4ff;
}

.capability p {
  color: #91a0b9;
}

/* Integrations */
.integration-grid {
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.integration-card {
  grid-column: span 4;
  min-height: 24rem;
  padding: 2rem;
  transition: transform 650ms var(--ease-out), border-color 350ms;
}

.integration-card:nth-child(1),
.integration-card:nth-child(5),
.integration-card:nth-child(9) {
  grid-column: span 5;
}

.integration-card:nth-child(2),
.integration-card:nth-child(6) {
  grid-column: span 7;
}

.integration-card:hover {
  border-color: rgba(124, 151, 255, 0.42);
  transform: translateY(-7px);
}

.integration-benefit {
  color: #9fafe7;
  background: rgba(80, 110, 238, 0.09);
  border-color: rgba(123, 150, 255, 0.16);
}

/* Pricing and calculator */
.pricing-intro {
  padding-block: clamp(7rem, 10vw, 10rem) 5rem;
}

.center-heading {
  max-width: 72rem;
}

.billing-switch {
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 20, 36, 0.82);
}

.billing-switch button {
  color: #8998b1;
  border-radius: 999px;
}

.billing-switch button.is-active {
  color: white;
  background: linear-gradient(135deg, #4167f6, #6f85ff);
  box-shadow: 0 10px 30px rgba(54, 86, 220, 0.3);
}

.pricing-suite-grid,
.pricing-scale-grid {
  gap: 1rem;
}

.plan {
  padding: 2rem;
  color: var(--text);
  transition: transform 650ms var(--ease-out), border-color 400ms, box-shadow 600ms;
}

.plan:hover {
  transform: translateY(-7px);
  border-color: rgba(131, 156, 255, 0.4);
}

.plan--featured {
  border-color: rgba(105, 134, 255, 0.55);
  background:
    radial-gradient(circle at 80% 0, rgba(86, 117, 255, 0.21), transparent 17rem),
    linear-gradient(145deg, #17284c, #0a1427);
  box-shadow: 0 30px 90px rgba(35, 58, 156, 0.25);
}

.plan-badge {
  color: #e9eeff;
  background: #4167ed;
}

.plan-price,
.plan-price > span {
  color: white;
}

.plan-capacity,
.plan-setup,
.plan-inherits {
  border-color: var(--line);
}

.team-calculator {
  gap: clamp(3rem, 7vw, 7rem);
}

.calculator-fields select,
.calculator-fields input,
.form-grid input,
.form-grid select,
.form-grid textarea {
  color: white;
  background: rgba(5, 11, 21, 0.78);
  border-color: rgba(149, 172, 220, 0.21);
  border-radius: 12px;
  transition: border-color 250ms, box-shadow 250ms, background 250ms;
}

.calculator-fields select:focus,
.calculator-fields input:focus,
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: #708dff;
  box-shadow: 0 0 0 4px rgba(80, 113, 245, 0.13);
  background: rgba(8, 16, 31, 0.98);
}

select option {
  color: white;
  background: #0a1323;
}

.estimate-panel {
  padding: 2.25rem;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.3);
}

.estimate-main,
.estimate-rows > div,
.pricing-compare th,
.pricing-compare td,
.pricing-feature-matrix th,
.pricing-feature-matrix td {
  border-color: var(--line);
}

.comparison-wrap {
  border-color: var(--line);
  border-radius: 20px;
  background: rgba(9, 17, 31, 0.75);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.22);
}

.comparison-table thead {
  background: #101c32;
}

.comparison-table th,
.comparison-table td {
  color: #aebbd0;
}

.pricing-feature-matrix .pricing-category th {
  color: #a8b9ff;
  background: #101c32;
}

.extras-list > div,
.faq-list details {
  border-color: var(--line);
}

.faq-list summary {
  color: #e9eeff;
}

.faq-list details[open] {
  background: rgba(63, 92, 213, 0.07);
}

/* Implementation */
.timeline {
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--line);
}

.timeline article {
  min-height: 25rem;
  padding: 2.2rem;
  border: 0;
  background: linear-gradient(145deg, #0e1a2f, #08111f);
}

.timeline-number {
  color: #8da4ff;
  background: rgba(84, 116, 248, 0.11);
  border-color: rgba(126, 151, 255, 0.23);
}

.timeline p {
  color: var(--muted);
}

.timeline strong {
  color: #b6c4df;
}

.enquiry-form {
  padding: clamp(1.6rem, 4vw, 3rem);
}

.contact-panel {
  display: flex;
  min-height: 30rem;
  flex-direction: column;
  justify-content: center;
  font-style: normal;
}

.contact-panel .mini-label {
  margin-bottom: 1rem;
}

.contact-panel h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.contact-intro {
  max-width: 33rem;
  margin-bottom: 2rem;
  color: #8e9cb3;
  font-size: 0.95rem;
}

.contact-methods > a {
  color: #eef3ff;
  background: rgba(6, 12, 23, 0.56);
  border-color: rgba(144, 166, 216, 0.18);
  transition:
    color 250ms,
    background 250ms,
    border-color 250ms,
    transform 500ms var(--ease-out);
}

.contact-methods > a:hover {
  color: white;
  background: rgba(75, 105, 235, 0.11);
  border-color: rgba(119, 146, 255, 0.45);
  transform: translateX(5px);
}

.contact-icon {
  color: #a5b8ff;
  background: rgba(77, 108, 239, 0.13);
}

.contact-arrow {
  color: #8fa6ff;
}

.form-note,
.form-status,
.calculator-help,
.estimate-note {
  color: #7f8da5;
}

/* Final conversion and footer */
.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(6rem, 10vw, 10rem);
  background:
    radial-gradient(circle at 88% 10%, rgba(180, 196, 255, 0.25), transparent 28rem),
    linear-gradient(125deg, #234acb, #4a68df 56%, #263d9f);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, black);
}

.final-cta .eyebrow,
.final-cta h2,
.final-cta p {
  color: white;
}

.final-cta h2 {
  max-width: 58rem;
  font-size: clamp(2.7rem, 5vw, 5.4rem);
}

.cta-inner {
  gap: 7rem;
}

.site-footer {
  color: #8998b1;
  background: #03070e;
  border-color: var(--line);
}

.footer-top,
.footer-columns,
.footer-bottom {
  border-color: var(--line);
}

.footer-top > p,
.footer-note strong {
  color: white;
}

.footer-columns > div > a {
  color: #8f9eb7;
  transition: color 250ms, transform 350ms var(--ease-out);
}

.footer-columns > div > a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-label {
  color: #a7b7d3;
}

.image-dialog {
  color: white;
  background: #091221;
  border-color: rgba(144, 166, 216, 0.25);
  border-radius: 20px;
  box-shadow: 0 60px 160px rgba(0, 0, 0, 0.7);
}

.image-dialog::backdrop {
  background: rgba(1, 4, 9, 0.82);
  backdrop-filter: blur(16px);
}

.dialog-head {
  background: #0d182b;
  border-color: var(--line);
}

.dialog-head button {
  color: white;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

/* Motion states. Content stays visible if JavaScript is unavailable. */
.motion-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  transition:
    opacity 900ms var(--ease-out),
    transform 1000ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready [data-reveal="left"] {
  transform: translate3d(-42px, 0, 0);
}

.motion-ready [data-reveal="right"] {
  transform: translate3d(42px, 0, 0);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.motion-ready .hero-heading > * {
  opacity: 1;
  transform: translateY(35px);
  animation: hero-enter 1s var(--ease-out) forwards;
}

.motion-ready .hero-heading > :nth-child(1) { animation-delay: 100ms; }
.motion-ready .hero-heading > :nth-child(2) { animation-delay: 210ms; }
.motion-ready .hero-heading > :nth-child(3) { animation-delay: 340ms; }
.motion-ready .hero-heading > :nth-child(4) { animation-delay: 470ms; }
.motion-ready .hero-heading > :nth-child(5) { animation-delay: 580ms; }

@keyframes hero-enter {
  from { transform: translateY(35px); filter: blur(7px); }
  to { transform: translateY(0); filter: blur(0); }
}

@media (max-width: 1150px) {
  .container {
    width: calc(100% - 64px);
  }

  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .integration-card,
  .integration-card:nth-child(n) {
    grid-column: span 6;
  }
}

@media (max-width: 950px) {
  :root {
    --header: 74px;
  }

  .nav-menu {
    top: var(--header);
    color: white;
    background: rgba(4, 9, 18, 0.97);
    border-color: var(--line);
    backdrop-filter: blur(20px);
  }

  .nav-actions {
    border-color: var(--line);
  }

  .page-intro {
    min-height: auto;
  }

  .intro-split {
    gap: 4rem;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid article {
    min-height: auto;
  }

  .solution-card {
    min-height: 23rem;
  }
}

@media (max-width: 680px) {
  :root {
    --header: 68px;
    --radius: 18px;
  }

  body::after {
    display: none;
  }

  body::before {
    background-size: 44px 44px;
  }

  .ambient-canvas {
    opacity: 0.38;
  }

  .container {
    width: calc(100% - 36px);
  }

  h1 {
    font-size: clamp(3.25rem, 15vw, 5rem);
    line-height: 0.94;
  }

  h2 {
    font-size: clamp(2.25rem, 11vw, 3.5rem);
  }

  .section {
    padding-block: 5.5rem;
  }

  .home-hero {
    min-height: auto;
    padding-top: 4.75rem;
  }

  .hero-heading h1 {
    font-size: clamp(3.75rem, 18vw, 6rem);
    line-height: 0.88;
  }

  .hero-reassurance {
    justify-content: flex-start;
    text-align: left;
  }

  .hero-showcase {
    margin-top: 3rem;
    border-radius: 16px;
    transform: none !important;
  }

  .showcase-tabs {
    overflow-x: auto;
  }

  .contact-panel {
    min-height: auto;
  }

  .problem-grid,
  .timeline {
    gap: 1px;
    border-radius: 20px;
  }

  .problem-grid article,
  .problem-grid article:first-child,
  .problem-grid article:last-child {
    min-height: auto;
    padding: 1.75rem;
    border: 0;
  }

  .solution-grid,
  .integration-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 20rem;
  }

  .integration-card,
  .integration-card:nth-child(n) {
    grid-column: auto;
    min-height: auto;
  }

  .product-shot {
    transform: none !important;
  }

  .timeline article {
    min-height: auto;
    padding: 1.8rem;
  }

  .button {
    transform: none !important;
  }

  .final-cta {
    padding-block: 5.5rem;
  }

  .final-cta h2 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-canvas {
    display: none;
  }

  body::after {
    display: none;
  }

  .motion-ready [data-reveal],
  .motion-ready .hero-heading > * {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .live-dot {
    animation: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #b5c0d4;
    --line: rgba(190, 206, 240, 0.34);
  }

  .button--secondary,
  .solution-card,
  .integration-card,
  .plan {
    border-width: 2px;
  }
}

/* Theme control */
.theme-toggle {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0;
  color: #dce5ff;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(154, 176, 224, 0.19);
  border-radius: 50%;
  transition:
    color 250ms,
    background 250ms,
    border-color 250ms,
    transform 500ms var(--ease-out);
}

.theme-toggle:hover {
  color: white;
  background: rgba(111, 140, 255, 0.15);
  border-color: rgba(139, 162, 255, 0.5);
  transform: rotate(10deg);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Premium light theme is the default. The complete dark art direction above
 * remains available through the persistent theme switch. */
html[data-theme="light"] {
  color-scheme: light;
  background: #f6f8fc;
  scrollbar-color: #b9c5dc #eef2f8;
}

html[data-theme="light"] {
  --ink: #0a1430;
  --text: #263451;
  --muted: #64728c;
  --green: #355ef6;
  --green-dark: #2449d4;
  --mint: #e9efff;
  --mint-bright: #5979f7;
  --blue: #355ef6;
  --paper: #f8faff;
  --tint: #eef3fb;
  --line: rgba(50, 72, 118, 0.14);
  --glow: 69, 102, 231;
}

html[data-theme="light"] body {
  color: var(--text);
  background:
    radial-gradient(circle at 12% 4%, rgba(76, 108, 235, 0.13), transparent 31rem),
    #f8faff;
}

html[data-theme="light"] body::before {
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(50, 83, 155, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 83, 155, 0.065) 1px, transparent 1px);
}

html[data-theme="light"] body::after {
  background: rgba(var(--glow), 0.09);
}

html[data-theme="light"] .ambient-canvas {
  opacity: 0.12;
  filter: saturate(0.8);
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4 {
  color: #09142e;
}

html[data-theme="light"] h1 span,
html[data-theme="light"] h2 span {
  color: #355ef6;
}

html[data-theme="light"] h1 em,
html[data-theme="light"] h2 em {
  color: #3156cf;
}

html[data-theme="light"] .eyebrow {
  color: #3f61d8;
}

html[data-theme="light"] .eyebrow > span {
  background: #4d6ff0;
  box-shadow: 0 0 0 6px rgba(69, 101, 230, 0.1), 0 0 20px rgba(69, 101, 230, 0.38);
}

html[data-theme="light"] .mini-label {
  color: #687791;
}

html[data-theme="light"] .lead,
html[data-theme="light"] .section-aside {
  color: #5e6d87;
}

html[data-theme="light"] .site-header {
  color: #17233f;
  background: rgba(250, 252, 255, 0.75);
  border-color: rgba(54, 76, 122, 0.11);
  box-shadow: none;
}

html[data-theme="light"] .site-header.is-scrolled {
  background: rgba(250, 252, 255, 0.92);
  box-shadow: 0 18px 50px rgba(26, 44, 80, 0.09);
}

html[data-theme="light"] .brand > span {
  color: #6d7a92;
}

html[data-theme="light"] .nav-links > a,
html[data-theme="light"] .demo-link {
  color: #39465f;
}

html[data-theme="light"] .nav-links > a:hover,
html[data-theme="light"] .nav-links > a[aria-current] {
  color: #18368f;
}

html[data-theme="light"] .theme-toggle {
  color: #30405f;
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(48, 72, 122, 0.17);
  box-shadow: 0 6px 20px rgba(30, 49, 91, 0.06);
}

html[data-theme="light"] .theme-toggle:hover {
  color: #2149d1;
  background: white;
  border-color: rgba(54, 91, 225, 0.36);
}

html[data-theme="light"] .nav-toggle {
  color: #17233f;
  background: white;
  border-color: rgba(48, 72, 122, 0.16);
}

html[data-theme="light"] .home-hero,
html[data-theme="light"] .page-intro,
html[data-theme="light"] .pricing-intro,
html[data-theme="light"] .page-intro--dark {
  color: var(--text);
  background:
    radial-gradient(circle at 50% 3%, rgba(87, 119, 241, 0.18), transparent 37rem),
    linear-gradient(180deg, rgba(247, 250, 255, 0.97), rgba(239, 244, 253, 0.94));
}

html[data-theme="light"] .home-hero::before,
html[data-theme="light"] .page-intro::before,
html[data-theme="light"] .pricing-intro::before {
  border-color: rgba(66, 96, 209, 0.19);
  box-shadow:
    0 0 0 8rem rgba(79, 111, 226, 0.028),
    0 0 0 16rem rgba(79, 111, 226, 0.018),
    0 0 100px rgba(64, 93, 203, 0.12);
}

html[data-theme="light"] .hero-heading h1 span {
  color: transparent;
  background: linear-gradient(105deg, #1d3eb5 0%, #3e67ee 50%, #7790f5 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

html[data-theme="light"] .hero-lead {
  color: #596984;
}

html[data-theme="light"] .hero-reassurance {
  color: #64738c;
}

html[data-theme="light"] .button--secondary {
  color: #21304d;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(49, 73, 123, 0.17);
  box-shadow: 0 10px 30px rgba(28, 46, 85, 0.05);
}

html[data-theme="light"] .button--secondary:hover {
  color: #183cb4;
  background: white;
  border-color: rgba(63, 98, 225, 0.38);
}

html[data-theme="light"] .final-cta .eyebrow,
html[data-theme="light"] .final-cta h2,
html[data-theme="light"] .final-cta p {
  color: #ffffff;
}

html[data-theme="light"] .final-cta .eyebrow {
  opacity: 0.82;
}

html[data-theme="light"] .final-cta .eyebrow > span {
  background: #ffffff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12), 0 0 20px rgba(255, 255, 255, 0.3);
}

html[data-theme="light"] .final-cta > .container > div > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .final-cta .cta-actions > span {
  color: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .final-cta .button--outline-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

html[data-theme="light"] .section {
  background: rgba(250, 252, 255, 0.88);
  border-color: rgba(44, 67, 113, 0.1);
}

html[data-theme="light"] .section--tint,
html[data-theme="light"] .section--dark {
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(235, 241, 252, 0.97), rgba(247, 250, 255, 0.98)),
    #eef3fb;
}

html[data-theme="light"] .section--dark h2,
html[data-theme="light"] .section--dark h3 {
  color: #09142e;
}

html[data-theme="light"] .section::after {
  background: rgba(67, 98, 222, 0.07);
}

html[data-theme="light"] .hero-showcase,
html[data-theme="light"] .product-shot {
  background: #f8faff;
  border-color: rgba(48, 71, 117, 0.17);
  box-shadow:
    0 45px 110px rgba(30, 48, 86, 0.17),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset;
}

html[data-theme="light"] .showcase-tabs,
html[data-theme="light"] .showcase-address,
html[data-theme="light"] .shot-top,
html[data-theme="light"] .product-shot figcaption {
  color: #67758d;
  background: #f7f9fd;
  border-color: rgba(48, 71, 117, 0.12);
}

html[data-theme="light"] .showcase-tabs button {
  color: #63708a;
}

html[data-theme="light"] .showcase-tabs button:hover {
  color: #173aaf;
}

html[data-theme="light"] .showcase-tabs button[aria-selected="true"] {
  color: #2449c4;
  background: rgba(68, 102, 227, 0.09);
}

html[data-theme="light"] .problem-grid,
html[data-theme="light"] .timeline {
  background: rgba(47, 70, 116, 0.12);
  border-color: rgba(47, 70, 116, 0.13);
}

html[data-theme="light"] .problem-grid article,
html[data-theme="light"] .timeline article {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(242, 246, 253, 0.98));
}

html[data-theme="light"] .problem-grid article:hover {
  background:
    radial-gradient(circle at 100% 0, rgba(80, 111, 235, 0.12), transparent 16rem),
    white;
}

html[data-theme="light"] .problem-grid p,
html[data-theme="light"] .solution-card p,
html[data-theme="light"] .audience-grid p,
html[data-theme="light"] .integration-card > p,
html[data-theme="light"] .plan-top p,
html[data-theme="light"] .plan-audience,
html[data-theme="light"] .timeline p {
  color: #64728b;
}

html[data-theme="light"] .problem-result {
  color: #3156cf;
}

html[data-theme="light"] .showcase-hint,
html[data-theme="light"] .question-list > span,
html[data-theme="light"] .shot-slash {
  color: #687791;
}

html[data-theme="light"] .solution-card,
html[data-theme="light"] .integration-card,
html[data-theme="light"] .plan,
html[data-theme="light"] .enquiry-form,
html[data-theme="light"] .estimate-panel,
html[data-theme="light"] .advantage-summary,
html[data-theme="light"] .implementation-card {
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 253, 0.96));
  border-color: rgba(47, 71, 119, 0.14);
  box-shadow: 0 25px 70px rgba(31, 49, 86, 0.08);
}

html[data-theme="light"] .contact-intro {
  color: #62718b;
}

html[data-theme="light"] .contact-methods > a {
  color: #13203b;
  background: #ffffff;
  border-color: rgba(48, 71, 117, 0.14);
  box-shadow: 0 12px 35px rgba(32, 51, 92, 0.06);
}

html[data-theme="light"] .contact-methods > a:hover {
  color: #183cb4;
  background: #f8faff;
  border-color: rgba(63, 98, 225, 0.35);
}

html[data-theme="light"] .contact-icon {
  color: #3158e2;
  background: #edf1ff;
}

html[data-theme="light"] .contact-arrow {
  color: #4569ed;
}

html[data-theme="light"] .solution-card:hover,
html[data-theme="light"] .integration-card:hover,
html[data-theme="light"] .plan:hover {
  border-color: rgba(68, 101, 226, 0.35);
  box-shadow: 0 32px 80px rgba(34, 55, 100, 0.13);
}

html[data-theme="light"] .icon-tile,
html[data-theme="light"] .timeline-number {
  color: #3157d9;
  background: rgba(70, 104, 230, 0.08);
  border-color: rgba(70, 104, 230, 0.16);
}

html[data-theme="light"] .checks li,
html[data-theme="light"] .timeline strong {
  color: #4d5c76;
  border-color: var(--line);
}

html[data-theme="light"] .question-list > p,
html[data-theme="light"] .trust-grid article,
html[data-theme="light"] .audience-grid article,
html[data-theme="light"] .capability {
  color: var(--text);
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(47, 71, 118, 0.14);
}

html[data-theme="light"] .question-list > p:hover,
html[data-theme="light"] .capability:hover,
html[data-theme="light"] .capability[open] {
  background: white;
  border-color: rgba(67, 101, 228, 0.32);
}

html[data-theme="light"] .capability summary {
  color: #1b2946;
}

html[data-theme="light"] .capability p {
  color: #64728b;
}

html[data-theme="light"] .module-map,
html[data-theme="light"] .integration-orbit {
  background: radial-gradient(circle, rgba(110, 136, 235, 0.2), rgba(230, 236, 250, 0.34) 48%, transparent 70%);
}

html[data-theme="light"] .map-item,
html[data-theme="light"] .orbit-node {
  color: #24324e;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(47, 71, 118, 0.15);
  box-shadow: 0 14px 40px rgba(28, 48, 88, 0.09);
}

html[data-theme="light"] .orbit-center strong {
  color: #ffffff;
}

html[data-theme="light"] .solution-nav {
  background: rgba(248, 250, 255, 0.96);
  border-color: rgba(47, 71, 118, 0.12);
}

html[data-theme="light"] .catalogue-search,
html[data-theme="light"] .comparison-wrap {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(47, 71, 118, 0.14);
  box-shadow: 0 18px 50px rgba(29, 47, 85, 0.07);
}

html[data-theme="light"] .catalogue-search input {
  color: #17233e;
}

html[data-theme="light"] .catalogue-sidebar nav a {
  color: #65738d;
}

html[data-theme="light"] .catalogue-sidebar nav a:hover {
  color: #2348c3;
  background: rgba(66, 99, 225, 0.07);
}

html[data-theme="light"] .integration-benefit {
  color: #425ba7;
  background: rgba(67, 101, 228, 0.07);
  border-color: rgba(67, 101, 228, 0.13);
}

html[data-theme="light"] .plan--featured {
  border-color: rgba(61, 94, 222, 0.42);
  background:
    radial-gradient(circle at 80% 0, rgba(85, 118, 244, 0.14), transparent 18rem),
    linear-gradient(145deg, #ffffff, #eaf0ff);
  box-shadow: 0 30px 80px rgba(47, 76, 183, 0.14);
}

html[data-theme="light"] .plan-price,
html[data-theme="light"] .plan-price > span {
  color: #0a1430;
}

html[data-theme="light"] .calculator-fields select,
html[data-theme="light"] .calculator-fields input,
html[data-theme="light"] .form-grid input,
html[data-theme="light"] .form-grid select,
html[data-theme="light"] .form-grid textarea {
  color: #182540;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(47, 71, 118, 0.17);
}

html[data-theme="light"] .calculator-fields select:focus,
html[data-theme="light"] .calculator-fields input:focus,
html[data-theme="light"] .form-grid input:focus,
html[data-theme="light"] .form-grid select:focus,
html[data-theme="light"] .form-grid textarea:focus {
  background: white;
}

html[data-theme="light"] select option {
  color: #182540;
  background: white;
}

html[data-theme="light"] .comparison-table thead,
html[data-theme="light"] .pricing-feature-matrix .pricing-category th {
  color: #2449c4;
  background: #eaf0fb;
}

html[data-theme="light"] .comparison-table th,
html[data-theme="light"] .comparison-table td {
  color: #52617a;
}

html[data-theme="light"] .faq-list summary {
  color: #1b2946;
}

html[data-theme="light"] .faq-list details[open] {
  background: rgba(64, 98, 225, 0.05);
}

html[data-theme="light"] .site-footer {
  color: #69778e;
  background: #f4f7fc;
  border-color: rgba(48, 70, 114, 0.12);
}

html[data-theme="light"] .footer-top > p,
html[data-theme="light"] .footer-note strong {
  color: #15223d;
}

html[data-theme="light"] .footer-columns > div > a {
  color: #69778e;
}

html[data-theme="light"] .footer-columns > div > a:hover {
  color: #2148c7;
}

html[data-theme="light"] .footer-label {
  color: #43516b;
}

html[data-theme="light"] .image-dialog {
  color: #17233e;
  background: #f8faff;
  border-color: rgba(47, 71, 118, 0.18);
  box-shadow: 0 60px 160px rgba(20, 36, 70, 0.28);
}

html[data-theme="light"] .dialog-head {
  background: #eef3fb;
}

html[data-theme="light"] .dialog-head button {
  color: #182540;
  background: white;
}

@media (max-width: 950px) {
  html[data-theme="light"] .nav-menu {
    color: #17233f;
    background: rgba(250, 252, 255, 0.98);
    border-color: rgba(48, 70, 114, 0.13);
  }

  html[data-theme="light"] .nav-actions {
    border-color: rgba(48, 70, 114, 0.13);
  }
}

@media (max-width: 680px) {
  .theme-toggle {
    width: 44px;
    height: 44px;
  }
}

/* Light-theme density and contrast refinement */
html[data-theme="light"] .section {
  padding-block: clamp(4.5rem, 6vw, 6rem);
}

html[data-theme="light"] .section--compact {
  padding-block: clamp(3.5rem, 5vw, 5rem);
}

html[data-theme="light"] .section-heading,
html[data-theme="light"] .section-heading-row {
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

html[data-theme="light"] .section-heading-row {
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

html[data-theme="light"] .eyebrow {
  margin-bottom: 1.1rem;
}

html[data-theme="light"] h2 {
  font-size: clamp(2.25rem, 3.8vw, 4rem);
  line-height: 1.02;
}

html[data-theme="light"] .page-intro {
  min-height: auto;
  padding-block: clamp(4.75rem, 7vw, 6.5rem);
}

html[data-theme="light"] .page-intro h1,
html[data-theme="light"] .pricing-intro h1 {
  font-size: clamp(3.5rem, 5.8vw, 5.8rem);
  line-height: 0.96;
}

html[data-theme="light"] .intro-split {
  gap: clamp(3rem, 6vw, 6rem);
}

html[data-theme="light"] .pricing-intro {
  padding-block: clamp(5rem, 7vw, 6.5rem) 4rem;
}

html[data-theme="light"] .home-hero {
  min-height: auto;
  padding-top: clamp(4.5rem, 7vh, 6rem);
  padding-bottom: clamp(4.5rem, 7vw, 6rem);
}

html[data-theme="light"] .hero-heading h1 {
  font-size: clamp(4rem, 7.5vw, 7rem);
  line-height: 0.9;
}

html[data-theme="light"] .hero-showcase {
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

html[data-theme="light"] .problem-grid article {
  min-height: 18.5rem;
  padding: 2rem;
}

html[data-theme="light"] .problem-grid article:first-child {
  padding-left: 2rem;
}

html[data-theme="light"] .problem-grid article:last-child {
  padding-right: 2rem;
}

html[data-theme="light"] .solution-card {
  min-height: 21rem;
  padding: 1.75rem;
}

html[data-theme="light"] .audience-grid article {
  min-height: 15rem;
  padding: 1.75rem;
}

html[data-theme="light"] .trust-grid article {
  padding: 1.75rem;
}

html[data-theme="light"] .timeline article {
  min-height: 19rem;
  padding: 1.8rem;
}

html[data-theme="light"] .integration-card,
html[data-theme="light"] .integration-card:nth-child(n) {
  grid-column: span 4;
  min-height: 18rem;
  padding: 1.75rem;
}

html[data-theme="light"] .integration-card h2 {
  margin: 1.35rem 0 0.8rem;
  font-size: 1.45rem;
}

html[data-theme="light"] .integration-card > p {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.65;
}

html[data-theme="light"] .integration-card .mini-label {
  font-size: 0.625rem;
}

html[data-theme="light"] .integration-benefit {
  font-size: 0.75rem;
  line-height: 1.55;
}

html[data-theme="light"] .text-link,
html[data-theme="light"] .card-link {
  color: #3156cf;
}

html[data-theme="light"] .text-link:hover,
html[data-theme="light"] .card-link:hover {
  color: #173aa4;
}

html[data-theme="light"] .catalogue-summary strong,
html[data-theme="light"] .capability summary span {
  color: #3156cf;
}

html[data-theme="light"] .advantage-summary strong,
html[data-theme="light"] .implementation-card strong {
  color: #15223d;
}

html[data-theme="light"] .advantage-summary > div,
html[data-theme="light"] .implementation-card li {
  border-color: rgba(47, 71, 119, 0.14);
}

html[data-theme="light"] .advantage-summary > div > span,
html[data-theme="light"] .advantage-summary .icon,
html[data-theme="light"] .implementation-note {
  color: #3156cf;
}

html[data-theme="light"] .implementation-card li p {
  color: #64738c;
}

html[data-theme="light"] .implementation-card li > span {
  color: #3156cf;
  border-color: rgba(49, 86, 207, 0.28);
}

html[data-theme="light"] .final-cta {
  padding-block: clamp(4.75rem, 6.5vw, 6rem);
}

html[data-theme="light"] .final-cta h2 {
  font-size: clamp(2.5rem, 4.2vw, 4.5rem);
}

html[data-theme="light"] .cta-inner {
  gap: clamp(3rem, 6vw, 5rem);
}

html[data-theme="light"] body.motion-ready [data-reveal] {
  opacity: 1;
  transform: translate3d(0, 16px, 0);
  transition: transform 500ms var(--ease-out);
}

html[data-theme="light"] body.motion-ready [data-reveal="left"] {
  transform: translate3d(-16px, 0, 0);
}

html[data-theme="light"] body.motion-ready [data-reveal="right"] {
  transform: translate3d(16px, 0, 0);
}

html[data-theme="light"] body.motion-ready [data-reveal].is-visible {
  transform: translate3d(0, 0, 0);
}

@media (max-width: 1150px) {
  html[data-theme="light"] .integration-card,
  html[data-theme="light"] .integration-card:nth-child(n) {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  html[data-theme="light"] .section {
    padding-block: 4rem;
  }

  html[data-theme="light"] .page-intro,
  html[data-theme="light"] .pricing-intro {
    padding-block: 4.25rem;
  }

  html[data-theme="light"] .page-intro h1,
  html[data-theme="light"] .pricing-intro h1 {
    font-size: clamp(3rem, 14vw, 4.25rem);
  }

  html[data-theme="light"] .hero-heading h1 {
    font-size: clamp(3.5rem, 17vw, 5rem);
  }

  html[data-theme="light"] .problem-grid article,
  html[data-theme="light"] .problem-grid article:first-child,
  html[data-theme="light"] .problem-grid article:last-child,
  html[data-theme="light"] .solution-card,
  html[data-theme="light"] .audience-grid article,
  html[data-theme="light"] .timeline article,
  html[data-theme="light"] .integration-card,
  html[data-theme="light"] .integration-card:nth-child(n) {
    grid-column: auto;
    min-height: auto;
    padding: 1.5rem;
  }
}
