:root {
  --bg: #282a36;
  --bg-deep: #20212b;
  --panel: #303241;
  --panel-strong: #343746;
  --current: #44475a;
  --text: #f8f8f2;
  --muted: #c9c9c3;
  --comment: #9aa7cf;
  --cyan: #8be9fd;
  --green: #50fa7b;
  --orange: #ffb86c;
  --pink: #ff79c6;
  --purple: #bd93f9;
  --red: #ff5555;
  --yellow: #f1fa8c;
  --line: rgba(248, 248, 242, .12);
  --line-strong: rgba(248, 248, 242, .2);
  --shadow: 0 1.75rem 5rem rgba(11, 10, 23, .28);
  --radius: 1.5rem;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
}

*, *::before, *::after {
  box-sizing: border-box;
  animation: none !important;
  transition: none !important;
}

html {
  background: var(--bg);
  scroll-behavior: auto;
}

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

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 80% -10%, rgba(189, 147, 249, .12), transparent 34%), radial-gradient(circle at 8% 40%, rgba(139, 233, 253, .06), transparent 28%), linear-gradient(135deg, #282a36 0%, #252632 50%, #20212b 100%);
  content: "";
  pointer-events: none;
}

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

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: .125rem solid var(--cyan);
  outline-offset: .25rem;
}

h1, h2, h3, p, ul, blockquote {
  margin: 0;
}

h1, h2, h3 {
  letter-spacing: -.05em;
}

h1 em, h2 em {
  color: var(--purple);
  font-style: normal;
}

.icon {
  width: 1.125rem;
  height: 1.125rem;
  flex: 0 0 auto;
}

.site-shell {
  display: flex;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(.0625rem);
  opacity: .55;
  pointer-events: none;
}

.ambient-one {
  top: 18vh;
  right: 8vw;
  width: 22.5rem;
  height: 22.5rem;
  background: radial-gradient(circle, rgba(189, 147, 249, .1), transparent 70%);
}

.ambient-two {
  bottom: 8vh;
  left: 22vw;
  width: 16.25rem;
  height: 16.25rem;
  background: radial-gradient(circle, rgba(80, 250, 123, .08), transparent 70%);
}

.sidebar {
  flex: 0 0 18.75rem;
}

.sidebar-inner {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  height: 100vh;
  overflow-y: auto;
  padding: var(--space-10) var(--space-6) var(--space-7) var(--space-8);
  overscroll-behavior: contain;
  scrollbar-color: rgba(189, 147, 249, .4) transparent;
  scrollbar-width: thin;
}

.sidebar-topline,
.sidebar-footer,
.insight-top,
.risk-top,
.client-outcome-head,
.metric-card,
.scope-card-top,
.check-card-head,
.severity-top,
.architecture-footer,
.site-footer {
  display: flex;
  align-items: center;
}

.sidebar-topline,
.sidebar-footer,
.insight-top,
.risk-top,
.client-outcome-head,
.scope-card-top,
.check-card-head,
.severity-top,
.architecture-footer,
.site-footer {
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  width: fit-content;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.625rem;
  height: 2.625rem;
  flex: 0 0 auto;
  color: var(--purple);
}

.brand-mark .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  line-height: 1;
}

.brand-copy strong {
  display: inline-flex;
  color: var(--text);
  font-size: 1.125rem;
  letter-spacing: -.04em;
}

.brand-word-web { color: var(--cyan); }
.brand-word-check { color: var(--purple); }
.brand-word-up { color: var(--pink); }

.brand-copy small {
  color: var(--muted);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .01em;
}

.sidebar-close,
.mobile-header,
.menu-toggle {
  display: none;
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9;
  display: none;
  border: 0;
  padding: 0;
  background: rgba(12, 12, 23, .68);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sidebar-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.doc-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--comment);
  font-size: .75rem;
}

.status-dot {
  width: .375rem;
  height: .375rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 .25rem rgba(80, 250, 123, .08), 0 0 .875rem var(--green);
}

.doc-nav,
.hero-copy,
.content-card,
.section-heading,
.summary-block,
.actual-panel,
.scope-card,
.check-card,
.legal-card,
.result-card,
.promise-card,
.severity-card,
.client-outcome,
.cta-content {
  display: flex;
  flex-direction: column;
}

.doc-nav {
  gap: var(--space-2);
}

.nav-label,
.section-number,
.summary-label,
.tag-cloud-label,
.section-kicker,
.tag,
.table-tag {
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nav-label {
  margin: 0;
  padding: 0 0 var(--space-2) var(--space-3);
  color: rgba(201, 201, 195, .56);
  font-size: .6875rem;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: .75rem;
  border: .0625rem solid transparent;
  border-radius: .75rem;
  color: rgba(201, 201, 195, .78);
  font-size: .875rem;
}

.nav-link:hover {
  border-color: var(--line);
  background: rgba(68, 71, 90, .46);
  color: var(--text);
}

.nav-link.is-active {
  border-color: rgba(189, 147, 249, .18);
  background: linear-gradient(90deg, rgba(189, 147, 249, .13), rgba(189, 147, 249, .035));
  color: var(--text);
}

.nav-link.is-active::before {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: -.0625rem;
  width: .125rem;
  height: 1.125rem;
  border-radius: 0 .25rem .25rem 0;
  background: var(--purple);
  content: "";
  transform: translateY(-50%);
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  flex: 0 0 auto;
  color: var(--comment);
}

.nav-link.is-active .nav-icon {
  color: var(--purple);
}

.nav-icon .icon {
  width: 1rem;
  height: 1rem;
}

.sidebar-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-block-start: auto;
  padding: var(--space-5);
  border: .0625rem solid rgba(189, 147, 249, .16);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(189, 147, 249, .08), rgba(139, 233, 253, .025));
}

.note-orb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  border: .0625rem solid rgba(189, 147, 249, .3);
  border-radius: .625rem;
  color: var(--purple);
  font-size: .9375rem;
}

.sidebar-note strong {
  display: block;
  font-size: .75rem;
}

.sidebar-note p {
  margin: 0;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.5;
}

.sidebar-note > div:last-child {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.sidebar-footer {
  gap: var(--space-3);
  color: rgba(201, 201, 195, .5);
  font-size: .6875rem;
}

.sidebar-footer strong {
  color: rgba(201, 201, 195, .72);
  font-weight: 500;
  text-align: right;
}

.main-content {
  display: flex;
  width: 100%;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--space-8);
  min-width: 0;
  padding: var(--space-10) var(--space-8) 4.5rem var(--space-10);
}

.doc-card,
.cta-card {
  position: relative;
  overflow: hidden;
  border: .0625rem solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(52, 55, 70, .93), rgba(48, 50, 65, .92) 58%, rgba(43, 45, 58, .96));
  box-shadow: var(--shadow), inset 0 .0625rem 0 rgba(255, 255, 255, .035);
  min-width: 0;
}

.doc-card::before,
.cta-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, .045), transparent 24%, transparent 75%, rgba(189, 147, 249, .035));
  content: "";
  pointer-events: none;
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: var(--space-14) var(--space-12) var(--space-8);
}

.hero-copy {
  position: relative;
  z-index: 1;
  gap: var(--space-6);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--pink);
  font-size: .6875rem;
}

.kicker-line {
  width: 1.625rem;
  height: .0625rem;
  flex: 0 0 auto;
  background: var(--pink);
  box-shadow: 0 0 .625rem rgba(255, 121, 198, .5);
}

h1 {
  max-width: 48rem;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

.hero-description {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

blockquote {
  display: flex;
  position: relative;
  max-width: 36rem;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) 0 var(--space-4) var(--space-6);
  border-inline-start: .0625rem solid var(--purple);
  color: var(--text);
}

.quote-mark {
  position: absolute;
  inset-block-start: -.75rem;
  inset-inline-start: -.25rem;
  color: var(--purple);
  font-family: Georgia, serif;
  font-size: 2.0625rem;
  line-height: 1;
}

blockquote p {
  color: rgba(248, 248, 242, .86);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.6;
}

.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-5);
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: .8125rem;
  font-weight: 700;
}

.button {
  padding: .75rem 1rem;
  border: .0625rem solid transparent;
  border-radius: .75rem;
}

.button-primary {
  background: var(--purple);
  color: #242330;
}

.button-primary:hover {
  border-color: rgba(248, 248, 242, .45);
  background: #c9a7ff;
}

.text-link {
  color: var(--muted);
}

.text-link:hover {
  color: var(--text);
}

.hero-metrics {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.metric-card {
  flex: 1 1 12rem;
  gap: var(--space-3);
  padding: var(--space-4);
  border: .0625rem solid var(--line);
  border-radius: 1rem;
  background: rgba(36, 37, 49, .36);
}

.metric-card:hover,
.insight-card:hover,
.scope-card:hover,
.check-card:hover,
.legal-card:hover,
.result-card:hover,
.promise-card:hover {
  border-color: var(--line-strong);
  background: rgba(68, 71, 90, .34);
}

.metric-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  border-radius: .625rem;
}

.metric-icon .icon {
  width: .9375rem;
  height: .9375rem;
}

.metric-card strong {
  align-self: center;
  font-size: 1.1875rem;
  line-height: 1;
}

.metric-card > span:last-child {
  align-self: center;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.4;
}

.metric-purple .metric-icon { background: rgba(189, 147, 249, .14); color: var(--purple); }
.metric-cyan .metric-icon { background: rgba(139, 233, 253, .12); color: var(--cyan); }
.metric-green .metric-icon { background: rgba(80, 250, 123, .1); color: var(--green); }
.metric-orange .metric-icon { background: rgba(255, 184, 108, .12); color: var(--orange); }
.metric-purple strong { color: var(--purple); }
.metric-cyan strong { color: var(--cyan); }
.metric-green strong { color: var(--green); }
.metric-orange strong { color: var(--orange); }

.content-card {
  gap: 2.5rem;
  padding: var(--space-14) var(--space-12);
}

.section-heading {
  position: relative;
  z-index: 1;
  gap: var(--space-5);
}

.split-heading {
  flex-direction: row;
  align-items: center;
  gap: var(--space-10);
}

.split-heading > div {
  display: flex;
  flex: 1 1 50%;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}

.section-number {
  color: var(--comment);
  font-size: .6875rem;
}

h2 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.1;
}

.section-heading > p {
  flex: 0 1 auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.split-heading > p {
  flex: 1 1 25rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  min-width: 0;
}

.summary-grid,
.philosophy-grid,
.scope-grid,
.checklist-grid,
.legal-grid,
.result-grid,
.promise-grid,
.severity-grid,
.steps-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.summary-block {
  flex: 1 1 20rem;
  gap: var(--space-4);
  padding: var(--space-5);
  border: .0625rem solid var(--line);
  border-radius: 1rem;
  background: rgba(36, 37, 49, .36);
}

.summary-label,
.tag-cloud-label {
  color: var(--purple);
  font-size: .6875rem;
}

.summary-block p,
.actual-heading p,
.subsection-heading p,
.callout p,
.client-outcome p,
.cta-content p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.callout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  border: .0625rem solid rgba(189, 147, 249, .16);
  border-radius: .75rem;
  background: rgba(189, 147, 249, .055);
}

.callout-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  color: var(--purple);
}

.callout p {
  flex: 1 1 auto;
  min-width: 0;
}

.callout strong {
  color: var(--text);
}

.callout-rule {
  width: 3.75rem;
  height: .0625rem;
  flex: 0 0 auto;
  margin-inline-start: auto;
  background: linear-gradient(90deg, transparent, var(--purple));
}

.callout-purple { border-color: rgba(189, 147, 249, .16); background: rgba(189, 147, 249, .055); }
.callout-purple .callout-icon { color: var(--purple); }
.callout-cyan { border-color: rgba(139, 233, 253, .16); background: rgba(139, 233, 253, .05); }
.callout-cyan .callout-icon { color: var(--cyan); }
.callout-green { border-color: rgba(80, 250, 123, .16); background: rgba(80, 250, 123, .05); }
.callout-green .callout-icon { color: var(--green); }
.callout-orange { border-color: rgba(255, 184, 108, .16); background: rgba(255, 184, 108, .055); }
.callout-orange .callout-icon { color: var(--orange); }
.callout-red { border-color: rgba(255, 85, 85, .18); background: rgba(255, 85, 85, .055); }
.callout-red .callout-icon { color: var(--red); }

.tag-cloud {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tag-cloud-label {
  position: relative;
  z-index: 1;
}

.tag,
.table-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .375rem .625rem;
  border: .0625rem solid transparent;
  border-radius: .5rem;
  font-size: .625rem;
}

.tag-pink, .table-tag.tag-pink { background: rgba(255, 121, 198, .12); color: var(--pink); }
.tag-cyan, .table-tag.tag-cyan { background: rgba(139, 233, 253, .11); color: var(--cyan); }
.tag-green, .table-tag.tag-green { background: rgba(80, 250, 123, .1); color: var(--green); }
.tag-purple, .table-tag.tag-purple { background: rgba(189, 147, 249, .12); color: var(--purple); }
.tag-orange { background: rgba(255, 184, 108, .12); color: var(--orange); }
.tag-red { background: rgba(255, 85, 85, .12); color: var(--red); }
.tag-yellow { background: rgba(241, 250, 140, .12); color: var(--yellow); }

.philosophy-grid {
  align-items: stretch;
}

.insight-card {
  display: flex;
  flex: 1 1 16rem;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-6);
  border: .0625rem solid var(--line);
  border-radius: 1rem;
  background: rgba(36, 37, 49, .36);
}

.insight-index {
  color: var(--comment);
  font-size: .75rem;
}

.insight-card h3,
.scope-card h3,
.check-card h3,
.legal-card h3,
.result-card h3,
.promise-card h3,
.actual-heading h3,
.subsection-heading h3,
.client-outcome h3 {
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1.15;
}

.insight-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.big-glyph {
  color: var(--cyan);
  font-size: 2.75rem;
  font-weight: 300;
  line-height: 1;
}

.glyph-green {
  color: var(--green);
}

.mini-graph {
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
  padding-block-start: var(--space-4);
}

.mini-graph span {
  width: .4375rem;
  height: 1.875rem;
  border-radius: .25rem;
  background: rgba(255, 121, 198, .35);
}

.mini-graph span:nth-child(2) { height: 3.5rem; }
.mini-graph span:nth-child(3) { height: 2.75rem; }
.mini-graph span:nth-child(4) { height: 4.5rem; }
.mini-graph span:nth-child(5) { height: 3.75rem; }
.mini-graph span:nth-child(6) { height: 5rem; background: var(--pink); }
.mini-graph i { width: .5rem; height: .5rem; border: .125rem solid var(--pink); border-radius: 50%; }

.actual-panel {
  gap: var(--space-5);
  padding-block-start: var(--space-8);
  border-block-start: .0625rem solid var(--line);
}

.note-line {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding-block-start: var(--space-5);
  border-block-start: .0625rem solid var(--line);
}

.note-marker {
  padding: .25rem .5rem;
  border-radius: .375rem;
  background: rgba(241, 250, 140, .11);
  color: var(--yellow);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.actual-heading,
.subsection-heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.subsection-heading {
  position: relative;
  z-index: 1;
  padding-block-start: var(--space-8);
  border-block-start: .0625rem solid var(--line);
}

.compact-heading {
  padding-block-start: var(--space-6);
}

.scope-grid,
.checklist-grid,
.legal-grid,
.result-grid,
.promise-grid,
.severity-grid {
  align-items: stretch;
}

.scope-card,
.check-card,
.legal-card,
.result-card,
.promise-card,
.severity-card {
  gap: var(--space-4);
  padding: var(--space-5);
  border: .0625rem solid var(--line);
  border-radius: 1rem;
  background: rgba(36, 37, 49, .36);
}

.scope-card,
.check-card {
  flex: 1 1 calc((100% - 2rem) / 3);
}

.legal-card,
.result-card,
.promise-card {
  flex: 1 1 22rem;
}

.legal-card {
  flex: 1 1 calc((100% - var(--space-4)) / 2);
}

.scope-card-top,
.check-card-head,
.severity-top {
  gap: var(--space-3);
  color: var(--muted);
  font-size: .75rem;
}

.scope-card ul,
.check-card ul,
.legal-card ul,
.result-card ul,
.promise-card ul,
.client-outcome ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: 0;
  list-style: none;
}

.scope-card li,
.check-card li,
.legal-card li,
.result-card li,
.promise-card li,
.client-outcome li {
  position: relative;
  padding-inline-start: var(--space-5);
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.5;
}

.scope-card li::before,
.check-card li::before,
.legal-card li::before,
.result-card li::before,
.promise-card li::before {
  position: absolute;
  inset-block-start: .625rem;
  inset-inline-start: 0;
  width: .3125rem;
  height: .3125rem;
  border-radius: 50%;
  background: var(--comment);
  content: "";
}

.check-list li::before,
.client-outcome li::before {
  width: auto;
  height: auto;
  inset-block-start: 0;
  background: transparent;
  color: var(--green);
  content: "✓";
  font-weight: 800;
}

.legal-card .tag,
.check-card .tag,
.result-card .tag,
.promise-card .tag {
  align-self: flex-start;
}

.steps-layout {
  align-items: stretch;
}

.steps-list {
  display: flex;
  flex: 1 1 34rem;
  flex-direction: column;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-block-end: .0625rem solid var(--line);
}

.step-item:last-child {
  border-block-end: 0;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  flex: 0 0 auto;
  border: .0625rem solid var(--line-strong);
  border-radius: .625rem;
  color: var(--comment);
  font-size: .6875rem;
  font-weight: 700;
}

.step-item.is-current .step-number {
  border-color: rgba(189, 147, 249, .42);
  background: rgba(189, 147, 249, .13);
  color: var(--purple);
}

.step-item > div {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
}

.step-item h3 {
  font-size: 1rem;
  line-height: 1.3;
}

.step-item p {
  color: var(--muted);
  font-size: .9375rem;
}

.step-status {
  color: var(--muted);
  font-size: .75rem;
}

.step-status {
  flex: 0 0 auto;
  padding-block-start: var(--space-2);
  white-space: nowrap;
}

.step-item.is-current .step-status {
  color: var(--purple);
}

.table-wrap {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  border: .0625rem solid var(--line);
  border-radius: .875rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
}

th,
td {
  padding: var(--space-4);
  overflow-wrap: anywhere;
  vertical-align: top;
}

th {
  background: rgba(36, 37, 49, .48);
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

td {
  border-block-start: .0625rem solid var(--line);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

td:first-child {
  color: var(--text);
  font-weight: 600;
}

.definition-table {
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(36, 37, 49, .2);
}

.definition-table th {
  position: relative;
  width: 13rem;
  padding: var(--space-5) var(--space-6);
  border-block-start: .0625rem solid var(--line);
  border-inline-end: .0625rem solid var(--line);
  background: rgba(36, 37, 49, .58);
  color: var(--comment);
  font-size: .6875rem;
  letter-spacing: .1em;
}

.definition-table th::before {
  position: absolute;
  inset-block: var(--space-5);
  inset-inline-start: 0;
  width: .1875rem;
  border-radius: 0 .25rem .25rem 0;
  background: var(--purple);
  content: "";
}

.definition-table td {
  padding: var(--space-5) var(--space-6);
  border-block-start: .0625rem solid var(--line);
  background: rgba(48, 50, 65, .2);
  line-height: 1.6;
}

.definition-table tr:first-child th,
.definition-table tr:first-child td {
  border-block-start: 0;
}

.definition-table tr:nth-child(1) th::before { background: var(--cyan); }
.definition-table tr:nth-child(2) th::before { background: var(--orange); }
.definition-table tr:nth-child(3) th::before { background: var(--red); }
.definition-table tr:nth-child(4) th::before { background: var(--green); }
.definition-table tr:nth-child(5) th::before { background: var(--purple); }

.definition-table tr:nth-child(2) th { color: var(--orange); }

.table-dot {
  display: inline-block;
  width: .4375rem;
  height: .4375rem;
  margin-inline-end: var(--space-2);
  border-radius: 50%;
}

.dot-pink { background: var(--pink); }
.dot-purple { background: var(--purple); }
.dot-cyan { background: var(--cyan); }
.dot-green { background: var(--green); }

.severity-card {
  flex: 1 1 calc((100% - var(--space-4)) / 2);
}

.severity-card .risk-level {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
}

.severity-card .risk-level i {
  width: .375rem;
  height: .375rem;
  border-radius: 50%;
}

.severity-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.severity-critical { border-color: rgba(255, 85, 85, .22); }
.severity-critical .risk-level { color: var(--red); }
.severity-critical .risk-level i { background: var(--red); }
.severity-high { border-color: rgba(255, 184, 108, .2); }
.severity-high .risk-level { color: var(--orange); }
.severity-high .risk-level i { background: var(--orange); }
.severity-medium { border-color: rgba(241, 250, 140, .18); }
.severity-medium .risk-level { color: var(--yellow); }
.severity-medium .risk-level i { background: var(--yellow); }
.severity-recommendation { border-color: rgba(80, 250, 123, .18); }
.severity-recommendation .risk-level { color: var(--green); }
.severity-recommendation .risk-level i { background: var(--green); }

.client-outcome {
  flex: 1 1 24rem;
  gap: var(--space-5);
  justify-content: space-between;
  padding: var(--space-6);
  border: .0625rem solid rgba(139, 233, 253, .16);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(36, 37, 49, .58), rgba(52, 55, 70, .34));
}

.client-outcome-head {
  gap: var(--space-3);
  color: var(--muted);
  font-size: .75rem;
}

.client-outcome h3 {
  font-size: 1.5rem;
}

@media (min-width: 56.25rem) {
  .steps-layout {
    gap: var(--space-6);
  }

  .steps-list {
    padding: var(--space-4);
    border: .0625rem solid var(--line);
    border-radius: 1rem;
    background: rgba(36, 37, 49, .2);
  }

  .steps-list .step-item:first-child {
    padding-block-start: 0;
  }

  .steps-list .step-item:last-child {
    padding-block-end: 0;
  }
}

.cta-card {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  padding: var(--space-14) var(--space-12);
  border-color: rgba(189, 147, 249, .22);
  background: linear-gradient(120deg, rgba(90, 65, 132, .63), rgba(48, 50, 65, .93) 62%);
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 40%, rgba(139, 233, 253, .12), transparent 29%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  gap: var(--space-5);
  flex: 1 1 auto;
  min-width: 0;
}

.cta-content .section-number {
  color: var(--cyan);
}

.cta-content h2 {
  font-size: 3rem;
  line-height: 1.05;
}

.cta-content h2 em {
  color: var(--cyan);
}

.cta-content p {
  max-width: 34rem;
}

.button-light {
  background: var(--text);
  color: #272733;
}

.button-light:hover {
  border-color: rgba(248, 248, 242, .65);
  background: #fff;
}

.text-link-light {
  color: rgba(248, 248, 242, .78);
}

.text-link-light:hover {
  color: var(--text);
}

.cta-orbit {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 10%;
  width: 13.75rem;
  height: 13.75rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.orbit {
  position: absolute;
  inset: 0;
  border: .0625rem solid rgba(139, 233, 253, .28);
  border-radius: 50%;
  transform: rotate(-25deg) scaleY(.42);
}

.orbit-two {
  inset: .9375rem -.3125rem;
  border-color: rgba(189, 147, 249, .36);
  transform: rotate(44deg) scaleY(.47);
}

.orbit-center {
  position: absolute;
  inset: 50% auto auto 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.875rem;
  height: 3.875rem;
  border: .0625rem solid rgba(248, 248, 242, .45);
  border-radius: 1.1875rem;
  background: linear-gradient(135deg, var(--cyan), #5bb8d7);
  color: #252633;
  font-size: 1.625rem;
  transform: translate(-50%, -50%);
}

.site-footer {
  flex-wrap: wrap;
  gap: var(--space-4);
  color: var(--comment);
  font-size: .75rem;
}

.footer-center {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-center i {
  width: .3125rem;
  height: .3125rem;
  border-radius: 50%;
  background: var(--pink);
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.site-footer .icon,
.back-to-top .icon {
  transform: rotate(-90deg);
}

.back-to-top {
  position: fixed;
  right: var(--space-6);
  bottom: var(--space-6);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: .0625rem solid rgba(189, 147, 249, .24);
  border-radius: .75rem;
  background: rgba(48, 50, 65, .92);
  color: var(--purple);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  border-color: rgba(189, 147, 249, .5);
  background: var(--current);
}

.js-ready .reveal-section,
.js-ready .reveal-section.is-visible,
.reveal-section {
  opacity: 1;
  transform: none;
}

@media (max-width: 62.5rem) {
  .sidebar {
    flex-basis: 16rem;
  }

  .sidebar-inner {
    padding-inline: var(--space-5);
  }

  .main-content {
    padding-inline: var(--space-6);
  }

  .hero-card,
  .content-card,
  .cta-card {
    padding-inline: var(--space-8);
  }
}

@media (max-width: 81.25rem) {
  .metric-card {
    flex-basis: calc((100% - var(--space-3)) / 2);
  }

  .insight-card {
    flex-basis: 100%;
  }

  .table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .dense-table,
  .dense-table tbody,
  .dense-table tr,
  .dense-table td {
    display: flex;
    width: 100%;
  }

  .dense-table {
    flex-direction: column;
  }

  .dense-table thead {
    display: none;
  }

  .dense-table tbody {
    flex-direction: column;
    gap: var(--space-4);
  }

  .dense-table tr {
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-5);
    border: .0625rem solid var(--line);
    border-radius: 1rem;
    background: rgba(36, 37, 49, .36);
  }

  .dense-table td {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-1);
    padding: 0;
    border: 0;
  }

  .dense-table td + td {
    padding-block-start: var(--space-4);
    border-block-start: .0625rem solid var(--line);
  }

  .dense-table td::before {
    color: var(--comment);
    content: attr(data-label);
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .definition-table tr {
    gap: var(--space-2);
  }

  .definition-table th {
    position: static;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--comment);
    font-size: .6875rem;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .definition-table th::before {
    display: none;
  }

  .definition-table td {
    background: transparent;
  }

  .definition-table td::before {
    display: none;
    content: none;
  }
}

@media (max-width: 75rem) {
  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .split-heading {
    align-items: stretch;
    flex-direction: column;
    gap: var(--space-5);
  }

  .split-heading > div,
  .split-heading > p {
    flex: 0 1 auto;
  }

  .metric-card {
    flex-basis: calc((100% - var(--space-3)) / 2);
  }

  .scope-card,
  .check-card,
  .legal-card,
  .result-card,
  .promise-card,
  .severity-card {
    flex-basis: calc((100% - var(--space-4)) / 2);
  }

  .steps-layout {
    align-items: stretch;
    flex-direction: column;
  }

  .steps-list,
  .client-outcome,
  .cta-content {
    width: 100%;
  }

  .steps-list,
  .client-outcome {
    flex: 0 1 auto;
  }

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

  .cta-content h2 {
    font-size: 2.5rem;
  }

  .cta-orbit {
    position: relative;
    inset: auto;
    align-self: center;
    width: 11.25rem;
    height: 11.25rem;
    transform: none;
  }
}

@media (max-width: 56.25rem) {
  body.menu-open {
    overflow: hidden;
  }

  .site-shell {
    display: block;
  }

  .sidebar {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: block;
    width: 100%;
    background: linear-gradient(145deg, rgba(32, 33, 43, .98), rgba(40, 42, 54, .98));
    box-shadow: 0 1.75rem 4rem rgba(12, 12, 23, .45);
    transform: translateY(-102%);
    overflow: hidden;
    transition: transform .22s ease !important;
  }

  .sidebar::before {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 92% 8%, rgba(189, 147, 249, .2), transparent 27%), radial-gradient(circle at 8% 76%, rgba(139, 233, 253, .1), transparent 24%);
    content: "";
    pointer-events: none;
  }

  .sidebar.is-open {
    transform: translateY(0);
  }

  .sidebar-inner {
    position: relative;
    z-index: 1;
    height: 100vh;
    height: 100dvh;
    gap: var(--space-6);
    padding: var(--space-6) var(--space-6) var(--space-8);
    overscroll-behavior: contain;
  }

  .sidebar-backdrop {
    display: block;
  }

  .sidebar-close,
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-header {
    display: flex;
  }

  .sidebar-close {
    width: 2.75rem;
    height: 2.75rem;
    border: .0625rem solid var(--line);
    border-radius: 50%;
    background: rgba(68, 71, 90, .46);
    color: var(--purple);
    cursor: pointer;
  }

  .sidebar-close .icon {
    width: 1.125rem;
  }

  .sidebar-topline {
    padding-block-end: var(--space-5);
    border-block-end: .0625rem solid var(--line);
  }

  .doc-meta {
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border: .0625rem solid rgba(80, 250, 123, .16);
    border-radius: 1rem;
    background: rgba(80, 250, 123, .055);
  }

  .doc-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-2);
  }

  .nav-label {
    flex: 1 1 100%;
    padding-block-end: var(--space-2);
    color: var(--cyan);
  }

  .nav-link {
    flex: 1 1 calc(50% - var(--space-2));
    align-items: center;
    padding: var(--space-4);
    border-color: rgba(248, 248, 242, .1);
    border-radius: 1rem;
    background: rgba(48, 50, 65, .45);
    color: var(--muted);
  }

  .nav-link.is-active {
    border-color: rgba(189, 147, 249, .34);
    background: linear-gradient(135deg, rgba(189, 147, 249, .2), rgba(68, 71, 90, .52));
    color: var(--text);
  }

  .nav-icon {
    width: 2rem;
    height: 2rem;
    border: .0625rem solid rgba(248, 248, 242, .12);
    border-radius: .625rem;
    background: rgba(32, 33, 43, .38);
  }

  .nav-link.is-active .nav-icon {
    border-color: rgba(189, 147, 249, .32);
    background: rgba(189, 147, 249, .16);
  }

  .sidebar-note {
    margin-block-start: 0;
    padding: var(--space-4);
  }

  .sidebar-footer {
    padding-block-start: var(--space-4);
    border-block-start: .0625rem solid var(--line);
  }

  .sidebar-backdrop {
    transition: opacity .18s ease, visibility .18s ease !important;
  }

  .mobile-header {
    position: sticky;
    top: 0;
    z-index: 8;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    border-block-end: .0625rem solid var(--line);
    background: rgba(40, 42, 54, .92);
    backdrop-filter: blur(1rem);
  }

  .menu-toggle {
    width: 2.75rem;
    height: 2.75rem;
    border: .0625rem solid rgba(189, 147, 249, .36);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(189, 147, 249, .18), rgba(68, 71, 90, .52));
    color: var(--text);
    cursor: pointer;
  }

  .main-content {
    padding: var(--space-6) var(--space-5) 3.5rem;
  }

}

@media (max-width: 43.75rem) {
  .hero-card,
  .content-card,
  .cta-card {
    border-radius: 1.25rem;
    padding: var(--space-8) var(--space-6);
  }

  .hero-copy {
    gap: var(--space-5);
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .split-heading {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-5);
  }

  .section-heading > p,
  .split-heading > p {
    flex: 0 1 auto;
  }

  .split-heading > div {
    flex: 0 1 auto;
  }

  .hero-metrics,
  .summary-grid,
  .philosophy-grid,
  .scope-grid,
  .checklist-grid,
  .legal-grid,
  .result-grid,
  .promise-grid,
  .severity-grid,
  .steps-layout {
    flex-direction: column;
  }

  .metric-card,
  .summary-block,
  .insight-card,
  .scope-card,
  .check-card,
  .legal-card,
  .result-card,
  .promise-card,
  .severity-card,
  .steps-list,
  .client-outcome {
    flex-basis: auto;
  }

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

  .cta-content h2 {
    font-size: 2.25rem;
  }

  .cta-orbit {
    position: relative;
    inset: auto;
    align-self: center;
    width: 11.25rem;
    height: 11.25rem;
    transform: none;
  }

  .step-status {
    white-space: normal;
    text-align: right;
  }
}

@media (max-width: 26.25rem) {
  .nav-link {
    flex-basis: 100%;
  }

  .mobile-header {
    padding-inline: var(--space-4);
  }

  .mobile-header .brand {
    gap: var(--space-2);
  }

  .mobile-header .brand-mark {
    width: 2.25rem;
    height: 2.25rem;
  }

  .mobile-header .brand-mark .icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .mobile-header .brand-copy strong {
    font-size: 1rem;
  }

  .mobile-header .brand-copy small {
    font-size: .625rem;
  }

  .hero-actions,
  .cta-actions {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .step-item {
    flex-wrap: wrap;
  }

  .step-item > div {
    flex-basis: calc(100% - 3rem);
  }

  .step-status {
    margin-inline-start: 3rem;
    padding-block-start: 0;
    text-align: left;
  }
}

@media print {
  :root {
    --bg: #fff;
    --panel: #fff;
    --panel-strong: #fff;
    --text: #111;
    --muted: #444;
    --comment: #666;
    --line: #ddd;
  }

  body {
    background: #fff;
    color: #111;
  }

  body::before,
  .ambient,
  .mobile-header,
  .back-to-top,
  .sidebar-backdrop,
  .sidebar,
  .cta-orbit,
  .hero-actions,
  .site-footer {
    display: none !important;
  }

  .site-shell,
  .main-content {
    display: block;
    max-width: none;
    padding: 0;
  }

  .doc-card,
  .cta-card {
    break-inside: avoid;
    border: .0625rem solid #ddd;
    background: #fff;
    box-shadow: none;
  }

  h1, h2, h3, .section-number {
    color: #111;
  }
}
