/* ==========================================================================
   Cybrera Consulting — graphite / signal red
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0a0c;
  --bg-soft: #0d0d10;
  --panel: #121216;
  --panel-2: #17171c;
  --panel-3: #1d1d24;
  --line: #26262e;
  --line-strong: #383842;
  --text: #f4f4f6;
  --muted: #a6a6b2;
  --faint: #7c7c88;
  --red: #ed1d26;
  --red-bright: #ff3b3f;
  --red-deep: #c8102e;
  --red-soft: rgba(237, 29, 38, 0.1);
  --green: #45d483;
  --amber: #e5a50a;
  --radius: 12px;
  --radius-sm: 7px;
  --container: 1200px;
  --header: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(237, 29, 38, 0.09), transparent 65%),
    radial-gradient(700px 500px at -10% 22%, rgba(91, 141, 239, 0.035), transparent 70%),
    linear-gradient(180deg, #0a0a0c 0%, #09090b 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--red);
  color: #fff;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  transform: translateY(-150%);
  transition: transform 0.2s;
}
.skip-link:focus {
  transform: translateY(0);
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.mono {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--red-soft);
  flex: none;
}

.section {
  padding-block: clamp(72px, 9vw, 128px);
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 64px);
}
.section-head h2 {
  font-size: clamp(2rem, 3.9vw, 3.35rem);
  margin-top: 18px;
  max-width: 15ch;
}
.section-head .lede {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 48ch;
  padding-bottom: 4px;
}
.section-head .lede strong {
  color: var(--text);
  font-weight: 500;
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}

/* ── buttons ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.2s var(--ease),
    box-shadow 0.2s;
}
.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.25s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--red-deep);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 12px 32px rgba(200, 16, 46, 0.18);
}
.btn-primary:hover {
  background: #e0141f;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 14px 40px rgba(237, 29, 38, 0.28);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.015);
}
.btn-ghost:hover {
  border-color: #52525e;
  background: rgba(255, 255, 255, 0.04);
}

.btn-sm {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 12.5px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.text-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}
.text-link:hover {
  color: var(--red-bright);
  border-color: var(--red);
}
.text-link:hover svg {
  transform: translateX(3px);
}

/* ── header ──────────────────────────────────────────────────────────── */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  height: 2px;
  width: 0;
  background: var(--red);
  box-shadow: 0 0 13px rgba(237, 29, 38, 0.7);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled {
  background: rgba(9, 9, 11, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.brand img {
  width: 34px;
  height: auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1;
}
.brand-sub {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--faint);
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.site-nav a {
  position: relative;
  padding: 9px 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  border-radius: 5px;
  transition: color 0.2s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: transparent;
}
.nav-toggle span {
  position: relative;
  width: 17px;
  height: 1.5px;
  background: var(--text);
  display: block;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s, top 0.25s;
}
.nav-toggle span::before {
  top: -5px;
}
.nav-toggle span::after {
  top: 5px;
}
.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header) 0 0;
  z-index: 99;
  background: rgba(9, 9, 11, 0.98);
  backdrop-filter: blur(20px);
  padding: 28px clamp(20px, 5vw, 40px) 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s var(--ease);
}
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mobile-nav a {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-family: "Space Grotesk", sans-serif;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.mobile-nav a:last-of-type {
  border-bottom: 0;
}
.mobile-nav .btn {
  margin-top: 20px;
}
.mobile-nav .mono {
  color: var(--faint);
  margin-top: 24px;
}

/* ── hero ────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding-top: calc(var(--header) + clamp(54px, 8vw, 104px));
  padding-bottom: clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 78% 64% at 62% 38%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 78% 64% at 62% 38%, #000 20%, transparent 72%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy {
  max-width: 720px;
}
.hero h1 {
  margin-top: 24px;
  font-size: clamp(3.05rem, 6.1vw, 5.1rem);
  line-height: 0.97;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.hero h1 .accent {
  position: relative;
  color: var(--text);
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: -0.04em;
  bottom: 0.07em;
  height: 0.07em;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-in 0.9s var(--ease) 0.5s forwards;
}
@keyframes underline-in {
  to {
    transform: scaleX(1);
  }
}
.hero-lede {
  margin-top: 26px;
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
}
.hero-lede strong {
  color: var(--text);
  font-weight: 500;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
}
.hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-meta li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}
.hero-meta li:first-child::before {
  background: var(--red);
}

.hero-art {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.radar {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(237, 29, 38, 0.055), transparent 58%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.012), transparent 70%);
  box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.008), 0 0 90px rgba(237, 29, 38, 0.05) inset;
}
.radar-ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  inset: 0;
  margin: auto;
}
.radar-ring.r1 {
  width: 74%;
  height: 74%;
}
.radar-ring.r2 {
  width: 48%;
  height: 48%;
  border-style: dashed;
  border-color: #2f2f38;
}
.radar-ring.r3 {
  width: 22%;
  height: 22%;
  border-color: var(--line-strong);
}
.radar-cross::before,
.radar-cross::after {
  content: "";
  position: absolute;
  background: var(--line);
  opacity: 0.7;
}
.radar-cross::before {
  left: 50%;
  top: 6%;
  bottom: 6%;
  width: 1px;
}
.radar-cross::after {
  top: 50%;
  left: 6%;
  right: 6%;
  height: 1px;
}
.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 292deg,
    rgba(237, 29, 38, 0.02) 308deg,
    rgba(237, 29, 38, 0.22) 346deg,
    rgba(237, 29, 38, 0.62) 360deg
  );
  -webkit-mask: radial-gradient(circle, transparent 0 21%, #000 21.5% 100%);
  mask: radial-gradient(circle, transparent 0 21%, #000 21.5% 100%);
  animation: sweep 16s linear infinite;
}
@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}
.radar-core {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 21%;
  height: 21%;
  min-width: 70px;
  min-height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #101014;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}
.radar-core img {
  width: 58%;
  height: auto;
}
.radar-node {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(237, 29, 38, 0.12), 0 0 16px rgba(237, 29, 38, 0.5);
}
.radar-node.n1 {
  top: 17%;
  right: 24%;
}
.radar-node.n2 {
  bottom: 24%;
  right: 20%;
  animation: pulse 4s ease-in-out infinite;
}
.radar-node.n3 {
  top: 45%;
  right: 8%;
  background: #5b8def;
  box-shadow: 0 0 0 5px rgba(91, 141, 239, 0.1);
}
.radar-label {
  position: absolute;
  color: var(--faint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}
.radar-label.l1 {
  top: 12%;
  right: 3%;
}
.radar-label.l2 {
  bottom: 16%;
  right: 6%;
}
.radar-label.l3 {
  top: 38%;
  right: -7%;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(237, 29, 38, 0.12), 0 0 16px rgba(237, 29, 38, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(237, 29, 38, 0), 0 0 26px rgba(237, 29, 38, 0.65);
  }
}

.posture-card {
  position: relative;
  left: auto;
  bottom: auto;
  width: min(100%, 420px);
  margin: 18px auto 0;
  background: linear-gradient(180deg, rgba(23, 23, 28, 0.97), rgba(16, 16, 20, 0.99));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.posture-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
}
.posture-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--green);
  text-transform: uppercase;
}
.posture-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(69, 212, 131, 0.7);
}
.posture-body {
  padding: 18px 18px 8px;
}
.posture-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.posture-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.posture-row:first-of-type {
  border-top: 0;
}
.posture-row .idx {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  color: var(--red-bright);
  padding-top: 2px;
}
.posture-row strong {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
}
.posture-row span {
  display: block;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.45;
  margin-top: 2px;
}
.posture-foot {
  padding: 12px 18px 14px;
  color: var(--faint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
}

/* ── framework strip ─────────────────────────────────────────────────── */

.frameworks {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}
.frameworks-inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding-block: 24px;
  flex-wrap: wrap;
}
.frameworks-label {
  color: var(--faint);
  flex: none;
}
.frameworks-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 30px;
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.frameworks-list li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.frameworks-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}
.frameworks-note {
  margin-left: auto;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* ── service cards ───────────────────────────────────────────────────── */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 26px 24px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.006));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    border-color 0.3s,
    background 0.3s,
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  border-color: #3b3b46;
  background: linear-gradient(180deg, rgba(237, 29, 38, 0.045), rgba(255, 255, 255, 0.012));
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}
.service-card:hover::before {
  opacity: 1;
}
.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 34px;
}
.service-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--red-bright);
}
.service-arrow {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.service-arrow svg {
  width: 13px;
  height: 13px;
}
.service-card:hover .service-arrow {
  border-color: var(--red);
  color: var(--red-bright);
  transform: rotate(-45deg);
}
.service-card h3 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
  max-width: 34ch;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
}
.tag {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--faint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── DPDP band ───────────────────────────────────────────────────────── */

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 400px at 82% 20%, rgba(237, 29, 38, 0.1), transparent 68%),
    linear-gradient(180deg, #0e0e12, #0b0b0e);
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--red), transparent);
  opacity: 0.8;
}
.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(64px, 8vw, 112px);
}
.band h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  margin-top: 20px;
  max-width: 15ch;
}
.band p {
  margin-top: 22px;
  color: var(--muted);
  max-width: 52ch;
}
.band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 30px;
}
.obligations {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(10, 10, 12, 0.55);
  overflow: hidden;
}
.obligations-head {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
}
.obligation {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 17px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.obligation:last-child {
  border-bottom: 0;
}
.obligation .num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  color: var(--red-bright);
}
.obligation strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.obligation span {
  display: block;
  color: var(--faint);
  font-size: 11px;
  margin-top: 2px;
}
.obligation .status {
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(69, 212, 131, 0.2);
  background: rgba(69, 212, 131, 0.06);
  border-radius: 3px;
  padding: 3px 6px;
  white-space: nowrap;
}

/* ── approach ────────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  position: relative;
  padding: 30px 26px 0 0;
  border-right: 1px solid var(--line);
}
.step:last-child {
  border-right: 0;
  padding-right: 0;
}
.step:not(:first-child) {
  padding-left: 26px;
}
.step-num {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.step-num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.step:first-child .step-num::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.step h3 {
  margin-top: 26px;
  font-size: 19px;
}
.step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
  max-width: 30ch;
}
.step-detail {
  display: block;
  margin-top: 16px;
  color: var(--faint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.8;
}

/* ── audience / value strip ──────────────────────────────────────────── */

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.value-card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.012);
}
.value-card .mono {
  color: var(--red-bright);
  font-size: 9px;
}
.value-card h3 {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.3;
}
.value-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ── cloud band ──────────────────────────────────────────────────────── */

.cloud-band {
  background:
    radial-gradient(600px 360px at 12% 50%, rgba(91, 141, 239, 0.07), transparent 70%),
    #0d0d11;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cloud-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
  padding-block: clamp(64px, 8vw, 108px);
}
.cloud-grid h2 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  margin-top: 20px;
  max-width: 14ch;
}
.cloud-grid p {
  margin-top: 20px;
  color: var(--muted);
  max-width: 50ch;
}
.cloud-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.terminal {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #0c0c0f;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #101014;
}
.terminal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #33333d;
}
.terminal-dot:first-child {
  background: var(--red);
}
.terminal-title {
  margin-left: 8px;
  color: var(--faint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}
.terminal-body {
  padding: 24px 22px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  line-height: 2.15;
  color: var(--muted);
  overflow-x: auto;
}
.terminal-body .prompt {
  color: var(--faint);
  margin-right: 8px;
}
.terminal-body .cmd {
  color: var(--text);
}
.terminal-body .ok {
  color: var(--green);
}
.terminal-body .key {
  color: var(--red-bright);
}
.terminal-body .dim {
  color: var(--faint);
}
.terminal-foot {
  padding: 11px 22px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ── CTA ─────────────────────────────────────────────────────────────── */

.cta {
  position: relative;
  padding-block: clamp(76px, 10vw, 132px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -45%;
  width: 900px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(237, 29, 38, 0.12), transparent 65%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.cta h2 {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.045em;
}
.cta p {
  margin: 22px auto 0;
  color: var(--muted);
  max-width: 50ch;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.cta-note {
  margin-top: 22px;
  color: var(--faint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── footer ──────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--line);
  background: #08080a;
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.75fr));
  gap: 40px;
  padding-bottom: 54px;
}
.footer-brand p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  max-width: 34ch;
}
.footer-brand .mono {
  display: block;
  margin-top: 20px;
  color: var(--faint);
  font-size: 8.5px;
  line-height: 1.9;
}
.footer-col h4 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--text);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 11px;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-legal a:hover {
  color: var(--text);
}

/* ── inner page hero ─────────────────────────────────────────────────── */

.page-hero {
  padding-top: calc(var(--header) + clamp(56px, 7vw, 88px));
  padding-bottom: clamp(44px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -120px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(255, 255, 255, 0.012),
    0 0 0 160px rgba(255, 255, 255, 0.008);
  pointer-events: none;
}
.page-hero .eyebrow {
  margin-bottom: 20px;
}
.page-hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.045em;
  max-width: 18ch;
}
.page-hero .page-lede {
  margin-top: 24px;
  color: var(--muted);
  font-size: 17.5px;
  line-height: 1.7;
  max-width: 62ch;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  margin-bottom: 28px;
}
.breadcrumbs a:hover {
  color: var(--muted);
}
.breadcrumbs span {
  color: var(--line-strong);
}

.page-body {
  padding-block: clamp(56px, 7vw, 92px);
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.85fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.prose {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}
.prose > * + * {
  margin-top: 18px;
}
.prose h2 {
  color: var(--text);
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  margin-top: 52px;
  max-width: 22ch;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  color: var(--text);
  font-size: 18px;
  margin-top: 34px;
  letter-spacing: -0.015em;
}
.prose strong {
  color: var(--text);
  font-weight: 500;
}
.prose a {
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.2s, border-color 0.2s;
}
.prose a:hover {
  color: var(--red-bright);
  border-color: var(--red);
}
.prose ul,
.prose ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.prose ul li {
  position: relative;
  padding-left: 20px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: var(--red);
}
.prose ol {
  counter-reset: item;
}
.prose ol li {
  counter-increment: item;
  position: relative;
  padding-left: 30px;
}
.prose ol li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--red-bright);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
}
.prose blockquote {
  margin: 30px 0;
  padding: 22px 26px;
  border-left: 2px solid var(--red);
  background: rgba(255, 255, 255, 0.018);
  color: var(--text);
  font-size: 16px;
}

.callout {
  padding: 24px 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(237, 29, 38, 0.045), rgba(255, 255, 255, 0.012));
  margin-top: 30px;
}
.callout .mono {
  color: var(--red-bright);
  font-size: 9px;
  display: block;
  margin-bottom: 10px;
}
.callout p {
  color: var(--muted);
  font-size: 14px;
}
.callout p + p {
  margin-top: 10px;
}

.deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.deliverable {
  display: flex;
  gap: 10px;
  padding: 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.012);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}
.deliverable::before {
  content: "✓";
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  flex: none;
}

.aside-card {
  position: sticky;
  top: calc(var(--header) + 24px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(23, 23, 28, 0.8), rgba(13, 13, 16, 0.9));
  padding: 24px;
}
.aside-card .mono {
  color: var(--faint);
  font-size: 9px;
}
.aside-card h3 {
  font-size: 19px;
  margin-top: 14px;
}
.aside-card p {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 10px;
  line-height: 1.6;
}
.aside-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.aside-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11.5px;
}
.aside-list span {
  color: var(--faint);
}
.aside-list strong {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}
.aside-card .btn {
  width: 100%;
  margin-top: 20px;
}
.aside-card .aside-email {
  display: block;
  text-align: center;
  margin-top: 14px;
  color: var(--faint);
  font-size: 11px;
}
.aside-card .aside-email:hover {
  color: var(--text);
}

.scope-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 13px;
}
.scope-table th,
.scope-table td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.scope-table th {
  color: var(--faint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.015);
}
.scope-table td {
  color: var(--muted);
}
.scope-table td:first-child {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}

.faq {
  border-top: 1px solid var(--line);
  margin-top: 34px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 2px;
  cursor: pointer;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 16.5px;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--red-bright);
  font-family: "IBM Plex Mono", monospace;
  font-size: 16px;
  flex: none;
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 2px 22px;
  color: var(--muted);
  font-size: 14px;
  max-width: 70ch;
}

/* ── contact ─────────────────────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.form-panel {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(23, 23, 28, 0.7), rgba(13, 13, 16, 0.8));
  padding: clamp(24px, 3.5vw, 38px);
}
.form-head {
  margin-bottom: 28px;
}
.form-head h2 {
  font-size: 26px;
}
.form-head p {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 8px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.field label {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.field label .req {
  color: var(--red-bright);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: #0d0d11;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.field textarea {
  min-height: 132px;
  resize: vertical;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%23a6a6b2' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #5f5f6b;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(237, 29, 38, 0.12);
}
.field-error {
  color: var(--red-bright);
  font-size: 11px;
  display: none;
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--red);
}
.field.invalid .field-error {
  display: block;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 20px;
  color: var(--faint);
  font-size: 11.5px;
  line-height: 1.6;
}
.consent input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--red);
}
.consent a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-submit {
  width: 100%;
}
.form-note {
  margin-top: 14px;
  color: var(--faint);
  font-size: 10.5px;
  line-height: 1.6;
}
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
}
.form-status.show {
  display: block;
}
.form-status.ok {
  border: 1px solid rgba(69, 212, 131, 0.25);
  background: rgba(69, 212, 131, 0.07);
  color: #b7f5d0;
}
.form-status.error {
  border: 1px solid rgba(237, 29, 38, 0.3);
  background: rgba(237, 29, 38, 0.07);
  color: #ffc3c5;
}
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.012);
}
.contact-card .mono {
  color: var(--faint);
  font-size: 9px;
}
.contact-card h3 {
  margin-top: 14px;
  font-size: 19px;
}
.contact-card p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}
.contact-card a.email {
  display: inline-block;
  margin-top: 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.contact-card a.email:hover {
  color: var(--red-bright);
  border-color: var(--red);
}
.contact-card ul {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.contact-card ul li {
  display: flex;
  gap: 9px;
  color: var(--faint);
  font-size: 11.5px;
  line-height: 1.5;
}
.contact-card ul li::before {
  content: "—";
  color: var(--red);
}

/* ── consent banner ──────────────────────────────────────────────────── */

.consent-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  display: none;
  margin-inline: auto;
  max-width: 640px;
  padding: 18px 20px;
  background: rgba(23, 23, 28, 0.98);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
}
.consent-banner.show {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.consent-banner p {
  flex: 1 1 320px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.consent-banner p a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-actions {
  display: flex;
  gap: 8px;
}
.consent-actions .btn {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 12px;
}

/* ── 404 ─────────────────────────────────────────────────────────────── */

.notfound {
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: var(--header);
}
.notfound .code {
  font-family: "IBM Plex Mono", monospace;
  color: var(--red-bright);
  font-size: 11px;
  letter-spacing: 0.2em;
}
.notfound h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  margin-top: 18px;
}
.notfound p {
  color: var(--muted);
  margin-top: 16px;
}
.notfound .btn {
  margin-top: 28px;
}

/* ── prose page (privacy/terms) ──────────────────────────────────────── */

.legal {
  max-width: 760px;
}
.legal h2 {
  font-size: 22px;
  margin-top: 42px;
}
.legal h2:first-child {
  margin-top: 0;
}
.legal p,
.legal li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.legal ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.legal ul li {
  position: relative;
  padding-left: 18px;
}
.legal ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 1px;
  background: var(--red);
}
.legal a {
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
}
.legal a:hover {
  color: var(--red-bright);
  border-color: var(--red);
}
.legal .updated {
  margin-bottom: 34px;
}

/* ── reveal ──────────────────────────────────────────────────────────── */

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

/* ── responsive ──────────────────────────────────────────────────────── */

@media (max-width: 1120px) {
  .site-nav a {
    padding: 9px 8px;
    font-size: 12.5px;
  }
  .header-actions .btn {
    padding-inline: 16px;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  }
}

@media (max-width: 960px) {
  .site-nav,
  .header-actions .btn {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .mobile-nav {
    display: flex;
  }
  .hero-grid,
  .band-grid,
  .cloud-grid,
  .detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    min-height: 0;
    margin-top: 24px;
    flex-direction: column;
  }
  .radar {
    width: min(100%, 380px);
    margin-inline: auto;
  }
  .posture-card {
    margin: 18px auto 0;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
  }
  .step:not(:first-child) {
    padding-left: 0;
  }
  .step:nth-child(odd) {
    border-right: 1px solid var(--line);
    padding-right: 26px;
  }
  .step:nth-child(even) {
    padding-left: 26px;
  }
  .step:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section-head h2 {
    max-width: 18ch;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .aside-card {
    position: static;
  }
  .frameworks-note {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --header: 66px;
  }
  body {
    font-size: 15px;
  }
  .brand img {
    width: 30px;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 3.6rem);
  }
  .hero h1 .accent {
    white-space: normal;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-meta {
    gap: 8px 16px;
  }
  .radar-label {
    display: none;
  }
  .service-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 0;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step,
  .step:nth-child(odd),
  .step:nth-child(even) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
  }
  .step:last-child {
    border-bottom: 0;
  }
  .band-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .band-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }
  .obligation {
    grid-template-columns: 24px minmax(0, 1fr);
  }
  .obligation .status {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .deliverables {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .scope-table {
    display: block;
    overflow-x: auto;
  }
  .consent-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .consent-actions {
    width: 100%;
  }
  .consent-actions .btn {
    flex: 1;
  }
  .terminal-body {
    font-size: 10.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .mobile-nav,
  .consent-banner,
  .scroll-progress,
  .hero-art,
  .cta {
    display: none !important;
  }
  body {
    background: #fff;
    color: #111;
  }
  .page-hero {
    padding-top: 20px;
  }
}

/* ── guided review assistant ─────────────────────────────────────────── */

.assistant-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(23, 23, 28, 0.98), rgba(14, 14, 18, 0.98));
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.assistant-launcher:hover {
  border-color: var(--red);
  transform: translateY(-1px);
}
.assistant-launcher:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.assistant-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft), 0 0 14px rgba(237, 29, 38, 0.55);
}

.assistant-panel {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 140;
  width: min(410px, calc(100vw - 32px));
  max-height: min(660px, calc(100dvh - 120px));
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #15151a, #0e0e12);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}
.assistant-panel[hidden] {
  display: none;
}

.assistant-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 12% 0%, rgba(237, 29, 38, 0.1), transparent 60%);
}
.assistant-head .mono {
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--faint);
  text-transform: uppercase;
}
.assistant-head h2 {
  margin: 4px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.assistant-close {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.assistant-close:hover {
  color: var(--text);
  border-color: var(--line-strong);
}
.assistant-close:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.assistant-log {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.assistant-msg {
  margin: 0;
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.55;
}
.assistant-msg.bot {
  align-self: flex-start;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-bottom-left-radius: 3px;
  color: var(--muted);
}
.assistant-msg.user {
  align-self: flex-end;
  background: rgba(237, 29, 38, 0.12);
  border: 1px solid rgba(237, 29, 38, 0.3);
  border-bottom-right-radius: 3px;
  color: var(--text);
}
.assistant-replies {
  padding: 0 16px 14px;
}
.assistant-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.assistant-chip {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.assistant-chip:hover {
  border-color: var(--red);
  background: var(--red-soft);
}
.assistant-chip:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.assistant-note {
  margin: 0 0 10px;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.5;
}

.assistant-form {
  display: grid;
  flex: 0 1 auto;
  gap: 10px;
  min-height: 0;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
  background: rgba(10, 10, 12, 0.35);
  overflow-y: auto;
}
.assistant-panel.form-open .assistant-log {
  flex: 0 1 190px;
}
.assistant-form[hidden] {
  display: none;
}
.assistant-field {
  display: grid;
  gap: 5px;
}
.assistant-field label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.assistant-optional {
  color: var(--faint);
  font-weight: 400;
}
.assistant-field input {
  width: 100%;
  padding: 10px 11px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: #0c0c10;
  color: var(--text);
  font: 400 13.5px/1.4 "Inter", sans-serif;
}
.assistant-field input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.assistant-field.invalid input {
  border-color: var(--red-bright);
}
.assistant-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.assistant-consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
  cursor: pointer;
}
.assistant-consent input {
  margin: 2px 0 0;
  accent-color: var(--red);
}
.assistant-consent a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.assistant-consent.invalid {
  color: var(--red-bright);
}
.assistant-submit {
  width: 100%;
  justify-content: center;
}
.assistant-form-note {
  margin: 0;
  color: var(--faint);
  font-size: 10.5px;
  line-height: 1.5;
}
.assistant-error {
  margin: 0;
  color: var(--red-bright);
  font-size: 12px;
  line-height: 1.5;
}
.assistant-error[hidden] {
  display: none;
}

.assistant-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.assistant-footer a {
  color: var(--muted);
  text-decoration: none;
}
.assistant-footer a:hover {
  color: var(--text);
}

.assistant-summary {
  border: 1px solid var(--line);
  background: var(--panel-2);
  border-radius: 8px;
  padding: 12px;
}
.assistant-summary-head {
  margin: 0 0 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.assistant-summary dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 12px;
  margin: 0;
  font-size: 12px;
}
.assistant-summary dt {
  color: var(--faint);
}
.assistant-summary dd {
  margin: 0;
  color: var(--text);
}
.assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.assistant-actions .btn {
  text-decoration: none;
}

body.consent-visible .assistant-launcher {
  display: none;
}

@media (max-width: 640px) {
  .assistant-launcher {
    right: 14px;
    bottom: 14px;
    padding: 12px 15px;
    font-size: 10px;
  }
  .assistant-panel {
    inset: 0;
    width: 100%;
    max-height: none;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  body.assistant-open {
    overflow: hidden;
  }
  .assistant-head {
    padding-top: max(16px, env(safe-area-inset-top));
  }
  .assistant-footer {
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  .assistant-launcher {
    transition: none;
  }
}
