/* PlexiFi premium mobile direction — v31 */
:root {
  --premium-ink: #050816;
  --premium-surface: #0b1220;
  --premium-surface-raised: #101a2d;
  --premium-blue: #3b82f6;
  --premium-violet: #8b5cf6;
  --premium-cyan: #22d3ee;
  --premium-text: #f8fafc;
  --premium-muted: #cbd5e1;
  --premium-line: rgba(255, 255, 255, 0.1);
  --premium-night-background: linear-gradient(145deg, #061020 0%, #091b32 58%, #071326 100%);
  --premium-radius: 1.35rem;
}

html {
  background: var(--premium-ink);
}

body {
  background: var(--premium-ink);
}

body.js-enabled:not(.page-entered) .hero .hero-brand-banner,
body.js-enabled:not(.page-entered) .hero .hero-brand-title,
body.js-enabled:not(.page-entered) .hero .hs-copy > *,
body.js-enabled:not(.page-entered) .hero .hs-visual,
body.js-enabled:not(.page-entered) .hero .hs-foot {
  opacity: 1;
  transform: none;
}

body.js-enabled.page-entered .hero .hero-brand-banner,
body.js-enabled.page-entered .hero .hs-copy > *,
body.js-enabled.page-entered .hero .hs-visual,
body.js-enabled.page-entered .hero .hs-foot {
  animation: premium-rise 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.js-enabled.page-entered .hero .hero-brand-banner {
  animation-delay: 540ms;
}

body.js-enabled.page-entered .hero .hs-copy > :nth-child(1) {
  animation-delay: 650ms;
}

body.js-enabled.page-entered .hero .hs-copy > :nth-child(2) {
  animation-delay: 750ms;
}

body.js-enabled.page-entered .hero .hs-copy > :nth-child(3) {
  animation-delay: 850ms;
}

body.js-enabled.page-entered .hero .hs-copy > :nth-child(4) {
  animation-delay: 950ms;
}

body.js-enabled.page-entered .hero .hs-visual {
  animation-delay: 1.05s;
}

body.js-enabled.page-entered .hero .hs-foot {
  animation-delay: 1.15s;
}

.hero-brand-lockup {
  position: relative;
  z-index: 3;
  display: grid;
  width: 100%;
  justify-items: center;
  grid-column: 1 / -1;
  grid-row: 1;
  gap: clamp(1rem, 2vw, 1.5rem);
  text-align: center;
}

@media (min-width: 64.0625rem) {
  .hs-copy {
    grid-column: 1;
    grid-row: 2;
  }

  .hs-visual {
    grid-column: 2;
    grid-row: 2;
  }
}

.hero-brand-title {
  display: flex;
  max-width: 100%;
  justify-content: center;
  margin: 0;
  color: #f8fafc;
  filter: drop-shadow(0 0.35rem 1.7rem rgba(59, 130, 246, 0.22));
  font-family: var(--display);
  font-size: clamp(4.25rem, 9vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.86;
  white-space: nowrap;
}

.hero-brand-letter {
  display: inline-block;
  color: transparent;
  background: linear-gradient(180deg, #f8fafc 6%, #bfdbfe 46%, #60a5fa 76%, #a78bfa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  will-change: transform, opacity, filter;
}

@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero-brand-letter {
    color: #bfdbfe;
    background: none;
    -webkit-text-fill-color: currentcolor;
  }
}

.hero-brand-letter:nth-child(1) {
  --letter-index: 0;
}

.hero-brand-letter:nth-child(2) {
  --letter-index: 1;
}

.hero-brand-letter:nth-child(3) {
  --letter-index: 2;
}

.hero-brand-letter:nth-child(4) {
  --letter-index: 3;
}

.hero-brand-letter:nth-child(5) {
  --letter-index: 4;
}

.hero-brand-letter:nth-child(6) {
  --letter-index: 5;
}

.hero-brand-letter:nth-child(7) {
  --letter-index: 6;
}

body.js-enabled.page-entered .hero-brand-letter {
  animation: hero-letter-reveal 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(60ms + var(--letter-index) * 58ms);
}

.hero-brand-banner {
  width: min(100%, 44rem);
  font-size: clamp(0.78rem, 1.2vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-brand-name {
  font-weight: 700;
}

.hs-art {
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), filter 420ms ease;
}

.hero-static {
  isolation: isolate;
}

.hero-static::before,
.hero-static::after {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  will-change: transform, opacity;
}

.hero-static::before {
  top: -12rem;
  left: 36%;
  width: 52rem;
  height: 52rem;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.035) 46%, transparent 70%);
}

.hero-static::after {
  top: 14rem;
  right: -8rem;
  width: 34rem;
  height: 34rem;
  background:
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.12), transparent 68%),
    radial-gradient(circle, rgba(34, 211, 238, 0.19) 0 1px, transparent 1.5px);
  background-size: 100% 100%, 2.6rem 2.6rem;
}

body.js-enabled.page-entered .hero-static::before {
  animation: hero-ambient-drift 18s ease-in-out infinite alternate;
}

body.js-enabled.page-entered .hero-static::after {
  animation: hero-network-drift 24s ease-in-out infinite alternate;
}

@supports (animation-timeline: scroll()) {
  html.motion-native .hero-brand-lockup {
    animation: hero-lockup-parallax linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 42rem;
  }

  html.motion-native .hs-visual {
    animation: hero-visual-parallax linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 52rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .hs-visual:hover .hs-art {
    transform: translate3d(0, -0.25rem, 0) scale(1.018);
    filter: drop-shadow(0 0 1.8rem rgba(59, 130, 246, 0.28));
  }

  .hero-brand-title:hover .hero-brand-letter {
    transform: translate3d(0, -0.12em, 0);
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--letter-index) * 24ms);
  }
}

body.js-enabled.page-entered .hero .hs-topology .topology-trace,
body.js-enabled.page-entered .hero .hs-topology .topology-branch {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: premium-line-draw 980ms 760ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.js-enabled.page-entered .hero .hs-topology .topology-nodes circle,
body.js-enabled.page-entered .hero .hs-topology .signal-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation:
    premium-node-in 480ms 980ms cubic-bezier(0.22, 1, 0.36, 1) both,
    premium-node-breathe 5.2s 1.6s ease-in-out infinite;
}

body.js-enabled.page-entered .hero .hs-topology .topology-signal {
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: premium-signal-draw 780ms 1.08s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.btn {
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-primary {
  border: 1px solid rgba(147, 197, 253, 0.28);
  background: linear-gradient(115deg, #1d4ed8 0%, #2563eb 62%, #4f46e5 100%);
  color: #fff;
  box-shadow:
    0 0.8rem 2.2rem rgba(37, 99, 235, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow:
    0 1rem 2.7rem rgba(37, 99, 235, 0.35),
    0 0 0 1px rgba(34, 211, 238, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

@media (max-width: 64rem) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body {
    color: var(--premium-text);
    background:
      radial-gradient(circle at 14% 6%, rgba(59, 130, 246, 0.15), transparent 24rem),
      radial-gradient(circle at 90% 17%, rgba(139, 92, 246, 0.09), transparent 20rem), var(--premium-ink);
  }

  .environment {
    position: fixed;
    z-index: -1;
    inset: 0;
    display: block;
    background-image:
      linear-gradient(rgba(59, 130, 246, 0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(59, 130, 246, 0.035) 1px, transparent 1px),
      radial-gradient(circle at 50% 26%, rgba(34, 211, 238, 0.05), transparent 32%);
    background-size:
      2.5rem 2.5rem,
      2.5rem 2.5rem,
      100% 100%;
    mask-image: linear-gradient(to bottom, #000 0 74%, transparent 100%);
    pointer-events: none;
  }

  .nav {
    min-height: 4.25rem;
    border-bottom: 1px solid var(--premium-line);
    background: rgba(5, 8, 22, 0.78);
    box-shadow: 0 0.8rem 2.5rem rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px) saturate(145%);
  }

  .nav-shell {
    width: 100%;
    max-width: none;
    min-height: 4.25rem;
    padding-inline: 1rem;
  }

  .brand {
    min-height: 2.75rem;
  }

  .brand-mark {
    filter: drop-shadow(0 0 0.8rem rgba(59, 130, 246, 0.3));
  }

  .brand-mark-bg {
    fill: #2563eb;
  }

  .brand-mark-signal {
    stroke: var(--premium-cyan);
  }

  .brand-word b {
    color: var(--brand-blue);
  }

  .nav-toggle {
    width: auto;
    min-width: 4.75rem;
    height: 2.75rem;
    min-height: 2.75rem;
    gap: 0.45rem;
    padding: 0 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 0.85rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
    color: var(--premium-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .nav-toggle-label {
    display: inline;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .nav-toggle svg {
    width: 1.1rem;
  }

  .nav-links {
    z-index: 110;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(88vw, 23rem);
    height: 100dvh;
    padding: 6.25rem 1.25rem 7rem;
    border-left: 1px solid rgba(96, 165, 250, 0.22);
    background:
      radial-gradient(circle at 95% 5%, rgba(139, 92, 246, 0.18), transparent 17rem),
      linear-gradient(160deg, rgba(11, 18, 32, 0.99), rgba(5, 8, 22, 0.995));
    box-shadow: -1.5rem 0 4rem rgba(0, 0, 0, 0.5);
    transform: translateX(105%);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.js-enabled .nav-links {
    position: fixed;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
  }

  body.js-enabled .nav-links.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

  body.js-enabled .nav-links.is-open > li {
    animation: premium-drawer-item 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  body.js-enabled .nav-links.is-open > li:nth-child(2) {
    animation-delay: 55ms;
  }

  body.js-enabled .nav-links.is-open > li:nth-child(3) {
    animation-delay: 110ms;
  }

  body.js-enabled .nav-links.is-open > li:nth-child(4) {
    animation-delay: 165ms;
  }

  body.js-enabled .nav-links.is-open > li:nth-child(5) {
    animation-delay: 220ms;
  }

  body.js-enabled .nav-links.is-open > li:nth-child(6) {
    animation-delay: 275ms;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--premium-line);
  }

  .nav-links a:not(.btn) {
    display: flex;
    min-height: 3.65rem;
    align-items: center;
    padding-inline: 0.35rem;
    color: var(--premium-text);
    font-size: 1rem;
  }

  .nav-links .btn-nav {
    width: 100%;
    margin-top: 1rem;
  }

  .nav-backdrop {
    background: rgba(2, 5, 15, 0.68);
    backdrop-filter: blur(5px);
  }

  .hero,
  .hero-static {
    position: relative;
    isolation: isolate;
    min-height: auto;
    overflow: clip;
    background: transparent;
  }

  .hero-static::before,
  .hero-static::after {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    content: "";
    pointer-events: none;
  }

  .hero-static::before {
    top: 2rem;
    left: 50%;
    width: 28rem;
    height: 28rem;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0.04) 46%, transparent 70%);
    transform: translateX(-50%);
    will-change: transform, opacity;
  }

  .hero-static::after {
    top: 21rem;
    right: -8rem;
    width: 18rem;
    height: 18rem;
    background:
      radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.14), transparent 68%),
      radial-gradient(circle, rgba(34, 211, 238, 0.22) 0 1px, transparent 1.5px);
    background-size: 100% 100%, 2.2rem 2.2rem;
    filter: blur(0.2rem);
    will-change: transform, opacity;
  }

  .hs-wrap {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 34rem;
    flex-direction: column;
    align-items: stretch;
    margin-inline: auto;
    padding: 2.6rem 1rem 3.25rem;
  }

  .hs-wrap::before {
    position: absolute;
    z-index: -1;
    top: 1.8rem;
    left: 50%;
    width: calc(100% - 2rem);
    height: 28rem;
    border: 1px solid rgba(96, 165, 250, 0.09);
    border-radius: 50%;
    content: "";
    opacity: 0.72;
    transform: translateX(-50%) rotate(-8deg);
    pointer-events: none;
  }

  .hero-brand-lockup {
    order: 1;
    gap: 1rem;
    margin-bottom: 1.35rem;
  }

  .hero-brand-title {
    font-size: clamp(4.35rem, 21vw, 6.6rem);
    line-height: 0.9;
  }

  .hero-brand-banner {
    display: flex;
    width: auto;
    align-self: center;
    max-width: calc(100vw - 2rem);
    justify-content: center;
    margin: 0;
    padding: 0.58rem 0.82rem;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 999px;
    background: rgba(7, 17, 34, 0.72);
    color: #a5f3fc;
    box-shadow:
      0 0 1.6rem rgba(34, 211, 238, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    font-size: 0;
    text-align: center;
    backdrop-filter: blur(12px);
  }

  .hero-brand-banner::before,
  .hero-brand-banner::after {
    display: none;
  }

  .hero-brand-name {
    font: 700 clamp(0.64rem, 2.8vw, 0.75rem) / 1 var(--mono);
    letter-spacing: 0.11em;
  }

  .hero-brand-name::before {
    display: inline-block;
    width: 0.38rem;
    height: 0.38rem;
    margin-right: 0.55rem;
    border-radius: 50%;
    background: var(--premium-cyan);
    box-shadow: 0 0 0.7rem rgba(34, 211, 238, 0.8);
    content: "";
    vertical-align: 0.05rem;
    animation: premium-node-pulse 3.4s ease-in-out infinite;
  }

  .hs-copy {
    order: 2;
    width: 100%;
    max-width: none;
    text-align: center;
  }

  .hs-copy h1 {
    max-width: 9.2ch;
    margin: 0 auto 1.35rem;
    color: var(--premium-text);
    font-size: clamp(2.8rem, 13.3vw, 4.35rem);
    font-weight: 700;
    line-height: 0.96;
    letter-spacing: -0.065em;
    text-wrap: balance;
  }

  .hero-accent {
    display: inline-block;
    color: transparent;
    background: linear-gradient(100deg, #60a5fa 0%, var(--premium-blue) 45%, #a78bfa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    filter: drop-shadow(0 0.8rem 1.6rem rgba(59, 130, 246, 0.18));
  }

  .hs-copy .sub {
    max-width: 31rem;
    margin-inline: auto;
    color: var(--premium-muted);
    font-size: 1rem;
    line-height: 1.65;
    text-wrap: pretty;
  }

  .cta-row {
    display: grid;
    max-width: 28rem;
    grid-template-columns: 1fr;
    gap: 0.72rem;
    margin: 1.8rem auto 0;
  }

  .cta-row .btn {
    width: 100%;
    min-height: 3.35rem;
    border-radius: 1rem;
    font-size: 0.93rem;
  }

  .cta-row .btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
    color: var(--premium-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  .hero-assurances {
    display: grid;
    max-width: 28rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin: 1.7rem auto 0;
  }

  .hero-assurances li,
  .hero-assurances li:not(:first-child) {
    display: block;
    min-width: 0;
    padding: 0.78rem 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0.9rem;
    background: rgba(11, 18, 32, 0.64);
    color: #8fa1b7;
    font-size: 0.875rem;
    line-height: 1.4;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  }

  .hero-assurances strong {
    color: #dbeafe;
    font-size: 1.05rem;
  }

  .hs-visual {
    position: relative;
    order: 3;
    display: block;
    width: 100%;
    max-width: 29rem;
    min-height: 17rem;
    margin: 2rem auto 0;
    padding: 2.9rem 0.7rem 0.8rem;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 1.45rem;
    background:
      linear-gradient(rgba(59, 130, 246, 0.055) 1px, transparent 1px),
      linear-gradient(90deg, rgba(59, 130, 246, 0.055) 1px, transparent 1px),
      radial-gradient(circle at 50% 48%, rgba(59, 130, 246, 0.16), transparent 60%), rgba(7, 15, 30, 0.78);
    background-size:
      1.9rem 1.9rem,
      1.9rem 1.9rem,
      auto,
      auto;
    box-shadow:
      0 1.6rem 4rem rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(12px);
  }

  .hs-visual::before {
    position: absolute;
    inset: 20% 12%;
    border: 1px solid rgba(139, 92, 246, 0.18);
    border-radius: 50%;
    content: "";
    transform: rotate(12deg);
    pointer-events: none;
  }

  .hs-art {
    width: 100%;
    height: 13.5rem;
    opacity: 0.9;
    filter: drop-shadow(0 0 1.15rem rgba(59, 130, 246, 0.16));
  }

  .topology-grid {
    opacity: 0.18;
  }

  .blueprint,
  .network,
  .topology-riser {
    stroke: #60a5fa;
  }

  .signal,
  .signal-dot,
  .nodes circle {
    stroke: var(--premium-cyan);
  }

  .diagram-label {
    top: 1rem;
    right: 1rem;
    bottom: auto;
    left: 1rem;
    display: flex;
    justify-content: space-between;
    color: #7890aa;
    font-size: 0.57rem;
  }

  .diagram-label b {
    color: #67e8f9;
  }

  .module-ribbon {
    min-height: 3.35rem;
    border-block: 1px solid rgba(96, 165, 250, 0.13);
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.065), rgba(34, 211, 238, 0.075));
  }

  .module-ribbon-track {
    color: #9fb2c8;
  }

  .module-ribbon-track i {
    background: var(--premium-cyan);
    box-shadow: 0 0 0.7rem rgba(34, 211, 238, 0.55);
  }

  .trust {
    display: grid;
    width: auto;
    max-width: 34rem;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin: 1.25rem auto;
    padding: 0 1rem;
    border: 0;
    background: transparent;
  }

  .trust li {
    min-height: 5rem;
    padding: 1rem;
    border: 1px solid var(--premium-line);
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(16, 26, 45, 0.88), rgba(8, 15, 29, 0.82));
    color: #c1cedc;
    font-size: 0.875rem;
    line-height: 1.5;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  }

  .trust li::before {
    background: var(--premium-cyan);
    box-shadow: 0 0 0.7rem rgba(34, 211, 238, 0.55);
  }

  main,
  .sec,
  .sec-services,
  .sec-calculator,
  .finale,
  .site-footer {
    color: var(--premium-text);
    background-color: transparent;
  }

  .sec {
    width: 100%;
    max-width: 100%;
    padding: 4.6rem 1rem;
    overflow: clip;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
  }

  .sec:nth-of-type(even) {
    background:
      radial-gradient(circle at 100% 16%, rgba(139, 92, 246, 0.075), transparent 18rem),
      linear-gradient(180deg, rgba(11, 18, 32, 0.7), rgba(5, 8, 22, 0.2));
  }

  .sec-head,
  .split-head,
  .services-intro,
  .infrastructure-intro,
  .calc-layout,
  .faq-layout,
  .about-layout,
  .convert-single {
    width: 100%;
    max-width: 34rem;
    margin-inline: auto;
  }

  .split-head,
  .services-intro,
  .infrastructure-intro,
  .calc-layout,
  .faq-layout,
  .about-layout,
  .convert-single {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .kicker,
  .conversion-label,
  .form-index {
    color: #67e8f9;
    font-size: 0.875rem;
    letter-spacing: 0.14em;
  }

  .sec h2,
  .finale h2,
  .compliance h2 {
    color: var(--premium-text);
    font-size: clamp(2.25rem, 10vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
    text-wrap: balance;
  }

  .sec h3,
  .finale h3,
  .site-footer h2,
  .site-footer h3 {
    color: var(--premium-text);
  }

  .lede,
  .sec p,
  .finale p,
  .about-lede {
    color: var(--premium-muted);
  }

  .value-ledger,
  .infrastructure-grid,
  .proof-grid,
  .steps,
  .about-principles,
  .segs {
    display: grid;
    width: 100%;
    max-width: 34rem;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
    margin: 2rem auto 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .ledger-row,
  .infrastructure-item,
  .proof-item,
  .step,
  .about-principle,
  .seg,
  .calc,
  .faq details,
  .compliance {
    position: relative;
    width: 100%;
    min-width: 0;
    border: 1px solid var(--premium-line);
    border-radius: var(--premium-radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 44%), rgba(11, 18, 32, 0.86);
    color: var(--premium-text);
    box-shadow:
      0 1.25rem 3rem rgba(0, 0, 0, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.045);
  }

  .ledger-row,
  .infrastructure-item,
  .proof-item,
  .step,
  .about-principle,
  .seg {
    min-height: 0;
    padding: 1.35rem;
  }

  .ledger-row::before,
  .infrastructure-item::before,
  .proof-item::before,
  .step::before,
  .about-principle::before,
  .seg::before {
    position: absolute;
    top: -1px;
    right: 1.25rem;
    left: 1.25rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.65), transparent);
    content: "";
  }

  .ledger-no,
  .infrastructure-code,
  .proof-item .id,
  .step .no,
  .about-no,
  .seg-code {
    color: #60a5fa;
  }

  .sec-services {
    padding: 4.8rem 1rem;
    background:
      radial-gradient(circle at 8% 8%, rgba(59, 130, 246, 0.1), transparent 19rem),
      radial-gradient(circle at 94% 70%, rgba(139, 92, 246, 0.08), transparent 21rem), #070b18;
  }

  .services-intro h2 {
    color: var(--premium-text);
  }

  .services-intro .lede {
    color: var(--premium-muted);
  }

  .svc-list {
    display: grid !important;
    width: 100%;
    max-width: 34rem;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: none !important;
    gap: 0.9rem;
    margin: 2rem auto 0;
    padding: 0;
    overflow: visible !important;
    scroll-snap-type: none !important;
  }

  .svc,
  .svc:first-child,
  .svc:nth-child(4),
  .svc:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    width: 100% !important;
    min-width: 0;
    min-height: 20rem;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, 0.16);
    border-radius: 1.35rem;
    background: var(--premium-surface);
    box-shadow:
      0 1.3rem 3.2rem rgba(0, 0, 0, 0.27),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    scroll-snap-align: none;
  }

  .svc:first-child {
    min-height: 27rem;
  }

  .svc-media::after {
    inset: 0;
    border: 0;
    border-radius: 0;
    background: linear-gradient(0deg, rgba(5, 8, 22, 0.98) 4%, rgba(5, 8, 22, 0.48) 58%, rgba(5, 8, 22, 0.04));
    opacity: 1;
  }

  .svc .id {
    top: 1rem;
    left: 1rem;
    border: 1px solid rgba(34, 211, 238, 0.18);
    background: rgba(5, 8, 22, 0.76);
    color: #67e8f9;
    backdrop-filter: blur(10px);
  }

  .svc-copy,
  .svc:first-child .svc-copy {
    padding: 6rem 1.25rem 1.35rem;
  }

  .svc-copy h3,
  .svc:first-child .svc-copy h3 {
    font-size: 1.75rem;
  }

  .svc-copy p,
  .svc:first-child .svc-copy p {
    color: #c5d1df;
    max-width: 65ch;
    font-size: 1rem;
    line-height: 1.6;
  }

  .service-link {
    min-height: 2.75rem;
    color: #bfdbfe;
  }

  .sec-calculator {
    background:
      radial-gradient(circle at 90% 15%, rgba(59, 130, 246, 0.09), transparent 18rem),
      linear-gradient(180deg, #070b18, #050816);
  }

  .calc {
    padding: 1.1rem;
  }

  .calc-controls,
  .calc-out {
    border-color: var(--premium-line);
    background: rgba(5, 8, 22, 0.52);
    color: var(--premium-text);
  }

  .calc input {
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.055);
    color: var(--premium-text);
  }

  .calc .val,
  .calc output {
    color: #67e8f9;
  }

  .compliance {
    width: calc(100% - 2rem);
    max-width: 34rem;
    margin: 1rem auto;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.11), rgba(139, 92, 246, 0.075)), var(--premium-surface);
  }

  .faq-layout {
    gap: 2rem;
  }

  .faq {
    display: grid;
    gap: 0.7rem;
  }

  .faq details {
    overflow: hidden;
  }

  .faq summary {
    min-height: 4rem;
    padding: 1.15rem 3rem 1.15rem 1.1rem;
    color: var(--premium-text);
    font-size: 1rem;
  }

  .faq details[open] {
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow:
      0 1.4rem 3rem rgba(0, 0, 0, 0.2),
      0 0 0 1px rgba(59, 130, 246, 0.06);
  }

  .faq .a {
    max-width: 65ch;
    color: var(--premium-muted);
    font-size: 1rem;
    line-height: 1.6;
  }

  .faq details[open] .a {
    animation: premium-answer-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .finale {
    padding: 5rem 1rem;
    background:
      radial-gradient(circle at 50% 0, rgba(59, 130, 246, 0.17), transparent 23rem),
      radial-gradient(circle at 100% 62%, rgba(139, 92, 246, 0.1), transparent 19rem), #060a16;
  }

  .finale-head {
    max-width: 34rem;
    margin-inline: auto;
    text-align: center;
  }

  .conversion-guide {
    padding: 0;
    text-align: center;
  }

  .conversion-guide h3 {
    color: var(--premium-text);
    font-size: 2.25rem;
  }

  .conversion-guide ol {
    display: grid;
    gap: 0.65rem;
  }

  .conversion-guide li {
    min-height: 4.25rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border: 1px solid var(--premium-line);
    border-radius: 1rem;
    background: rgba(11, 18, 32, 0.72);
    color: #c6d2df;
    text-align: left;
  }

  .conversion-guide > p,
  .conversion-guide li,
  .ledger-row p,
  .infrastructure-item p,
  .proof-item p,
  .step p,
  .about-principle p,
  .seg p {
    max-width: 65ch;
    font-size: 1rem;
    line-height: 1.6;
  }

  .conversion-guide li b {
    color: #67e8f9;
  }

  .card-form {
    width: 100%;
    max-width: 34rem;
    margin-inline: auto;
    padding: 1.3rem;
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 1.35rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 38%), rgba(11, 18, 32, 0.94);
    color: var(--premium-text);
    box-shadow:
      0 1.8rem 4.5rem rgba(0, 0, 0, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.055);
  }

  .card-form h3,
  .card-form label {
    color: var(--premium-text);
  }

  .card-form .hint,
  .card-form .privacy-note {
    color: #98a9bb;
  }

  .card-form input {
    min-height: 3.25rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 0.85rem;
    background: rgba(5, 8, 22, 0.7);
    color: var(--premium-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
    transition:
      border-color 180ms ease,
      background-color 180ms ease,
      box-shadow 180ms ease,
      transform 180ms ease;
  }

  .card-form input::placeholder {
    color: #a8b8ca;
  }

  .card-form input:focus {
    border-color: #60a5fa;
    box-shadow:
      0 0 0 3px rgba(59, 130, 246, 0.17),
      0 0 1.5rem rgba(59, 130, 246, 0.08);
  }

  .card-form label {
    font-size: 0.875rem;
  }

  .card-form .f-field.is-valid input {
    border-color: rgba(34, 211, 238, 0.72);
    background: rgba(34, 211, 238, 0.055);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.08);
  }

  .card-form .f-field.is-invalid input {
    border-color: #f87171;
    background: rgba(248, 113, 113, 0.07);
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.08);
  }

  .form-ok.is-visible {
    animation: premium-success-in 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .f-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-form .btn {
    width: 100%;
    min-height: 3.35rem;
    border-radius: 0.95rem;
  }

  .site-footer {
    overflow: hidden;
    border-top: 1px solid rgba(96, 165, 250, 0.12);
    background:
      radial-gradient(circle at 12% 2%, rgba(59, 130, 246, 0.11), transparent 20rem),
      radial-gradient(circle at 95% 34%, rgba(139, 92, 246, 0.07), transparent 18rem), #040711;
  }

  .footer-statement {
    width: auto;
    max-width: 34rem;
    margin-inline: 1rem;
    padding: 3.5rem 0 2.25rem;
    border-bottom-color: var(--premium-line);
    text-align: center;
  }

  .footer-statement p {
    color: var(--premium-text);
    font-size: 2.35rem;
  }

  .footer-statement .btn {
    width: 100%;
  }

  .footer-main {
    width: 100%;
    max-width: 34rem;
    gap: 2.25rem;
    margin-inline: auto;
    padding: 2.5rem 1rem 2rem;
  }

  .footer-manifesto {
    color: var(--premium-text) !important;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1rem;
  }

  .footer-column a,
  .legal-identity,
  .legal-identity a {
    color: #93a4b8;
  }

  .site-footer .fine {
    margin: 0 1rem;
    padding: 1.25rem 0 6.5rem;
    border-top-color: var(--premium-line);
    color: #6f8299;
  }

  .mobile-cta-bar {
    right: 0.65rem;
    bottom: calc(0.65rem + env(safe-area-inset-bottom));
    left: 0.65rem;
    padding: 0.35rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.15rem;
    background: rgba(5, 8, 22, 0.82);
    box-shadow:
      0 1rem 3rem rgba(0, 0, 0, 0.46),
      0 0 2.3rem rgba(59, 130, 246, 0.09),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px) saturate(145%);
  }

  .mobile-cta-bar .btn {
    min-height: 3.1rem;
    border-radius: 0.85rem;
  }

  body.js-enabled .mobile-cta-bar.is-managed {
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, calc(100% + 1rem), 0);
  }

  body.js-enabled .mobile-cta-bar.is-managed.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }

  body.js-enabled.form-focused .mobile-cta-bar.is-managed.is-visible {
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, calc(100% + 1rem), 0);
  }

  :focus-visible {
    outline: 3px solid #67e8f9;
    outline-offset: 3px;
  }
}

@media (max-width: 23rem) {
  .hs-wrap,
  .sec,
  .sec-services,
  .finale {
    padding-inline: 0.85rem;
  }

  .hs-copy h1 {
    font-size: clamp(2.55rem, 13vw, 3.05rem);
  }

  .hero-brand-banner {
    display: flex;
    width: auto;
    max-width: 100%;
    justify-content: center;
  }

  .hero-brand-banner::before,
  .hero-brand-banner::after {
    display: none;
  }

  .hero-brand-name {
    font-size: 0.67rem;
    letter-spacing: 0.09em;
  }

  .hero-assurances {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .hero-assurances li:last-child {
    grid-column: 1 / -1;
  }

  .hero-assurances li,
  .hero-assurances li:not(:first-child) {
    padding-inline: 0.45rem;
    font-size: 0.875rem;
  }

  .hs-visual {
    min-height: 15.25rem;
  }

  .hs-art {
    height: 11.9rem;
  }

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

  .footer-nav {
    grid-template-columns: 1fr;
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover,
  .btn:focus-visible {
    transform: translateY(-2px) scale(1.015);
  }

  html.motion-reveal .btn[data-reveal].in:hover,
  html.motion-reveal .btn[data-reveal].in:focus-visible {
    transform: translateY(-2px) scale(1.015);
  }

  .svc,
  .ledger-row,
  .infrastructure-item,
  .proof-item,
  .step,
  .about-principle,
  .seg {
    transition:
      transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 240ms ease,
      box-shadow 240ms ease;
  }

  html.motion-reveal
    [data-reveal].in:is(.svc, .ledger-row, .infrastructure-item, .proof-item, .step, .about-principle, .seg):hover,
  html.motion-reveal
    [data-reveal].in:is(
      .svc,
      .ledger-row,
      .infrastructure-item,
      .proof-item,
      .step,
      .about-principle,
      .seg
    ):focus-within {
    border-color: rgba(96, 165, 250, 0.38);
    transform: translate3d(0, -4px, 0);
    box-shadow:
      0 1.55rem 3.6rem rgba(0, 0, 0, 0.28),
      0 0 0 1px rgba(59, 130, 246, 0.07);
  }
}

@media (hover: none) {
  .btn:hover {
    transform: none;
  }

  .btn:active {
    transform: translateY(1px) scale(0.98);
  }
}

@keyframes premium-rise {
  from {
    opacity: 0.8;
    transform: translate3d(0, 1.125rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes premium-line-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes premium-signal-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes premium-node-in {
  from {
    opacity: 0;
    transform: scale(0.55);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes premium-node-breathe {
  0%,
  100% {
    opacity: 0.68;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes premium-drawer-item {
  from {
    opacity: 0;
    transform: translate3d(1rem, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes premium-answer-in {
  from {
    opacity: 0;
    transform: translate3d(0, -0.35rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes premium-success-in {
  from {
    opacity: 0;
    transform: translate3d(0, 0.65rem, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (min-width: 48.001rem) and (max-width: 64rem) {
  .nav-shell {
    max-width: 62rem;
    padding-inline: 1.25rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hs-wrap,
  .sec-head,
  .split-head,
  .services-intro,
  .infrastructure-intro,
  .calc-layout,
  .faq-layout,
  .about-layout,
  .convert-single,
  .value-ledger,
  .infrastructure-grid,
  .proof-grid,
  .steps,
  .about-principles,
  .segs,
  .svc-list,
  .footer-main,
  .footer-statement {
    max-width: 46rem;
  }

  .hero-assurances,
  .cta-row {
    max-width: 35rem;
  }

  .svc-list,
  .proof-grid,
  .infrastructure-grid,
  .segs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .svc:first-child {
    grid-column: 1 / -1;
  }

  .svc,
  .svc:first-child,
  .svc:nth-child(4),
  .svc:nth-child(5) {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
  }

  .svc-media,
  .svc:first-child .svc-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid rgba(96, 165, 250, 0.2);
  }

  .svc-copy,
  .svc:first-child .svc-copy {
    margin: 0;
    padding: 1.5rem;
  }

  .footer-statement {
    margin-inline: auto;
  }
}

@media (max-width: 30rem) {
  .site-footer .footer-nav {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Semantic pairs belong to the surface, not to the viewport.
   Generated pages previously inherited light-theme ink on the dark body. */
.page-main {
  --ink: #f8fafc;
  --ink-soft: #cbd5e1;
  --paper: #0b1220;
  --paper-2: #101a2d;
  --surface: #142035;
  --line: #43556d;
  --line-strong: #94a3b8;
  --turquoise-dark: #67e8f9;
  --turquoise-soft: #15324a;
  color: var(--ink);
  background: var(--premium-ink);
  color-scheme: dark;
}

.page-main :is(h2, h3, dt),
.page-main .comparison-table :is(caption, th) {
  color: var(--ink);
}

.page-main :is(p, dd, td, li) {
  color: var(--ink-soft);
}

.page-main :is(.page-section, .resource-article, .related-links) {
  background-color: var(--paper);
}

.page-main :is(.page-section.alt, .article-section:nth-child(even), .download-panel) {
  background-color: var(--paper-2);
}

.page-main :is(.kicker, .priority .id, .resource-card .id, .article-copy a, .related-links a) {
  color: #67e8f9;
}

.page-main :is(.page-hero .lede, .article-copy p, .priority p, .resource-card p, .fact-list dd, .glossary-list dd) {
  max-width: 65ch;
  font-size: 1rem;
  line-height: 1.65;
}

.page-main .breadcrumbs {
  align-items: center;
  font-size: 0.875rem;
  line-height: 1.5;
}

.page-main .breadcrumbs span {
  color: #cbd5e1;
}

.page-main p a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Secondary hero copy must never depend on a delayed arrival animation. */
body.js-enabled.page-entered .page-hero-grid > div:first-child > *,
body.js-enabled.page-entered .page-hero .legal > *,
body.js-enabled.page-entered .thank-you-card,
body.js-enabled.page-entered .thank-you-card > * {
  animation: none;
  opacity: 1;
}

.page-main .comparison-table caption {
  max-width: 65ch;
  white-space: normal;
}

.page-main :is(.fact-list, .glossary-list) dt {
  font-size: 1rem;
  line-height: 1.5;
}

.page-main :is(.priority, .resource-card) {
  border-color: var(--line);
}

.page-main .priority {
  background: var(--surface);
}

.page-main .btn-secondary {
  color: #f8fafc;
  border-color: #71849d;
  background: #142035;
}

.page-main .btn-secondary:is(:hover, :focus-visible) {
  background: #1a3652;
  border-color: #67e8f9;
}

.page-main :focus-visible {
  outline: 3px solid #67e8f9;
  outline-offset: 4px;
}

.card-form :is(.hint, .privacy-note),
.site-footer .fine,
.footer-column a,
.legal-identity,
.legal-identity a {
  font-size: 0.875rem;
  line-height: 1.6;
}

.card-form input,
.card-form select,
.card-form textarea {
  font-size: 1rem;
}

.site-footer .fine {
  color: #b6c2d1;
}

.svc-copy p {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  font-size: 1rem;
  line-height: 1.6;
}

.svc-copy {
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.88), #050816);
}

.svc-list {
  grid-template-rows: auto auto;
}

.btn-primary:is(:hover, :focus-visible, :active) {
  color: #fff;
  background: linear-gradient(115deg, #1e40af, #1d4ed8 62%, #4338ca);
}

.btn-primary::after {
  background: transparent;
}

.card-form .form-index,
.card-form .f-field-feedback {
  font-size: 0.875rem;
  line-height: 1.5;
}

.card-form .form-ok {
  color: #b5f5e4;
  background: #0d302e;
  font-size: 1rem;
}

.svc-copy .tag,
.card-form .f-field > label {
  font-size: 0.875rem;
  line-height: 1.45;
}

@media (min-width: 64.001rem) {
  .card-form .f-field :is(input, select, textarea):focus {
    border-color: var(--brand-blue);
    background: var(--navy-800);
    color: var(--premium-text);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
  }
}

/* Mobile service cards: the illustration leads the card instead of being
   compressed into the narrow flex rail inherited from the desktop layout. */
@media (max-width: 48rem) {
  .svc,
  .svc:first-child,
  .svc:nth-child(4),
  .svc:nth-child(5) {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0;
  }

  .svc-media {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 10.625rem;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 0;
    background: #07111f;
  }

  .svc-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.16) contrast(1.1) saturate(1.08);
  }

  .svc-media::after {
    inset: 0;
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(5, 8, 22, 0.02), rgba(5, 8, 22, 0.16));
    opacity: 1;
  }

  .svc-copy,
  .svc:first-child .svc-copy {
    margin-top: 0;
    padding: 1.35rem 1.25rem 1.45rem;
    background: linear-gradient(180deg, rgba(8, 13, 29, 0.98), #050816);
  }

  .svc .id {
    top: 1rem;
    left: 1rem;
    z-index: 4;
  }
}

.svc .id {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.svc .id::after {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 0.75rem rgba(34, 211, 238, 0.72);
  content: "";
  opacity: 0.68;
  transform: scale(0.84);
}

html.motion-reveal .svc.in .service-link span {
  animation: service-arrow 620ms var(--ease-out) calc(420ms + min(var(--i, 0), 4) * 90ms) 1 both;
}

@keyframes service-arrow {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  55% {
    transform: translate3d(0.32rem, 0, 0);
  }
}

.card-form .form-err {
  color: #fecaca;
  background: #301622;
  font-size: 1rem;
}

@media (min-width: 64.001rem) {
  .sec-services .services-intro .sec-head h2 {
    color: var(--premium-text);
  }

  .services-intro .kicker,
  .card-form .form-index,
  .card-form .privacy-note a,
  .card-form .f-field.is-valid > label {
    color: var(--turquoise);
  }

  .card-form .f-field-feedback {
    color: #fecaca;
  }
}

@media (max-width: 64rem) {
  .compliance > p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.65;
  }

  .compliance .kicker {
    color: #67e8f9;
  }

  .compliance,
  .card-form {
    background: #101a2d;
  }

  .sec :is(p:not(.kicker), .lede),
  .finale p:not(.kicker),
  .conversion-guide li {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
  }

  .card-form :is(.hint, .privacy-note),
  .calc p {
    color: #cbd5e1;
    line-height: 1.6;
  }

  .card-form :is(.field-error, .form-error),
  .card-form .form-error-summary {
    color: #fecaca;
    background-color: #301622;
  }

  .card-form .form-ok {
    color: #b5f5e4;
    background-color: #0d302e;
  }

  .calc :is(label, .lab, .range-labels),
  .hero-assurances li,
  .footer-column h2 {
    color: #cbd5e1;
    font-size: 0.875rem;
  }

  .footer-column a,
  .legal-identity,
  .legal-identity a {
    color: #cbd5e1;
  }

  html {
    scroll-padding-bottom: calc(6rem + env(safe-area-inset-bottom));
  }

  main :is(a, input, button, summary, h2) {
    scroll-margin-block: 6rem;
  }
}

@keyframes hero-letter-reveal {
  from {
    opacity: 0;
    filter: blur(0.65rem);
    transform: translate3d(0, 0.38em, 0) scale(0.94);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes hero-ambient-drift {
  from {
    opacity: 0.72;
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    opacity: 1;
    transform: translate3d(3%, 3%, 0) scale(1.08);
  }
}

@keyframes hero-network-drift {
  from {
    opacity: 0.65;
    transform: translate3d(0, -1.25rem, 0) rotate(-1deg);
  }
  to {
    opacity: 0.92;
    transform: translate3d(0, 1.25rem, 0) rotate(1deg);
  }
}

@keyframes hero-ambient-drift-mobile {
  from {
    opacity: 0.72;
    transform: translate3d(-50%, -1rem, 0) scale(1);
  }
  to {
    opacity: 1;
    transform: translate3d(-50%, 1.25rem, 0) scale(1.07);
  }
}

@keyframes hero-network-drift-mobile {
  from {
    opacity: 0.62;
    transform: translate3d(-0.8rem, -1rem, 0) rotate(-1deg);
  }
  to {
    opacity: 0.9;
    transform: translate3d(0.8rem, 1rem, 0) rotate(1deg);
  }
}

@keyframes hero-lockup-parallax {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, 0.85rem, 0);
  }
}

@keyframes hero-visual-parallax {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, 1.4rem, 0);
  }
}

@media (max-width: 64rem) {
  body.js-enabled.page-entered .hero-static::before {
    animation-name: hero-ambient-drift-mobile;
  }

  body.js-enabled.page-entered .hero-static::after {
    animation-name: hero-network-drift-mobile;
  }
}

@keyframes premium-node-pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.88);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

/* Desktop composition — keep the mobile service cards untouched while
   replacing the legacy flex/grid collision that compressed their media. */
@media (min-width: 64.001rem) {
  .hero-static {
    min-height: 0;
  }

  .hs-wrap {
    width: min(calc(100% - 4rem), 80rem);
    min-height: 0;
    padding-block: clamp(3rem, 5vw, 5rem);
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    grid-template-rows: auto auto;
    column-gap: clamp(2rem, 3.5vw, 3.5rem);
    row-gap: 1.5rem;
    align-items: start;
  }

  .nav-shell {
    width: min(calc(100% - 4rem), 80rem);
    max-width: 80rem;
    padding-inline: 0;
  }

  .hero-brand-lockup {
    grid-column: 1;
    grid-row: 1;
    justify-items: start;
    gap: 0.75rem;
    text-align: left;
  }

  .hero-brand-title {
    font-size: 2.6rem;
    line-height: 1;
  }

  .hero-brand-banner {
    display: block;
    width: auto;
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-align: left;
  }

  .hero-brand-banner::before,
  .hero-brand-banner::after {
    display: none;
  }

  .hs-copy {
    width: 100%;
    max-width: 45rem;
  }

  .hs-copy h1 {
    max-width: none;
    margin-bottom: 1.5rem;
    font-size: clamp(2.35rem, 3.8vw, 3.45rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-wrap: pretty;
  }

  .hs-copy .hero-accent {
    color: #93c5fd;
    background: linear-gradient(105deg, #93c5fd, #60a5fa 55%, #b6a2fb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hs-copy .hero-lead {
    display: block;
    max-width: 14ch;
    text-wrap: balance;
  }

  .hs-copy h1 > br {
    display: none;
  }

  .hs-copy .sub {
    max-width: 60ch;
    margin-bottom: 1.65rem;
    font-size: 1.0625rem;
    line-height: 1.65;
  }

  .hero .cta-row {
    gap: 0.75rem;
  }

  .hero .cta-row .btn {
    min-height: 3rem;
    padding-inline: 1.1rem;
  }

  .hero-assurances {
    display: grid;
    grid-template-columns: 0.8fr 1.1fr 1.1fr;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(147, 197, 253, 0.2);
  }

  .hero-assurances li {
    display: block;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: #cbd5e1;
    font-family: var(--body);
    font-size: 0.875rem;
    line-height: 1.45;
    letter-spacing: 0;
    text-transform: none;
  }

  .hero-assurances strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1.3rem;
    line-height: 1.2;
    color: #f8fafc;
  }

  .hs-visual {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    width: 100%;
    max-width: 34rem;
    min-height: 0;
    padding: 1.5rem;
    justify-self: end;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 1rem;
  }

  .hs-art {
    display: block;
    grid-row: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 480 / 440;
  }

  .diagram-label {
    position: static;
    grid-row: 1;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    margin: 0;
    line-height: 1.5;
    inset: auto;
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 0.7rem;
    letter-spacing: 0.07em;
  }

  .sec-services {
    padding: 7rem max(1.5rem, calc((100vw - 78rem) / 2));
    background:
      radial-gradient(circle at 8% 10%, rgba(59, 130, 246, 0.13), transparent 30rem),
      radial-gradient(circle at 92% 78%, rgba(139, 92, 246, 0.1), transparent 32rem),
      #050816;
    color: #f8fafc;
  }

  .services-intro {
    width: 100%;
    max-width: 78rem;
    margin: 0 auto 3rem;
    grid-template-columns: minmax(0, 1fr) 18rem;
    align-items: end;
    gap: 3rem;
  }

  .sec-services .services-intro .sec-head h2 {
    color: #f8fafc;
  }

  .services-intro .kicker {
    color: #67e8f9;
  }

  .services-intro .lede {
    max-width: 44rem;
    color: #cbd5e1;
  }

  .service-map {
    width: 18rem;
    border-color: rgba(96, 165, 250, 0.24);
    background: rgba(11, 18, 32, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .svc-list {
    display: grid;
    width: 100%;
    max-width: 78rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: 1.15rem;
    margin: 0 auto;
    padding: 0;
    border: 0;
  }

  .svc,
  .svc:first-child,
  .svc:nth-child(4),
  .svc:nth-child(5) {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 1.45rem;
    background: #0b1220;
    box-shadow:
      0 1.4rem 3.5rem rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 0;
    align-items: stretch;
  }

  .svc:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-columns: minmax(0, 1.35fr) minmax(22rem, 0.65fr);
    grid-template-rows: minmax(29rem, auto);
  }

  .svc:nth-child(2),
  .svc:nth-child(3),
  .svc:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .svc:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .svc-media {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 0;
    background: #07111f;
    aspect-ratio: 16 / 9;
  }

  .svc:first-child .svc-media {
    height: 100%;
    border-right: 1px solid rgba(96, 165, 250, 0.18);
    border-bottom: 0;
    aspect-ratio: auto;
  }

  .svc-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.18) contrast(1.09) saturate(1.08);
  }

  .svc-media::after {
    inset: 0;
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(5, 8, 22, 0.01), rgba(5, 8, 22, 0.12));
    opacity: 1;
  }

  .svc-copy,
  .svc:first-child .svc-copy {
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 1.55rem 1.5rem 1.65rem;
    background: linear-gradient(180deg, rgba(11, 18, 32, 0.98), #050816);
    color: #f8fafc;
  }

  .svc:first-child .svc-copy {
    padding: clamp(2rem, 3vw, 2.75rem);
  }

  .svc-copy h3,
  .svc:first-child .svc-copy h3 {
    margin: 0 0 0.75rem;
    color: #f8fafc;
    font-size: clamp(1.55rem, 1.75vw, 1.9rem);
    line-height: 1.08;
  }

  .svc:first-child .svc-copy h3 {
    font-size: clamp(2rem, 2.7vw, 2.7rem);
  }

  .svc-copy p,
  .svc:first-child .svc-copy p {
    display: block;
    max-width: 42rem;
    margin: 0;
    overflow: visible;
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.58;
    -webkit-line-clamp: unset;
  }

  .svc-copy .tag {
    margin-top: 1.15rem;
    color: #dbeafe;
    white-space: normal;
  }

  .service-link {
    margin-top: auto;
    padding-top: 1.2rem;
    color: #bfdbfe;
  }

  .svc .id {
    z-index: 4;
    top: 1rem;
    left: 1rem;
    border: 1px solid rgba(34, 211, 238, 0.25);
    background: rgba(5, 8, 22, 0.82);
    color: #67e8f9;
    backdrop-filter: blur(10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.js-enabled:not(.page-entered) .hero .hero-brand-banner,
  body.js-enabled:not(.page-entered) .hero .hero-brand-title,
  body.js-enabled:not(.page-entered) .hero .hs-copy > *,
  body.js-enabled:not(.page-entered) .hero .hs-visual,
  body.js-enabled:not(.page-entered) .hero .hs-foot,
  .hero-brand-name::before,
  .hero-brand-letter,
  .hero-brand-lockup,
  .hero-static::before,
  .hero-static::after,
  .hs-topology *,
  .nav-links li,
  .faq .a,
  .form-ok,
  .btn {
    opacity: 1;
    transform: none;
    animation: none !important;
    transition: none !important;
  }

  .svc-media::before {
    display: none;
  }

  .svc .id::after,
  .svc .service-link span,
  .svc .svc-media img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .svc .id::after {
    opacity: 1;
  }
}

/* Identité et coordonnées : même bleu sur tous les formats et toutes les pages.
   Les liens éditoriaux et les couleurs des services ne sont pas concernés. */
.brand-word b {
  color: var(--brand-blue);
}
.site-footer .legal-identity > strong,
body :is(main, .site-footer) a:is([href^="tel:"], [href^="mailto:"]),
body :is(main, .site-footer) a:is([href^="tel:"], [href^="mailto:"]):visited {
  color: var(--brand-blue);
  text-decoration-color: currentColor;
}
body :is(main, .site-footer) a:is([href^="tel:"], [href^="mailto:"]) {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration-line: underline;
  text-underline-offset: .22em;
  text-decoration-thickness: 1px;
}
body :is(main, .site-footer) a:is([href^="tel:"], [href^="mailto:"]):focus-visible {
  color: var(--brand-blue-hover);
  outline: 2px solid var(--brand-blue-hover);
  outline-offset: 4px;
  border-radius: .2rem;
}
@media (hover: hover) and (pointer: fine) {
  body :is(main, .site-footer) a:is([href^="tel:"], [href^="mailto:"]):hover {
    color: var(--brand-blue-hover);
  }
}
body :is(main, .site-footer) a:is([href^="tel:"], [href^="mailto:"]):active {
  color: var(--brand-blue-active);
}

/* Continue the hero's navy palette through the complete homepage. Keep paper
   tokens intact: existing dark components also use them as foreground colors. */
@media screen {
  html { color-scheme: dark; }

  main:not(.page-main) {
    --ink: var(--premium-text);
    --ink-soft: var(--premium-muted);
    --surface: var(--premium-surface);
    --line: #30465d;
    --line-strong: #637c97;
    --turquoise-dark: var(--turquoise);
    --amber-soft: #132238;
    --danger: #fecaca;
    --success: #b5f5e4;
    color: var(--ink);
    background: var(--premium-night-background);
  }

  main:not(.page-main) > :is(.sec-services, .sec-infrastructure, .sec-calculator, .sec-proof) {
    color: var(--premium-text);
    background: var(--premium-night-background);
  }

  main:not(.page-main) > .sec-infrastructure {
    background-image:
      linear-gradient(rgba(96, 165, 250, .045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(96, 165, 250, .045) 1px, transparent 1px),
      var(--premium-night-background);
    background-size: 4.5rem 4.5rem, 4.5rem 4.5rem, 100% 100%;
  }

  .services-intro .lede,
  .compliance > p { color: var(--premium-muted); }

  .seg,
  .compliance,
  .card-form {
    color: var(--premium-text);
    background: var(--premium-surface-raised);
    border-color: #30465d;
  }
  .seg:is(:hover, :focus-visible) {
    background: #14263d;
    border-color: var(--brand-blue);
  }
  .compliance { border-left-color: var(--amber); }
  .compliance .kicker { color: var(--amber); }
  .compliance h2 { color: var(--premium-text); }

  .card-form :is(h3, label, legend) { color: var(--premium-text); }
  .card-form :is(.hint, .privacy-note) { color: var(--premium-muted); }
  .card-form :is(.form-index, .privacy-note a) { color: var(--turquoise); }
  .card-form :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    color: var(--premium-text);
    background: var(--navy-900);
    border-color: #637c97;
    color-scheme: dark;
  }
  .card-form :is(input, textarea)::placeholder { color: #a8b8ca; }
  .card-form .f-field :is(input, select, textarea):focus {
    color: var(--premium-text);
    background: var(--navy-800);
    border-color: var(--brand-blue);
  }
  .card-form .f-field.is-valid > label { color: var(--turquoise); }
  .card-form :is(.field-error, .form-error, .f-field-feedback) { color: #fecaca; }
  .card-form .form-error-summary { color: #fecaca; background: #301622; }
  .card-form .form-ok { color: #b5f5e4; background: #0d302e; }

  main:not(.page-main) .btn-secondary {
    color: var(--premium-text);
    background: var(--premium-surface-raised);
  }
  main:not(.page-main) .btn-secondary:is(:hover, :focus-visible, :active) {
    background: var(--navy-700);
  }
  main:not(.page-main) .btn-secondary:is(:disabled, [aria-disabled="true"]) {
    background: var(--premium-surface);
  }
  main:not(.page-main) :focus-visible { outline-color: var(--turquoise); }
  .signal-spine span { border-color: var(--navy-950); }

  .page-main .confirm-box {
    color: var(--premium-muted);
    background: var(--premium-surface-raised);
  }
}

/* Commercial pages: quiet surfaces, readable deliverables and real contact paths. */
.commercial-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; }
.commercial-grid-two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.commercial-card { padding:clamp(1.4rem,3vw,2.25rem); border:1px solid var(--line); border-radius:1.25rem; background:var(--surface); min-width:0; }
.commercial-card h3 { margin:0 0 1rem; font-size:clamp(1.35rem,2vw,1.7rem); line-height:1.2; letter-spacing:-.025em; }
.commercial-card p + p { margin-top:1rem; }
.commercial-card .kicker { margin:0 0 1rem; }
.commercial-card ul { display:grid; gap:.75rem; padding-left:1.2rem; margin:0; }
.commercial-card li::marker { color:var(--turquoise); }
.commercial-card img { width:100%; height:auto; border-radius:.7rem; margin-bottom:1.25rem; }
.commercial-note { max-width:65ch; margin-top:1.5rem; font-size:.9375rem; line-height:1.65; }
.commercial-links { display:flex; flex-wrap:wrap; gap:.5rem 2rem; margin-top:1.5rem; }
.text-action { display:inline-flex; align-items:center; min-height:44px; color:#67e8f9; text-decoration:underline; text-underline-offset:.25em; font-weight:600; }
.commercial-card .text-action { margin-top:.5rem; }
.project-journey { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; border:1px solid var(--line); border-radius:1.25rem; overflow:hidden; background:var(--line); }
.project-journey li { display:grid; grid-template-columns:2.5rem minmax(0,1fr); gap:1.25rem; padding:clamp(1.4rem,3vw,2.25rem); background:var(--surface); }
.journey-number { color:var(--turquoise); font:500 1rem/1.5 var(--mono); padding-top:.15rem; }
.project-journey h3 { margin:0 0 .8rem; font-size:1.45rem; line-height:1.25; }
.journey-delivery { margin-top:1.25rem; padding-top:1rem; border-top:1px solid var(--line); font-size:.9375rem; }
.journey-delivery strong { color:var(--ink); }
.commercial-contact { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; }
.commercial-contact a { display:grid; gap:.5rem; padding:1.5rem; border:1px solid var(--line); border-radius:1rem; background:var(--surface); }
.commercial-contact span { color:var(--ink-soft); font-size:.875rem; }
.commercial-contact strong { color:var(--ink); font-size:clamp(1.1rem,2.2vw,1.6rem); overflow-wrap:anywhere; }
.commercial-contact a:hover { border-color:var(--turquoise); }
#soutien { scroll-margin-top:6rem; }
.form-context { margin:0 0 1.25rem; padding:.75rem 1rem; border-left:2px solid var(--turquoise); background:var(--navy-800); color:var(--premium-muted); font-size:.9375rem; line-height:1.5; }
@media (max-width:64rem) { .commercial-grid { grid-template-columns:1fr; } .commercial-grid-two { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:48rem) { .commercial-grid-two,.project-journey,.commercial-contact { grid-template-columns:1fr; } .project-journey li { grid-template-columns:1.7rem minmax(0,1fr); gap:.85rem; } }
@media print { .commercial-card,.project-journey li,.commercial-contact a { background:white; color:#102238; } .text-action { color:#102238; } }
