:root {
  --page: #f2f6f8;
  --surface: #ffffff;
  --ink: #172b36;
  --muted: #4b606c;
  --link: #155a8a;
  --action: #a44310;
  --action-hover: #80320b;
  --rule: #c7d3da;
  --focus: #155a8a;
  --positive: #285f46;
  --material-violet: #6b4aa1;
  --content-max: 1200px;
  --prose-max: 68ch;
  --radius: 6px;
  font-family: "Work Sans", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-size: 17px; line-height: 1.6; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.shell { width: min(var(--content-max), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -100px; padding: 8px 12px; background: var(--ink); color: #fff; z-index: 10; }
.skip-link:focus { top: 16px; }
.site-header { border-bottom: 1px solid var(--rule); background: rgba(255, 255, 255, .92); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 253px; height: 48px; }
nav { display: flex; gap: 24px; font-size: 15px; font-weight: 600; }
nav a { text-decoration: none; }
.hero { padding: 92px 0 80px; max-width: 930px; }
.eyebrow { margin: 0 0 12px; color: var(--action); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.02em; }
h1 { max-width: 760px; font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
.lede { max-width: 64ch; margin: 24px 0 0; color: var(--muted); font-size: 1.18rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.button-primary { background: var(--action); color: #fff; }
.button-primary:hover { background: var(--action-hover); }
.text-link { font-weight: 650; }
.section { padding: 72px 0; }
.section-heading { max-width: var(--prose-max); margin-bottom: 32px; }
.section-heading p:last-child, .trust-section p:last-child { color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { min-height: 238px; padding: 24px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.card p:not(.card-kicker) { color: var(--muted); }
.card-kicker { margin: 0 0 10px; color: var(--material-violet); font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.status { display: inline-block; margin-top: 12px; color: var(--positive); font-size: 14px; font-weight: 700; }
.decision-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: stretch; }
.diagram-panel, .principles-panel { padding: 32px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.diagram-panel h2 { max-width: 16ch; }
.flow { margin-top: 34px; }
.flow-step { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--page); }
.flow-step strong { color: var(--action); font-size: 14px; }
.flow-line { width: 2px; height: 18px; margin-left: 26px; background: var(--action); }
.principle { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.principle:first-child { padding-top: 0; }
.principle:last-child { padding-bottom: 0; border-bottom: 0; }
.principle-number { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; }
.principle p { margin: 8px 0 0; color: var(--muted); }
.trust-section { max-width: 760px; padding-bottom: 96px; }
.trust-section p:last-child { max-width: var(--prose-max); margin-top: 20px; }
.site-footer { border-top: 1px solid var(--rule); background: var(--ink); color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 14px; }
.footer-inner p { margin: 0; }
.footer-note { color: #c7d3da; }
@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .decision-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .shell { width: min(100% - 32px, var(--content-max)); }
  .header-inner { min-height: 68px; }
  .brand img { width: 190px; height: 36px; }
  nav { gap: 12px; font-size: 13px; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 52px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .diagram-panel, .principles-panel { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 8px; }
}
