:root {
  color-scheme: dark;
  --bg: #080b0f;
  --bg-soft: #0d1318;
  --panel: rgba(16, 24, 30, 0.78);
  --panel-strong: rgba(18, 29, 36, 0.94);
  --line: rgba(136, 190, 190, 0.2);
  --line-strong: rgba(127, 236, 222, 0.42);
  --text: #edf7f5;
  --muted: #91a6a8;
  --cyan: #52f0dd;
  --blue: #5b8cff;
  --amber: #ffbe63;
  --danger: #ff6f91;
  --radius: 8px;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 80% 10%, rgba(82, 240, 221, 0.12), transparent 30rem),
    radial-gradient(circle at 15% 25%, rgba(91, 140, 255, 0.1), transparent 28rem),
    linear-gradient(135deg, #080b0f 0%, #0b1115 45%, #090d10 100%);
  color: var(--text);
  font-family: var(--sans);
  letter-spacing: 0;
}

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

.site-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(127, 236, 222, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 236, 222, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.18));
}

.signal-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.signal-field span {
  position: absolute;
  width: 36vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(82, 240, 221, 0.55), transparent);
  transform: rotate(-28deg);
  animation: scanline 9s linear infinite;
}

.signal-field span:nth-child(1) { top: 14%; left: -20%; animation-delay: 0s; }
.signal-field span:nth-child(2) { top: 28%; left: 10%; animation-delay: -3s; }
.signal-field span:nth-child(3) { top: 50%; left: 40%; animation-delay: -6s; }
.signal-field span:nth-child(4) { top: 70%; left: -15%; animation-delay: -1.5s; }
.signal-field span:nth-child(5) { top: 86%; left: 52%; animation-delay: -4.5s; }

@keyframes scanline {
  0% { opacity: 0; translate: -20vw 8vh; }
  20% { opacity: 0.8; }
  70% { opacity: 0.35; }
  100% { opacity: 0; translate: 28vw -14vh; }
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(127, 236, 222, 0.14);
  background: rgba(8, 11, 15, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  font: 600 13px/1 var(--mono);
  background:
    linear-gradient(135deg, rgba(82, 240, 221, 0.18), transparent),
    rgba(10, 16, 20, 0.9);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.name-middle {
  color: var(--muted);
  font-weight: 500;
}

.profile-panel h2 .name-middle {
  display: inline-block;
  margin-inline: 0.08em;
  font-size: 0.72em;
  vertical-align: 0.08em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font: 500 11px/1 var(--mono);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 32px);
  color: #b6c6c6;
  font-size: 14px;
}

.nav-links a,
.footer a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--cyan);
}

.nav-cta {
  min-width: max-content;
  padding: 11px 16px;
  border: 1px solid rgba(82, 240, 221, 0.45);
  color: var(--cyan);
  font: 600 13px/1 var(--mono);
  background: rgba(82, 240, 221, 0.08);
}

.section-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 112px 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
  min-height: 100svh;
  padding-top: 132px;
  padding-bottom: 64px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 108px -28px 24px;
  z-index: -1;
  border: 1px solid rgba(127, 236, 222, 0.12);
  background:
    linear-gradient(115deg, rgba(82, 240, 221, 0.08), transparent 34%),
    linear-gradient(rgba(255, 255, 255, 0.028), transparent 18rem);
  clip-path: polygon(0 0, 92% 0, 100% 12%, 100% 100%, 8% 100%, 0 88%);
}

.eyebrow,
.section-code {
  margin: 0 0 18px;
  color: var(--cyan);
  font: 600 12px/1.4 var(--mono);
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(45px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.2;
}

.hero-subline,
.section-lead {
  color: #b9caca;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.hero-subline {
  max-width: 680px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 0;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button::after {
  content: "↗";
  margin-left: 10px;
  font-family: var(--mono);
}

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

.button-primary {
  border-color: rgba(255, 190, 99, 0.9);
  background: var(--amber);
  color: #15100a;
}

.button-secondary {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(14, 24, 29, 0.72);
}

.system-visual {
  position: relative;
  min-height: 480px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(82, 240, 221, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(82, 240, 221, 0.08) 1px, transparent 1px),
    rgba(10, 16, 20, 0.58);
  background-size: 42px 42px;
  overflow: hidden;
}

.system-visual::before,
.system-visual::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(91, 140, 255, 0.24);
  transform: rotate(45deg);
}

.system-visual::after {
  inset: 30%;
  border-color: rgba(255, 190, 99, 0.28);
  transform: rotate(-45deg);
}

.flow-stage {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 12px;
}

.flow-stage span {
  width: 112px;
  padding: 10px 12px;
  border: 1px solid rgba(127, 236, 222, 0.24);
  color: #bcd1d0;
  font: 600 12px/1 var(--mono);
  background: rgba(8, 11, 15, 0.74);
}

.flow-stage-chaos {
  top: 48px;
  left: 34px;
}

.flow-stage-chaos span:nth-child(even) {
  transform: translateX(26px);
  border-color: rgba(255, 111, 145, 0.42);
}

.flow-stage-system {
  right: 34px;
  bottom: 48px;
}

.flow-stage-system span {
  border-color: rgba(82, 240, 221, 0.46);
}

.flow-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.core-ring {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(82, 240, 221, 0.34);
  border-radius: 50%;
  animation: pulse 3.8s ease-in-out infinite;
}

.core-node {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border: 1px solid rgba(82, 240, 221, 0.74);
  color: var(--cyan);
  font: 700 24px/1 var(--mono);
  background: rgba(8, 11, 15, 0.9);
  box-shadow: 0 0 42px rgba(82, 240, 221, 0.14);
}

@keyframes pulse {
  0%, 100% { scale: 0.92; opacity: 0.45; }
  50% { scale: 1.08; opacity: 0.9; }
}

.proof-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--line);
  background: var(--line);
}

.proof-grid div {
  min-height: 104px;
  padding: 22px;
  background: rgba(8, 12, 16, 0.78);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  margin-bottom: 8px;
  color: var(--text);
  font: 600 22px/1 var(--mono);
}

.proof-grid span,
.module-card p,
.stage-card li,
.timeline p,
.about-copy p,
.case-copy p,
.audience-note,
.outcome-copy p,
.tool-note,
.contact-form p {
  color: var(--muted);
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 28px 64px;
}

.split-section .module-grid,
.split-section .audience-note {
  grid-column: 1 / -1;
}

.audience-note {
  max-width: 900px;
  margin: 4px 0 10px;
  padding: 18px 22px;
  border-left: 1px solid var(--line-strong);
  background: rgba(82, 240, 221, 0.055);
}

.module-grid,
.pipeline {
  display: grid;
  gap: 18px;
}

.three-columns,
.pipeline {
  grid-template-columns: repeat(3, 1fr);
}

.module-card,
.stage-card,
.profile-panel,
.contact-form {
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(82, 240, 221, 0.06), transparent 45%),
    var(--panel);
}

.module-card,
.stage-card {
  min-height: 282px;
  padding: 28px;
}

.module-card::before,
.stage-card::before,
.profile-panel::before,
.contact-form::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  width: 74px;
  height: 1px;
  background: var(--cyan);
}

.module-index,
.stage-number {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--cyan);
  font: 600 13px/1 var(--mono);
}

.section-heading {
  display: grid;
  justify-items: start;
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 900px;
}

.stage-card {
  display: flex;
  flex-direction: column;
}

.step-zero {
  max-width: 820px;
  margin: -18px 0 26px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 190, 99, 0.34);
  background: rgba(255, 190, 99, 0.07);
}

.step-zero strong,
.deliverables strong {
  display: block;
  margin-bottom: 8px;
  color: #f2d2a0;
}

.step-zero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.offer-cta {
  margin-top: 8px;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  background: var(--line);
}

.process-strip div {
  min-height: 132px;
  padding: 18px;
  background: rgba(8, 12, 16, 0.82);
}

.process-strip span,
.process-strip strong {
  display: block;
}

.process-strip span {
  margin-bottom: 16px;
  color: var(--cyan);
  font: 700 12px/1 var(--mono);
}

.process-strip strong {
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.2;
}

.process-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.follow-up-cards {
  display: grid;
  gap: 18px;
}

.step-zero-badge {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 190, 99, 0.38);
  color: #e5d3b8;
  line-height: 1.55;
  background: rgba(255, 190, 99, 0.08);
}

.step-zero-badge strong {
  color: var(--amber);
}

.project-example {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 190, 99, 0.3);
  background:
    linear-gradient(135deg, rgba(255, 190, 99, 0.075), transparent 42%),
    rgba(8, 12, 16, 0.72);
}

.project-example h3 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 36px);
}

.project-example p {
  max-width: 920px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.project-example p:last-child {
  margin-bottom: 0;
}

.project-example strong {
  color: var(--amber);
}

.stage-meta {
  margin-bottom: 22px;
  color: var(--amber);
  font: 600 13px/1.4 var(--mono);
}

.stage-card p {
  color: var(--muted);
  line-height: 1.62;
}

.stage-result {
  color: #d6e8e4;
  font-weight: 600;
}

.stage-badge,
.credit-note {
  border: 1px solid rgba(255, 190, 99, 0.38);
  color: var(--amber);
  background: rgba(255, 190, 99, 0.08);
}

.stage-badge {
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 8px 10px;
  font: 700 11px/1.2 var(--mono);
  text-transform: uppercase;
}

.stage-card-featured {
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(255, 190, 99, 0.075), transparent 40%),
    var(--panel);
}

.stage-card-featured .stage-number {
  margin-bottom: 24px;
}

.credit-note {
  margin-top: 8px;
  padding: 14px 16px;
  font-weight: 700;
}

.deliverables {
  margin: 6px 0 18px;
  padding: 18px;
  border: 1px solid rgba(127, 236, 222, 0.22);
  background: rgba(8, 12, 16, 0.52);
}

.stage-card .deliverables ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stage-card .deliverables li {
  position: relative;
  padding-left: 28px;
}

.stage-card .deliverables li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 800;
}

.dpa-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 20px;
  border: 1px solid var(--line);
  background: var(--line);
}

.dpa-flow div {
  min-height: 178px;
  padding: 18px;
  background: rgba(8, 12, 16, 0.82);
}

.dpa-flow span,
.dpa-flow strong {
  display: block;
}

.dpa-flow span {
  margin-bottom: 18px;
  color: var(--cyan);
  font: 700 12px/1 var(--mono);
}

.dpa-flow strong {
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.25;
}

.dpa-flow p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.stage-card ul {
  display: grid;
  gap: 12px;
  padding-left: 18px;
  margin: auto 0 0;
}

.inline-accordion {
  border: 1px solid rgba(127, 236, 222, 0.22);
  background: rgba(8, 12, 16, 0.56);
}

.inline-accordion summary {
  cursor: pointer;
  list-style: none;
}

.inline-accordion summary::-webkit-details-marker {
  display: none;
}

.inline-accordion summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(127, 236, 222, 0.28);
  color: var(--cyan);
  font: 700 17px/1 var(--mono);
}

.inline-accordion[open] summary::after {
  content: "−";
}

.dpa-accordion {
  margin: auto 0 16px;
}

.dpa-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: var(--cyan);
  font: 700 12px/1.2 var(--mono);
  text-transform: uppercase;
}

.dpa-accordion .dpa-flow {
  grid-template-columns: 1fr;
  margin: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
}

.outcome-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px 70px;
  align-items: start;
}

.outcome-section .section-heading {
  margin-bottom: 0;
}

.outcome-copy {
  display: grid;
  gap: 20px;
  padding: 34px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 190, 99, 0.08), transparent 38%),
    var(--panel);
}

.outcome-copy p {
  margin-bottom: 0;
  font-size: clamp(18px, 2vw, 22px);
}

.calculator-section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.calculator {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 18px;
}

.calculator-inputs,
.calculator-output {
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

.calculator-inputs {
  display: grid;
  gap: 18px;
  padding: 28px;
}

label {
  display: grid;
  gap: 8px;
  color: #d4e3e2;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(127, 236, 222, 0.22);
  border-radius: 0;
  padding: 14px 14px;
  color: var(--text);
  font: 500 16px/1.35 var(--sans);
  background: rgba(5, 8, 11, 0.82);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(82, 240, 221, 0.1);
}

.calculator-output {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.calculator-output p,
.calculator-output span {
  color: var(--muted);
  font: 600 12px/1.4 var(--mono);
  text-transform: uppercase;
}

.calculator-output strong {
  margin: 8px 0 32px;
  color: var(--cyan);
  font: 700 clamp(42px, 6vw, 76px)/0.95 var(--mono);
}

.calculator-output b {
  color: var(--amber);
  font: 700 clamp(26px, 4vw, 44px)/1 var(--mono);
}

.tool-note {
  max-width: 780px;
  margin: 22px 0 0;
}

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

.timeline article {
  position: relative;
  min-height: 250px;
  padding: 32px 24px 0 0;
  border-right: 1px solid var(--line);
}

.timeline article:last-child {
  border-right: 0;
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  font: 600 13px/1 var(--mono);
  background: var(--bg);
  transform: translateY(-54px);
}

.about-section,
.contact-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

.profile-panel,
.contact-form {
  padding: 32px;
}

.profile-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(31px, 3.5vw, 44px);
}

.about-copy h2 {
  margin-bottom: 6px;
  font-size: clamp(32px, 4vw, 50px);
}

.profile-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.profile-photo {
  display: block;
  width: clamp(120px, 13vw, 168px);
  aspect-ratio: 1;
  margin-bottom: 16px;
}

.profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  filter: grayscale(1);
  object-fit: cover;
  object-position: center 40%;
}

.photo-caption {
  margin-bottom: 28px;
  color: #c7d9d7;
  font: 600 12px/1.45 var(--mono);
  text-transform: uppercase;
}

.credential-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.credential-list span {
  padding: 8px 10px;
  border: 1px solid rgba(127, 236, 222, 0.22);
  color: #bfd2d2;
  font: 500 12px/1.2 var(--mono);
}

.about-copy {
  display: grid;
  gap: 18px;
  font-size: 19px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(82, 240, 221, 0.05), transparent 42%),
    rgba(8, 12, 16, 0.46);
}

.about-story {
  margin-bottom: 4px;
  padding: 22px 24px;
  border-left: 1px solid var(--line-strong);
  background: rgba(82, 240, 221, 0.045);
}

.about-story p {
  margin-bottom: 0;
}

.case-section {
  display: block;
}

.case-copy {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px 42px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(82, 240, 221, 0.06), transparent 46%),
    var(--panel);
}

.case-copy .section-code,
.case-copy h2,
.case-copy > p:first-of-type {
  grid-column: 1;
}

.case-copy > p:not(:first-of-type) {
  grid-column: 2;
}

.case-copy p {
  font-size: 18px;
}

.case-copy strong {
  color: #e8f6f3;
  font-weight: 700;
}

.case-result {
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 190, 99, 0.28);
  color: #e5d3b8;
  background: rgba(255, 190, 99, 0.065);
}

.transparency-note {
  margin: 22px 0 0;
  font-style: italic;
}

.go-live-section {
  padding-top: 96px;
}

.risk-table {
  border: 1px solid var(--line);
  background: var(--line);
}

.risk-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 1px;
}

.risk-row + .risk-row {
  border-top: 1px solid var(--line);
}

.risk-question,
.risk-answer {
  padding: 24px 28px;
  background: rgba(8, 12, 16, 0.86);
}

.risk-question {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 190, 99, 0.07), transparent 48%),
    rgba(8, 12, 16, 0.88);
}

.risk-question span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 190, 99, 0.36);
  color: var(--amber);
  font: 700 12px/1 var(--mono);
}

.risk-question strong {
  color: var(--text);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.2;
}

.risk-answer h3 {
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: clamp(20px, 2vw, 28px);
}

.risk-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.about-section {
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
}

.contact-form h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.2vw, 42px);
}

.contact-section {
  display: block;
  padding-top: 32px;
  padding-bottom: 88px;
}

.contact-form {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 18px;
}

.contact-form > .section-code,
.contact-form > h2,
.contact-form > .section-lead,
.contact-step,
.contact-form > button,
.form-status,
.contact-form > p:last-child {
  grid-column: 1;
}

.contact-form > .form-row,
.contact-form > label:not(.form-trap) {
  grid-column: 2;
}

.contact-form > .message-field {
  grid-row: span 2;
}

.contact-step {
  margin: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form button {
  width: fit-content;
  cursor: pointer;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.contact-form p {
  margin-bottom: 0;
}

.contact-form a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 28px;
  padding: 0;
  font-weight: 700;
}

.form-status:empty {
  display: none;
}

.form-status[data-status="success"] {
  color: var(--cyan);
}

.form-status[data-status="error"] {
  color: var(--danger);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 500 12px/1.4 var(--mono);
}

.footer nav {
  display: flex;
  gap: 18px;
}

.legal-modal {
  position: relative;
  width: min(620px, 100%);
  border: 1px solid var(--line-strong);
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(82, 240, 221, 0.08), transparent 42%),
    var(--panel-strong);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.48);
}

.legal-modal::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 28px;
  width: 92px;
  height: 1px;
  background: var(--cyan);
}

.legal-modal h1,
.legal-modal h2 {
  margin-bottom: 28px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
}

.legal-content {
  display: grid;
  gap: 16px;
  color: #d8e8e6;
  font-size: 17px;
  line-height: 1.7;
}

.legal-content p {
  margin: 0;
}

.legal-page {
  min-height: 100svh;
}

.legal-page .legal-modal {
  width: min(900px, calc(100% - 36px));
  margin: 128px auto 64px;
}

.legal-page .legal-content a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-back {
  display: inline-flex;
  margin-top: 28px;
  color: var(--cyan);
  font: 600 13px/1 var(--mono);
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .split-section,
  .outcome-section,
  .about-section,
  .contact-section,
  .calculator,
  .risk-row,
  .case-copy {
    grid-template-columns: 1fr;
  }

  .case-copy .section-code,
  .case-copy h2,
  .case-copy > p:first-of-type,
  .case-copy > p:not(:first-of-type) {
    grid-column: auto;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form > .section-code,
  .contact-form > h2,
  .contact-form > .section-lead,
  .contact-step,
  .contact-form > button,
  .form-status,
  .contact-form > p:last-child,
  .contact-form > .form-row,
  .contact-form > label:not(.form-trap) {
    grid-column: auto;
  }

  .hero {
    min-height: auto;
  }

  .system-visual {
    min-height: 420px;
  }

  .three-columns,
  .pipeline,
  .process-strip,
  .offer-layout {
    grid-template-columns: 1fr;
  }

  .dpa-flow {
    grid-template-columns: 1fr 1fr;
  }

  .dpa-accordion .dpa-flow {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    border-top: 0;
    background: var(--line);
  }

  .timeline article {
    min-height: 230px;
    padding: 28px;
    border: 0;
    background: rgba(8, 12, 16, 0.82);
  }

  .timeline span {
    transform: none;
    margin-bottom: 28px;
  }
}

@media (max-width: 640px) {
  .topbar {
    min-height: 68px;
    padding: 12px 18px;
  }

  .brand small,
  .nav-cta {
    display: none;
  }

  .section-shell {
    width: min(100% - 28px, 1180px);
    padding: 74px 0;
  }

  .hero {
    padding-top: 108px;
    padding-bottom: 42px;
  }

  .hero::before {
    inset: 88px -14px 16px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 64px);
  }

  h2 {
    font-size: clamp(31px, 10vw, 44px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .proof-grid,
  .timeline,
  .form-row,
  .dpa-flow,
  .dpa-accordion .dpa-flow {
    grid-template-columns: 1fr;
  }

  .risk-question {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .system-visual {
    min-height: 360px;
  }

  .flow-stage span {
    width: 96px;
    padding: 9px;
    font-size: 11px;
  }

  .flow-stage-chaos {
    left: 18px;
    top: 28px;
  }

  .flow-stage-system {
    right: 18px;
    bottom: 28px;
  }

  .core-ring {
    width: 150px;
    height: 150px;
  }

  .core-node {
    width: 88px;
    height: 88px;
  }

  .module-card,
  .stage-card,
  .profile-panel,
  .about-copy,
  .case-copy,
  .outcome-copy,
  .contact-form,
  .calculator-inputs,
  .calculator-output {
    padding: 22px;
  }

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

  .legal-modal {
    padding: 26px;
  }
}
