/* drshta.ai — site styles. Light-only by design: the brand mark is drawn for a white ground. */

/* Self-hosted type (SIL Open Font License) — no third-party requests. */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/source-serif-4.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-400.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-500.woff2) format("woff2");
}

:root {
  color-scheme: light;

  /* Brand, sampled from the drshta.ai mark */
  --navy: #021f67;
  --blue: #034f9b;
  --cyan: #07a4ca;
  --gold: #ecb060;
  --gold-ink: #8a5a12;

  /* Paths and status: grey for the action path, blue tints for evidence, gold only for "verified" */
  --grey: #5f6b82;
  --grey-soft: #eef1f6;
  --blue-soft: #e7eff9;
  --gold-soft: #fdf4e6;
  --fail: #a3262a;
  --fail-soft: #fbeceb;
  --pass: #0c6b4f;

  /* Neutrals, biased toward the navy */
  --ground: #ffffff;
  --paper: #f3f6fb;
  --rule: #d9e1ee;
  --text: #1a2440;
  --muted: #4f5b76;

  /* Navy band */
  --band: #03164a;
  --band-text: #dfe7f5;
  --band-muted: #a3b3d2;
  --band-rule: #213a78;

  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* Type scale */
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-md: 1.0625rem;
  --t-lg: 1.3125rem;
  --t-xl: 1.75rem;
  --t-2xl: clamp(1.875rem, 3.4vw, 2.5rem);
  --t-display: clamp(2.75rem, 6.6vw, 4.75rem);

  --gutter: clamp(20px, 5vw, 56px);
  --measure: 62ch;
  --section: clamp(64px, 9vw, 112px);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--t-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy);
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: var(--gutter);
  top: 12px;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  z-index: 10;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--ground);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}

.brand img {
  height: 36px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  font-size: var(--t-sm);
  font-weight: 500;
}

.nav a:not(.btn) {
  color: var(--text);
  text-decoration: none;
}

.nav a:not(.btn):hover,
.nav a[aria-current="page"] {
  color: var(--blue);
  text-decoration: underline;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: var(--t-sm);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #ffffff;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

.btn-quiet {
  background: transparent;
  color: var(--navy);
  border-color: var(--rule);
}

.btn-quiet:hover {
  background: var(--paper);
  border-color: var(--navy);
  color: var(--navy);
}

.btn-sm {
  padding: 8px 14px;
}

.btn-light {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--navy);
}

.btn-light:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

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

/* ---------- Shared text ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.lede {
  font-size: var(--t-lg);
  line-height: 1.55;
  color: var(--muted);
  max-width: 34em;
}

.dot {
  color: var(--cyan);
}

.prose {
  display: grid;
  gap: 1.1em;
  max-width: var(--measure);
}

.prose p {
  color: var(--text);
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section);
  border-top: 1px solid var(--rule);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 24px clamp(24px, 5vw, 72px);
}

.section-label {
  font-family: var(--mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.55em;
}

.section-body {
  display: grid;
  gap: 32px;
  min-width: 0;
}

.statement {
  font-size: var(--t-2xl);
  max-width: 22em;
}

/* ---------- Home hero ---------- */

.hero {
  padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 112px);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.hero h1 {
  font-size: var(--t-display);
  letter-spacing: -0.028em;
  line-height: 1.02;
}

.hero .actions {
  margin-top: 8px;
}

/* ---------- Pills, hero standards line ---------- */

[hidden] {
  display: none !important;
}

.pill {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  white-space: nowrap;
  vertical-align: 0.15em;
}

.pill-built {
  background: var(--blue-soft);
  color: var(--navy);
  box-shadow: inset 0 0 0 1px #c3d4ec;
}

.status-line {
  font-size: var(--t-sm);
  color: var(--muted);
}

/* ---------- Receipt card (hero) ---------- */

.receipt {
  position: relative;
  margin: 0;
  background: var(--ground);
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 1px 0 var(--rule), 0 24px 48px -28px rgba(2, 31, 103, 0.35);
  font-size: var(--t-sm);
  transition: border-color 0.2s ease;
}

.receipt.is-verified {
  border-color: var(--gold);
}

.receipt.is-failed {
  border-color: var(--fail);
}

.record-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  border-radius: 4px 4px 0 0;
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.record-head strong {
  color: var(--navy);
  font-weight: 500;
}

.record-head span {
  color: var(--muted);
}

.receipt-action {
  padding: 16px 20px 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--t-lg);
  line-height: 1.25;
  color: var(--navy);
}

.receipt-fields {
  margin: 0;
  padding: 8px 20px 12px;
}

.receipt-fields > div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 2px 14px;
  padding-block: 9px;
  border-bottom: 1px solid var(--rule);
}

.receipt-fields > div:last-child {
  border-bottom: 0;
}

.receipt-fields dt {
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--muted);
  padding-top: 0.15em;
}

.receipt-fields .is-gate dt {
  color: var(--gold-ink);
}

.receipt-fields dd {
  margin: 0;
  display: grid;
  gap: 2px;
  min-width: 0;
  color: var(--text);
}

.receipt .hash {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.tamper-input {
  width: 100%;
  font: inherit;
  color: var(--text);
  padding: 3px 8px;
  border: 1px solid var(--fail);
  border-radius: 3px;
  background: var(--fail-soft);
}

.receipt-controls {
  display: grid;
  gap: 12px;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--rule);
  background: var(--paper);
  border-radius: 0 0 4px 4px;
}

.receipt-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

button.btn {
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

.btn-quiet[aria-pressed="true"] {
  background: var(--fail-soft);
  border-color: var(--fail);
  color: var(--fail);
}

.receipt-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: var(--t-xs);
}

.receipt-checks:empty {
  display: none;
}

.receipt-checks li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.check-mark {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.is-pass .check-mark {
  color: var(--pass);
}

.receipt-checks .is-fail {
  color: var(--fail);
}

.receipt-summary {
  font-weight: 600;
  color: var(--navy);
}

.receipt-summary:empty {
  display: none;
}

.is-failed .receipt-summary {
  color: var(--fail);
}

.receipt-note {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}

.mono {
  font-family: var(--mono);
  font-size: 0.92em;
}

/* The gold seal appears only on a receipt that verified. */
.seal {
  position: absolute;
  right: -18px;
  top: -30px;
  width: 104px;
  height: 104px;
  transform: rotate(-9deg);
  display: none;
}

.receipt.is-verified .seal {
  display: block;
  animation: stamp 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.seal circle {
  fill: var(--ground);
  stroke: var(--gold);
}

.seal .seal-check {
  stroke: var(--gold-ink);
}

.seal text {
  fill: var(--gold-ink);
  font-family: var(--mono);
  font-weight: 500;
}

@keyframes stamp {
  from {
    transform: rotate(-9deg) scale(1.18);
    opacity: 0.55;
  }
  to {
    transform: rotate(-9deg) scale(1);
    opacity: 1;
  }
}

/* ---------- Principles (navy band) ---------- */

.band {
  background: var(--band);
  color: var(--band-text);
  border-top: 0;
}

.band h2,
.band h3 {
  color: #ffffff;
}

.band .section-label {
  color: var(--band-muted);
}

.band a {
  color: #ffffff;
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px clamp(24px, 4vw, 56px);
}

.principle {
  display: grid;
  gap: 10px;
  align-content: start;
  padding-top: 20px;
  border-top: 1px solid var(--band-rule);
}

.principle h3 {
  font-size: var(--t-lg);
  line-height: 1.25;
}

.principle p {
  color: var(--band-muted);
  font-size: var(--t-sm);
  line-height: 1.65;
}

/* ---------- Product row (home) ---------- */

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.product-copy {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.product-copy h2 {
  font-size: var(--t-xl);
}

.product-copy p {
  color: var(--muted);
  max-width: 34em;
}

.ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.ledger li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding-block: 12px;
  border-bottom: 1px solid var(--rule);
}

.ledger span:last-child {
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--muted);
}

/* ---------- Governance page ---------- */

.page-hero {
  padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 64px);
}

.page-hero .wrap {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.page-hero h1 {
  font-size: clamp(2.375rem, 5.2vw, 3.75rem);
  letter-spacing: -0.025em;
  line-height: 1.06;
  max-width: 17em;
}

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  counter-reset: step;
}

.flow li {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding-top: 36px;
  counter-increment: step;
}

.flow li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--cyan);
}

.flow li::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 22px;
  right: -22px;
  height: 1px;
  background: var(--rule);
}

.flow li:last-child::after {
  display: none;
}

.flow li.is-gate::before {
  width: 17px;
  height: 17px;
  top: 4px;
  left: -2px;
  background: var(--ground);
  box-shadow: inset 0 0 0 3px var(--gold);
}

.flow .step {
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flow .step::before {
  content: counter(step, decimal-leading-zero) " · ";
}

.flow li.is-gate .step {
  color: var(--gold-ink);
}

.flow h3 {
  font-size: var(--t-lg);
}

.flow p {
  color: var(--muted);
  font-size: var(--t-sm);
  line-height: 1.6;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px clamp(24px, 3vw, 44px);
}

.feature {
  display: grid;
  gap: 8px;
  align-content: start;
  padding-top: 18px;
  border-top: 2px solid var(--navy);
}

.feature h3 {
  font-family: var(--sans);
  font-size: var(--t-md);
  font-weight: 600;
  letter-spacing: 0;
}

.feature p {
  color: var(--muted);
  font-size: var(--t-sm);
  line-height: 1.6;
}

.register-wrap {
  overflow-x: auto;
}

.register {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: var(--t-sm);
}

.register th {
  text-align: left;
  font-family: var(--mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 16px 10px 0;
  border-bottom: 2px solid var(--navy);
}

.register td {
  padding: 13px 16px 13px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: baseline;
}

.register td:first-child {
  font-weight: 600;
  color: var(--navy);
}

.register td:nth-child(2) {
  font-family: var(--mono);
  font-size: var(--t-xs);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.register td:last-child {
  color: var(--muted);
}

.note {
  font-size: var(--t-xs);
  color: var(--muted);
  max-width: var(--measure);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px clamp(24px, 4vw, 56px);
}

.pillars h3 {
  font-size: var(--t-lg);
  margin-bottom: 10px;
}

.pillars p {
  color: var(--muted);
  font-size: var(--t-sm);
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.stack li {
  font-family: var(--mono);
  font-size: var(--t-xs);
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  color: var(--text);
}

.cta .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: center;
}

.cta h2 {
  font-size: var(--t-2xl);
}

.cta p {
  color: var(--band-muted);
  margin-top: 12px;
  max-width: 40em;
}

/* ---------- Document (privacy) ---------- */

.doc {
  padding-block: clamp(56px, 8vw, 96px);
}

.doc .wrap {
  max-width: calc(var(--measure) + 2 * var(--gutter));
  display: grid;
  gap: 18px;
}

.doc h1 {
  font-size: var(--t-2xl);
}

.doc h2 {
  font-size: var(--t-lg);
  margin-top: 20px;
}

.doc .meta {
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--muted);
}

/* ---------- Home: stacked sections (label above, full-width body) ---------- */

.stacked {
  display: grid;
  gap: 40px;
}

.stacked-head {
  display: grid;
  gap: 18px;
}

.stacked-head .section-label {
  padding-top: 0;
}

/* ---------- Home: four questions, receipt points ---------- */

.questions,
.receipt-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px clamp(24px, 4vw, 48px);
}

.questions li,
.receipt-points li {
  display: grid;
  gap: 8px;
  align-content: start;
  padding-top: 18px;
  border-top: 2px solid var(--navy);
}

.questions li.is-gate {
  border-top-color: var(--gold);
}

.questions h3,
.receipt-points h3 {
  font-size: var(--t-lg);
}

.questions p,
.receipt-points p {
  color: var(--muted);
  font-size: var(--t-sm);
  line-height: 1.6;
}

/* ---------- Home: action and evidence paths ---------- */

.paths {
  margin: 0;
  display: grid;
  gap: 16px;
}

.paths svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.paths-tall {
  display: none;
  max-width: 420px;
}

.paths figcaption {
  font-size: var(--t-xs);
  color: var(--muted);
}

.paths text {
  font-family: var(--sans);
  text-anchor: middle;
  fill: var(--text);
}

.paths .p-lane {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-anchor: start;
  fill: var(--grey);
}

.paths .p-lane-blue {
  fill: var(--blue);
}

.paths .p-title {
  font-size: 16px;
  font-weight: 600;
  fill: var(--navy);
}

.paths .p-sub {
  font-size: 13px;
  fill: var(--muted);
}

.paths .p-action rect {
  fill: var(--grey-soft);
  stroke: var(--grey);
  stroke-width: 1.25;
}

.paths .p-action rect.p-gate {
  fill: var(--ground);
  stroke: var(--grey);
  stroke-width: 2;
  stroke-dasharray: 6 3;
}

.paths .p-evidence rect {
  fill: var(--blue-soft);
  stroke: var(--blue);
  stroke-width: 1.25;
}

.paths .p-ledger {
  fill: var(--blue);
}

.paths .p-on-blue {
  fill: #ffffff;
}

.paths .p-verified {
  fill: var(--gold-soft);
  stroke: var(--gold);
  stroke-width: 2;
}

.paths .p-check {
  fill: none;
  stroke: var(--gold-ink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.paths .p-gold {
  fill: var(--gold-ink);
}

.paths .p-arrow-grey path,
.paths .p-arrow-blue path,
.paths .p-drop path {
  fill: none;
  stroke-width: 1.5;
}

.paths .p-arrow-grey path {
  stroke: var(--grey);
}

.paths .p-arrow-blue path {
  stroke: var(--blue);
}

.paths .p-drop path {
  stroke: var(--blue);
  stroke-dasharray: 4 4;
}

.paths .p-head-grey {
  fill: var(--grey);
}

.paths .p-head-blue {
  fill: var(--blue);
}

/* ---------- Home: Assured Autonomy Levels ---------- */

.levels {
  background: var(--paper);
}

.ladder-key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--muted);
  margin-bottom: -16px;
}

.ladder-key span::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 6px;
  border-radius: 3px;
  margin-right: 8px;
  vertical-align: 0.15em;
}

.key-human::before {
  background: var(--grey);
}

.key-evidence::before {
  background: var(--blue);
}

.ladder {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.rung {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 10px;
  padding: 18px 16px;
  background: var(--ground);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--blue);
  border-radius: 3px;
}

/* Ascending steps: each level starts higher than the one before; bottoms stay aligned. */
.rung:nth-child(1) { margin-top: 128px; }
.rung:nth-child(2) { margin-top: 96px; }
.rung:nth-child(3) { margin-top: 64px; }
.rung:nth-child(4) { margin-top: 32px; }
.rung:nth-child(5) { margin-top: 0; border-top-color: var(--navy); }

.rung-code {
  font-family: var(--mono);
  font-size: var(--t-lg);
  font-weight: 500;
  color: var(--blue);
  line-height: 1;
}

.rung h3 {
  font-size: var(--t-md);
  line-height: 1.25;
}

.rung-line {
  font-size: var(--t-sm);
  line-height: 1.55;
  color: var(--text);
}

.meters {
  display: grid;
  gap: 5px;
}

.meter {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--grey-soft);
  overflow: hidden;
}

.meter i {
  display: block;
  height: 100%;
  border-radius: 3px;
}

.meter-human i {
  background: var(--grey);
}

.meter-evidence i {
  background: var(--blue);
}

.rung:nth-child(1) .meter-human i { width: 100%; }
.rung:nth-child(2) .meter-human i { width: 74%; }
.rung:nth-child(3) .meter-human i { width: 52%; }
.rung:nth-child(4) .meter-human i { width: 30%; }
.rung:nth-child(5) .meter-human i { width: 14%; }
.rung:nth-child(1) .meter-evidence i { width: 18%; }
.rung:nth-child(2) .meter-evidence i { width: 40%; }
.rung:nth-child(3) .meter-evidence i { width: 62%; }
.rung:nth-child(4) .meter-evidence i { width: 82%; }
.rung:nth-child(5) .meter-evidence i { width: 100%; }

.rung-gate {
  display: grid;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  min-height: 4.6em;
  font-size: var(--t-xs);
  line-height: 1.5;
  color: var(--text);
}

.rung-gate span {
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.ladder-note {
  max-width: var(--measure);
  padding-left: 18px;
  border-left: 3px solid var(--blue);
  color: var(--text);
}

/* ---------- Home: receipt field table ---------- */

.register caption {
  text-align: left;
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--t-lg);
  color: var(--navy);
  padding-bottom: 14px;
}

.register-fields {
  min-width: 0;
}

.register-fields td:nth-child(2) {
  font-family: var(--sans);
  font-size: var(--t-sm);
  white-space: normal;
}

/* ---------- Home: industries ---------- */

.industries {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.industry {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--ground);
}

.industry-name {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.industry h3 {
  font-family: var(--sans);
  font-size: var(--t-md);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}

.industry blockquote {
  align-self: start;
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--rule);
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--t-md);
  line-height: 1.4;
  color: var(--navy);
}

.industry-start {
  font-size: var(--t-xs);
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--navy);
  text-decoration: none;
}

.chip:hover {
  border-color: var(--blue);
  color: var(--blue);
  text-decoration: underline;
}

.principles-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---------- Governance: proof point; research placeholder ---------- */

.proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
  background: var(--paper);
  font-size: var(--t-sm);
  color: var(--text);
}

.proof .pill {
  background: var(--ground);
}

.placeholder .lede {
  max-width: 30em;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 32px 40px;
  font-size: var(--t-xs);
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
}

.site-footer p + p {
  margin-top: 4px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: flex-start;
}

.foot-links a {
  color: var(--text);
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--blue);
  text-decoration: underline;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero .wrap,
  .product {
    grid-template-columns: minmax(0, 1fr);
  }

  .receipt {
    max-width: 560px;
  }

  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }

  .flow li:nth-child(2)::after {
    display: none;
  }

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

@media (max-width: 860px) {
  .paths-wide {
    display: none;
  }

  .paths-tall {
    display: block;
  }

  .ladder {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .rung:nth-child(n) {
    margin-top: 0;
    grid-template-rows: none;
  }

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

  .principles-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .questions,
  .receipt-points,
  .industries {
    grid-template-columns: minmax(0, 1fr);
  }

  .receipt-fields > div {
    grid-template-columns: minmax(0, 1fr);
  }


  .section-grid,
  .principles,
  .pillars,
  .features,
  .cta .wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-label {
    padding-top: 0;
  }

  .flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow li::after {
    display: none;
  }

  .nav .hide-sm {
    display: none;
  }

  .seal {
    right: 8px;
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 420px) {
  .brand img {
    height: 30px;
  }

  .site-header .wrap {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .receipt.is-verified .seal {
    animation: none;
  }

  .btn,
  .receipt {
    transition: none;
  }
}
