:root {
  color-scheme: dark;
  --bg: #05070b;
  --graphite: #0a0f16;
  --glass: rgba(8, 14, 22, 0.72);
  --glass-strong: rgba(6, 11, 18, 0.88);
  --line: rgba(255, 255, 255, 0.12);
  --line-hot: rgba(255, 77, 31, 0.58);
  --text: #f4f7fb;
  --muted: #9ba6b4;
  --muted-2: #66717f;
  --cyan: #43f3ff;
  --cyan-soft: rgba(67, 243, 255, 0.18);
  --orange: #ff4d1f;
  --amber: #ff9f2e;
  --shadow: rgba(0, 0, 0, 0.68);
  --radius: 8px;
  --mono: "Space Mono", "JetBrains Mono", monospace;
  --display: "Pixelify Sans", "VT323", monospace;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 18% 12%, rgba(67, 243, 255, 0.12), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(255, 77, 31, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.18), #05070b 88%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass-strong);
  color: var(--text);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-background {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: #030509;
}

.site-background picture,
.site-background img {
  width: 100%;
  height: 100%;
}

.site-background img {
  object-fit: cover;
  opacity: 0.92;
  filter: saturate(1.12) contrast(1.24) brightness(0.98);
  transform: scale(1.04);
}

.site-background::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(67, 243, 255, 0.06), transparent 28%, rgba(255, 77, 31, 0.08) 68%, transparent),
    url("../ui/terminal-glyphs.webp") left 7% top 9% / 460px auto repeat-y,
    url("../ui/circuit-accent-pack.webp") right 4% top 2% / 520px auto no-repeat;
  mix-blend-mode: screen;
  opacity: 0.24;
  pointer-events: none;
  animation: slowDrift 34s ease-in-out infinite alternate;
}

.background-drift {
  position: absolute;
  inset: -12%;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.46), transparent 42%, rgba(5, 7, 11, 0.42)),
    radial-gradient(circle at 55% 39%, rgba(255, 77, 31, 0.24), transparent 25%),
    url("../ui/circuit-accent-pack.webp") right 8% top 8% / 340px auto no-repeat;
  mix-blend-mode: screen;
  opacity: 0.62;
  animation: slowDrift 28s ease-in-out infinite alternate;
}

.scanlines {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 5px
    );
  opacity: 0.34;
  pointer-events: none;
}

.page-shell {
  position: relative;
  width: min(1760px, calc(100% - 64px));
  min-height: calc(100vh - 64px);
  margin: 32px auto;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.28), rgba(5, 7, 11, 0.64)),
    rgba(5, 7, 11, 0.3);
  box-shadow: 0 32px 110px var(--shadow);
  overflow: hidden;
  isolation: isolate;
}

.page-shell::before,
.page-shell::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.page-shell::before {
  inset: 0;
  border: 1px solid rgba(255, 77, 31, 0.08);
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(255, 77, 31, 0.08), transparent) 0 45% / 100% 1px no-repeat,
    linear-gradient(180deg, transparent, rgba(67, 243, 255, 0.06), transparent) 50% 0 / 1px 100% no-repeat;
}

.page-shell::after {
  right: 0;
  bottom: 0;
  width: 42%;
  height: 34%;
  background: url("../images/cta-code-core-bg.webp") center / cover no-repeat;
  opacity: 0.12;
  mix-blend-mode: screen;
}

.browser-frame {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 13, 21, 0.78);
}

.browser-frame span {
  width: 13px;
  height: 13px;
  border-radius: 999px;
}

.browser-frame span:nth-child(1) {
  background: #ff5f57;
}

.browser-frame span:nth-child(2) {
  background: #ffbd2e;
}

.browser-frame span:nth-child(3) {
  background: #28c840;
}

.site-header,
.hero,
.service-ribbon,
.works-panel,
.split-panel,
.process-section,
.cta-section,
.site-footer {
  width: min(1500px, calc(100% - 112px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 330px 1fr 270px;
  align-items: center;
  gap: 24px;
  padding: 34px 0 18px;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.92), rgba(5, 7, 11, 0));
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 310px);
  min-height: 58px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 7, 11, 0.72);
}

.brand img {
  max-height: 46px;
  width: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 64px);
  color: #dfe7ef;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a,
.nav-contact,
.text-link {
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.nav-contact:hover,
.text-link:hover {
  color: var(--orange);
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(5, 7, 11, 0.62);
  color: #dfe7ef;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.language-toggle:hover {
  border-color: rgba(255, 77, 31, 0.62);
  color: var(--orange);
}

.nav-contact span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(255, 77, 31, 0.92);
}

.section-pad {
  padding: clamp(54px, 7vw, 120px) 0 80px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(420px, 1.24fr);
  align-items: center;
  min-height: 760px;
  gap: clamp(10px, 2vw, 42px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.eyebrow,
.section-label,
.ribbon-label {
  margin: 0 0 28px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--muted);
  font-weight: 400;
}

.eyebrow span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 12px;
  border-top: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  transform: rotate(45deg) translateY(-1px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 30px;
  font-family: var(--display);
  font-size: clamp(4.1rem, 7.4vw, 8.9rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: 0;
  font-synthesis: none;
  text-transform: uppercase;
  text-shadow:
    0 0 20px rgba(67, 243, 255, 0.1),
    0 0 1px rgba(255, 255, 255, 0.54);
}

h2 {
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: clamp(2rem, 3.2vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-lede,
.hero-support {
  max-width: 570px;
  margin-bottom: 8px;
  color: #e5ecf3;
  font-size: clamp(1rem, 1.2vw, 1.28rem);
}

.hero-support,
.works-panel p,
.panel-text p,
.process-line p,
.site-footer {
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-width: 200px;
  min-height: 58px;
  padding: 16px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.button::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 0 40%, rgba(255, 255, 255, 0.18) 48%, transparent 58% 100%);
  transform: translateX(-120%);
  animation: buttonSweep 5.8s ease-in-out infinite;
  pointer-events: none;
}

.button span {
  color: inherit;
}

.button-primary {
  border-color: rgba(255, 77, 31, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 77, 31, 0.9), rgba(142, 37, 18, 0.78)),
    url("../ui/button-orange-glow.webp") center / cover no-repeat;
  box-shadow:
    0 0 26px rgba(255, 77, 31, 0.45),
    inset 0 0 18px rgba(255, 159, 46, 0.18);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(8, 14, 22, 0.74);
}

.button:hover {
  transform: translateY(-2px);
}

.social-button svg,
.footer-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.hero-note {
  margin: 82px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.hero-contact-line {
  display: inline-flex;
  margin-top: 18px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-note strong {
  color: var(--orange);
}

.cursor {
  display: inline-block;
  color: var(--cyan);
  animation: blink 1s steps(2, start) infinite;
}

.hero-figure {
  position: relative;
  min-height: 690px;
  align-self: stretch;
  pointer-events: none;
}

.hero-figure::before {
  position: absolute;
  inset: -6% -7% -8% -18%;
  content: "";
  background:
    radial-gradient(ellipse at 56% 48%, rgba(67, 243, 255, 0.16), transparent 42%),
    radial-gradient(ellipse at 72% 45%, rgba(255, 77, 31, 0.13), transparent 34%);
  opacity: 0.9;
  mix-blend-mode: screen;
}

.hero-figure img {
  position: absolute;
  right: max(-7vw, -110px);
  top: -18%;
  width: clamp(760px, 62vw, 1020px);
  max-width: none;
  opacity: 0.96;
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 0 36px rgba(67, 243, 255, 0.2))
    drop-shadow(0 0 54px rgba(255, 77, 31, 0.08));
  -webkit-mask-image: radial-gradient(ellipse 69% 73% at 58% 50%, #000 46%, rgba(0, 0, 0, 0.78) 63%, transparent 88%);
  mask-image: radial-gradient(ellipse 69% 73% at 58% 50%, #000 46%, rgba(0, 0, 0, 0.78) 63%, transparent 88%);
}

.service-ribbon {
  position: relative;
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  min-height: 112px;
  margin-bottom: 90px;
  padding: 22px 36px;
  border: 1px solid rgba(255, 77, 31, 0.58);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.94), rgba(8, 14, 22, 0.76)),
    url("../images/services-ribbon-bg.webp") center / cover no-repeat;
  box-shadow: 0 0 28px rgba(255, 77, 31, 0.2);
  animation: boxFloat 8s ease-in-out infinite alternate;
}

.service-ribbon::before,
.service-ribbon::after,
.split-panel::before,
.process-section::before {
  position: absolute;
  content: "";
  pointer-events: none;
}

.service-ribbon::before {
  left: -54px;
  right: -54px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-hot), transparent);
}

.service-ribbon::after {
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.ribbon-label {
  margin: 0;
  color: var(--muted);
}

.ribbon-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #dce4ee;
  font-family: var(--mono);
  font-size: 0.86rem;
}

.ribbon-items span {
  white-space: nowrap;
}

.works-panel {
  min-height: 410px;
  margin-bottom: 36px;
  padding: clamp(54px, 6vw, 88px);
  border: 1px solid rgba(255, 77, 31, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.92), rgba(5, 7, 11, 0.42) 52%, rgba(5, 7, 11, 0.72)),
    url("../images/phaos-works-code-tunnel.webp") center / cover no-repeat;
  animation: boxFloat 9s ease-in-out 0.8s infinite alternate;
}

.panel-copy {
  max-width: 520px;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.split-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 86px;
  border: 1px solid rgba(255, 77, 31, 0.34);
  border-radius: 10px;
  background: rgba(5, 7, 11, 0.56);
  overflow: hidden;
}

.split-panel::before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-hot), transparent);
}

.split-panel article {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  min-height: 310px;
  padding: clamp(42px, 5vw, 74px);
  overflow: hidden;
  animation: boxFloat 7.5s ease-in-out infinite alternate;
}

.split-panel article:nth-child(2) {
  animation-delay: 1.1s;
}

.panel-media {
  align-self: stretch;
  min-height: 190px;
  opacity: 0.78;
  filter: saturate(1.08) contrast(1.08);
}

.medical-media {
  background: url("../images/medical-workflow-secure-tech.webp") center / cover no-repeat;
  clip-path: polygon(0 8%, 90% 0, 100% 92%, 8% 100%);
}

.infrastructure-media {
  background: url("../images/infrastructure-signal-line.webp") center / cover no-repeat;
  clip-path: polygon(10% 0, 100% 12%, 90% 100%, 0 88%);
}

.panel-text {
  align-self: center;
}

.process-section {
  position: relative;
  margin-bottom: 82px;
}

.process-section::before {
  left: 7%;
  right: 7%;
  top: 108px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 77, 31, 0.24), rgba(255, 77, 31, 0.92), rgba(255, 77, 31, 0.24), transparent);
  background-size: 220% 100%;
  animation: processSweep 4.5s linear infinite;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-line li {
  position: relative;
  min-height: 156px;
  padding-top: 42px;
  text-align: center;
}

.process-line li i {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 77, 31, 0.16);
  border-radius: 999px;
  opacity: 0;
  transform: translateX(-50%) scale(0.6);
  animation: processPulse 3.8s ease-out infinite;
}

.process-line li:nth-child(2) i {
  animation-delay: 0.55s;
}

.process-line li:nth-child(3) i {
  animation-delay: 1.1s;
}

.process-line li:nth-child(4) i {
  animation-delay: 1.65s;
}

.process-line li:nth-child(5) i {
  animation-delay: 2.2s;
}

.process-line li::before {
  position: absolute;
  left: 50%;
  top: 30px;
  width: 12px;
  height: 12px;
  border: 1px solid var(--muted-2);
  border-radius: 999px;
  background: var(--bg);
  content: "";
  transform: translateX(-50%);
}

.process-line li.is-active::before {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 0 22px rgba(255, 77, 31, 0.78);
  animation: nodeGlow 1.7s ease-in-out infinite alternate;
}

.process-line span {
  display: block;
  margin-bottom: 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 1.1rem;
}

.process-line .is-active span {
  color: var(--orange);
}

.process-line strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.process-line p {
  margin-bottom: 0;
  font-size: 0.86rem;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 48px;
  min-height: 360px;
  margin-bottom: 52px;
  padding: clamp(42px, 5vw, 76px);
  border: 1px solid rgba(255, 77, 31, 0.26);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.94), rgba(5, 7, 11, 0.3)),
    url("../images/cta-code-core-bg.webp") center / cover no-repeat;
  background-clip: padding-box;
  animation: boxFloat 8.5s ease-in-out 0.4s infinite alternate;
}

.cta-copy h2 {
  max-width: 730px;
}

.code-snippet {
  margin: 0;
  color: #d7e0ea;
  font-family: var(--mono);
  font-size: 0.9rem;
  white-space: pre-wrap;
}

.code-snippet code {
  color: inherit;
}

.code-snippet code::first-line {
  color: var(--muted);
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 34px;
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  align-items: center;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  align-items: center;
  display: flex;
  gap: clamp(16px, 3vw, 42px);
  flex-wrap: wrap;
}

.footer-brand {
  gap: 14px !important;
}

.footer-brand img {
  width: 190px;
  height: auto;
  opacity: 0.94;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.floating-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 77, 31, 0.38);
  border-radius: 999px;
  background: rgba(5, 7, 11, 0.82);
  color: #f4f7fb;
  box-shadow: 0 0 18px rgba(255, 77, 31, 0.18);
  backdrop-filter: blur(12px);
}

.floating-actions svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.cookie-consent {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(760px, calc(100% - 112px));
  padding: 18px;
  border: 1px solid rgba(67, 243, 255, 0.22);
  border-radius: 10px;
  background: rgba(5, 7, 11, 0.9);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cookie-consent.is-hiding {
  opacity: 0;
  transform: translateY(12px);
}

.cookie-consent p {
  margin: 0;
  color: #d7e0ea;
  font-size: 0.92rem;
}

.cookie-consent div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-consent a,
.cookie-consent button {
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 14, 22, 0.78);
  color: #f4f7fb;
  font: 700 0.72rem var(--mono);
  text-transform: uppercase;
}

.cookie-consent button {
  cursor: pointer;
}

.cookie-consent .button-primary {
  border-color: rgba(255, 77, 31, 0.82);
  background: linear-gradient(180deg, rgba(255, 77, 31, 0.9), rgba(142, 37, 18, 0.78));
}

.legal-page {
  min-height: 100vh;
  background: var(--bg);
}

.legal-page .site-background {
  z-index: 0;
}

.legal-page .site-background img {
  opacity: 0.9;
  filter: saturate(1.08) contrast(1.22) brightness(0.9);
}

.legal-page::before {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.38), rgba(5, 7, 11, 0.72)),
    radial-gradient(circle at 18% 12%, rgba(67, 243, 255, 0.08), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(255, 77, 31, 0.12), transparent 30%);
}

.legal-shell {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 40px));
  margin: 42px auto;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(255, 77, 31, 0.28);
  border-radius: 10px;
  background: rgba(5, 7, 11, 0.76);
  backdrop-filter: blur(10px);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.5);
}

.legal-brand {
  display: inline-flex;
  width: min(320px, 100%);
  margin-bottom: 44px;
}

.legal-brand img {
  width: 100%;
  height: auto;
}

.legal-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 40px;
}

.legal-topbar .legal-brand {
  margin-bottom: 0;
}

.legal-shell h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 5.4vw, 4.85rem);
  line-height: 0.92;
}

.legal-shell h2 {
  margin-top: 34px;
  font-size: 1.4rem;
}

.legal-shell a:not(.button) {
  color: var(--orange);
}

.legal-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.content-page .page-shell {
  min-height: auto;
}

.content-main {
  width: min(1180px, calc(100% - 112px));
  margin: 0 auto 64px;
}

.content-hero {
  padding: clamp(48px, 6vw, 86px) 0 18px;
}

.content-hero h1 {
  max-width: 980px;
  margin: 0 0 24px;
  font-size: clamp(3rem, 7.4vw, 6rem);
}

.content-lede {
  max-width: 880px;
  margin: 0 0 32px;
  color: #d7e0ea;
  font-size: clamp(1.02rem, 1.8vw, 1.28rem);
}

.content-block {
  margin: 26px 0;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(67, 243, 255, 0.05), transparent 34%),
    rgba(5, 7, 11, 0.62);
}

.content-block h2,
.service-card h2 {
  margin: 0 0 16px;
  color: #f4f7fb;
  font-family: var(--mono);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  line-height: 1.25;
}

.content-block p,
.content-list {
  color: var(--muted);
}

.content-grid,
.service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 220px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background:
    linear-gradient(140deg, rgba(255, 77, 31, 0.08), transparent 38%),
    rgba(5, 7, 11, 0.66);
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.content-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 0;
}

.faq-block {
  display: grid;
  gap: 12px;
}

.faq-block details {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(8, 14, 22, 0.62);
}

.faq-block summary {
  cursor: pointer;
  padding: 16px 18px;
  color: #f4f7fb;
  font-family: var(--mono);
  font-weight: 700;
}

.faq-block details p {
  margin: 0;
  padding: 0 18px 18px;
}

.ai-summary {
  border-color: rgba(67, 243, 255, 0.18);
}

.contact-block {
  border-color: rgba(255, 77, 31, 0.3);
  background:
    linear-gradient(120deg, rgba(5, 7, 11, 0.9), rgba(5, 7, 11, 0.62)),
    url("../images/cta-code-core-bg.webp") center / cover no-repeat;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy.reveal,
.hero-figure.reveal {
  opacity: 1;
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes blink {
  0%,
  44% {
    opacity: 1;
  }

  45%,
  100% {
    opacity: 0;
  }
}

@keyframes slowDrift {
  from {
    transform: translate3d(-1.5%, -0.8%, 0) scale(1);
  }

  to {
    transform: translate3d(1.5%, 1%, 0) scale(1.03);
  }
}

@keyframes boxFloat {
  from {
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 0 20px rgba(255, 77, 31, 0.12);
  }

  to {
    transform: translate3d(0, 4px, 0);
    box-shadow: 0 0 34px rgba(255, 77, 31, 0.22);
  }
}

@keyframes buttonSweep {
  0%,
  58% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(120%);
  }
}

@keyframes processSweep {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -120% 0;
  }
}

@keyframes processPulse {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.5);
  }

  42% {
    opacity: 0.78;
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) scale(1.25);
  }
}

@keyframes nodeGlow {
  from {
    box-shadow: 0 0 16px rgba(255, 77, 31, 0.42);
  }

  to {
    box-shadow: 0 0 30px rgba(255, 77, 31, 0.92);
  }
}

@media (max-width: 1180px) {
  .site-header,
  .hero,
  .service-ribbon,
  .works-panel,
  .split-panel,
  .process-section,
  .cta-section,
  .site-footer,
  .content-main {
    width: min(100% - 56px, 1060px);
  }

  .site-header {
    grid-template-columns: 240px 1fr 58px;
  }

  .nav-contact {
    display: none;
  }

  .header-actions {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 68px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-figure {
    min-height: 610px;
    margin-top: -90px;
  }

  .hero-figure img {
    right: max(-8vw, -70px);
    left: auto;
    top: -10%;
    width: min(820px, 118vw);
  }

  .split-panel article {
    grid-template-columns: 1fr;
  }

  .panel-media {
    min-height: 220px;
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: 82px;
  }

  body::before {
    position: absolute;
  }

  .site-background img {
    opacity: 0.82;
    filter: none;
    transform: none;
  }

  .site-background::after {
    opacity: 0.22;
    mix-blend-mode: normal;
    animation: none;
  }

  .background-drift {
    inset: 0;
    opacity: 0.28;
    mix-blend-mode: normal;
    animation: none;
  }

  .service-ribbon,
  .works-panel,
  .split-panel article,
  .cta-section {
    animation: none;
  }

  .page-shell {
    width: min(100% - 22px, 720px);
    margin: 11px auto;
    border-radius: 10px;
  }

  .browser-frame {
    height: 44px;
    padding-inline: 18px;
  }

  .browser-frame span {
    width: 10px;
    height: 10px;
  }

  .site-header,
  .hero,
  .service-ribbon,
  .works-panel,
  .split-panel,
  .process-section,
  .cta-section,
  .site-footer,
  .content-main {
    width: calc(100% - 34px);
  }

  .site-header {
    position: relative;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 24px;
    backdrop-filter: none;
  }

  .brand {
    width: 260px;
  }

  .site-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px;
    padding-bottom: 8px;
  }

  .cookie-consent {
    left: 11px;
    right: 11px;
    bottom: 76px;
    grid-template-columns: 1fr;
    width: auto;
  }

  .cookie-consent div {
    flex-wrap: wrap;
  }

  .header-actions {
    display: flex;
    justify-self: start;
  }

  .nav-contact {
    display: none;
  }

  .legal-topbar {
    flex-direction: column;
  }

  .hero {
    padding-top: 34px;
    gap: 0;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 4.2rem);
    line-height: 0.9;
  }

  .hero-lede,
  .hero-support {
    font-size: 1rem;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .button {
    min-width: 0;
    justify-content: space-between;
  }

  .hero-note {
    margin-top: 44px;
  }

  .hero-figure {
    min-height: 410px;
    margin-top: -34px;
  }

  .hero-figure img {
    right: -78px;
    top: 8px;
    width: min(560px, 138vw);
  }

  .service-ribbon {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 48px;
    padding: 24px;
  }

  .ribbon-items {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .ribbon-items span {
    width: calc(50% - 8px);
    white-space: normal;
  }

  .works-panel {
    min-height: 360px;
    margin-bottom: 24px;
    padding: 36px 24px;
  }

  .split-panel {
    grid-template-columns: 1fr;
  }

  .split-panel::before {
    display: none;
  }

  .split-panel article {
    padding: 34px 26px 38px;
  }

  .split-panel article + article {
    border-top: 1px solid rgba(255, 77, 31, 0.26);
  }

  .process-section::before {
    display: none;
  }

  .process-line {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-line li {
    display: grid;
    grid-template-columns: 44px 24px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 10px;
    row-gap: 4px;
    min-height: auto;
    padding: 18px 0;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .process-line li i {
    position: static;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    margin-top: 3px;
    width: 20px;
    height: 20px;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .process-line li::before {
    position: static;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    justify-self: center;
    margin-top: 7px;
    transform: none;
  }

  .process-line span,
  .process-line strong,
  .process-line p {
    margin: 0;
  }

  .process-line span {
    grid-column: 1;
    grid-row: 1 / span 2;
    font-size: 1rem;
    line-height: 1.2;
  }

  .process-line strong {
    grid-column: 3;
    grid-row: 1;
    min-width: 0;
    font-size: 0.74rem;
    line-height: 1.25;
    overflow-wrap: normal;
  }

  .process-line p {
    grid-column: 3;
    grid-row: 2;
    min-width: 0;
    font-size: 0.82rem;
    line-height: 1.32;
    overflow-wrap: normal;
  }

  .process-line li.is-active::before {
    animation: none;
    box-shadow: 0 0 14px rgba(255, 77, 31, 0.58);
  }

  .cta-section {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 38px;
  }

  .content-hero {
    padding-top: 36px;
  }

  .content-hero h1 {
    font-size: clamp(2.05rem, 9.2vw, 2.85rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .content-grid,
  .service-card-grid {
    grid-template-columns: 1fr;
  }

  .content-block,
  .service-card {
    padding: 22px;
  }

  .site-footer,
  .site-footer div {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .floating-actions a {
    width: 42px;
    height: 42px;
    backdrop-filter: none;
  }

  .has-cookie-consent .floating-actions {
    opacity: 0;
    pointer-events: none;
  }

  .cookie-consent {
    backdrop-filter: none;
  }
}

@media (max-width: 520px) {
  .background-drift {
    background:
      linear-gradient(90deg, rgba(5, 7, 11, 0.78), transparent 44%, rgba(5, 7, 11, 0.76)),
      radial-gradient(circle at 58% 32%, rgba(255, 77, 31, 0.16), transparent 28%);
  }

  h1 {
    font-size: clamp(2.32rem, 11.8vw, 3rem);
  }

  .legal-shell h1 {
    font-size: clamp(2.52rem, 11vw, 3.35rem);
  }

  h2 {
    font-size: 1.8rem;
  }

  .eyebrow,
  .section-label,
  .ribbon-label,
  .site-nav,
  .button,
  .text-link,
  .hero-note,
  .site-footer {
    font-size: 0.72rem;
  }

  .hero-figure {
    min-height: 330px;
  }

  .ribbon-items span {
    width: 100%;
  }

  .panel-media {
    min-height: 170px;
  }

  .process-line li {
    grid-template-columns: 38px 22px minmax(0, 1fr);
    column-gap: 8px;
  }

  .process-line strong {
    font-size: 0.7rem;
  }

  .process-line p {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .site-background img {
    content: url("../images/reduced-motion-bg.webp");
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
