:root {
  --ad-ink: #0b1220;
  --ad-ink-2: #111827;
  --ad-hero: #0b1120;
  --ad-paper: #f7f8fa;
  --ad-surface: #ffffff;
  --ad-surface-muted: #f3f5f8;
  --ad-border: #e5e8ee;
  --ad-border-strong: #d6dbe3;
  --ad-muted: #67718a;
  --ad-muted-foreground: #4a546b;
  --ad-blue: #2a5cff;
  --ad-blue-2: #3b82f6;
  --ad-cyan: #0ea5e9;
  --ad-blue-soft: #e6efff;
  --ad-green: #16a34a;
  --ad-green-soft: #e8f7ee;
  --ad-amber: #d97706;
  --ad-amber-soft: #fdf2db;
  --ad-red: #dc2626;
  --ad-red-soft: #fde8e8;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 46px rgba(15, 23, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--ad-paper);
  color: var(--ad-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
[role="button"],
a {
  -webkit-tap-highlight-color: transparent;
}

.landing-page {
  min-height: 100vh;
  overflow-x: hidden;
}

.landing-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.landing-container-wide {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: 76px;
  border-bottom: 1px solid rgba(214, 219, 227, 0.12);
  background: rgba(11, 17, 32, 0.9);
  color: #ffffff;
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 100%;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 18px;
  font-weight: 720;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.mark-plane-light {
  fill: #e2e8f0;
}

.mark-plane-dark {
  fill: #0f172a;
}

.mark-plane-blue {
  fill: var(--ad-blue-2);
}

.mark-plane-cyan {
  fill: var(--ad-cyan);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #c8d2e2;
  font-size: 14px;
  letter-spacing: 0;
}

.site-nav a,
.header-login,
.header-access,
.action-link,
.button {
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.header-login:hover,
.action-link:hover {
  color: #ffffff;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 8px;
  color: #c8d2e2;
  font-size: 14px;
  font-weight: 650;
}

.header-access {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 0 16px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 650;
}

.header-access:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-section {
  position: relative;
  min-height: 88svh;
  padding: 132px 0 76px;
  background: var(--ad-hero);
  color: #ffffff;
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.035;
  background-image: linear-gradient(#ffffff 1px, transparent 1px), linear-gradient(90deg, #ffffff 1px, transparent 1px);
  background-size: 72px 72px;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 220px;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0), rgba(11, 17, 32, 0.96));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(450px, 0.95fr);
  gap: 60px;
  align-items: center;
}

.eyebrow,
.section-label,
.canvas-header,
.panel-heading span,
.trust-strip article > span,
.workflow-pipeline article > span,
.module-grid article > span,
.status-pill {
  margin: 0;
  color: #8da2c5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 900px;
  margin: 18px 0 0;
  font-size: 58px;
  line-height: 1.02;
  font-weight: 760;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 740px;
  margin: 26px 0 0;
  color: #d7dfeb;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 19px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.button-primary {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--ad-ink);
}

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

.action-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #d7dfeb;
  font-size: 14px;
  font-weight: 650;
}

.hero-proof-line {
  margin-top: 24px;
  max-width: 680px;
  color: #8da2c5;
  font-size: 12px;
  line-height: 1.5;
}

.hero-trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  max-width: 680px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: #d7dfeb;
  font-size: 13px;
}

.hero-trust-list li {
  position: relative;
  padding-left: 18px;
}

.hero-trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ad-blue-2);
}

.operating-canvas {
  position: relative;
  border: 1px solid rgba(214, 219, 227, 0.16);
  border-radius: 8px;
  background: rgba(11, 17, 32, 0.6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.operating-canvas:hover,
.operating-canvas:focus-within {
  border-color: rgba(125, 211, 252, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.canvas-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border-bottom: 1px solid rgba(214, 219, 227, 0.16);
  padding: 0 18px;
  color: #b8c4d8;
}

.canvas-header strong {
  color: #ffffff;
  font-size: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ad-blue-2);
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.13);
}

.canvas-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-bottom: 1px solid rgba(214, 219, 227, 0.14);
  background: rgba(214, 219, 227, 0.12);
}

.canvas-metrics div {
  min-width: 0;
  background: rgba(11, 17, 32, 0.42);
  padding: 14px 16px;
}

.canvas-metrics span {
  display: block;
  color: #8da2c5;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.canvas-metrics strong {
  display: block;
  margin-top: 6px;
  color: #ffffff;
  font-size: 14px;
}

.canvas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px;
}

.system-panel,
.execution-log {
  min-width: 0;
  border: 1px solid rgba(214, 219, 227, 0.18);
  border-radius: 8px;
  background: rgba(11, 17, 32, 0.5);
  color: #e6edf7;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.canvas-metrics div {
  transition: background 180ms ease, transform 180ms ease;
}

.operating-canvas:hover .canvas-metrics div,
.operating-canvas:focus-within .canvas-metrics div {
  background: rgba(11, 17, 32, 0.54);
}

.operating-canvas:hover .intake-panel,
.operating-canvas:focus-within .intake-panel {
  transform: translateY(-2px);
}

.operating-canvas:hover .execution-log,
.operating-canvas:focus-within .execution-log {
  border-color: rgba(125, 211, 252, 0.28);
  transform: translateY(-2px);
}

.operating-canvas:hover .provider-panel,
.operating-canvas:focus-within .provider-panel {
  transform: translateX(2px);
}

.operating-canvas:hover .evidence-panel,
.operating-canvas:focus-within .evidence-panel {
  transform: translateY(2px);
}

.operating-canvas:hover .status-dot,
.operating-canvas:focus-within .status-dot {
  animation: statusPulse 1.45s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% {
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.13);
  }

  50% {
    box-shadow: 0 0 0 9px rgba(125, 211, 252, 0.2);
  }
}

.execution-log {
  grid-row: span 2;
  padding: 16px;
  background: rgba(7, 12, 24, 0.68);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.system-panel {
  padding: 16px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.panel-heading strong {
  color: #ffffff;
  font-size: 12px;
}

.statement-lines,
.status-stack,
.evidence-lines {
  display: grid;
  gap: 10px;
}

.statement-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(214, 219, 227, 0.13);
  border-left: 3px solid rgba(59, 130, 246, 0.55);
  border-radius: 6px;
  padding: 9px 10px;
  color: #ccd6e6;
  font-size: 12px;
}

.statement-line strong {
  color: #ffffff;
  font-size: 12px;
}

.statement-line.flagged {
  border-color: rgba(217, 119, 6, 0.5);
  border-left-color: var(--ad-amber);
  background: rgba(217, 119, 6, 0.11);
}

.log-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 34px;
  border-top: 1px solid rgba(214, 219, 227, 0.1);
  color: #cbd5e1;
  font-size: 11px;
}

.log-line time {
  color: #72819b;
}

.log-line strong {
  color: var(--ad-green);
  font-size: 10px;
  text-transform: uppercase;
}

.log-line.warning strong {
  color: var(--ad-amber);
}

.log-line.pending strong {
  color: var(--ad-blue-2);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 11px;
}

.status-pill.clear {
  border-color: rgba(22, 163, 74, 0.24);
  background: rgba(22, 163, 74, 0.12);
  color: #a7f3d0;
}

.status-pill.review {
  border-color: rgba(217, 119, 6, 0.3);
  background: rgba(217, 119, 6, 0.12);
  color: #fde68a;
}

.status-pill.hit {
  border-color: rgba(220, 38, 38, 0.3);
  background: rgba(220, 38, 38, 0.12);
  color: #fecaca;
}

.evidence-lines span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(226, 232, 240, 0.22);
}

.evidence-lines span:nth-child(2) {
  width: 74%;
}

.evidence-lines span:nth-child(3) {
  width: 48%;
}

.approval-gate {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 18px;
  border: 1px solid rgba(59, 130, 246, 0.44);
  border-radius: 6px;
  padding: 0 10px;
  background: rgba(59, 130, 246, 0.12);
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 650;
}

.trust-strip-section {
  border-bottom: 1px solid var(--ad-border);
  background: var(--ad-surface);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--ad-border);
}

.trust-strip article {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 0 10px;
  align-items: center;
  min-height: 196px;
  border-right: 1px solid var(--ad-border);
  padding: 28px 24px;
}

.trust-strip article > span,
.module-grid article > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0;
  color: var(--ad-ink);
  vertical-align: top;
}

.workflow-pipeline article > span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--ad-blue);
}

.card-icon {
  display: inline-flex;
  width: 21px;
  height: 21px;
  margin: 0;
  color: var(--ad-blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-strip .card-icon,
.module-grid .card-icon {
  opacity: 0.92;
}

.trust-strip h2,
.module-grid h3 {
  min-width: 0;
}

.trust-strip p,
.module-grid p {
  grid-column: 1 / -1;
}

.trust-strip h2,
.workflow-pipeline h3,
.module-grid h3,
.faq-list h3 {
  margin: 0;
  color: var(--ad-ink);
  font-size: 18px;
  line-height: 1.25;
}

.trust-strip p,
.workflow-pipeline p,
.module-grid p,
.faq-list p {
  margin: 12px 0 0;
  color: var(--ad-muted-foreground);
  font-size: 14px;
  line-height: 1.58;
}

.section,
.access-section,
.trust-strip-section {
  scroll-margin-top: 88px;
}

.section {
  border-bottom: 1px solid var(--ad-border);
  padding: 88px 0;
  background: var(--ad-paper);
}

.problem-section,
.comparison-section,
.faq-section {
  background: var(--ad-surface);
}

.section-split {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.section-label {
  color: var(--ad-blue);
}

.section-copy h2,
.section-header h2,
.access-copy h2 {
  margin: 0;
  max-width: 820px;
  color: var(--ad-ink);
  font-size: 42px;
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: 0;
}

.section-copy p,
.section-header p,
.access-copy p {
  max-width: 820px;
  margin: 20px 0 0;
  color: var(--ad-muted-foreground);
  font-size: 18px;
  line-height: 1.64;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--ad-border);
  border-left: 1px solid var(--ad-border);
}

.problem-grid span {
  min-height: 58px;
  border-right: 1px solid var(--ad-border);
  border-bottom: 1px solid var(--ad-border);
  padding: 18px;
  color: var(--ad-ink);
  font-size: 14px;
  font-weight: 650;
}

.section-header {
  max-width: 860px;
  margin-bottom: 42px;
}

.section-header.compact {
  margin-bottom: 34px;
}

.workflow-pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ad-border-strong);
  border-left: 1px solid var(--ad-border-strong);
  background: var(--ad-surface);
}

.workflow-pipeline article {
  min-height: 230px;
  border-right: 1px solid var(--ad-border-strong);
  border-bottom: 1px solid var(--ad-border-strong);
  padding: 24px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.module-grid article {
  min-height: 218px;
  border: 1px solid var(--ad-border);
  border-radius: 8px;
  background: var(--ad-surface);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}

.control-plane-section {
  background: #eef2f7;
}

.control-plane {
  border: 1px solid var(--ad-border-strong);
  border-radius: 10px;
  background: var(--ad-surface);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.workspace-shell {
  border: 1px solid var(--ad-border);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  overflow: hidden;
}

.workspace-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  border-bottom: 1px solid var(--ad-border);
  padding: 0 18px;
}

.workspace-topline span,
.workspace-zone span,
.workspace-provider-row span {
  color: var(--ad-blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.workspace-topline strong {
  color: var(--ad-ink);
  font-size: 13px;
}

.workspace-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.workspace-zone {
  position: relative;
  min-height: 118px;
  border: 1px solid var(--ad-border);
  border-radius: 8px;
  background: var(--ad-paper);
  padding: 16px;
}

.workspace-zone::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ad-blue);
  opacity: 0.42;
}

.workspace-zone strong,
.workspace-provider-row strong {
  display: block;
  margin-top: 10px;
  color: var(--ad-ink);
  font-size: 15px;
  line-height: 1.25;
}

.workspace-zone small {
  display: block;
  margin-top: 12px;
  color: var(--ad-muted-foreground);
  font-size: 12px;
  line-height: 1.45;
}

.data-zone {
  border-left: 3px solid var(--ad-blue);
}

.agent-zone {
  border-left: 3px solid var(--ad-cyan);
}

.review-zone {
  border-left: 3px solid var(--ad-amber);
}

.evidence-zone {
  border-left: 3px solid var(--ad-green);
}

.workspace-provider-row {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 1px;
  border-top: 1px solid var(--ad-border);
  background: var(--ad-border);
}

.workspace-provider-row div {
  min-width: 0;
  background: #f8fbff;
  padding: 16px 18px;
}

.control-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.control-list li {
  border-left: 2px solid var(--ad-blue);
  padding: 3px 0 3px 14px;
  color: var(--ad-muted-foreground);
  font-size: 15px;
  line-height: 1.5;
}

.comparison-table {
  border-top: 1px solid var(--ad-border-strong);
  border-left: 1px solid var(--ad-border-strong);
}

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

.comparison-row span,
.comparison-row strong {
  border-right: 1px solid var(--ad-border-strong);
  border-bottom: 1px solid var(--ad-border-strong);
  padding: 20px;
  font-size: 15px;
  line-height: 1.5;
}

.comparison-row span {
  color: var(--ad-muted-foreground);
}

.comparison-row strong {
  color: var(--ad-ink);
  font-weight: 700;
}

.comparison-head span {
  background: var(--ad-surface-muted);
  color: var(--ad-ink);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.market-section {
  background: var(--ad-paper);
}

.access-section {
  padding: 96px 0;
  background: var(--ad-hero);
  color: #ffffff;
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.78fr);
  gap: 72px;
  align-items: start;
}

.access-copy .section-label {
  color: #8da2c5;
}

.access-copy h2 {
  color: #ffffff;
}

.access-copy p {
  color: #d7dfeb;
}

.access-principles {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin-top: 34px;
}

.access-principles span {
  border-left: 2px solid var(--ad-blue-2);
  padding: 5px 0 5px 14px;
  color: #d7dfeb;
  font-size: 14px;
  font-weight: 650;
}

.access-form {
  border: 1px solid rgba(214, 219, 227, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 26px;
}

.form-header {
  margin-bottom: 22px;
}

.form-header h3 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.2;
}

.form-header p {
  margin: 8px 0 0;
  color: #b8c4d8;
  font-size: 14px;
  line-height: 1.5;
}

.access-form label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.access-form label span {
  color: #d7dfeb;
  font-size: 13px;
  font-weight: 650;
}

.access-form input,
.access-form select,
.access-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(214, 219, 227, 0.28);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 10px 12px;
  outline: none;
}

.access-form textarea {
  resize: vertical;
  min-height: 112px;
}

.access-form input:focus,
.access-form select:focus,
.access-form textarea:focus {
  border-color: var(--ad-blue-2);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.access-form option {
  color: var(--ad-ink);
}

.access-form textarea::placeholder {
  color: #8794aa;
}

.button-submit {
  width: 100%;
  margin-top: 18px;
  border-color: var(--ad-blue);
  background: var(--ad-blue);
  color: #ffffff;
}

.form-status {
  margin: 14px 0 0;
  color: #b8c4d8;
  font-size: 13px;
  line-height: 1.5;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--ad-border);
  border-left: 1px solid var(--ad-border);
}

.faq-list article {
  min-height: 158px;
  border-right: 1px solid var(--ad-border);
  border-bottom: 1px solid var(--ad-border);
  padding: 24px;
}

.site-footer {
  border-top: 1px solid var(--ad-border);
  background: var(--ad-surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 72px;
  padding: 54px 0 38px;
}

.footer-brand-block {
  max-width: 560px;
}

.footer-brand {
  color: var(--ad-ink);
  font-size: 24px;
}

.footer-mark {
  width: 56px;
  height: 56px;
}

.footer-brand-block p {
  margin: 20px 0 0;
  color: var(--ad-muted-foreground);
  font-size: 15px;
  line-height: 1.65;
}

.footer-parent {
  display: inline-flex;
  margin-top: 18px;
  border-left: 2px solid var(--ad-blue);
  padding-left: 12px;
  color: var(--ad-ink);
  font-size: 14px;
  font-weight: 700;
}

.footer-parent:hover,
.footer-nav a:hover {
  color: var(--ad-blue);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 46px;
}

.footer-nav h2 {
  margin: 0 0 16px;
  color: var(--ad-ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-nav a {
  display: block;
  margin-top: 10px;
  color: var(--ad-muted-foreground);
  font-size: 14px;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--ad-border);
  padding: 20px 0 28px;
  color: var(--ad-muted);
  font-size: 12px;
}

.legal-page {
  background: var(--ad-paper);
  color: var(--ad-ink);
}

.legal-header {
  padding: 116px 0 48px;
  background: var(--ad-hero);
  color: #ffffff;
}

.legal-header h1 {
  max-width: 900px;
  margin: 16px 0 0;
  font-size: 48px;
  line-height: 1.08;
}

.legal-header p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #d7dfeb;
  font-size: 17px;
  line-height: 1.6;
}

.legal-content {
  padding: 64px 0 88px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 104px;
  border: 1px solid var(--ad-border);
  background: var(--ad-surface);
  padding: 22px;
}

.legal-sidebar span {
  color: var(--ad-blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-sidebar strong {
  display: block;
  margin-top: 8px;
  color: var(--ad-ink);
  font-size: 16px;
}

.legal-sidebar p {
  margin: 14px 0 0;
  color: var(--ad-muted-foreground);
  font-size: 13px;
  line-height: 1.55;
}

.legal-content article {
  max-width: 980px;
  border: 1px solid var(--ad-border);
  background: var(--ad-surface);
  padding: 42px;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: 24px;
  line-height: 1.25;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--ad-muted-foreground);
  font-size: 15px;
  line-height: 1.68;
}

.legal-content ul {
  padding-left: 20px;
}

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

  .operating-canvas {
    max-width: 720px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-pipeline {
    grid-template-columns: 1fr;
  }

  .workflow-pipeline article {
    min-height: 0;
  }

  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hero-section {
    min-height: 0;
    padding: 112px 0 54px;
  }

  .hero-copy h1 {
    font-size: 34px;
    line-height: 1.1;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-trust-list,
  .canvas-metrics,
  .canvas-grid,
  .trust-strip,
  .section-split,
  .module-grid,
  .workspace-map,
  .workspace-provider-row,
  .comparison-row,
  .faq-list,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .section-copy h2,
  .section-header h2,
  .access-copy h2 {
    font-size: 31px;
    line-height: 1.14;
  }

  .section-copy p,
  .section-header p,
  .access-copy p {
    font-size: 16px;
  }

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

  .footer-grid,
  .footer-nav,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 32px;
    padding: 42px 0 30px;
  }

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

  .legal-header h1 {
    font-size: 34px;
  }

  .legal-content article {
    padding: 24px;
  }

  .legal-sidebar {
    position: static;
  }

  .workspace-topline {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 16px;
  }
}

@media (max-width: 520px) {
  .landing-container,
  .landing-container-wide {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    gap: 16px;
  }

  .brand-lockup {
    font-size: 16px;
  }

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

  .header-access {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .action-link {
    width: 100%;
    justify-content: center;
  }

  .operating-canvas {
    border-radius: 8px;
  }

  .canvas-header {
    grid-template-columns: auto 1fr;
    gap: 8px 10px;
    min-height: 0;
    padding: 14px;
  }

  .canvas-header span:not(.status-dot) {
    min-width: 0;
    font-size: 10px;
    line-height: 1.25;
  }

  .canvas-header strong {
    grid-column: 1 / -1;
    margin-left: 18px;
    font-size: 11px;
    line-height: 1.25;
  }

  .canvas-metrics div {
    padding: 11px 14px;
  }

  .canvas-metrics span {
    font-size: 9px;
  }

  .canvas-metrics strong {
    margin-top: 4px;
    font-size: 13px;
  }

  .canvas-grid {
    gap: 12px;
    padding: 14px;
  }

  .system-panel,
  .execution-log {
    padding: 14px;
  }

  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .panel-heading strong {
    font-size: 11px;
  }

  .trust-strip article,
  .module-grid article {
    min-height: 0;
    padding: 22px 20px;
  }

  .trust-strip article,
  .module-grid article {
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 0 8px;
  }

  .trust-strip article > span,
  .module-grid article > span {
    min-height: 20px;
    margin: 0;
    color: var(--ad-ink);
    font-size: 11px;
  }

  .trust-strip .card-icon,
  .module-grid .card-icon {
    width: 17px;
    height: 17px;
    margin: 0;
    color: var(--ad-blue);
    stroke-width: 1.65;
  }

  .log-line {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 9px 0;
  }

  .access-form {
    padding: 20px;
  }
}

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