@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --ink: #17211c;
  --muted: #657068;
  --forest: #173f35;
  --forest-2: #235b4c;
  --sage: #b9ceb8;
  --lime: #d8edaa;
  --cream: #f6f3eb;
  --paper: #fffdf8;
  --warm: #eee6d8;
  --line: #dcd8ce;
  --danger: #9c3f32;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(34, 49, 40, 0.1);
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.shell {
  min-height: 100vh;
}

.tls-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(calc(100% - 48px), var(--max));
  margin: 14px auto 0;
  padding: 10px 14px;
  border: 1px solid rgba(23, 63, 53, 0.14);
  border-radius: 12px;
  background: rgba(216, 237, 170, 0.28);
  color: var(--forest);
  font-size: 12px;
  line-height: 1.45;
}

.tls-notice[hidden] {
  display: none;
}

.tls-notice-dismiss {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(23, 63, 53, 0.08);
  color: var(--forest);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
}

.site-header {
  width: min(calc(100% - 48px), var(--max));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23, 33, 28, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: min(100%, 520px);
}

.brand-text {
  line-height: 1.2;
}

.brand strong {
  color: var(--forest-2);
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 50%;
  background: var(--forest);
}

.brand-mark i {
  display: block;
  width: 2px;
  border-radius: 2px;
  background: var(--lime);
}

.brand-mark i:nth-child(1) { height: 8px; }
.brand-mark i:nth-child(2) { height: 16px; }
.brand-mark i:nth-child(3) { height: 11px; }

.header-cta {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 15px;
  border: 1px solid rgba(23, 63, 53, 0.24);
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}

.header-cta:hover {
  color: white;
  background: var(--forest);
}

.page {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 80px;
  padding: 80px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--forest-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
}

.hero h1 {
  margin: 24px 0 26px;
  max-width: 920px;
  font-size: clamp(2.35rem, 4.6vw, 4.35rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.hero h1 em {
  color: var(--forest-2);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.subheadline {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

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

.btn-primary {
  color: white;
  background: var(--forest);
  box-shadow: 0 10px 30px rgba(23, 63, 53, 0.16);
}

.btn-primary:hover {
  background: var(--forest-2);
}

.btn-secondary {
  color: var(--forest);
  border-color: rgba(23, 63, 53, 0.2);
  background: rgba(255, 255, 255, 0.32);
}

.trust {
  margin: 22px 0 0;
  color: #7a817c;
  font-size: 13px;
}

.signal-stage {
  position: relative;
  min-height: 500px;
  padding: 28px;
  overflow: hidden;
  border-radius: 28px;
  color: white;
  background:
    radial-gradient(ellipse 110% 90% at 50% 46%, rgba(236, 210, 150, 0.1) 0%, rgba(216, 237, 170, 0.04) 32%, transparent 68%),
    radial-gradient(ellipse 70% 55% at 18% 60%, rgba(120, 160, 150, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 70% 55% at 82% 40%, rgba(173, 120, 72, 0.06) 0%, transparent 70%),
    linear-gradient(180deg, #1d4539 0%, #16372e 42%, #122f28 100%);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 236, 200, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22);
}

.signal-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(214, 176, 118, 0.07) 0%, transparent 72%),
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(214, 176, 118, 0.07) 0%, transparent 72%),
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255, 236, 200, 0.045) 0%, transparent 100%),
    radial-gradient(ellipse 80% 45% at 50% 100%, rgba(6, 20, 16, 0.28) 0%, transparent 100%);
  pointer-events: none;
}

.signal-stage::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 1px;
  border: 1px solid rgba(216, 237, 170, 0.05);
  border-radius: 27px;
  pointer-events: none;
}

.stage-label {
  position: relative;
  z-index: 3;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}


.signal-field {
  position: absolute;
  z-index: 1;
  inset: 78px 18px 78px;
  overflow: hidden;
  container-type: size;
  border: 1px solid rgba(185, 206, 184, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 140% 110% at 50% 50%, rgba(216, 237, 170, 0.06) 0%, rgba(120, 160, 150, 0.03) 42%, transparent 74%),
    linear-gradient(rgba(185, 206, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 206, 184, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #102821 0%, #12302a 50%, #0e241f 100%);
  background-size: auto, 28px 28px, 28px 28px, auto;
  box-shadow:
    inset 0 0 40px rgba(4, 16, 12, 0.28),
    inset 0 1px 0 rgba(216, 237, 170, 0.04);
}

.signal-field::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  background: radial-gradient(ellipse 96% 88% at 50% 50%, transparent 0%, transparent 68%, rgba(6, 18, 14, 0.18) 100%);
  pointer-events: none;
}

.signal-field::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(216, 237, 170, 0.02) 40%,
    rgba(244, 255, 224, 0.04) 50%,
    rgba(216, 237, 170, 0.02) 60%,
    transparent 100%
  );
  pointer-events: none;
}

.signal-mark {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-4deg) scaleX(1.04);
  transform-origin: center;
  --cycle: 5.2s;
}

.signal-mark path,
.signal-mark line,
.signal-mark circle,
.signal-mark ellipse,
.signal-mark rect {
  vector-effect: non-scaling-stroke;
}

.signal-mark path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.noise-lines {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.noise-chaos {
  position: absolute;
  top: -18%;
  bottom: -18%;
  width: 11%;
  opacity: 0.78;
  filter: contrast(1.1);
}

.noise-chaos-left {
  left: -3%;
  background:
    repeating-linear-gradient(112deg, transparent 0 3px, rgba(216, 237, 170, 0.18) 3px 4px, transparent 4px 9px),
    repeating-linear-gradient(168deg, transparent 0 5px, rgba(185, 206, 184, 0.2) 5px 6px, transparent 6px 13px),
    repeating-linear-gradient(24deg, transparent 0 2px, rgba(216, 237, 170, 0.14) 2px 3px, transparent 3px 7px),
    radial-gradient(ellipse 55% 45% at 20% 50%, rgba(185, 206, 184, 0.18), transparent 70%);
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 35%, rgba(0, 0, 0, 0.45) 58%, transparent 82%);
  mask-image: linear-gradient(to right, #000 0%, #000 35%, rgba(0, 0, 0, 0.45) 58%, transparent 82%);
}

.noise-chaos-right {
  right: -3%;
  background:
    repeating-linear-gradient(48deg, transparent 0 2px, rgba(216, 237, 170, 0.18) 2px 3px, transparent 3px 8px),
    repeating-linear-gradient(141deg, transparent 0 4px, rgba(185, 206, 184, 0.2) 4px 5px, transparent 5px 11px),
    repeating-linear-gradient(203deg, transparent 0 6px, rgba(216, 237, 170, 0.13) 6px 7px, transparent 7px 13px),
    radial-gradient(ellipse 55% 45% at 80% 50%, rgba(185, 206, 184, 0.18), transparent 70%);
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 35%, rgba(0, 0, 0, 0.45) 58%, transparent 82%);
  mask-image: linear-gradient(to left, #000 0%, #000 35%, rgba(0, 0, 0, 0.45) 58%, transparent 82%);
}

.noise-chaos::before,
.noise-chaos::after {
  content: "";
  position: absolute;
  inset: -12%;
}

.noise-chaos-left::before {
  background: repeating-linear-gradient(-18deg, transparent 0 1px, rgba(216, 237, 170, 0.18) 1px 2px, transparent 2px 6px);
  transform: skewY(-12deg) rotate(4deg);
  opacity: 0.85;
}

.noise-chaos-left::after {
  background: repeating-linear-gradient(129deg, transparent 0 2px, rgba(185, 206, 184, 0.2) 2px 3px, transparent 3px 5px);
  transform: skewY(16deg) rotate(-8deg) scale(1.12);
  opacity: 0.7;
}

.noise-chaos-right::before {
  background: repeating-linear-gradient(27deg, transparent 0 1px, rgba(216, 237, 170, 0.18) 1px 2px, transparent 2px 5px);
  transform: skewY(14deg) rotate(-5deg);
  opacity: 0.85;
}

.noise-chaos-right::after {
  background: repeating-linear-gradient(156deg, transparent 0 2px, rgba(185, 206, 184, 0.2) 2px 3px, transparent 3px 6px);
  transform: skewY(-18deg) rotate(9deg) scale(1.15);
  opacity: 0.7;
}

/* —— WW2 / 1950s PPI radar scope (perfect circle, dead-center, independent of beam tilt) —— */
.radar-scope {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  /* Perfect square keyed to the smaller field axis — never elliptical */
  width: 86cqmin;
  height: 86cqmin;
  max-width: 86cqmin;
  max-height: 86cqmin;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  overflow: visible;
  pointer-events: none;
}

@supports not (width: 1cqmin) {
  .radar-scope {
    width: 72%;
    height: auto;
    max-width: 72%;
    max-height: 86%;
    aspect-ratio: 1 / 1;
  }
}


.radar-scope text {
  font-family: "IBM Plex Mono", "SF Mono", ui-monospace, monospace;
  fill: rgba(109, 255, 122, 0.42);
  letter-spacing: 0.04em;
}

.ppi-bezel-outer {
  fill: none;
  stroke: rgba(109, 255, 122, 0.12);
  stroke-width: 1.1;
}

.ppi-bezel {
  fill: none;
  stroke: rgba(109, 255, 122, 0.28);
  stroke-width: 1.35;
}

.ppi-ring {
  fill: none;
  stroke: rgba(109, 255, 122, 0.26);
  stroke-width: 0.85;
}

.ppi-ring-outer {
  stroke: rgba(109, 255, 122, 0.4);
  stroke-width: 1.15;
}

.ppi-radial-cardinal {
  stroke: rgba(109, 255, 122, 0.22);
  stroke-width: 0.8;
}

.ppi-radial {
  stroke: rgba(109, 255, 122, 0.12);
  stroke-width: 0.6;
}

.ppi-tick-cardinal {
  stroke: rgba(184, 255, 176, 0.7);
  stroke-width: 1.35;
  stroke-linecap: butt;
}

.ppi-tick-major {
  stroke: rgba(109, 255, 122, 0.55);
  stroke-width: 1.05;
  stroke-linecap: butt;
}

.ppi-tick-med {
  stroke: rgba(109, 255, 122, 0.38);
  stroke-width: 0.8;
  stroke-linecap: butt;
}

.ppi-tick-minor {
  stroke: rgba(109, 255, 122, 0.22);
  stroke-width: 0.55;
  stroke-linecap: butt;
}

.ppi-inner-major {
  stroke: rgba(109, 255, 122, 0.35);
  stroke-width: 0.9;
}

.ppi-inner-tick {
  stroke: rgba(109, 255, 122, 0.2);
  stroke-width: 0.65;
}

.ppi-cardinal {
  font-size: 11px;
  font-weight: 600;
  fill: rgba(184, 255, 176, 0.55);
}

.ppi-range {
  font-size: 7.5px;
  font-weight: 500;
  fill: rgba(109, 255, 122, 0.32);
}

.ppi-blip {
  fill: rgba(232, 255, 228, 0.55);
}

.ppi-hub-ring {
  fill: none;
  stroke: rgba(184, 255, 176, 0.45);
  stroke-width: 0.9;
}

.ppi-hub {
  fill: rgba(232, 255, 228, 0.85);
  stroke: none;
}

.ppi-persist {
  fill: rgba(109, 255, 122, 0.055);
  stroke: none;
}

.ppi-sweep {
  fill: url(#ppiSweepGrad);
  stroke: none;
}

.ppi-beam {
  stroke: rgba(232, 255, 228, 0.85);
  stroke-width: 1.35;
  stroke-linecap: butt;
  filter: url(#ppiBloom);
}

/* Occasional sweep: 3 rotations, then hide for a long rest, repeat */
.ppi-sweep-arm {
  transform-origin: 200px 200px;
  transform-box: view-box;
  animation: ppiOccasionalSweep 42s linear infinite;
}

@keyframes ppiOccasionalSweep {
  0% {
    transform: rotate(0deg);
    opacity: 0;
  }
  1.5% {
    opacity: 1;
  }
  /* 3 full rotations across ~14% of the cycle (~6s) */
  14% {
    transform: rotate(1080deg);
    opacity: 1;
  }
  16% {
    transform: rotate(1080deg);
    opacity: 0;
  }
  100% {
    transform: rotate(1080deg);
    opacity: 0;
  }
}

/* —— side chaos: crisp, high-def, geometric —— */
.sm-side {
  filter: none;
}

.sm-chaos-filaments path {
  stroke: rgba(185, 206, 184, 0.62);
  stroke-width: 0.65;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  opacity: 1;
}

.sm-chaos-filaments path:nth-child(odd) {
  stroke: rgba(216, 237, 170, 0.52);
  stroke-width: 0.55;
}

.sm-chaos-filaments path:nth-child(3n) {
  stroke: rgba(185, 206, 184, 0.48);
  stroke-width: 0.8;
}

.sm-chaos-main {
  stroke: #f4ffe0;
  stroke-width: 1.25;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  opacity: 1;
}

.sm-chaos-hash {
  stroke: rgba(244, 255, 224, 0.7);
  stroke-width: 0.9;
  stroke-linecap: butt;
  opacity: 0.9;
}

.sm-chaos-packets {
  stroke: rgba(244, 255, 224, 0.85);
  stroke-width: 1.7;
  stroke-linecap: butt;
  opacity: 0.95;
}

.sm-chaos-bits circle {
  fill: rgba(244, 255, 224, 0.85);
}

/* —— original strong crisp beam —— */
.sm-beam-glow {
  stroke: rgba(216, 237, 170, 0.22);
  stroke-width: 6.5;
  opacity: 0.65;
  filter: blur(1.4px);
  animation: beamGlowPulse var(--cycle) ease-in-out infinite;
}

.sm-beam-core {
  stroke: url("#beamGrad");
  stroke-width: 3.6;
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(216, 237, 170, 0.55));
}

.sm-beam-pulse {
  stroke: #f4ffe0;
  stroke-width: 4.6;
  stroke-dasharray: 56 900;
  opacity: 0.9;
  filter: drop-shadow(0 0 12px rgba(244, 255, 224, 0.8));
  animation: beamPulseTravel 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.sm-beam-echo {
  stroke: rgba(244, 255, 224, 0.55);
  stroke-width: 2.2;
  stroke-dasharray: 28 940;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(244, 255, 224, 0.45));
  animation: beamEchoTravel 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: 0.22s;
}

.sm-motes circle {
  fill: rgba(244, 255, 224, 0.55);
  animation: moteDrift 7s ease-in-out infinite;
}

.sm-motes circle:nth-child(odd) {
  animation-duration: 8.5s;
  animation-delay: -1.6s;
}

.sm-node {
  fill: #ffffff;
  stroke: none;
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 8px rgba(244, 255, 224, 0.75));
}

.sm-node-send {
  animation: nodeSendReact 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.sm-node-recv {
  animation: nodeRecvReact 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.sm-node-flare {
  fill: rgba(244, 255, 224, 0.55);
  stroke: none;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
}

.sm-node-flare-send {
  animation: nodeFlareSend 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.sm-node-flare-recv {
  animation: nodeFlareRecv 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.signal-stage > p {
  position: absolute;
  z-index: 3;
  left: 28px;
  right: 28px;
  bottom: 22px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.45;
}

  to {
    transform: rotate(360deg);
  }
}

@keyframes beamGlowPulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.85;
  }
}

@keyframes beamPulseTravel {
  0% {
    stroke-dashoffset: 56;
    opacity: 0.25;
  }
  15% {
    opacity: 0.95;
  }
  85% {
    opacity: 0.95;
  }
  100% {
    stroke-dashoffset: -900;
    opacity: 0.25;
  }
}

@keyframes beamEchoTravel {
  0% {
    stroke-dashoffset: 28;
    opacity: 0;
  }
  12% {
    opacity: 0.55;
  }
  80% {
    opacity: 0.45;
  }
  100% {
    stroke-dashoffset: -940;
    opacity: 0;
  }
}

@keyframes moteDrift {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes nodeSendReact {
  0% {
    opacity: 0.7;
    transform: scale(1);
    filter: drop-shadow(0 0 7px rgba(244, 255, 224, 0.55));
  }
  6% {
    opacity: 1;
    transform: scale(1.28);
    filter: drop-shadow(0 0 14px rgba(244, 255, 224, 0.95));
  }
  16% {
    opacity: 0.75;
    transform: scale(1);
    filter: drop-shadow(0 0 8px rgba(244, 255, 224, 0.65));
  }
  100% {
    opacity: 0.7;
    transform: scale(1);
    filter: drop-shadow(0 0 7px rgba(244, 255, 224, 0.55));
  }
}

@keyframes nodeRecvReact {
  0%,
  78% {
    opacity: 0.7;
    transform: scale(1);
    filter: drop-shadow(0 0 7px rgba(244, 255, 224, 0.55));
  }
  88% {
    opacity: 1;
    transform: scale(1.28);
    filter: drop-shadow(0 0 14px rgba(244, 255, 224, 0.95));
  }
  100% {
    opacity: 0.7;
    transform: scale(1);
    filter: drop-shadow(0 0 7px rgba(244, 255, 224, 0.55));
  }
}

@keyframes nodeFlareSend {
  0%,
  3% {
    opacity: 0;
    transform: scale(0.85);
  }
  8% {
    opacity: 0.55;
    transform: scale(1.15);
  }
  20% {
    opacity: 0;
    transform: scale(1.45);
  }
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

@keyframes nodeFlareRecv {
  0%,
  80% {
    opacity: 0;
    transform: scale(0.85);
  }
  88% {
    opacity: 0.55;
    transform: scale(1.15);
  }
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

.capabilities {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.section-intro {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 30px;
  align-items: start;
}

.section-intro > span,
.story-kicker {
  color: var(--forest-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-intro h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 58px;
}

.capability-grid article {
  min-height: 290px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.56);
}

.cap-number {
  color: #8c968e;
  font-size: 12px;
}

.capability-grid h3 {
  margin: auto 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.capability-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.story {
  margin-bottom: 110px;
  padding: 70px;
  border-radius: 28px;
  color: white;
  background: var(--forest);
}

.story-kicker {
  color: var(--lime);
}

.story-copy {
  max-width: 920px;
  margin: 28px 0 40px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1.24;
  letter-spacing: -0.04em;
}

.story a {
  display: inline-flex;
  gap: 14px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-weight: 600;
}

/* Consultation booking */
.page-demo {
  padding: 70px 0 110px;
}

.booking-hero {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 72px;
  align-items: start;
}

.booking-intro {
  position: sticky;
  top: 40px;
  padding-top: 34px;
}

.booking-intro h1 {
  margin: 22px 0;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
  font-weight: 500;
}

.booking-intro > p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.conversation-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.conversation-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--forest);
  font-size: 12px;
  font-weight: 700;
}

.conversation-note strong,
.conversation-note small {
  display: block;
}

.conversation-note strong {
  font-size: 14px;
}

.conversation-note small {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.4;
}

.booking-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.step-label {
  color: #7d8b81;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.calendar-title {
  margin: 5px 0 0;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.calendar-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.calendar-subtitle {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.month-nav {
  min-width: 210px;
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 7px;
  text-align: center;
}

.month-nav a,
.month-nav > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--forest);
  background: #faf8f2;
}

.month-nav > span {
  opacity: 0.3;
}

.month-nav strong {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
  margin-top: 22px;
}

.calendar-day-label {
  padding: 0 0 5px;
  color: #8c948f;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.calendar-day {
  position: relative;
  min-width: 0;
  min-height: 62px;
  padding: 7px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #faf8f2;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.calendar-day:hover {
  transform: translateY(-2px);
  border-color: var(--sage);
}

.calendar-day strong {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.calendar-day.is-selected {
  color: white;
  border-color: var(--forest);
  background: var(--forest);
}

.calendar-day i {
  position: absolute;
  bottom: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #78a667;
}

.calendar-day.is-selected i {
  background: var(--lime);
}

.calendar-day:disabled {
  color: #aeb3af;
  border-color: rgba(220, 216, 206, 0.55);
  background: rgba(250, 248, 242, 0.45);
  cursor: default;
}

.calendar-day.is-past {
  opacity: 0.5;
}

.calendar-day.calendar-empty {
  border-color: transparent;
  background: transparent;
}

.slot-panel {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  transition: opacity var(--transition);
}

.slot-panel.is-muted {
  opacity: 0.55;
}

.slot-title,
.booking-form h3 {
  margin: 5px 0 0;
  font-size: 1.15rem;
}

.slot-selected {
  margin: 3px 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.slot-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 300ms ease;
}

.slot-btn {
  min-height: 46px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--forest);
  background: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.slot-btn:hover {
  border-color: var(--sage);
  background: #f7faef;
}

.slot-btn.is-selected {
  color: var(--forest);
  border-color: var(--forest-2);
  background: var(--lime);
}

.slot-empty {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
}

.booking-form {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  overflow: hidden;
  max-height: 900px;
  transition: opacity 220ms ease, max-height 320ms ease, margin 320ms ease, padding 320ms ease;
}

.booking-form.is-hidden {
  max-height: 0;
  margin-top: 0;
  padding-top: 0;
  opacity: 0;
  pointer-events: none;
  border: 0;
}

.booking-confirm-copy {
  margin: 5px 0 18px;
  color: var(--forest-2);
  font-size: 13px;
  font-weight: 600;
}

.booking-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.booking-fields .demo-field:last-child {
  grid-column: 1 / -1;
}

.demo-field {
  display: grid;
  gap: 6px;
}

.demo-field span {
  color: #536058;
  font-size: 12px;
  font-weight: 600;
}

.demo-field span small {
  color: #929a94;
  font-weight: 400;
}

.demo-field input,
.demo-field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  color: var(--ink);
  background: #fbfaf6;
  resize: vertical;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.demo-field input:focus,
.demo-field textarea:focus {
  border-color: var(--forest-2);
  box-shadow: 0 0 0 3px rgba(35, 91, 76, 0.1);
}

.booking-submit {
  width: 100%;
  margin-top: 18px;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.privacy-note {
  margin: 9px 0 0;
  color: #8c948f;
  text-align: center;
  font-size: 11px;
}

.demo-feedback {
  margin: 18px 0;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 13px;
}

.demo-feedback-success {
  color: var(--forest);
  border: 1px solid #b9d2b5;
  background: #eef6e8;
}

.demo-feedback-error {
  color: var(--danger);
  border: 1px solid #e5c1ba;
  background: #fff1ed;
}

.contact-fallback {
  margin-top: 100px;
  padding: 60px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
  border-radius: 26px;
  background: var(--warm);
}

.contact-fallback h2 {
  margin: 14px 0 8px;
  font-size: 2.4rem;
  letter-spacing: -0.05em;
}

.contact-fallback > div > p {
  color: var(--muted);
}

.demo-form {
  display: grid;
  gap: 14px;
}

.demo-field-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.demo-honeypot {
  position: absolute;
  left: -9999px;
}

/* Shared secondary pages */
.page-markdown {
  padding: 70px 0;
}

.card {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.back-home {
  color: var(--forest-2);
  font-size: 13px;
  font-weight: 600;
}

.footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(calc(100% - 48px), var(--max));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-legal {
  display: grid;
  gap: 4px;
}

.footer-mark,
.footer-name,
.footer address {
  margin: 0;
}

.footer-mark {
  color: #8a928b;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-name {
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer address {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.01em;
  text-align: right;
}

.footer address span {
  display: block;
}

@media (max-width: 900px) {
  .hero,
  .booking-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 44px;
  }

  .signal-stage {
    min-height: 390px;
  }


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

  .capability-grid article {
    min-height: 210px;
  }

  .booking-hero {
    gap: 38px;
  }

  .booking-intro {
    position: static;
  }

  .contact-fallback {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .page,
  .footer-inner {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header {
    height: 76px;
  }

  .brand {
    font-size: 12px;
    max-width: min(100%, 240px);
  }

  .brand-text {
    line-height: 1.15;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .header-cta {
    padding: 8px 11px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding: 64px 0 80px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 9.5vw, 3.1rem);
    letter-spacing: -0.045em;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .signal-stage {
    min-height: 320px;
    padding: 22px 18px;
  }

  .signal-field {
    inset: 58px 10px 64px;
  }

  .stage-label {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .signal-stage > p {
    left: 18px;
    right: 18px;
    bottom: 16px;
    font-size: 12px;
  }


  .section-intro {
    grid-template-columns: 1fr;
  }

  .capabilities {
    padding: 75px 0;
  }

  .story {
    margin-bottom: 70px;
    padding: 38px 26px;
  }

  .page-demo {
    padding: 48px 0 80px;
  }

  .booking-card {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .calendar-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .month-nav {
    width: 100%;
  }

  .calendar-grid {
    gap: 5px;
  }

  .calendar-day {
    min-height: 44px;
    border-radius: 9px;
  }

  .calendar-day i {
    bottom: 4px;
  }

  .booking-fields,
  .demo-field-row {
    grid-template-columns: 1fr;
  }

  .booking-fields .demo-field:last-child {
    grid-column: auto;
  }

  .slot-list {
    grid-template-columns: 1fr 1fr;
  }

  .contact-fallback {
    margin-top: 65px;
    padding: 34px 20px;
  }

  .footer-inner {
    padding: 24px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer address {
    text-align: left;
  }
}

@media (max-width: 1024px) and (orientation: portrait) {
  .signal-stage {
    width: 100%;
    max-width: 72%;
    margin-inline: auto;
  }
}

@media (max-width: 640px) and (orientation: portrait) {
  .signal-stage {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .ppi-sweep-arm {
    animation: none !important;
    opacity: 0;
  }

  .sm-beam-glow {
    opacity: 0.7;
  }

  .sm-beam-core {
    opacity: 1;
  }

  .sm-beam-pulse,
  .sm-beam-echo,
  .sm-node-flare {
    opacity: 0;
  }

  .sm-node {
    opacity: 0.85;
  }
}
