/* IssueGate homepage: semantic paper composition */
.home-reference,
.home-reference-poster,
.home-reference-hotspots,
.home-reference-hotspot { display: none !important; }

:root {
  --home-bg: #fdfcf9;
  --home-surface: #fffefb;
  --home-ink: #14283a;
  --home-muted: #425873;
  --home-purple: #51419a;
  --home-teal: #4f8580;
  --home-lavender: #f4f0fa;
  --home-line: #dfe1ea;
  --home-orange: #b8743d;
  --home-shadow-near: 0 4px 12px rgba(45, 39, 83, .11);
  --home-shadow-far: 0 24px 52px rgba(91, 72, 154, .13);
}

html, body { background: var(--home-bg); }
body:has(#home.active) { background: var(--home-bg); }
body:has(#home.active) > .footer { display: none; }
#main-content { overflow: visible; }

.nav {
  background: rgba(253, 252, 249, .94);
  border-color: rgba(208, 210, 222, .75);
  box-shadow: 0 1px 0 rgba(26, 38, 54, .03);
}
.nav-inner {
  width: min(1240px, calc(100% - 96px));
  max-width: none;
  min-height: 62px;
  margin-inline: auto;
  padding-inline: 0;
}
.nav-links { gap: clamp(22px, 2.35vw, 38px); }
.nav-links a { color: var(--home-ink); font-size: 14px; }
.nav-links a.active::after { height: 3px; background: var(--home-purple); }

#home {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--home-bg);
  overflow: visible;
}
#home .home-native {
  width: min(1240px, calc(100% - 96px));
  margin: 0 auto;
  padding: 48px 0 0;
  color: var(--home-ink);
}
#home .home-hero {
  display: grid;
  grid-template-columns: minmax(0, .44fr) minmax(0, .56fr);
  gap: clamp(40px, 4.2vw, 64px);
  align-items: center;
  min-height: 560px;
  margin: 0 0 25px;
}
#home .home-hero-copy { position: relative; z-index: 5; min-width: 0; }
#home .home-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 25px;
  color: var(--home-teal);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.35;
  font-weight: 680;
  letter-spacing: .005em;
}
#home .home-kicker-mark {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--home-teal);
  box-shadow: 0 0 0 5px rgba(79, 133, 128, .12);
}
#home .home-hero h1 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(64px, 5.6vw, 84px);
  line-height: 1.09;
  letter-spacing: -.055em;
  font-weight: 780;
  white-space: nowrap;
}
#home .home-hero h1 em { color: var(--home-purple); font-style: normal; }
#home .home-deck {
  margin: 24px 0 0;
  color: var(--home-muted);
  font-size: clamp(20px, 1.55vw, 24px);
  line-height: 1.52;
  letter-spacing: .005em;
}
#home .home-cta {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.2vw, 34px);
  margin-top: 29px;
}
#home .home-cta .btn.primary {
  min-height: 60px;
  padding: 14px 28px;
  border: 1px solid var(--home-purple);
  border-radius: 8px;
  background: var(--home-purple);
  box-shadow: 0 10px 22px rgba(81, 65, 154, .18);
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 680;
}
#home .home-cta .btn.primary:hover { background: #443487; border-color: #443487; }
#home .home-cta .text-link {
  color: var(--home-purple);
  font-size: clamp(17px, 1.25vw, 20px);
  font-weight: 680;
  white-space: nowrap;
}
#home .home-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 25px 0 0;
  color: #58727a;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.4;
}
#home .home-lock {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 13px;
  flex: 0 0 auto;
  border-radius: 3px;
  background: #5d7b80;
}
#home .home-lock::before {
  position: absolute;
  top: -9px;
  left: 3px;
  width: 9px;
  height: 10px;
  border: 2px solid #5d7b80;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  content: "";
}
#home .home-lock::after {
  position: absolute;
  top: 4px;
  left: 6px;
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: #fff;
  content: "";
}

/* Hero illustration is a layered scene, without a rectangular wrapper. */
#home .home-hero-visual {
  position: relative;
  min-width: 0;
  height: 560px;
  overflow: visible;
  isolation: isolate;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
#home .hero-canvas-contours { position: absolute; inset: 8% 8% 12%; z-index: -1; width: 84%; height: 78%; opacity: .12; fill: none; stroke: #8f88c7; stroke-width: .04; }
#home .home-hero-visual::before {
  position: absolute;
  z-index: -2;
  inset: -18px -10% 0 -12%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(209, 201, 247, .82) 0 25%, rgba(223, 217, 249, .66) 42%, rgba(239, 235, 252, .42) 61%, rgba(248, 247, 252, 0) 80%);
  content: "";
}
#home .home-hero-visual::after {
  position: absolute;
  z-index: -1;
  right: 2%;
  bottom: 26px;
  left: 8%;
  height: 38px;
  border-radius: 50%;
  background: rgba(75, 61, 125, .22);
  filter: blur(21px);
  content: "";
}
#home .evidence-stack {
  position: absolute;
  inset: 18px 0 auto;
  height: 326px;
}
#home .evidence-stack-label {
  position: absolute;
  z-index: 6;
  top: -1px;
  right: 2%;
  padding: 5px 11px;
  border: 1px solid rgba(81, 65, 154, .15);
  border-radius: 6px;
  color: #6a5c9a;
  background: rgba(255, 254, 251, .62);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .02em;
}
#home .evidence-stack-label-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#home .evidence-sheet {
  position: absolute;
  top: 42px;
  display: block;
  width: clamp(154px, 14.5vw, 184px);
  height: 272px;
  padding: 25px 21px;
  border: 1px solid rgba(98, 95, 153, .36);
  border-radius: 12px;
  color: var(--home-ink);
  background: linear-gradient(160deg, rgba(255,255,255,.99), rgba(247,247,255,.91));
  box-shadow: 0 4px 12px rgba(45, 39, 83, .13), 0 22px 45px rgba(84, 70, 137, .16);
}
#home .evidence-sheet-code { left: 4%; transform: rotate(-4deg); }
#home .evidence-sheet-doc { top: 24px; left: 34%; transform: rotate(.2deg); }
#home .evidence-sheet-history { top: 42px; right: 2%; transform: rotate(4deg); }
#home .sheet-heading { display: flex; align-items: center; gap: 11px; }
#home .evidence-sheet-icon {
  color: #4549d5;
  font: 700 27px/1 var(--mono);
  letter-spacing: -.12em;
}
#home .evidence-doc-icon { font-family: var(--sans); font-size: 30px; letter-spacing: 0; }
#home .sheet-heading strong { font-size: 20px; line-height: 1.25; font-weight: 700; white-space: nowrap; }
#home .sheet-code-lines,
#home .sheet-doc-lines,
#home .sheet-history-lines { margin-top: 22px; }
#home .sheet-code-lines { display: grid; gap: 11px; }
#home .sheet-code-lines i,
#home .sheet-doc-lines i {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: #dedfe7;
}
#home .sheet-code-lines i:nth-child(1) { width: 94%; }
#home .sheet-code-lines i:nth-child(2) { width: 78%; }
#home .sheet-code-lines i:nth-child(3) { width: 67%; }
#home .sheet-code-lines i:nth-child(4) { width: 83%; }
#home .sheet-code-lines i:nth-child(5) { width: 55%; }
#home .sheet-code-lines i.indent { margin-left: 13px; }
#home .sheet-code-lines i.violet { background: #c9c6ef; }
#home .sheet-doc-lines { display: grid; gap: 11px; }
#home .sheet-doc-lines i:nth-child(1) { width: 90%; }
#home .sheet-doc-lines i:nth-child(2) { width: 78%; }
#home .sheet-doc-lines b {
  display: block;
  height: 44px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(113, 169, 145, .28), rgba(113, 169, 145, .12));
}
#home .sheet-doc-lines i.short { width: 58%; }
#home .sheet-history-lines { display: grid; gap: 15px; }
#home .sheet-history-lines span { display: flex; align-items: center; gap: 12px; }
#home .sheet-history-lines b {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d2d0e6;
}
#home .sheet-history-lines i {
  display: block;
  width: 88%;
  height: 7px;
  border-radius: 4px;
  background: #dedfe7;
}
#home .sheet-history-lines i.short { width: 68%; }
#home .sheet-history-lines i.tiny { width: 54%; }

#home .admission-card {
  position: absolute;
  z-index: 8;
  top: 224px;
  right: 7%;
  width: min(400px, 78%);
  padding: 25px 26px 19px;
  border: 1px solid rgba(92, 91, 143, .42);
  border-radius: 15px;
  background: linear-gradient(160deg, rgba(255,255,255,.98), rgba(252,251,255,.96));
  box-shadow: 0 4px 12px rgba(45, 39, 83, .13), 0 27px 58px rgba(84, 70, 137, .22);
}
#home .admission-card-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--home-line);
  color: var(--home-ink);
}
#home .gate-mark { flex: 0 0 auto; }
#home .admission-card-head strong { font-size: 22px; line-height: 1.3; font-weight: 700; }
#home .admission-card-head small { margin-left: auto; color: #5b6675; font-size: 15px; }
#home .admission-card-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
#home .admission-list { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
#home .admission-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 54px;
  border-bottom: 1px solid var(--home-line);
  color: #26394d;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 650;
}
#home .admission-list li:last-child { border-bottom: 0; }
#home .admission-checkbox {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  border: 2px solid #8090a7;
  border-radius: 5px;
  background: #fff;
}
#home .admission-warning { color: var(--home-orange) !important; }
#home .admission-warning-icon {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--home-orange);
  font-size: 19px;
  font-weight: 750;
}

/* Case record */
#home .home-case { margin-top: 0; }
#home .home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 18px;
}
#home .home-section-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 7px;
  color: var(--home-ink);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
}
#home .home-section-kicker > span {
  width: 5px;
  height: 25px;
  flex: 0 0 auto;
  border-radius: 3px;
  background: var(--home-purple);
}
#home .home-section-heading h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(32px, 2.7vw, 40px);
  line-height: 1.2;
  letter-spacing: -.045em;
  font-weight: 760;
}
#home .home-section-link {
  padding-bottom: 5px;
  color: var(--home-muted);
  font-size: 15px;
  white-space: nowrap;
}
#home .decision-record {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  background: rgba(255, 254, 251, .78);
  box-shadow: 0 13px 28px rgba(48, 48, 71, .05);
}
#home .decision-record-label {
  padding: 15px 25px 8px;
  color: #8894a9;
  font: 12px/1.4 var(--mono);
  letter-spacing: .12em;
}
#home .home-signal-rail { display: none; }
#home .decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 291px;
  padding: 9px 16px 22px;
}
#home .decision-column {
  min-width: 0;
  padding: 10px 25px 18px;
}
#home .decision-column + .decision-column { border-left: 1px solid var(--home-line); }
#home .decision-stage {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--home-purple);
  background: #f0eef9;
  font: 13px/1.25 var(--mono);
  letter-spacing: .02em;
}
#home .issue-repo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: #526984;
  font-size: 16px;
  line-height: 1.4;
}
#home .issue-repo b { font-weight: 520; }
#home .github-glyph {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #263365;
  background: #e9edff;
  font-size: 10px;
}
#home .github-glyph svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}
#home .decision-issue h3 {
  margin: 13px 0 0;
  color: var(--home-ink);
  font-size: clamp(20px, 1.65vw, 24px);
  line-height: 1.34;
  letter-spacing: -.025em;
}
#home .decision-column p {
  color: #526984;
  font-size: 15px;
  line-height: 1.7;
}
#home .decision-issue > p { margin-top: 19px; }
#home .decision-muted-link {
  display: inline-block;
  margin-top: 28px;
  color: #63758b;
  font-size: 14px;
}
#home .evidence-total {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 18px;
  color: #2a4055;
}
#home .evidence-total strong { font-size: 44px; line-height: 1; letter-spacing: -.06em; }
#home .evidence-total span { font-size: 15px; font-weight: 650; }
#home .evidence-counts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 13px;
}
#home .evidence-counts > span {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: 82px;
  padding: 10px 4px;
  border: 1px solid #dedee7;
  border-radius: 7px;
  color: #4549d5;
  background: rgba(255,255,255,.66);
  text-align: center;
}
#home .evidence-counts b { font: 18px/1 var(--mono); }
#home .evidence-counts small { color: #5c6c7f; font-size: 12px; line-height: 1.25; }
#home .evidence-counts small strong { color: #273c51; font: 650 13px/1 var(--mono); }
#home .evidence-checks { margin: 17px 0 0; border-top: 1px solid var(--home-line); }
#home .evidence-checks > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--home-line);
}
#home .evidence-checks dt { color: #5c6c7f; font-size: 15px; }
#home .evidence-checks dd { display: flex; align-items: center; gap: 8px; margin: 0; color: #2d3d4d; font-size: 15px; }
#home .evidence-checks dd i { width: 10px; height: 10px; border-radius: 50%; background: #5b8d7b; }
#home .evidence-checks dd.warn i { background: var(--home-orange); }
#home .verdict-title { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
#home .verdict-title > span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--home-orange);
  font-size: 20px;
  font-weight: 750;
}
#home .verdict-title h3 { color: var(--home-orange); font-size: 23px; line-height: 1.3; }
#home .decision-verdict code {
  display: inline-block;
  margin: 10px 0 14px 47px;
  padding: 4px 8px;
  border-radius: 4px;
  color: #68758a;
  background: #f0f0f5;
  font-size: 12px;
}
#home .decision-verdict p { max-width: 300px; margin-top: 0; }
#home .decision-verdict .verdict-rule { width: 100%; height: 1px; margin: 17px 0; background: var(--home-line); }
#home .decision-action {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  color: var(--home-purple);
  font-size: 15px;
}

#home .metrics-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  min-height: 124px;
  margin: 0 12px 12px;
  padding: 25px 24px 22px;
  border: 1px solid rgba(120, 111, 170, .08);
  border-radius: 10px;
  background: var(--home-lavender);
}
#home .metrics-strip > div {
  min-width: 0;
  padding-left: 28px;
  border-left: 1px solid #d7d4e7;
}
#home .metrics-strip > div:first-of-type { padding-left: 0; border-left: 0; }
#home .metrics-strip strong { display: block; color: var(--home-ink); font-size: 34px; line-height: 1.05; letter-spacing: -.045em; }
#home .metrics-strip span { display: block; margin-top: 7px; color: #536781; font-size: 15px; line-height: 1.45; }
#home .metrics-strip small { font-size: 13px; }
#home .metrics-strip > a {
  position: absolute;
  top: 16px;
  right: 22px;
  color: var(--home-purple);
  font-size: 14px;
  white-space: nowrap;
}

/* Three-step process */
#home .home-process { margin-top: 32px; padding-bottom: 0; }
#home .home-process {
  display: grid;
  grid-template-columns: minmax(230px, 1.08fr) minmax(0, 3fr);
  column-gap: 30px;
  align-items: start;
}
#home .process-heading { display: block; margin: 0; }
#home .process-heading > div {
  display: block;
  align-items: baseline;
  gap: 22px;
}
#home .process-title-row { display: flex; align-items: baseline; gap: 22px; }
#home .process-title-row .home-section-kicker { margin: 0; font-size: clamp(29px, 2.7vw, 40px); line-height: 1.2; letter-spacing: -.045em; }
#home .process-title-row .home-section-kicker > span { height: 30px; }
#home .process-title-row > span { color: #61718a; font-size: 17px; line-height: 1.5; }
#home .process-heading h2 { display: none; }
#home .process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  align-self: start;
}
#home .process-step {
  position: relative;
  min-width: 0;
  padding: 0 30px 0 10px;
}
#home .process-step + .process-step {
  padding-left: 34px;
  border-left: 1px solid var(--home-line);
}
#home .process-step::after {
  position: absolute;
  top: 66px;
  right: -11px;
  z-index: 5;
  color: #7d6bde;
  font-size: 28px;
  line-height: 1;
  content: "→";
}
#home .process-step:last-child::after { display: none; }
#home .process-visual {
  display: grid;
  place-items: center;
  height: 118px;
  margin: 0 0 9px;
}
#home .process-visual svg { width: 155px; height: 108px; overflow: visible; }
#home .process-visual svg rect { fill: rgba(255,254,251,.88); stroke: #bfc2d0; stroke-width: 1; }
#home .process-visual svg path { fill: none; stroke: #5a5fe0; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
#home .process-visual svg text { fill: #8c83bd; font: 700 17px var(--sans); }
#home .process-visual-question svg circle { fill: #8d81c4; stroke: none; }
#home .process-visual-question svg circle + text { fill: #fff; }
#home .process-visual-gate svg path:first-child { fill: rgba(91,92,136,.1); stroke: #8c86c2; }
#home .process-visual-gate svg rect { fill: #fffdf9; stroke: #a9c0b1; }
#home .process-visual-gate svg path:last-child { stroke: #5f8c74; }
#home .process-copy { position: relative; min-height: 126px; padding-left: 49px; }
#home .process-index {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 36px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  color: #5c549e;
  background: #efedf9;
  font: 13px/1 var(--mono);
}
#home .process-copy h3 { color: #243a50; font-size: 20px; line-height: 1.35; }
#home .process-copy p { margin-top: 8px; color: #566b83; font-size: 15px; line-height: 1.62; }
#home .process-tag {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 9px;
  border-radius: 4px;
  color: #67738b;
  background: #f0eff7;
  font-size: 13px;
}

#home .home-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
  margin-top: 28px;
  border-top: 1px solid var(--home-line);
  color: #24384d;
}
#home .home-footer > strong { font-size: 19px; font-weight: 700; }
#home .home-footer > strong em { color: var(--home-purple); font-style: normal; }
#home .home-final-cta { display: flex; align-items: center; gap: 22px; color: #667489; font-size: 15px; }
#home .home-final-cta .btn {
  min-height: 44px;
  padding-inline: 18px;
  border-color: #9899c0;
  color: var(--home-purple);
  background: rgba(255,254,251,.72);
  box-shadow: none;
}
#home .home-final-cta .btn:hover { background: #fff; }

/* Tablet */
@media (max-width: 1100px) and (min-width: 769px) {
  .nav-inner { width: calc(100% - 96px); }
  #home .home-native { width: calc(100% - 96px); padding-top: 38px; }
  #home .home-hero { grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); gap: 34px; min-height: 520px; }
  #home .home-hero h1 { font-size: clamp(60px, 6.25vw, 72px); }
  #home .home-deck { font-size: 20px; }
  #home .home-hero-visual { height: 520px; }
  #home .home-hero-visual::before { inset: -12px -11% 0 -13%; }
  #home .home-hero-visual::before { inset-inline: 0; }
  #home .home-hero-visual::after { right: 0; left: 0; }
  #home .evidence-stack { top: 15px; }
  #home .evidence-sheet { width: 164px; height: 250px; padding: 21px 17px; }
  #home .evidence-sheet-code { left: 1%; }
  #home .evidence-sheet-doc { left: 33%; }
  #home .evidence-sheet-history { right: 0; }
  #home .admission-card { top: 215px; right: 6%; width: min(370px, 79%); padding: 21px 22px 16px; }
  #home .admission-card-head strong { font-size: 20px; }
  #home .admission-list li { min-height: 50px; font-size: 16px; }
  #home .decision-column { padding-inline: 18px; }
  #home .decision-issue h3 { font-size: 21px; }
  #home .metrics-strip { padding-inline: 20px; }
  #home .home-process { grid-template-columns: minmax(200px, 1.08fr) minmax(0, 3fr); column-gap: 20px; }
  #home .process-step { padding-right: 22px; }
  #home .process-step + .process-step { padding-left: 24px; }
}

/* Mobile / narrow desktop */
@media (max-width: 768px) {
  .nav-inner { width: calc(100% - 40px); min-height: 56px; }
  .nav-links { gap: 17px; overflow-x: auto; }
  .nav-links a { font-size: 12px; white-space: nowrap; }
  #home .home-native { width: calc(100% - 40px); padding-top: 30px; }
  #home .home-hero { display: grid; grid-template-columns: 1fr; gap: 8px; min-height: 0; margin-bottom: 22px; }
  #home .home-hero h1 { font-size: clamp(54px, 9.5vw, 68px); white-space: normal; }
  #home .home-deck { font-size: 19px; }
  #home .home-cta { gap: 18px; }
  #home .home-cta .btn.primary { min-height: 54px; padding-inline: 22px; }
  #home .home-hero-visual { width: min(100%, 560px); height: 470px; margin-inline: auto; background: radial-gradient(ellipse at 50% 42%, rgba(209,201,247,.82) 0 25%, rgba(223,217,249,.66) 42%, rgba(239,235,252,.42) 61%, rgba(248,247,252,0) 80%) !important; }
  #home .evidence-stack { top: 7px; }
  #home .evidence-sheet { width: 150px; height: 235px; }
  #home .admission-card { top: 210px; right: 7%; width: 76%; }
  #home .home-section-heading { align-items: flex-start; }
  #home .home-section-heading h2 { font-size: 34px; }
  #home .decision-grid { grid-template-columns: 1fr; min-height: 0; padding: 6px 16px 8px; }
  #home .decision-column { padding: 16px 9px 20px; }
  #home .decision-column + .decision-column { border-top: 1px solid var(--home-line); border-left: 0; }
  #home .metrics-strip { grid-template-columns: 1fr 1fr; min-height: 0; gap: 18px 0; }
  #home .metrics-strip > div:nth-child(3) { padding-left: 0; border-left: 0; }
  #home .metrics-strip > a { grid-column: 2; grid-row: 2; top: auto; right: 22px; bottom: 16px; }
  #home .home-process { display: block; margin-top: 38px; }
  #home .home-process { background: transparent; }
  #home .metrics-strip .metrics-label { display: none; }
  #home .metrics-strip > div { transform: none; }
  #home .process-heading > div { display: block; }
  #home .process-title-row { display: flex; align-items: baseline; gap: 12px; }
  #home .process-title-row .home-section-kicker { font-size: 29px; }
  #home .process-title-row > span { font-size: 14px; }
  #home .process-steps { display: block; }
  #home .process-step,
  #home .process-step + .process-step {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--home-line);
  }
  #home .process-step:first-child { border-top: 0; }
  #home .process-step::after { top: auto; right: auto; bottom: -17px; left: 72px; transform: rotate(90deg); }
  #home .process-visual { height: 106px; margin: 0; }
  #home .process-copy { min-height: 0; align-self: center; }
  #home .home-footer { align-items: flex-start; flex-direction: column; padding: 20px 0 24px; }
  #home .home-final-cta { width: 100%; justify-content: space-between; }
}

@media (max-width: 480px) {
  .nav-inner { width: calc(100% - 28px); min-height: 48px; }
  .nav .logo { font-size: 16px; }
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 10px; }
  #home .home-native { width: calc(100% - 28px); padding-top: 22px; }
  #home .home-kicker { margin-bottom: 18px; font-size: 15px; }
  #home .home-hero h1 { font-size: clamp(44px, 12.2vw, 56px); line-height: 1.06; letter-spacing: -.06em; }
  #home .home-deck { margin-top: 17px; font-size: 16px; line-height: 1.55; }
  #home .home-cta { flex-wrap: nowrap; gap: 12px; margin-top: 22px; }
  #home .home-cta .btn.primary { min-height: 48px; padding: 10px 15px; font-size: 15px; }
  #home .home-cta .text-link { font-size: 15px; }
  #home .home-trust { margin-top: 17px; font-size: 14px; }
  #home .home-hero-visual { height: 292px; margin-top: 2px; }
  #home .home-hero-visual { width: 100%; }
  #home .home-hero-visual::before { inset-inline: 0; }
  #home .home-hero-visual::after { right: 0; left: 0; }
  #home .evidence-stack { top: 0; height: 205px; transform: scale(.72); transform-origin: top center; }
  #home .evidence-sheet { width: 145px; height: 208px; padding: 18px 15px; }
  #home .evidence-sheet-code { left: 1%; }
  #home .evidence-sheet-doc { left: 32%; }
  #home .evidence-sheet-history { right: 0; }
  #home .sheet-heading strong { font-size: 16px; }
  #home .evidence-sheet-icon { font-size: 22px; }
  #home .sheet-code-lines, #home .sheet-doc-lines, #home .sheet-history-lines { margin-top: 15px; }
  #home .admission-card { top: 119px; right: 4%; width: 88%; padding: 10px 14px 5px; border-radius: 10px; }
  #home .admission-card-head { padding-bottom: 8px; }
  #home .admission-card-head strong { font-size: 16px; }
  #home .admission-card-head small { font-size: 11px; }
  #home .admission-list li { min-height: 30px; gap: 10px; font-size: 12px; }
  #home .admission-checkbox { width: 15px; height: 15px; border-width: 1.5px; border-radius: 3px; }
  #home .admission-warning-icon { width: 20px; height: 20px; font-size: 13px; }
  #home .home-section-heading { display: block; margin-bottom: 14px; }
  #home .home-section-kicker { gap: 8px; margin-bottom: 5px; font-size: 15px; }
  #home .home-section-kicker > span { width: 4px; height: 20px; }
  #home .home-section-heading h2 { font-size: 26px; }
  #home .home-section-link { display: block; margin-top: 10px; font-size: 13px; }
  #home .decision-record-label { padding: 12px 15px 5px; font-size: 9px; }
  #home .decision-grid { padding-inline: 12px; }
  #home .decision-grid { padding-top: 0; padding-bottom: 0; }
  #home .decision-column { padding: 10px 4px 11px; }
  #home .decision-column + .decision-column { padding-top: 8px; }
  #home .issue-repo { margin-top: 13px; font-size: 13px; }
  #home .decision-issue h3 { font-size: 18px; }
  #home .decision-column p { font-size: 13px; }
  #home .decision-muted-link { margin-top: 9px; font-size: 12px; }
  #home .evidence-total { margin-top: 9px; }
  #home .evidence-total strong { font-size: 34px; }
  #home .evidence-counts { gap: 4px; }
  #home .evidence-counts > span { min-height: 62px; padding: 7px 2px; }
  #home .evidence-counts > span { min-height: 54px; }
  #home .evidence-counts b { font-size: 14px; }
  #home .evidence-counts small { font-size: 10px; }
  #home .evidence-checks { margin-top: 9px; }
  #home .evidence-checks > div { padding: 5px 0; }
  #home .evidence-checks dt, #home .evidence-checks dd { font-size: 12px; }
  #home .verdict-title { margin-top: 10px; }
  #home .verdict-title h3 { font-size: 19px; }
  #home .decision-verdict .verdict-rule { margin: 9px 0; }
  #home .decision-verdict .decision-action { margin-top: 8px; }
  #home .decision-verdict p { line-height: 1.45; }
  #home .decision-issue > p { margin-top: 11px; }
  #home .decision-column { padding-block: 7px 8px; }
  #home .decision-column + .decision-column { padding-top: 6px; }
  #home .decision-stage { padding-block: 4px; }
  #home .issue-repo { margin-top: 8px; }
  #home .decision-issue h3 { margin-top: 8px; }
  #home .metrics-strip { gap: 13px 0; padding: 16px 14px 17px; }
  #home .metrics-strip { min-height: 104px; padding-block: 12px 13px; }
  #home .metrics-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  #home .metrics-strip > div { padding-left: 8px; }
  #home .metrics-strip > div:first-child { padding-left: 0; }
  #home .metrics-strip > a { grid-column: 1 / -1; grid-row: 2; position: static; justify-self: end; margin-top: 2px; }
  #home .metrics-strip > div span { white-space: nowrap; }
  #home .metrics-strip small { display: none; }
  #home .metrics-strip > div { padding-left: 12px; }
  #home .metrics-strip strong { font-size: 23px; }
  #home .metrics-strip span { font-size: 11px; }
  #home .metrics-strip > a { right: 14px; bottom: 12px; font-size: 11px; }
  #home .home-process { margin-top: 30px; }
  #home .process-title-row { display: block; }
  #home .process-title-row > span { display: block; margin: 6px 0 0 15px; font-size: 13px; }
  #home .process-title-row .home-section-kicker { font-size: 26px; }
  #home .process-step,
  #home .process-step + .process-step { grid-template-columns: 92px minmax(0, 1fr); gap: 11px; padding: 12px 0; }
  #home .process-visual { height: 75px; }
  #home .process-visual svg { width: 95px; height: 70px; }
  #home .process-copy { padding-left: 34px; }
  #home .process-index { width: 27px; height: 20px; font-size: 10px; }
  #home .process-copy h3 { font-size: 16px; }
  #home .process-copy p { margin-top: 4px; font-size: 11px; line-height: 1.45; }
  #home .process-tag { margin-top: 6px; padding: 3px 6px; font-size: 10px; }
  #home .home-footer > strong { font-size: 16px; }
  #home .home-final-cta .btn { min-height: 39px; font-size: 13px; }
  #home .home-final-cta { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  #home .home-hero-visual *,
  #home .home-native * { transition: none !important; animation: none !important; }
}

/* Final template calibration: the reference keeps the process heading on one
   full-width row, then gives each of the three steps an equal column. */
#home::before {
  height: 670px;
  background:
    url("./assets/issuegate-paper-texture.svg") center top / cover no-repeat,
    radial-gradient(ellipse 56% 66% at 80% 35%, rgba(108, 91, 191, .10), transparent 75%);
  background-size: cover, auto;
}
#home .evidence-counts > span > b {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
}
#home .evidence-counts > span > b svg {
  display: block;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#home .evidence-counts > span:first-child > b svg circle:first-child { fill: currentColor; stroke: none; opacity: .13; }
#home .evidence-counts > span:first-child > b svg circle:last-child { fill: currentColor; stroke: none; }
#home .evidence-counts > span:first-child > b {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  color: #fff;
  background: #1e2d3c;
}
#home .evidence-counts > span:first-child > b svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
#home .evidence-counts > span:first-child > b svg path { fill: currentColor; stroke: none; }
#home .evidence-counts > span:first-child > b svg circle { display: none; }
#home .metrics-strip .metrics-label {
  position: absolute;
  top: 9px;
  left: 22px;
  margin: 0;
  color: var(--home-purple);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 650;
}
#home .metrics-strip > div { transform: translateY(7px); }

@media (min-width: 769px) {
  #home .home-hero-copy { padding-left: 20px; }

  #home .decision-record-label { padding: 11px 20px 4px; }
  #home .decision-grid { min-height: 0; grid-template-columns: 1fr .94fr 1fr; padding: 0 14px 8px; }
  #home .decision-column { padding: 5px 24px 4px; }
  #home .decision-issue { padding-left: 16px; }
  #home .decision-stage { padding: 4px 13px; }
  #home .issue-repo { margin-top: 16px; }
  #home .decision-issue h3 { margin-top: 10px; }
  #home .decision-issue > p { margin-top: 14px; }
  #home .decision-muted-link { margin-top: 22px; }
  #home .evidence-total { margin-top: 12px; }
  #home .evidence-counts { margin-top: 9px; }
  #home .evidence-counts > span { min-height: 78px; padding-block: 8px; }
  #home .evidence-checks { margin-top: 10px; }
  #home .evidence-checks > div { padding: 5px 0; }
  #home .verdict-title { margin-top: 16px; }
  #home .decision-verdict code { margin-top: 7px; margin-bottom: 10px; }
  #home .decision-verdict .verdict-rule { margin-block: 12px; }
  #home .decision-action { margin-top: 12px; }

  #home .home-process {
    display: block;
    margin-top: 30px;
    padding: 0;
    background: transparent;
  }
  #home .process-heading {
    display: flex;
    width: 100%;
    margin: 0 0 6px;
    padding-left: 14px;
  }
  #home .process-heading > div { width: 100%; }
  #home .process-title-row { display: flex; align-items: baseline; gap: 22px; }
  #home .process-title-row > span { font-size: 16px; }
  #home .process-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    min-height: 0;
  }
  #home .process-step { padding: 0 4px 0 14px; }
  #home .process-step + .process-step { padding-left: 30px; }
  #home .process-visual { height: 82px; margin-bottom: 7px; }
  #home .process-visual svg { width: 190px; height: 112px; }
  #home .process-visual-question svg { transform: translateX(-26px); }
  #home .process-visual-evidence svg { width: 220px; }
  #home .process-visual-gate svg { width: 220px; }
  #home .process-copy { min-height: 0; padding-left: 48px; }
  #home .process-copy h3 { font-size: 19px; }
  #home .process-copy p { font-size: 14px; line-height: 1.5; }
  #home .process-tag { margin-top: 8px; font-size: 12px; }
}

@media (max-width: 1100px) and (min-width: 769px) {
  #home .home-native { padding-top: 36px; }
  #home .home-hero { grid-template-columns: minmax(0, .44fr) minmax(0, .56fr); gap: 34px; }
  #home .home-hero-copy { align-self: start; padding-top: 43px; }
  #home .home-hero h1 { font-size: clamp(70px, 7vw, 76px); }
  #home .home-deck { margin-top: 30px; }
  #home .home-cta { margin-top: 33px; }
  #home .home-trust { margin-top: 34px; }
  #home .home-hero-visual { transform: translateY(10px); }
  #home .evidence-sheet { width: 150px; height: 230px; padding: 20px 16px; }
  #home .evidence-sheet-code { top: 49px; left: 0; }
  #home .evidence-sheet-doc { left: 33%; }
  #home .evidence-sheet-history { top: 36px; right: 2%; }
  #home .admission-card { top: 198px; right: 13.3%; width: min(368px, 79%); }
  #home .admission-list li { min-height: 56px; }
  #home .home-case .home-section-heading { padding-inline: 14px; margin-bottom: 11px; }
  #home .process-title-row { gap: 16px; }
  #home .process-title-row .home-section-kicker { font-size: 27px; }
  #home .home-process { margin-top: 35px; }
  #home .home-footer { margin-top: 0; }
  #home .process-visual { height: 82px; }
}

/* Process module: reference-scale desktop calibration */
@media (min-width: 769px) {
  #home .home-process {
    margin-top: 38px;
    padding-bottom: 12px;
  }

  #home .process-heading {
    margin-bottom: 20px;
    padding-left: 14px;
  }

  #home .process-title-row {
    gap: 22px;
  }

  #home .process-title-row .home-section-kicker {
    font-size: clamp(36px, 2.8vw, 40px);
    line-height: 1.16;
  }

  #home .process-title-row .home-section-kicker > span {
    height: 38px;
  }

  #home .process-title-row > span {
    color: #61718a;
    font-size: clamp(17px, 1.25vw, 18px);
  }

  #home .process-steps {
    overflow: visible;
  }

  #home .process-step,
  #home .process-step + .process-step {
    min-height: 392px;
    padding: 0 30px 0 22px;
    border-left: 0;
  }

  #home .process-step + .process-step {
    padding-left: 34px;
  }

  #home .process-step + .process-step::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: linear-gradient(to bottom,
      var(--home-line) 0 35%,
      transparent 35% 53%,
      var(--home-line) 53% 100%);
    content: "";
  }

  #home .process-step::after {
    top: 92px;
    right: -16px;
    z-index: 10;
    width: 32px;
    height: 12px;
    color: transparent;
    border-top: 1.5px solid #8274d1;
    content: "";
  }

  #home .process-step::after::after {
    content: "";
  }

  #home .process-step:last-child::after {
    display: none;
  }

  #home .process-visual {
    position: relative;
    height: 190px;
    margin-bottom: 16px;
  }

  #home .process-visual::before {
    position: absolute;
    inset: 17px 7% 8px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(ellipse,
      rgba(218, 211, 248, .62),
      rgba(241, 238, 252, 0) 72%);
    content: "";
  }

  #home .process-visual svg {
    width: 250px;
    height: 178px;
    filter: drop-shadow(0 4px 6px rgba(45, 39, 83, .12)) drop-shadow(0 17px 24px rgba(91, 72, 154, .12));
  }

  #home .process-visual-question svg { transform: translateX(-18px); }
  #home .process-visual-evidence svg,
  #home .process-visual-gate svg { width: 270px; }

  #home .process-copy {
    min-height: 190px;
    padding-left: 64px;
  }

  #home .process-index {
    width: 52px;
    height: 38px;
    font-size: 17px;
  }

  #home .process-copy h3 {
    color: #243a50;
    font-size: clamp(26px, 2vw, 28px);
    line-height: 1.25;
  }

  #home .process-copy p {
    margin-top: 14px;
    color: #566b83;
    font-size: clamp(17px, 1.25vw, 18px);
    line-height: 1.6;
  }

  #home .process-tag {
    margin-top: 16px;
    padding: 7px 12px;
    border-radius: 5px;
    font-size: clamp(14px, 1.05vw, 15px);
  }
}

@media (max-width: 1100px) and (min-width: 769px) {
  #home .process-title-row .home-section-kicker { font-size: 34px; }
  #home .process-title-row > span { font-size: 17px; }
  #home .process-visual { height: 174px; }
  #home .process-visual svg { width: 220px; height: 158px; }
  #home .process-visual-evidence svg,
  #home .process-visual-gate svg { width: 240px; }
  #home .process-step,
  #home .process-step + .process-step { min-height: 365px; padding-right: 18px; }
  #home .process-step + .process-step { padding-left: 27px; }
  #home .process-copy { padding-left: 56px; }
  #home .process-copy h3 { font-size: 24px; }
  #home .process-copy p { font-size: 16px; }
  #home .process-tag { font-size: 13px; }
}
@media (min-width: 769px) {
  #home .process-step::after {
    background: linear-gradient(45deg, transparent 48%, #8274d1 49% 56%, transparent 57%) right center / 9px 9px no-repeat;
  }
}

/* Hero and navigation: reference fidelity pass */
.nav-inner {
  width: min(1240px, calc(100% - 96px));
  min-height: 74px;
}
.nav .logo {
  font-size: clamp(22px, 1.65vw, 27px);
  letter-spacing: -.045em;
}
.nav-links { gap: clamp(28px, 2.8vw, 44px); }
.nav-links a {
  font-size: clamp(15px, 1.12vw, 18px);
  font-weight: 600;
}

@media (min-width: 1101px) {
  #home .home-native { padding-top: 58px; }
  #home .home-hero {
    grid-template-columns: minmax(0, .44fr) minmax(0, .56fr);
    gap: clamp(46px, 4.5vw, 64px);
    min-height: 590px;
    margin-bottom: 38px;
  }
  #home .home-hero-copy { padding-left: 0; }
  #home .home-kicker {
    margin-bottom: 28px;
    font-size: clamp(19px, 1.45vw, 22px);
  }
  #home .home-hero h1 {
    font-size: clamp(72px, 5.7vw, 86px);
    line-height: 1.08;
    letter-spacing: -.06em;
  }
  #home .home-deck {
    margin-top: 29px;
    font-size: clamp(21px, 1.5vw, 24px);
    line-height: 1.5;
  }
  #home .home-cta { margin-top: 34px; gap: 38px; }
  #home .home-cta .btn.primary {
    min-height: 62px;
    padding-inline: 30px;
    font-size: 20px;
  }
  #home .home-cta .text-link { font-size: 20px; }
  #home .home-trust { margin-top: 30px; font-size: 18px; }
  #home .home-hero-visual {
    height: 590px;
    transform: none;
  }
  #home .home-hero-visual::before {
    inset: -28px -12% 4px -14%;
    background: radial-gradient(ellipse at 50% 42%, rgba(209,201,247,.86) 0 25%, rgba(223,217,249,.7) 43%, rgba(239,235,252,.45) 64%, rgba(248,247,252,0) 82%);
  }
  #home .home-hero-visual::after {
    right: 1%; left: 8%; bottom: 40px; height: 48px;
    background: rgba(75,61,125,.24);
    filter: blur(25px);
  }
  #home .evidence-stack { top: 26px; height: 370px; }
  #home .evidence-sheet {
    width: clamp(178px, 15.2vw, 216px);
    height: 308px;
    padding: 28px 24px;
    border-radius: 14px;
    box-shadow: 0 5px 14px rgba(45,39,83,.13), 0 28px 52px rgba(84,70,137,.2);
  }
  #home .evidence-sheet-code { left: 2%; transform: rotate(-5deg); }
  #home .evidence-sheet-doc { top: 10px; left: 34%; }
  #home .evidence-sheet-history { top: 28px; right: 1%; transform: rotate(5deg); }
  #home .sheet-heading strong { font-size: 22px; }
  #home .admission-card {
    top: 265px;
    right: 6%;
    width: min(460px, 82%);
    padding: 28px 31px 20px;
    border-radius: 16px;
    box-shadow: 0 5px 14px rgba(45,39,83,.14), 0 30px 64px rgba(84,70,137,.25);
  }
  #home .admission-card-head { padding-bottom: 18px; }
  #home .admission-card-head strong { font-size: 25px; }
  #home .admission-card-head small { font-size: 16px; }
  #home .admission-list li { min-height: 59px; font-size: 18px; }
}

@media (max-width: 1100px) and (min-width: 769px) {
  .nav-inner { width: calc(100% - 96px); min-height: 68px; }
  .nav-links { gap: 24px; }
  .nav-links a { font-size: 14px; }
  #home .home-native { padding-top: 44px; }
  #home .home-hero { min-height: 550px; margin-bottom: 28px; }
  #home .home-hero h1 { font-size: clamp(64px, 6.5vw, 74px); }
  #home .home-hero-visual { height: 550px; }
  #home .evidence-stack { top: 19px; }
  #home .evidence-sheet { width: 164px; height: 268px; }
  #home .admission-card { top: 224px; width: min(400px, 82%); }
}

@media (max-width: 768px) {
  .nav-inner { width: calc(100% - 28px); min-height: 56px; }
  .nav .logo { font-size: 18px; }
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 11px; }
  #home .home-hero h1 { line-height: 1.06; }
}
@media (min-width: 769px) {
  .nav-inner { min-height: 62px; }
}
@media (min-width: 1101px) {
  #home .home-hero { min-height: 560px; }
  #home .home-hero-visual { height: 560px; }
}
@media (max-width: 1100px) and (min-width: 769px) {
  .nav-inner { min-height: 62px; }
}

/* Process illustrations rebuilt as paper scenes with true between-column arrows. */
@media (min-width: 769px) {
  #home .process-steps {
    --process-arrow-top: 124px;
    --process-arrow-gap: 38px;
    position: relative;
    isolation: isolate;
    overflow: visible;
  }

  #home .process-step,
  #home .process-step + .process-step {
    min-height: 505px;
  }
  #home .process-step:first-child { position: static; }

  #home .process-step + .process-step::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    border: 0;
    background: linear-gradient(
      to bottom,
      var(--home-line) 0 var(--process-arrow-top),
      transparent var(--process-arrow-top) calc(var(--process-arrow-top) + var(--process-arrow-gap)),
      var(--home-line) calc(var(--process-arrow-top) + var(--process-arrow-gap)) 100%
    );
    content: "";
  }

  #home .process-step::after,
  #home .process-step:last-child::after {
    display: none;
    content: none;
  }

  #home .process-transition {
    position: absolute;
    z-index: 8;
    top: calc(var(--process-arrow-top) + (var(--process-arrow-gap) - 36px) / 2);
    display: block;
    width: 72px;
    height: 36px;
    overflow: visible;
    transform: translateX(-50%);
    pointer-events: none;
  }

  #home .process-transition-one { left: 33.333333%; }
  #home .process-transition-two { left: 66.666667%; }

  #home .process-transition path {
    fill: none;
    stroke: #7568d5;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  #home .process-visual {
    position: relative;
    display: grid;
    height: 268px;
    margin: 0 0 20px;
    overflow: visible;
    place-items: center;
  }

  #home .process-visual::before {
    position: absolute;
    z-index: 0;
    inset: 2px 1% 4px;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 53%, rgba(219, 212, 249, .62) 0%, rgba(236, 232, 250, .42) 51%, rgba(248, 246, 252, 0) 78%);
    content: "";
  }

  #home .process-visual svg {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 380px);
    height: auto;
    max-height: 100%;
    overflow: visible;
    filter: none;
  }

  #home .process-visual svg .question-paper-back,
  #home .process-visual svg .evidence-code-paper,
  #home .process-visual svg .gate-back-sheet {
    fill: #faf9ff;
    stroke: #c9c9e0;
    stroke-width: 1.35;
  }

  #home .process-visual svg .question-paper-front,
  #home .process-visual svg .evidence-doc-paper,
  #home .process-visual svg .gate-door-front {
    stroke: #c6c7df;
    stroke-width: 1.4;
  }

  #home .process-visual svg .question-paper-front,
  #home .process-visual svg .evidence-code-paper,
  #home .process-visual svg .evidence-doc-paper,
  #home .process-visual svg .gate-back-sheet,
  #home .process-visual svg .gate-door-front,
  #home .process-visual svg .gate-check-card {
    fill: #fffefc;
  }

  #home .process-visual-question svg .question-paper-front { fill: url(#question-paper-wash); }
  #home .process-visual-evidence svg .evidence-doc-paper { fill: url(#evidence-paper-wash); }
  #home .process-visual-gate svg .gate-door-front { fill: url(#gate-paper-wash); }

  #home .process-visual svg .question-copy-line,
  #home .process-visual svg .question-code-line,
  #home .process-visual svg .evidence-code-line,
  #home .process-visual svg .evidence-doc-line,
  #home .process-visual svg .gate-check-line {
    fill: none;
    stroke: #dfe0e9;
    stroke-width: 9;
    stroke-linecap: round;
  }

  #home .process-visual svg .question-copy-line.short { stroke-width: 8; }
  #home .process-visual svg .question-list-dot { fill: #c9c6e5; stroke: none; }
  #home .process-visual svg .question-code-line { stroke: #d2cafa; stroke-width: 8; }
  #home .process-visual svg .question-code-line-mark,
  #home .process-visual svg .evidence-code-line-mark { stroke: #b9aaf4; stroke-width: 9; }
  #home .process-visual svg .question-summary-block { fill: #f0edfc; stroke: none; }
  #home .process-visual svg .question-summary-line { fill: none; stroke: #ded9f5; stroke-width: 8; stroke-linecap: round; }
  #home .process-visual svg .question-github-mark circle { fill: #5345cf; stroke: none; }
  #home .process-visual svg .question-github-mark path { fill: #fff; stroke: none; }
  #home .process-visual svg .question-badge circle { fill: #8272c9; stroke: none; }
  #home .process-visual svg .question-badge text { fill: #fff; stroke: none; font: 58px/1 Arial, sans-serif; }

  #home .process-visual svg .evidence-code-icon,
  #home .process-visual svg .evidence-doc-icon,
  #home .process-visual svg .evidence-compare-arrow {
    fill: none;
    stroke: #5447dc;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  #home .process-visual svg .evidence-code-dot { fill: #d5d3df; stroke: none; }
  #home .process-visual svg .evidence-code-dot.marked { fill: #b4a9eb; }
  #home .process-visual svg .evidence-code-line-mark { stroke: #c3b8f2; }
  #home .process-visual svg .evidence-doc-icon { stroke-width: 4; }
  #home .process-visual svg .evidence-doc-highlight { fill: #e4eeea; stroke: none; }
  #home .process-visual svg .evidence-doc-highlight-line { fill: none; stroke: #c9dcd4; stroke-width: 8; stroke-linecap: round; }
  #home .process-visual svg .evidence-compare-arrow { stroke: #675bd8; stroke-width: 4.5; }

  #home .process-visual svg .gate-back-sheet { fill: #f3f0fb; }
  #home .process-visual svg .gate-side-face { fill: #9184ce; stroke: #8072c1; stroke-width: 1.2; }
  #home .process-visual svg .gate-mid-sheet { fill: #fbfaff; stroke: #d1cde8; stroke-width: 1.3; }
  #home .process-visual-gate svg .gate-door-front { fill: url(#gate-paper-wash); stroke: #c6c7df; stroke-width: 1.4; }
  #home .process-visual svg .gate-issue-mark path { fill: #14283a; stroke: none; }
  #home .process-visual svg .gate-issue-mark .gate-mark-bridge { fill: none; stroke: #5b49bc; stroke-width: 9; stroke-linecap: round; }
  #home .process-visual svg .gate-check-card { fill: #fffefc; stroke: #c8c9df; stroke-width: 1.4; }
  #home .process-visual svg .gate-confirm-mark circle { fill: #6e9c8d; stroke: none; }
  #home .process-visual svg .gate-confirm-mark path { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
  #home .process-visual-gate svg .gate-check-line { stroke: #cbd9d4; stroke-width: 8; }

  #home .process-copy {
    min-height: 205px;
    padding-left: 76px;
  }
  #home .process-index {
    width: 58px;
    height: 42px;
    font-size: 18px;
  }
  #home .process-copy h3 {
    font-size: clamp(27px, 2vw, 30px);
    line-height: 1.32;
  }
  #home .process-copy p {
    margin-top: 15px;
    font-size: clamp(17px, 1.23vw, 19px);
    line-height: 1.65;
    min-height: 4.95em;
  }
  #home .process-tag {
    margin-top: 14px;
    padding: 7px 12px;
    border-radius: 7px;
    font-size: 15px;
  }
}

@media (max-width: 1100px) and (min-width: 769px) {
  #home .process-steps {
    --process-arrow-top: 105px;
    --process-arrow-gap: 36px;
  }
  #home .process-step,
  #home .process-step + .process-step { min-height: 470px; }
  #home .process-visual { height: 224px; margin-bottom: 18px; }
  #home .process-copy { padding-left: 58px; }
  #home .process-index { width: 48px; height: 36px; font-size: 16px; }
  #home .process-copy h3 { font-size: 24px; }
  #home .process-copy p { min-height: 4.95em; font-size: 16px; }
  #home .process-tag { font-size: 13px; }
}

@media (max-width: 768px) {
  #home .process-transition { display: none; }
  #home .process-visual {
    height: 100px;
    overflow: visible;
  }
  #home .process-visual svg {
    width: min(100%, 150px);
    height: auto;
    max-height: 100%;
    overflow: visible;
  }
  #home .process-step,
  #home .process-step + .process-step {
    grid-template-columns: minmax(108px, .76fr) minmax(0, 1.24fr);
  }
  #home .process-copy p { min-height: 0; }
}
