:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --ink: #171f1b;
  --muted: #4d5952;
  --line: #d9ddd3;
  --panel: #19251f;
  --lime: #d6f68b;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; }
p, h1, h2, h3, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #678330; outline-offset: 5px; }
.shell { width: min(100% - 100px, 1260px); margin-inline: auto; }
.skip { position: absolute; top: 10px; left: 12px; z-index: 1; padding: 12px; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }

.site-header, .site-footer, .site-header nav, .wordmark, .hero-actions, .closing {
  display: flex;
  align-items: center;
}
.site-header, .site-footer, .closing { justify-content: space-between; }
.site-header { min-height: 78px; border-bottom: 1px solid var(--line); }
.site-header nav { gap: 30px; }
.wordmark { gap: 9px; font-size: 1.28rem; font-weight: 720; letter-spacing: -.055em; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; background: var(--panel); }
.brand-mark img { display: block; }
.nav-text, .text-link { font-size: .91rem; font-weight: 630; }
.nav-text:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.button {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 50px;
  padding: 0 17px;
  border-radius: 6px;
  font-size: .94rem;
  font-weight: 720;
  white-space: nowrap;
}
.button-small { min-height: 42px; gap: 15px; padding-inline: 13px; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #354239; }
.button-lime { background: var(--lime); color: var(--ink); }
.button-lime:hover { background: #c2eb68; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  gap: clamp(28px, 5vw, 85px);
  align-items: center;
  padding: clamp(65px, 8vw, 122px) 0 clamp(67px, 7.8vw, 113px);
}
.eyebrow { display: flex; align-items: center; gap: 9px; font: 650 .71rem/1.4 var(--mono); letter-spacing: .115em; }
.dot { display: inline-block; width: 7px; height: 7px; flex: none; border-radius: 50%; background: #729139; }
h1, h2, h3 { text-wrap: balance; }
h1 { margin-top: 18px; font-size: clamp(3.6rem, 6.65vw, 6.5rem); font-weight: 580; line-height: .97; letter-spacing: -.064em; }
.intro { max-width: 41ch; margin-top: 26px; color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.19rem); line-height: 1.62; }
.hero-actions { flex-wrap: wrap; gap: 24px; margin-top: 27px; }
.text-link span { margin-left: 4px; }

.system { min-width: 0; overflow: hidden; border: 1px solid #36443a; border-radius: 13px; background: var(--panel); color: #f6f8f2; box-shadow: 0 22px 45px -25px #182a2166; }
.system-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; padding: 15px 19px; border-bottom: 1px solid #415046; color: #c3cec1; font: 600 .64rem/1.35 var(--mono); letter-spacing: .075em; }
.system-bar .dot { width: 6px; height: 6px; margin-right: 6px; background: var(--lime); }
.system-body { padding: 0 18px 15px; }
.graph {
  position: relative;
  height: clamp(216px, 23vw, 286px);
  background-image: radial-gradient(#6e887665 1px, transparent 1px);
  background-size: 17px 17px;
  background-position: center;
}
.edges { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #98ac8d; stroke-width: 1; }
.edges circle { stroke: #526759; stroke-dasharray: 2 5; }
.node {
  position: absolute;
  width: min(33%, 141px);
  min-height: 49px;
  padding: 8px 9px;
  transform: translate(-50%, -50%);
  border: 1px solid #596b5e;
  border-radius: 6px;
  background: #23322a;
}
.node span { display: block; margin-bottom: 4px; color: #c3cec1; font: 600 clamp(.51rem, .77vw, .65rem)/1.25 var(--mono); letter-spacing: .035em; }
.node strong { display: block; font-size: clamp(.7rem, 1.02vw, .91rem); font-weight: 650; line-height: 1.3; }
.node-account, .node-document { top: 21.37%; }
.node-person, .node-task { top: 78.63%; }
.node-account, .node-person { left: 19.2%; }
.node-document, .node-task { left: 80.8%; }
.node-center { top: 49.57%; left: 50%; width: min(39%, 156px); background: #d6f68b; color: #18251d; border-color: #d6f68b; }
.node-center span { color: #3c5724; }
.node-center .dot { display: inline-block; width: 5px; height: 5px; margin: 0 2px 1px 0; }
.node-center strong { font-size: clamp(.82rem, 1.25vw, 1.06rem); }
.request { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; min-height: 63px; padding: 10px; border: 1px solid #536358; border-radius: 7px; background: #23322a; }
.request-icon { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #657665; border-radius: 5px; color: var(--lime); font-size: 1.18rem; }
.request p { color: #c3cec1; font-size: .7rem; line-height: 1.4; }
.request strong { display: block; margin-top: 2px; font-size: clamp(.73rem, 1vw, .91rem); line-height: 1.32; }
.status { padding: 5px 7px; border: 1px solid #75845c; border-radius: 4px; color: #e4f5ad; font: 650 .59rem/1.4 var(--mono); text-align: center; }
figcaption { padding: 11px 18px 13px; border-top: 1px solid #415046; color: #c3cec1; font-size: .73rem; line-height: 1.5; }

.workflow { padding: 43px 0 68px; border-top: 1px solid var(--line); scroll-margin-top: 18px; }
.section-heading { display: grid; grid-template-columns: 1fr 2.1fr; align-items: start; gap: 15px; }
.section-heading .eyebrow { margin-top: 11px; }
h2 { max-width: 20ch; font-size: clamp(2.1rem, 4.35vw, 4.05rem); font-weight: 580; letter-spacing: -.058em; line-height: 1.02; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 36px 0 0; list-style: none; }
.steps li { padding: 21px 8px 0 0; border-top: 1px solid var(--line); }
.step-number { color: #526246; font: 650 .69rem/1.4 var(--mono); letter-spacing: .065em; }
.steps h3 { margin-top: 14px; font-size: clamp(1.24rem, 1.95vw, 1.65rem); font-weight: 660; letter-spacing: -.05em; }
.steps p { max-width: 34ch; margin-top: 9px; color: var(--muted); font-size: .95rem; line-height: 1.62; }

.closing { gap: 22px; padding: clamp(27px, 5vw, 61px); border-radius: 11px; background: var(--panel); color: #f6f8f2; }
.closing .dot { background: var(--lime); }
.closing h2 { margin-top: 13px; }
.site-footer { min-height: 91px; color: var(--muted); font-size: .81rem; }
.site-footer .wordmark { color: var(--ink); font-size: 1.08rem; }
.site-footer .brand-mark { width: 27px; height: 27px; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 64px); }
  .hero { gap: 28px; }
  h1 { font-size: clamp(3.25rem, 7.2vw, 5.3rem); }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 38px); }
  .site-header { min-height: 66px; }
  .site-header nav { gap: 15px; }
  .nav-text { display: none; }
  .nav-signin { display: inline-flex; align-items: center; min-height: 44px; }
  .hero { grid-template-columns: 1fr; gap: 33px; padding-block: 50px; }
  h1 { max-width: 11ch; font-size: clamp(3.05rem, 10vw, 4.6rem); }
  .intro { margin-top: 19px; }
  .hero-actions { margin-top: 21px; }
  .graph { height: 239px; }
  .system-bar, figcaption { padding-inline: 12px; }
  .system-body { padding-inline: 11px; }
  .section-heading, .steps { grid-template-columns: 1fr; }
  .section-heading .eyebrow { margin: 0; }
  .steps { gap: 22px; margin-top: 24px; }
  .steps li { padding-top: 16px; }
  .steps h3 { margin-top: 7px; }
  .workflow { padding-block: 34px 48px; }
  .closing { align-items: flex-start; flex-direction: column; }
  .site-footer { min-height: 77px; }
}
@media (max-width: 365px) {
  .request { grid-template-columns: auto 1fr; gap: 7px 10px; }
  .status { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
/* Shared design constraint: continuous corners for all rounded surfaces. */
.smooth { corner-shape: superellipse(1.25); }

.site-footer { flex-wrap: wrap; }
.site-footer .legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; font-size: 12px; }
.site-footer .legal-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
