/* --------------------------------------------------------------------------
   FASTERclouds · faster.sh · «La red»
   A separate surface from faster.cx: infrastructure, signal, orbit.
   -------------------------------------------------------------------------- */

:root {
  --void: #041019;
  --deep: #061824;
  --panel: #082230;
  --panel-2: #0a2a3a;
  --line: rgba(142, 209, 226, 0.14);
  --line-strong: rgba(142, 209, 226, 0.30);
  --text: #eaf6f8;
  --muted: #93afbb;
  --muted-2: #7e9aa6;
  --cyan: #78d6ea;
  --cyan-soft: #a9e7f2;
  --blue: #6699cc;
  --blue-deep: #3e7299;
  --orange: #ff6300;
  --orange-deep: #b23a00;
  --ice: #edf6f7;
  --on-ice: #071a24;
  --on-ice-muted: #3d5a64;
  --green: #6fe3b0;

  --orbit-core: rgba(10, 42, 58, 0.72);
  --orbit-edge: rgba(4, 16, 25, 0.35);
  --radar-strong: rgba(120, 214, 234, 0.42);
  --radar-mid: rgba(120, 214, 234, 0.18);
  --radar-soft: rgba(120, 214, 234, 0.04);
  --node-bg: rgba(4, 16, 25, 0.92);
  --node-border: rgba(142, 209, 226, 0.30);

  --display: "Space Grotesk", "Inter", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --wrap: 1280px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --head-h: 76px;
}

[data-theme="light"] {
  color-scheme: light;
  --void: #eef4f5;
  --deep: #e3edef;
  --panel: #ffffff;
  --panel-2: #f2f8f9;
  --line: rgba(7, 26, 36, 0.12);
  --line-strong: rgba(7, 26, 36, 0.26);
  --text: #071a24;
  --muted: #3d5a64;
  --muted-2: #4f6b75;
  --cyan: #0e5f6b;
  --cyan-soft: #0e5f6b;
  --blue: #3e6f9e;
  --blue-deep: #2d5a80;
  --orange: #ff6300;
  --orange-deep: #b23a00;
  --ice: #f7fbfb;
  --on-ice: #071a24;
  --on-ice-muted: #3d5a64;
  --green: #0e7a53;
  --orbit-core: rgba(153, 201, 214, 0.32);
  --orbit-edge: rgba(7, 26, 36, 0.05);
  --radar-strong: rgba(30, 124, 140, 0.34);
  --radar-mid: rgba(30, 124, 140, 0.16);
  --radar-soft: rgba(30, 124, 140, 0.04);
  --node-bg: rgba(255, 255, 255, 0.94);
  --node-border: rgba(7, 26, 36, 0.26);
}

[data-theme="light"] .site-head,
[data-theme="light"] .site-foot {
  --void: #041019;
  --text: #eaf6f8;
  --muted: #93afbb;
  --muted-2: #7e9aa6;
  --line: rgba(142, 209, 226, 0.14);
  --line-strong: rgba(142, 209, 226, 0.30);
  --cyan: #78d6ea;
  --cyan-soft: #a9e7f2;
  --orange: #ff6300;
  --green: #6fe3b0;
}

[data-theme="light"] .site-foot {
  background: #041019;
}

[data-theme="light"] .layer--cx {
  --text: #eaf6f8;
  --muted: #93afbb;
  --line: rgba(142, 209, 226, 0.14);
  --line-strong: rgba(142, 209, 226, 0.30);
  --orange: #ff6300;
}

[data-theme="light"] .orbit {
  box-shadow: 0 44px 90px -60px rgba(7, 26, 36, 0.30);
}

[data-theme="light"] .flow__num,
[data-theme="light"] .flow__layer--cx {
  color: var(--orange-deep);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 20px);
  background: var(--void);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--void);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scrollbar-color: var(--cyan) var(--void);
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--cyan);
  color: var(--void);
}

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

img {
  height: auto;
}

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--cyan-soft);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  color: var(--text);
  text-wrap: balance;
  overflow-wrap: break-word;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.icon {
  width: 17px;
  height: 17px;
  flex: none;
}

.icon--sm {
  width: 14px;
  height: 14px;
}

.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;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--cyan);
  color: var(--void);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 16, 25, 0.94);
  border-bottom: 1px solid var(--line);
}

.head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--head-h);
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__mark {
  width: 30px;
  height: 30px;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand:hover .brand__mark,
.brand:focus-visible .brand__mark {
  transform: rotate(120deg);
}

.brand__word {
  display: inline-flex;
  align-items: baseline;
  font-family: "Archivo Black", var(--display);
  font-size: 1.28rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.theme-btn:hover {
  border-color: var(--cyan);
  background: rgba(120, 214, 234, 0.08);
}

.theme-btn svg {
  width: 18px;
  height: 18px;
}

.theme-btn__moon {
  display: none;
}

[data-theme="light"] .theme-btn__sun {
  display: none;
}

[data-theme="light"] .theme-btn__moon {
  display: block;
}

.brand__word span {
  margin-left: 1px;
  font-family: var(--sans);
  font-size: 0.78em;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: lowercase;
  color: var(--orange);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--cyan);
}

.head__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #07080a;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #ff7a1f;
  border-color: #ff7a1f;
  color: #07080a;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--sm {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 0.78rem;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.2s ease;
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(2.5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.mobile-nav[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding-block: clamp(64px, 8vw, 112px) 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6.2fr) minmax(0, 5.8fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(3.15rem, 5.5vw, 5.35rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero__lead {
  max-width: 47ch;
  margin-top: 28px;
  font-size: clamp(1.02rem, 1.22vw, 1.18rem);
  line-height: 1.6;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  margin: 44px 0 0;
  border-top: 1px solid var(--line);
}

.hero__proof > div {
  flex: 1 1 0;
  min-width: 120px;
  padding: 16px 18px 0 0;
  border-left: 1px solid var(--line);
}

.hero__proof > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero__proof > div + div {
  padding-left: 18px;
}

.hero__proof dt {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--text);
}

.hero__proof dd {
  margin: 4px 0 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.45;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero__orbit {
  display: flex;
  justify-content: flex-end;
}

/* Orbit / radar ------------------------------------------------------------------ */

.orbit {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  overflow: visible;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--orbit-core), var(--orbit-edge) 68%, transparent 72%),
    var(--deep);
  box-shadow: 0 44px 90px -52px #000;
}

.orbit__field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 50%;
  pointer-events: none;
}

.orbit__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.42;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 25%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, #000 25%, transparent 70%);
}

.orbit__radar {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 292deg,
    var(--radar-soft) 316deg,
    var(--radar-mid) 344deg,
    var(--radar-strong) 360deg
  );
  animation: radar-sweep 18s linear infinite;
}

.orbit__ring {
  position: absolute;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
  pointer-events: none;
}

.orbit__ring--one {
  inset: 7%;
  animation: orbit-spin 84s linear infinite;
}

.orbit__ring--two {
  inset: 21%;
  animation: orbit-spin 124s linear infinite reverse;
}

.orbit__ring--three {
  inset: 35%;
  animation: orbit-spin 164s linear infinite;
}

.orbit__center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 33%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.orbit__center img {
  width: 100%;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55));
}

.orbit__nodecode {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.orbit__status,
.orbit__index,
.orbit__age,
.orbit__caption {
  position: absolute;
  z-index: 6;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.orbit__status {
  top: 5%;
  left: 6%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
}

.orbit__status i,
.status__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(111, 227, 176, 0.12);
}

.orbit__index {
  top: 5%;
  right: 6%;
  color: var(--muted-2);
}

.orbit__age {
  bottom: 5%;
  left: 6%;
  color: var(--cyan-soft);
}

.orbit__caption {
  bottom: 5%;
  right: 6%;
  color: var(--muted-2);
}

.orbit__node {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid var(--node-border);
  border-radius: 2px;
  background: var(--node-bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.orbit__node::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
}

.orbit__node--numbers::before {
  background: var(--blue);
}

.orbit__node--bot::before {
  background: var(--orange);
}

.orbit__node--sip::before {
  background: var(--green);
}

@keyframes radar-sweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

.orbit.is-paused .orbit__radar,
.orbit.is-paused .orbit__ring {
  animation-play-state: paused;
}

.hero__strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-block: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   Sections / shared
   -------------------------------------------------------------------------- */

.section {
  padding-block: clamp(72px, 8vw, 116px);
}

.section__head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.section__head h2 {
  max-width: 16ch;
  font-size: clamp(2.25rem, 3.8vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.section__head .lead {
  max-width: 42ch;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.6;
  color: var(--muted);
}

.section__index {
  position: absolute;
  top: 8px;
  right: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

.section__head--single {
  grid-template-columns: 1fr;
}

.section__head--single .lead {
  max-width: 46ch;
  margin-top: 18px;
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.service {
  padding: 28px 28px 36px 0;
  border-bottom: 1px solid var(--line);
}

.service:nth-child(even) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.service__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service__code {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.service__tag {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  text-align: right;
}

.service h3 {
  margin-top: 34px;
  font-size: 1.42rem;
  letter-spacing: -0.02em;
}

.service p {
  max-width: 44ch;
  margin-top: 10px;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Flow
   -------------------------------------------------------------------------- */

.flow {
  margin-top: clamp(36px, 4vw, 56px);
}

.flow__layer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}

.flow__layer span:last-child {
  color: var(--muted-2);
}

.flow__layer--cx {
  margin-top: 12px;
  border-top: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--orange);
}

.flow__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.flow__steps li {
  padding: 24px 22px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flow__num {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.flow__steps h3 {
  margin-top: 30px;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}

.flow__steps p {
  max-width: 34ch;
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.flow__tag {
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

.flow__note {
  margin-top: 18px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted-2);
}

.flow__note a {
  color: var(--cyan);
}

/* --------------------------------------------------------------------------
   Infrastructure
   -------------------------------------------------------------------------- */

.infra__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.facts li {
  padding: 16px 18px 16px 0;
  border-bottom: 1px solid var(--line);
}

.facts li:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.facts strong {
  display: block;
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}

.facts span {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.status {
  padding: 24px 24px 20px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  box-shadow: 0 36px 70px -48px #000;
}

.status__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.status__head h3 {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
}

.status__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--green);
}

.status__rows > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.status__rows > div > span:first-child {
  color: var(--muted);
}

.status__ok {
  color: var(--cyan-soft);
  text-align: right;
}

.status__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

.status__foot a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--cyan);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Clients
   -------------------------------------------------------------------------- */

.section--clients {
  background: var(--ice);
  color: var(--on-ice);
}

.section--clients .section__head {
  border-color: rgba(7, 26, 36, 0.16);
}

.section--clients .section__head h2 {
  color: var(--on-ice);
}

.section--clients .section__head .lead,
.section--clients .section__index {
  color: var(--on-ice-muted);
}

.clients {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 36px;
}

.clients li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(7, 26, 36, 0.08);
}

.clients img {
  width: auto;
  max-width: 100%;
  max-height: 48px;
  mix-blend-mode: multiply;
}

/* --------------------------------------------------------------------------
   Layers
   -------------------------------------------------------------------------- */

.layers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: clamp(36px, 4vw, 56px);
}

.layer {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  background: var(--panel);
}

.layer--cx {
  background: #170d07;
  border-color: rgba(255, 99, 0, 0.34);
}

.layer__tag {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.layer--cx .layer__tag {
  color: var(--orange);
}

.layer h3 {
  margin-top: 20px;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  letter-spacing: -0.03em;
}

.layer p {
  max-width: 42ch;
  margin-top: 10px;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--muted);
}

.layer ul {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.layer li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--text);
}

.layer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cyan);
}

.layer--cx .layer__link {
  color: var(--orange);
}

.layer__link--current {
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta {
  padding-block: clamp(64px, 8vw, 100px);
  background: var(--ice);
  color: var(--on-ice);
}

.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.cta h2 {
  max-width: 15ch;
  color: var(--on-ice);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.cta p {
  max-width: 46ch;
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--on-ice-muted);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.cta .btn--ghost {
  border-color: rgba(7, 26, 36, 0.28);
  color: var(--on-ice);
}

.cta .btn--ghost:hover,
.cta .btn--ghost:focus-visible {
  border-color: var(--on-ice);
  color: var(--on-ice);
}

.cta__mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 190px;
}

.cta__mark img {
  position: relative;
  z-index: 2;
  width: clamp(140px, 18vw, 190px);
  height: auto;
  align-self: center;
  border: 1px solid rgba(7, 26, 36, 0.18);
  border-radius: 2px;
}

.cta__radar {
  position: absolute;
  top: 50%;
  right: 4%;
  width: clamp(190px, 24vw, 250px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.cta__circle {
  position: absolute;
  border-radius: 50%;
}

.cta__circle--outer {
  inset: 0;
  border: 1px dashed rgba(7, 26, 36, 0.22);
}

.cta__circle--inner {
  inset: 22%;
  border: 1px dotted rgba(7, 26, 36, 0.26);
}

.cta__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: cta-sweep 14s linear infinite;
}

.cta__sweep::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(7, 26, 36, 0), rgba(7, 26, 36, 0.45));
  transform-origin: 0 50%;
}

@keyframes cta-sweep {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-foot {
  padding-block: 48px 32px;
  border-top: 1px solid var(--line);
  background: var(--void);
}

.foot__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.foot__brand img {
  width: auto;
  height: 34px;
}

.foot__tag {
  max-width: 34ch;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--muted-2);
  text-align: right;
}

.foot__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-block: 32px;
}

.foot__grid h3 {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.foot__grid ul {
  margin-top: 14px;
}

.foot__grid li + li {
  margin-top: 8px;
}

.foot__grid a {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.foot__grid a:hover,
.foot__grid a:focus-visible {
  color: var(--cyan);
}

.foot__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .hero h1 {
    font-size: clamp(3rem, 5.2vw, 4.6rem);
  }

  .hero__grid {
    gap: 40px;
  }

  .orbit {
    max-width: 500px;
  }
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__orbit {
    justify-content: flex-start;
    margin-top: 20px;
  }

  .orbit {
    width: min(100%, 500px);
  }

  .section__head {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .section__head .lead {
    max-width: 52ch;
  }

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

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

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

  .cta__mark {
    justify-content: center;
    min-height: 200px;
  }

  .cta__radar {
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
  }

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

  .foot__grid > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  :root {
    --head-h: 66px;
  }

  .nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .head__actions .btn--primary {
    display: none;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 12px var(--gutter) 24px;
    border-top: 1px solid var(--line);
    background: var(--void);
  }

  .mobile-nav a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 0.95rem;
    text-decoration: none;
  }

  .mobile-nav .btn {
    margin-top: 16px;
  }

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

  .service,
  .service:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .service h3 {
    margin-top: 24px;
  }

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

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

  .hero__strip {
    justify-content: flex-start;
  }

  .hero__strip span {
    margin-right: 18px;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(2.7rem, 10.5vw, 3.5rem);
    max-width: 12ch;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__proof {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__proof > div {
    padding: 14px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero__proof > div:first-child {
    padding-top: 14px;
  }

  .hero__proof > div + div {
    padding-left: 0;
  }

  .orbit {
    width: min(100%, 380px);
  }

  .orbit__node {
    padding: 5px 6px;
  }

  .orbit__center {
    width: 35%;
  }

  .section__head h2 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .section__head .lead {
    font-size: 0.96rem;
  }

  .section__index {
    position: static;
    display: block;
    order: -1;
    margin-bottom: 4px;
  }

  .service__top {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .service__tag {
    text-align: left;
  }

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


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

  .facts li:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

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

  .clients li {
    min-height: 88px;
  }

  .clients img {
    max-height: 40px;
  }

  .status {
    padding: 20px 18px 16px;
  }


  .status__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cta__mark {
    min-height: 180px;
  }

  .cta__radar {
    left: 50%;
    width: 210px;
  }

  .foot__top {
    flex-direction: column;
    gap: 18px;
  }

  .foot__tag {
    text-align: left;
  }

  .foot__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .foot__grid > div:last-child {
    grid-column: auto;
  }

  .foot__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 380px) {
  .orbit {
    width: 100%;
    max-width: 300px;
  }

  .orbit__node {
    padding: 4px 5px;
  }


  .hero h1 {
    font-size: 2.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .orbit__radar,
  .orbit__ring,
  .cta__sweep {
    animation: none;
  }

  .skip-link,
  .nav a,
  .btn,
  .menu-btn span {
    transition: none;
  }
}
