/* integrated2 — silver mist: a bright content canvas around the star-night hero.
   Palette only. The frozen layout, glass coordinates and motion remain intact. */
:root {
  color-scheme:light;
  --lf-black:#0b1925;
  --lf-blue:#263e50;
  --navy:#213745;
  --slate:#637b8c;
  --porcelain:#edf1f4;
  --porcelain-deep:#e4ebf0;
  --champagne:#789bae;
  --hair:rgba(86,115,134,.2);
  background:#edf1f4;
  /* Sections already have an 88px scroll-margin; don't count it twice. */
  scroll-padding-top:0;
}
body.integrated-dark {background:#edf1f4;color:#213745}
::selection {background:#abc6d670;color:#152d3e}
a:focus-visible,button:focus-visible,[tabindex]:focus-visible {outline-color:#527d96}
.lightfall-hero a:focus-visible,.lightfall-hero button:focus-visible,#quotation a:focus-visible,#about a:focus-visible {outline-color:#c4e1ef}

/* The hero is lifted from pure black, without flattening its luminous waterfall. */
.lightfall-hero {background:#0b1925;color-scheme:dark}
.lightfall-hero .ocean-fallback {background:radial-gradient(ellipse at 43% -10%,#e0f6ff 0,#557e96 10%,transparent 34%),radial-gradient(ellipse at 48% 15%,#294f6a 0,#142f43 32%,#0b1925 68%)}
.lightfall-hero .hero-shade {background:linear-gradient(180deg,#0b192532,transparent 17%,transparent 75%,#0b1925 100%),linear-gradient(90deg,#0b19258a 0%,#0b192566 24%,#0b192512 40%,transparent 52%)}
.lightfall-hero .statement>p {color:#c0d0db}
.lightfall-hero .lf-link {color:#d0dfe8}
.lightfall-hero .lf-link:hover {color:#fff}
.lightfall-hero .hero-caption p {color:#c2d3df}
.lightfall-hero .hero-caption small {color:#a1b9ca}
.lightfall-hero .interaction-hint {color:#abc1d0}
.lightfall-hero .motion-control,.lightfall-hero .next-control {color:#d3e2ec}
.lightfall-hero .control-tip {background:#233e50f2;border-color:#bbd4e63b;color:#e6f0f6}

/* A single header adapts to dark hero/anchor sections and the bright content. */
.integrated-dark .topbar {background:linear-gradient(180deg,#0b1925f0,#0b1925b0 65%,#0b192500);transition:border-color .2s}
.integrated-dark .topbar:not(.is-scrolled) {border-bottom:0}
.integrated-dark .topbar.is-scrolled {background:#263e50ef;border-bottom-color:#d1e2ed29}
.integrated-dark .topbar .brand strong {color:#eff5f9}
.integrated-dark .topbar .brand span {color:#bed1de}
.integrated-dark .nav a {color:#d2dfe8}
.integrated-dark .nav a:hover,.integrated-dark .nav a[aria-current="location"] {color:#fff}
.integrated-dark .nav a::after {background:#afcddd}
.integrated-dark .nav-toggle {background:#1e3646;border-color:#bfd5e64d}
.integrated-dark .nav-toggle span {background:#d8e7f0}
.integrated-dark .topbar[data-tone="light"] {background:#f1f5f8ed;border-bottom-color:#67879d26;color-scheme:light}
.integrated-dark .topbar[data-tone="light"] .brand strong {color:#213745}
.integrated-dark .topbar[data-tone="light"] .brand span {color:#557083}
.integrated-dark .topbar[data-tone="light"] .nav a {color:#526c7e}
.integrated-dark .topbar[data-tone="light"] .nav a:hover,.integrated-dark .topbar[data-tone="light"] .nav a[aria-current="location"] {color:#1e3d52}
.integrated-dark .topbar[data-tone="light"] .nav a::after {background:#567b93}
.integrated-dark .topbar[data-tone="light"] .nav-toggle {background:#fff9;border-color:#6b8ba439}
.integrated-dark .topbar[data-tone="light"] .nav-toggle span {background:#37566a}
.integrated-dark .page-progress {background:linear-gradient(90deg,#7495aa,#acc8d9);box-shadow:0 0 9px #96b5ca38}

/* The original glass screen now floats over silver mist instead of black. */
.integrated-dark .legacy-hero {
  --star-bg:#edf1f4;--star-ink:#213745;--star-muted:#526d82;
  --star-accent:#53788f;--star-border:rgba(86,115,134,.22);
  background:radial-gradient(ellipse at 79% 49%,#b6ccd940,transparent 55%),linear-gradient(145deg,#e9eff3,#f1f5f8);
}
.integrated-dark .legacy-hero .hero-eyebrow {color:#4c6b81}
.integrated-dark .legacy-hero .hero-summary {color:#526b7d}
.integrated-dark .legacy-hero .hero-copy .cta {background:#ffffffb8;border-color:#688aa039;color:#28485e;box-shadow:0 12px 28px #2e587011}
.integrated-dark .legacy-hero .hero-copy .cta:hover {background:#fff;border-color:#688aa077;box-shadow:0 16px 35px #2e58701c}
.integrated-dark .legacy-hero .panel {background:linear-gradient(145deg,#f8fcffd9,#d8e6efb8);box-shadow:inset 0 0 0 1px #e4f1f8cc,inset 0 1px #fff,0 38px 90px #345a7426,0 0 65px #b2d0e21a}
.integrated-dark .legacy-hero .panel-back {background:linear-gradient(130deg,#c2d6e43d,#edf6fc33);border-color:#91b2ca4d}
.integrated-dark .legacy-hero .stage:hover .panel {box-shadow:inset 0 0 0 1px #eff9ff,inset 0 1px #fff,0 46px 110px #345a7433,0 0 70px #b2d0e226}
.integrated-dark .legacy-hero .card {background:#ffffff9c;border-color:#ffffffd9;box-shadow:inset 0 1px #fff,0 8px 24px #345a7408}
.integrated-dark .legacy-hero .card:hover {background:#ffffffe0;border-color:#fff;box-shadow:inset 0 1px #fff,0 16px 34px #345a741a}
.integrated-dark .star-motion-toggle {color:#526e83}
.integrated-dark .star-motion-toggle::before {background:#ffffffc4;border-color:#688aa039}
.integrated-dark .star-motion-toggle:hover::before {background:#fff}

/* Light content: ink-blue type, porcelain surfaces and fine metallic edges. */
.integrated-dark .editorial-section {background:#f1f5f8;color:#213745}
.integrated-dark .editorial-section.tinted {background:#e5edf3}
.integrated-dark .section-name {color:#526e82}
.integrated-dark .section-name::before {background:linear-gradient(90deg,#90adbf,#567b93)}
.integrated-dark .section-intro h2,.integrated-dark .process-head h2,.integrated-dark .belief-layout h2,.integrated-dark .contact-copy h2 {color:#213745}
.integrated-dark .section-intro h2 span {color:#637b8c}
.integrated-dark .capability-row {color:#213745;border-color:#7696ad30;background:radial-gradient(circle at 92% 8%,#c8dfeb1f,transparent 38%),linear-gradient(145deg,#fff,#edf4f8);box-shadow:0 20px 58px #375b7410,inset 0 1px #fff}
.integrated-dark .capability-row:hover {border-color:#7696ad73;box-shadow:0 32px 80px #375b7426,inset 0 1px #fff}
.integrated-dark .capability-row::before,.integrated-dark .process-step::before,.integrated-dark .editorial-form::before {background:radial-gradient(380px circle at var(--mx,50%) var(--my,50%),#94bbd11f,transparent 48%)}
.integrated-dark .capability-row::after {border-color:#7598b01a;box-shadow:0 0 0 28px #7598b007}
.integrated-dark .capability-row .index,.integrated-dark .process-step .step-no {color:#587284}
.integrated-dark .capability-row:hover .index,.integrated-dark .process-step:hover .step-no {color:#315d78}
.integrated-dark .capability-row p,.integrated-dark .process-head p,.integrated-dark .process-step p,.integrated-dark .belief-copy,.integrated-dark .contact-copy p {color:#536e81}
.integrated-dark .process-line {border-color:#7899ae3b;background:#ffffff66;box-shadow:0 26px 68px #375b7410}
.integrated-dark .process-step {border-color:#7899ae3b;background:transparent;color:#213745}
.integrated-dark .process-step:hover {background:#ffffffc9}
.integrated-dark .process-step small {color:#526e83}
.integrated-dark .editorial-section::before {border-color:#7899ae12;box-shadow:0 0 0 60px #7899ae06,0 0 0 130px #7899ae04}

/* Keep the small workbench's movement; brighten its surface and data labels. */
.integrated-dark .wb-glow {background:radial-gradient(ellipse,#8cb6cf29,#9bbfd412 46%,transparent 72%)}
.integrated-dark .wb-window {background:linear-gradient(145deg,#fffffff0,#e8f1f8e6);border-color:#769bb544;box-shadow:0 24px 52px #345a7426,inset 0 1px #fff}
.integrated-dark .workbench-demo:hover .wb-window {box-shadow:0 30px 68px #345a7430,inset 0 1px #fff}
.integrated-dark .wb-top {color:#567388;background:#ffffff78;border-color:#769bb52b}
.integrated-dark .wb-top>b {color:#476f80}
.integrated-dark .wb-dots i {background:#b7cbd8}
.integrated-dark .wb-dots i:nth-child(2) {background:#8ca9be}
.integrated-dark .wb-dots i:nth-child(3) {background:#9fc6ca}
.integrated-dark .wb-rail {background:#e6eff76b;border-color:#769bb521}
.integrated-dark .wb-rail i {border-color:#7c9aaf8c}
.integrated-dark .wb-rail i:first-child {background:linear-gradient(135deg,#a3c9db,#668fa9);box-shadow:0 4px 10px #7eabc52b}
.integrated-dark .wb-kpis>div,.integrated-dark .wb-chart,.integrated-dark .wb-tasks {background:#ffffffa6;border-color:#769bb52b;box-shadow:inset 0 1px #fff}
.integrated-dark .wb-kpis span,.integrated-dark .wb-chart>span,.integrated-dark .wb-tasks>span {color:#526e83}
.integrated-dark .wb-kpis b {color:#25475f}
.integrated-dark .wb-kpis small,.integrated-dark .wb-tasks b {color:#527f9a}
.integrated-dark .wb-tasks em {color:#557185}
.integrated-dark .wb-tasks>div {border-color:#769bb524}
.integrated-dark .wb-tasks>div i {background:#6f9cb6}
.integrated-dark .wb-tasks>div:nth-of-type(2) i {background:#98adc5}
.integrated-dark .wb-tasks>div:nth-of-type(3) i {background:#8ab4b5}
.integrated-dark .wb-chart-line {stroke:#668fae}
.integrated-dark .wb-scan {background:linear-gradient(180deg,transparent,#ffffff80,transparent)}
.integrated-dark .wb-float {color:#45697f;background:#f8fcfff2;border-color:#769bb53d;box-shadow:0 14px 32px #345a7424,inset 0 1px #fff}
.integrated-dark .wb-float-a span {color:#516e84}
.integrated-dark .wb-float-a b {color:#3d718e}

/* Two brighter slate anchors, not two near-black slabs. */
.integrated-dark .quote-section {color:#f1f6fa;color-scheme:dark;background:radial-gradient(ellipse at 10% 14%,#8fb6cc21,transparent 58%),linear-gradient(135deg,#2c495d,#294457 60%,#233c4e);border-color:#a3c3d43d}
.integrated-dark .quote-section::before {border-color:#bad5e51f;box-shadow:0 0 0 70px #bad5e508,0 0 0 150px #bad5e505}
.integrated-dark .quote-section::after {opacity:.12}
.integrated-dark .quote-tag {color:#d0e1ed}
.integrated-dark .quote-copy h2 {color:#f5f9fc}
.integrated-dark .quote-lead {color:#d0e0eb}
.integrated-dark .quote-fit span {color:#d5e5ef;background:#d8e9f20b;border-color:#c1d9e742;box-shadow:none}
.integrated-dark .quote-cta {color:#213745;background:#d7e5ee linear-gradient(145deg,#f5f9fc,#d7e5ee);box-shadow:0 16px 34px #132b3d26}
.integrated-dark .quote-cta:hover {box-shadow:0 22px 44px #132b3d4d}
.integrated-dark .quote-note {color:#b3cbdc}
.integrated-dark .trial-card {border-color:#c7deeb4d;background:linear-gradient(145deg,#e1f0fa1c,#d1e5f00a);box-shadow:0 34px 90px #132b3d30,inset 0 1px #edf8ff26}
.integrated-dark .trial-card::before {background:radial-gradient(500px circle at var(--mx) var(--my),#b5d4e51a,transparent 44%)}
.integrated-dark .trial-card:hover {border-color:#d4e8f27a;box-shadow:0 44px 110px #132b3d4d,inset 0 1px #edf8ff3b}
.integrated-dark .trial-head,.integrated-dark .trial-step {border-color:#c5ddec38}
.integrated-dark .trial-duration strong {color:#fff}
.integrated-dark .trial-duration span,.integrated-dark .trial-status {color:#d3e4ee}
.integrated-dark .trial-step>span {color:#b1cddd}
.integrated-dark .trial-step h3 {color:#f0f7fb}
.integrated-dark .trial-step p {color:#c1d7e6}
.integrated-dark .trial-step:hover {background:linear-gradient(90deg,#c5deee12,transparent)}
.integrated-dark #about {color-scheme:dark;background:radial-gradient(ellipse at 86% 14%,#97bdd51a,transparent 48%),linear-gradient(145deg,#263e50,#304e62);border-color:#aac9db38}
.integrated-dark #about .belief-layout h2 {color:#f3f8fb}
.integrated-dark #about .belief-copy {color:#d0e0eb}
.integrated-dark #about .belief-aside {border-color:#c6deed42;background:linear-gradient(145deg,#e2f1fa1a,#e2f1fa0a);box-shadow:0 30px 78px #132b3d26,inset 0 1px #eaf7ff26}
.integrated-dark #about .belief-aside:hover {box-shadow:0 40px 96px #132b3d42,inset 0 1px #eaf7ff3b}
.integrated-dark #about .belief-aside::before {background:radial-gradient(380px circle at var(--mx,50%) var(--my,50%),#bad9eb1f,transparent 48%)}
.integrated-dark #about .belief-aside b {color:#f1f7fb}
.integrated-dark #about .belief-aside span {color:#c6dfea}
.integrated-dark #about .belief-aside p {color:#caddE9}
.integrated-dark #about .belief-aside::after {border-color:#b6d5e82b;box-shadow:0 0 0 32px #b6d5e80a}

.integrated-dark .contact-editorial {background:radial-gradient(ellipse at 76% 48%,#d7e4ee42,transparent 56%),#edf2f6}
.integrated-dark .contact-meta,.integrated-dark .contact-meta div {border-color:#7999af38}
.integrated-dark .contact-meta span {color:#526e83}
.integrated-dark .contact-meta b {color:#2d4c61}
.integrated-dark .editorial-form {background:linear-gradient(145deg,#ffffffeb,#f4f8fccc);border-color:#7999af38;box-shadow:0 28px 76px #375b7414,inset 0 1px #fff}
.integrated-dark .editorial-form label {color:#4f6f84}
.integrated-dark .editorial-form input,.integrated-dark .editorial-form textarea {color:#213745;border-color:#6e91aa66}
.integrated-dark .editorial-form input::placeholder,.integrated-dark .editorial-form textarea::placeholder {color:#557186;opacity:1}
.integrated-dark .editorial-form input:focus,.integrated-dark .editorial-form textarea:focus {border-color:#426e88}
.integrated-dark .editorial-form button {color:#fff;background:#2b4f66 linear-gradient(145deg,#3b6078,#2b4f66);box-shadow:0 12px 28px #375b7426}
.integrated-dark .editorial-form button:hover {background:#24475e;box-shadow:0 18px 36px #375b743b}
.integrated-dark .editorial-form .preview-note {color:#556f82}
.integrated-dark .preview-note a {color:#365f79}
.integrated-dark .form-status,.integrated-dark .form-status.is-success {color:#315e76}
.integrated-dark .footer {background:#e4ebf0;border-color:#7999af30;color:#4f687c}
.integrated-dark .footer a:hover {color:#294d66}

@media(max-width:900px) {
  .integrated-dark .nav {background:#263e50fa;border-color:#c5dcea3d;box-shadow:0 18px 42px #132b3d33}
  .integrated-dark .nav a {background:#d5e7f208;border-color:#c5dcea2e}
  .integrated-dark .topbar[data-tone="light"] .nav {background:#f1f6faf7;border-color:#7999af38;box-shadow:0 18px 42px #375b7421}
  .integrated-dark .topbar[data-tone="light"] .nav a {background:#fff9;border-color:#7999af2b}
  .integrated-dark .process-line {background:transparent;box-shadow:none}
  .integrated-dark .process-step {background:#ffffff7d}
}
@media(max-aspect-ratio:1/1) {
  .lightfall-hero .hero-shade {background:linear-gradient(180deg,#0b192538,transparent 20%,transparent 38%,#0b192555 54%,#0b1925b8 70%,#0b1925 100%)}
}
@media(max-width:640px) {
  .lightfall-hero .statement>p {color:#c0d2de}
  .lightfall-hero .hero-shade {background:linear-gradient(180deg,#0b19252e,transparent 20%,#0b192520 35%,#0b192599 50%,#0b1925dd 76%,#0b1925 100%)}
}
