:root {
  --ink: #10231d;
  --ink-soft: #395148;
  --forest: #123d31;
  --forest-light: #1a5846;
  --mint: #b9e8d0;
  --mint-pale: #eaf7f0;
  --lime: #d5ee65;
  --cream: #f7f5ee;
  --paper: #fffefa;
  --line: #dfe5df;
  --muted: #6f7f78;
  --danger: #a33a37;
  --danger-pale: #fbeceb;
  --warning: #8b6114;
  --warning-pale: #fff4d7;
  --shadow: 0 22px 60px rgba(16, 35, 29, 0.11);
  --radius: 22px;
  --font-display: "Aptos Display", "Segoe UI", sans-serif;
  --font-body: "Aptos", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--paper);
  background: var(--forest);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.brand small {
  margin-top: 1px;
  color: var(--muted);
  font: 600 9px/1.2 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.text-link:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(26, 88, 70, 0.3);
  outline-offset: 3px;
}

.button-small {
  min-height: 42px;
  padding: 0 17px;
  border-radius: 11px;
}

.button-primary {
  color: white;
  background: var(--forest);
  box-shadow: 0 12px 30px rgba(18, 61, 49, 0.2);
}

.button-primary:hover {
  background: var(--forest-light);
  box-shadow: 0 15px 35px rgba(18, 61, 49, 0.26);
}

.button-ink {
  color: white;
  background: var(--ink);
}

.button-light {
  color: var(--forest);
  background: var(--lime);
}

.button-secondary {
  border: 1px solid var(--line);
  background: white;
}

.button-danger {
  color: var(--danger);
  border: 1px solid #edc5c3;
  background: var(--danger-pale);
}

.button[disabled] {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.hero {
  position: relative;
  display: grid;
  width: min(1180px, calc(100% - 48px));
  min-height: 690px;
  margin: 0 auto;
  padding: 86px 0 112px;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 76px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -120px;
  right: -12vw;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 232, 208, 0.48), rgba(185, 232, 208, 0) 69%);
  content: "";
}

.eyebrow {
  margin: 0 0 19px;
  color: var(--forest-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--mint);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 660px;
  margin-bottom: 26px;
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 600;
}

.hero-lead {
  max-width: 610px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  margin-top: 37px;
  align-items: center;
  gap: 28px;
}

.text-link {
  padding: 8px 0;
  border-bottom: 1px solid var(--ink);
  font-weight: 700;
}

.trust-row {
  display: flex;
  margin-top: 47px;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.trust-row span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-row span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest-light);
  content: "";
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: 9% -7% -7% 9%;
  border-radius: 28px;
  background: var(--mint);
  content: "";
  transform: rotate(3deg);
}

.signal-card {
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(223, 229, 223, 0.9);
  border-radius: 27px;
  background: rgba(255, 254, 250, 0.95);
  box-shadow: var(--shadow);
}

.signal-card-header {
  display: flex;
  padding-bottom: 20px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4aa87e;
  box-shadow: 0 0 0 5px rgba(74, 168, 126, 0.12);
}

.status-pill {
  display: inline-flex;
  min-height: 26px;
  padding: 0 10px;
  align-items: center;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.signal-card-header .status-pill {
  margin-left: auto;
}

.status-new {
  color: #43524b;
  background: #edf0ee;
}

.status-processing {
  color: #28594a;
  background: var(--mint-pale);
}

.status-drafted {
  color: #17613f;
  background: #def5e8;
}

.status-below_threshold,
.status-suppressed {
  color: #73602d;
  background: var(--warning-pale);
}

.status-needs_review,
.status-error {
  color: var(--danger);
  background: var(--danger-pale);
}

.score-panel {
  display: grid;
  padding: 32px 0;
  grid-template-columns: 116px 1fr;
  align-items: center;
  gap: 24px;
}

.score-ring {
  display: grid;
  width: 112px;
  height: 112px;
  place-content: center;
  border: 8px solid var(--mint);
  border-radius: 50%;
  text-align: center;
}

.score-ring strong {
  font: 600 32px/1 var(--font-display);
}

.score-ring span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.score-panel h2 {
  margin-bottom: 9px;
  font-size: 22px;
}

.score-panel p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.mini-email {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.mini-email strong {
  display: block;
  margin: 9px 0;
  font: 600 15px/1.45 var(--font-display);
}

.mini-email p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.guardrail-row {
  display: flex;
  padding-top: 20px;
  gap: 18px;
  color: var(--forest-light);
  font-size: 11px;
  font-weight: 700;
}

.proof-strip {
  display: grid;
  padding: 35px max(24px, calc((100vw - 1180px) / 2));
  grid-template-columns: repeat(4, 1fr);
  color: white;
  background: var(--forest);
}

.proof-strip div {
  display: flex;
  min-height: 52px;
  padding: 0 35px;
  align-items: center;
  gap: 13px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.proof-strip div:first-child {
  padding-left: 0;
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  color: var(--lime);
  font: 600 26px/1 var(--font-display);
}

.proof-strip span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  line-height: 1.3;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 128px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  column-gap: 100px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2,
.control-copy h2,
.closing-cta h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 600;
}

.section-heading > p:last-child {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.step-grid {
  display: grid;
  margin-top: 70px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  position: relative;
  min-height: 330px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(16, 35, 29, 0.08);
}

.step-number {
  position: absolute;
  top: 27px;
  right: 30px;
  color: #9aaba3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.step-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 66px;
  place-items: center;
  border-radius: 15px;
  color: var(--forest);
  background: var(--mint-pale);
  font-size: 21px;
}

.step-card h3 {
  margin-bottom: 13px;
  font-size: 25px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.control-section {
  display: grid;
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  grid-template-columns: 1fr 0.92fr;
  gap: 100px;
  color: white;
  background: var(--ink);
}

.control-copy p:not(.eyebrow) {
  max-width: 570px;
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 17px;
}

.control-list {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.control-list div {
  display: grid;
  padding: 25px 0;
  grid-template-columns: 56px 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.control-list span {
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
}

.control-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.control-list strong {
  color: white;
}

.closing-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.closing-cta h2 {
  max-width: 650px;
}

footer {
  display: grid;
  padding: 38px max(24px, calc((100vw - 1180px) / 2));
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.brand-footer .brand-mark {
  width: 36px;
  height: 36px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Dashboard */

.dashboard-body {
  min-height: 100vh;
  background: #f3f5f2;
}

.dashboard-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 238px 1fr;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  padding: 28px 20px 22px;
  flex-direction: column;
  color: white;
  background: var(--ink);
}

.sidebar .brand {
  padding: 0 8px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar .brand-mark {
  color: var(--forest);
  background: var(--lime);
}

.sidebar .brand small {
  color: rgba(255, 255, 255, 0.5);
}

.side-nav {
  display: grid;
  margin-top: 26px;
  gap: 7px;
}

.side-nav a {
  display: flex;
  min-height: 44px;
  padding: 0 13px;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 600;
}

.side-nav a.active {
  color: white;
  background: rgba(255, 255, 255, 0.09);
}

.nav-icon {
  width: 18px;
  color: var(--mint);
  text-align: center;
}

.sidebar-status {
  margin-top: auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-status p {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sidebar-status strong {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
}

.sidebar-status .live-dot {
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(213, 238, 101, 0.11);
}

.side-footer-link {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  text-align: center;
}

.dashboard-main {
  min-width: 0;
}

.dashboard-topbar {
  display: flex;
  min-height: 74px;
  padding: 0 34px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
}

.breadcrumb {
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb strong {
  color: var(--ink);
}

.environment-badge {
  display: inline-flex;
  padding: 7px 11px;
  align-items: center;
  gap: 7px;
  border-radius: 9px;
  color: var(--forest);
  background: var(--mint-pale);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.dashboard-content {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 35px;
}

.dashboard-heading {
  display: flex;
  margin-bottom: 28px;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.dashboard-heading h1 {
  margin: 0 0 7px;
  font-size: 34px;
}

.dashboard-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.run-actions {
  display: flex;
  gap: 10px;
}

.run-actions .button {
  min-height: 45px;
  padding: 0 17px;
  font-size: 13px;
}

.metrics-grid {
  display: grid;
  margin-bottom: 20px;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.metric-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.metric-card .metric-label {
  display: flex;
  margin-bottom: 15px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.metric-card .metric-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  color: var(--forest);
  background: var(--mint-pale);
  font-size: 13px;
}

.metric-value {
  margin: 0;
  font: 600 29px/1 var(--font-display);
}

.metric-note {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}

.run-banner {
  display: none;
  margin-bottom: 20px;
  padding: 16px 18px;
  align-items: center;
  gap: 13px;
  border: 1px solid #c8e8d8;
  border-radius: 14px;
  color: var(--forest);
  background: var(--mint-pale);
  font-size: 13px;
}

.run-banner.visible {
  display: flex;
}

.spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid #acd7c1;
  border-top-color: var(--forest);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.workspace-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
}

.workspace-header {
  display: flex;
  min-height: 64px;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.workspace-header h2 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.last-updated {
  color: var(--muted);
  font-size: 11px;
}

.leads-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.leads-table th {
  padding: 12px 15px;
  color: var(--muted);
  background: #fafbf9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-align: left;
  text-transform: uppercase;
}

.leads-table td {
  padding: 17px 15px;
  border-top: 1px solid #eef1ee;
  font-size: 13px;
  vertical-align: middle;
}

.leads-table tbody tr {
  cursor: pointer;
  transition: background 150ms ease;
}

.leads-table tbody tr:hover,
.leads-table tbody tr:focus-visible {
  outline: none;
  background: #f8fbf9;
}

.lead-identity {
  display: flex;
  align-items: center;
  gap: 11px;
}

.lead-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: var(--forest);
  background: var(--mint-pale);
  font-weight: 700;
}

.lead-identity strong,
.lead-identity small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-identity small {
  color: var(--muted);
  font-size: 10px;
}

.discipline-cell {
  color: var(--ink-soft);
}

.score-number {
  font: 600 18px/1 var(--font-display);
}

.score-empty {
  color: #a8b1ad;
}

.compliance-pass {
  color: #207147;
  font-weight: 700;
}

.compliance-review {
  color: var(--warning);
  font-weight: 700;
}

.view-link {
  color: var(--forest-light);
  font-weight: 700;
}

.table-empty {
  padding: 54px 20px !important;
  color: var(--muted);
  text-align: center;
}

.drawer-backdrop {
  position: fixed;
  z-index: 40;
  inset: 0;
  visibility: hidden;
  background: rgba(10, 24, 19, 0.38);
  opacity: 0;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.drawer-backdrop.open {
  visibility: visible;
  opacity: 1;
}

.lead-drawer {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  display: flex;
  width: min(520px, 100%);
  height: 100vh;
  padding: 28px;
  flex-direction: column;
  overflow-y: auto;
  background: white;
  box-shadow: -20px 0 60px rgba(16, 35, 29, 0.15);
  transform: translateX(102%);
  transition: transform 240ms ease;
}

.lead-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.drawer-header h2 {
  margin: 5px 0 3px;
  font-size: 25px;
}

.drawer-header p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  cursor: pointer;
}

.drawer-score {
  display: grid;
  margin: 27px 0 16px;
  padding: 20px;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 17px;
  border-radius: 15px;
  background: var(--mint-pale);
}

.drawer-score strong {
  font: 600 30px/1 var(--font-display);
}

.drawer-score span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.drawer-score p {
  margin: 0;
  font-size: 13px;
}

.detail-section {
  margin-top: 15px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.detail-section h3 {
  margin-bottom: 13px;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.detail-section p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.email-preview {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fcfcfa;
}

.email-preview strong {
  display: block;
  margin-bottom: 13px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.email-preview p {
  white-space: pre-wrap;
}

.flag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.flag-chip {
  padding: 6px 9px;
  border-radius: 7px;
  color: var(--danger);
  background: var(--danger-pale);
  font-size: 10px;
  font-weight: 700;
}

.clean-chip {
  color: #207147;
  background: #e2f5e9;
}

.toast {
  position: fixed;
  z-index: 80;
  right: 25px;
  bottom: 25px;
  max-width: 390px;
  padding: 14px 17px;
  border-radius: 12px;
  color: white;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  background: var(--danger);
}

@media (max-width: 980px) {
  .hero {
    padding-top: 55px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 740px;
  }

  .hero-visual {
    max-width: 620px;
  }

  .section-heading,
  .control-section {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-shell {
    grid-template-columns: 82px 1fr;
  }

  .sidebar {
    padding-right: 13px;
    padding-left: 13px;
  }

  .sidebar .brand > span:last-child,
  .side-nav a span:last-child,
  .sidebar-status,
  .side-footer-link {
    display: none;
  }

  .sidebar .brand {
    justify-content: center;
  }

  .side-nav a {
    padding: 0;
    justify-content: center;
  }

  .nav-icon {
    font-size: 16px;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 32px, 1180px);
  }

  .site-header nav > a:not(.button) {
    display: none;
  }

  .hero,
  .section {
    width: min(100% - 32px, 1180px);
  }

  .hero {
    padding: 48px 0 80px;
    gap: 55px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .trust-row {
    flex-wrap: wrap;
  }

  .score-panel {
    grid-template-columns: 1fr;
  }

  .guardrail-row {
    flex-direction: column;
    gap: 6px;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip div {
    padding: 16px 10px;
    border-right: 0;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p:last-child {
    margin-top: 20px;
  }

  .closing-cta {
    align-items: start;
    flex-direction: column;
    gap: 35px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .dashboard-shell {
    display: block;
  }

  .sidebar {
    position: static;
    display: block;
    height: auto;
    padding: 15px 18px;
  }

  .sidebar .brand {
    padding: 0;
    justify-content: start;
    border: 0;
  }

  .sidebar .brand > span:last-child {
    display: block;
  }

  .side-nav,
  .sidebar-status,
  .side-footer-link {
    display: none;
  }

  .dashboard-topbar {
    min-height: 58px;
    padding: 0 18px;
  }

  .dashboard-content {
    padding: 24px 16px;
  }

  .dashboard-heading {
    align-items: start;
    flex-direction: column;
  }

  .run-actions {
    width: 100%;
  }

  .run-actions .button {
    flex: 1;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .workspace-card {
    overflow-x: auto;
  }

  .leads-table {
    min-width: 800px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
