:root {
  color-scheme: light;
  --ink: #07111e;
  --text: #152438;
  --muted: #617184;
  --line: #d8e4e5;
  --line-strong: #a8cac8;
  --surface: #ffffff;
  --surface-soft: #f4fbfa;
  --surface-mint: #e8f6f3;
  --teal: #006f6a;
  --teal-dark: #004e4b;
  --teal-bright: #00b992;
  --cobalt: #6fa8d7;
  --red: #d72e2e;
  --amber: #e89100;
  --shadow-soft: 0 10px 24px rgba(31, 55, 72, 0.08);
  --shadow-tight: 0 5px 14px rgba(15, 38, 48, 0.08);
  --page-wash: linear-gradient(180deg, rgba(235, 248, 247, 0.52), rgba(255, 255, 255, 0) 360px);
  --page-grain: repeating-linear-gradient(135deg, rgba(0, 111, 106, 0.035) 0 1px, transparent 1px 8px);
  --page-grid-y: linear-gradient(rgba(0, 111, 106, 0.028) 1px, transparent 1px);
  --page-grid-x: linear-gradient(90deg, rgba(0, 111, 106, 0.026) 1px, transparent 1px);
  --radius: 8px;
  --max: 1480px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--surface);
  color: var(--ink);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef7f4;
  --text: #d6e6e1;
  --muted: #9ab0b7;
  --line: rgba(133, 178, 181, 0.25);
  --line-strong: rgba(115, 216, 198, 0.42);
  --surface: #07111e;
  --surface-soft: #0b1724;
  --surface-mint: #0d2a2a;
  --teal: #50d8c7;
  --teal-dark: #13a195;
  --teal-bright: #6df3d4;
  --cobalt: #8fbfec;
  --red: #ff6969;
  --amber: #f4b847;
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.34);
  --shadow-tight: 0 12px 28px rgba(0, 0, 0, 0.28);
  --page-wash: linear-gradient(180deg, rgba(0, 111, 106, 0.16), rgba(7, 17, 30, 0) 420px);
  --page-grain: repeating-linear-gradient(135deg, rgba(115, 216, 198, 0.055) 0 1px, transparent 1px 9px);
  --page-grid-y: linear-gradient(rgba(115, 216, 198, 0.05) 1px, transparent 1px);
  --page-grid-x: linear-gradient(90deg, rgba(111, 168, 215, 0.042) 1px, transparent 1px);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background:
    var(--page-wash),
    var(--page-grain),
    var(--page-grid-y),
    var(--page-grid-x),
    var(--surface);
  background-size: auto, 12px 12px, 34px 34px, 34px 34px, auto;
  color: var(--text);
}

body,
button,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
dl,
dd,
ol,
ul {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 12;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 84px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2 + 28px));
  border-bottom: 1px solid rgba(181, 208, 209, 0.72);
  background: #ffffff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 850;
  line-height: 1;
}

.brand-icon {
  width: 40px;
  height: 40px;
  color: var(--teal);
  stroke-width: 2.3;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 48px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--teal);
  content: "";
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  font-size: 0.98rem;
  font-weight: 820;
  line-height: 1;
  white-space: nowrap;
}

.header-cta {
  position: relative;
  min-width: 168px;
  padding: 0 18px;
  background: linear-gradient(180deg, var(--teal), var(--teal-dark));
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 111, 106, 0.14);
}

.button {
  min-width: 184px;
  padding: 0 22px;
}

.button.primary {
  background: linear-gradient(180deg, var(--teal), var(--teal-dark));
  color: #ffffff;
  box-shadow: 0 5px 12px rgba(0, 111, 106, 0.14);
}

.button.secondary {
  background: #ffffff;
  color: var(--teal-dark);
}

.theme-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(168, 202, 200, 0.92);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 251, 250, 0.96));
  color: var(--teal-dark);
  box-shadow: var(--shadow-tight);
}

.theme-toggle::before {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(0, 111, 106, 0.12);
  border-radius: 6px;
  content: "";
}

.theme-icon {
  position: absolute;
  width: 19px;
  height: 19px;
  transition: opacity 140ms ease, transform 140ms ease;
}

.theme-icon.moon {
  opacity: 0;
  transform: translateY(4px) rotate(-18deg);
}

html[data-theme="dark"] .theme-icon.sun {
  opacity: 0;
  transform: translateY(-4px) rotate(18deg);
}

html[data-theme="dark"] .theme-icon.moon {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

.button:hover,
.header-cta:hover,
.theme-toggle:hover {
  transform: none;
}

.button:focus-visible,
.header-cta:focus-visible,
.theme-toggle:focus-visible,
.site-nav a:focus-visible,
.brand:focus-visible,
.menu-button:focus-visible,
.matrix-row:focus-visible,
.report-tabs button:focus-visible,
.tier-tab:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(111, 168, 215, 0.75);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .site-nav a::after {
    transition: transform 160ms ease;
  }

  .button:hover,
  .header-cta:hover,
  .theme-toggle:hover {
    transform: translateY(-1px);
  }
}

.menu-button {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--teal-dark);
}

.menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 140ms ease, opacity 140ms ease;
}

.site-header[data-menu-open="true"] .menu-button span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-header[data-menu-open="true"] .menu-button span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.section-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 86px 28px;
}

#product,
#workflow,
#rules,
#reports,
#pricing,
#faq,
#docs {
  scroll-margin-top: 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(560px, 0.86fr) minmax(570px, 1.14fr);
  align-items: center;
  gap: 46px;
  min-height: 780px;
  padding-top: 72px;
  padding-bottom: 34px;
}

.hero-copy {
  display: grid;
  gap: 28px;
  align-content: center;
}

.hero h1 {
  max-width: 650px;
  color: var(--ink);
  font-size: 3.55rem;
  font-weight: 860;
  line-height: 1.08;
}

.hero-copy > p {
  max-width: 590px;
  color: #2f4155;
  font-size: 1.28rem;
  line-height: 1.62;
}

.problem-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 650px;
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 820;
  list-style: none;
}

.problem-line li {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.stack-rotator {
  display: inline-grid;
  grid-template-columns: max-content minmax(214px, 238px);
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-top: -4px;
  padding: 8px 9px 8px 13px;
  border: 1px solid rgba(0, 111, 106, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f7fcfa 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 10px 26px rgba(11, 40, 54, 0.06);
  color: #234257;
  font-size: 0.88rem;
  font-weight: 820;
  transform: translateZ(0);
  contain: layout paint style;
}

.stack-rotator > span {
  color: #17364a;
  white-space: nowrap;
}

.stack-rotator strong {
  --cube-depth: 23px;
  position: relative;
  display: block;
  width: 238px;
  height: 46px;
  color: var(--teal-dark);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  overflow: visible;
  perspective: 720px;
  perspective-origin: 50% 50%;
}

.stack-rotator strong::after {
  position: absolute;
  right: 10px;
  bottom: -6px;
  left: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(0, 111, 106, 0.22), rgba(0, 111, 106, 0));
  content: "";
  pointer-events: none;
}

.tool-cube-inner {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 8px;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  transition: transform 560ms cubic-bezier(0.2, 0.72, 0.2, 1);
  will-change: transform;
}

.tool-cube-inner.is-rolling {
  transform: rotateX(90deg);
}

.tool-cube-inner.no-transition {
  transition: none;
}

.tool-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 14px;
  border: 1px solid rgba(0, 111, 106, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #f7fffd 0%, #e7f7f2 55%, #d6eee8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 111, 106, 0.12),
    0 1px 0 rgba(0, 111, 106, 0.1),
    0 9px 17px rgba(0, 111, 106, 0.1);
  backface-visibility: hidden;
  overflow-wrap: anywhere;
}

.tool-face::before {
  position: absolute;
  inset: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 7px;
  content: "";
  pointer-events: none;
}

.tool-face::after {
  position: absolute;
  right: 11px;
  bottom: 0;
  left: 11px;
  height: 1px;
  background: rgba(0, 88, 82, 0.14);
  content: "";
  pointer-events: none;
}

.tool-face.current {
  transform: rotateX(0deg) translateZ(var(--cube-depth));
}

.tool-face.next {
  transform: rotateX(-90deg) translateZ(var(--cube-depth));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 6px;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 16px;
  color: #2b5061;
  font-size: 0.9rem;
  font-weight: 690;
  list-style: none;
}

.trust-line li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-line svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.hero-stage {
  position: relative;
  min-height: 610px;
  background: transparent;
  contain: layout;
  isolation: isolate;
  overflow: visible;
}

.ledger-grid {
  position: absolute;
  inset: 0;
  display: block;
  border: 1px solid rgba(184, 212, 214, 0.82);
  border-radius: var(--radius);
  opacity: 0.52;
  background-image:
    linear-gradient(rgba(111, 168, 215, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 168, 215, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  background-color: #fbfefd;
  pointer-events: none;
}

.stage-index {
  position: absolute;
  z-index: 1;
  top: 62px;
  bottom: 42px;
  left: 32px;
  display: grid;
  align-content: space-between;
  color: #667a88;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.8rem;
}

.stack-coverage {
  display: grid;
  grid-column: 1 / -1;
  gap: 12px;
  margin-top: -8px;
}

.coverage-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  color: #456072;
  font-size: 0.82rem;
  line-height: 1.35;
}

.coverage-copy strong {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stack-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  color: #2f5060;
  list-style: none;
}

.stack-strip li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 3px 8px;
  align-items: center;
  min-height: 74px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(184, 212, 214, 0.88);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  text-align: left;
}

.stack-strip li:nth-child(1) {
  --stack-accent: #006f6a;
  --stack-tint: #e6f5f1;
}

.stack-strip li:nth-child(2) {
  --stack-accent: #245a8d;
  --stack-tint: #edf6ff;
}

.stack-strip li:nth-child(3) {
  --stack-accent: #6f5b00;
  --stack-tint: #fbf5d9;
}

.stack-strip li:nth-child(4) {
  --stack-accent: #8a3f5b;
  --stack-tint: #fff0f5;
}

.stack-strip li:nth-child(5) {
  --stack-accent: #6c4da0;
  --stack-tint: #f1ecff;
}

.stack-strip li:nth-child(6) {
  --stack-accent: #2d6684;
  --stack-tint: #eaf7fb;
}

.stack-strip li:nth-child(7) {
  --stack-accent: #526116;
  --stack-tint: #f2f6de;
}

.stack-icon {
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(16, 82, 91, 0.16);
  border-radius: 7px;
  background: var(--stack-tint);
  color: var(--stack-accent);
}

.stack-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.15;
}

.stack-strip strong {
  min-width: 0;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 840;
  line-height: 1.1;
}

.stack-strip small {
  min-width: 0;
  color: #4b6274;
  font-size: 0.67rem;
  font-weight: 650;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.terminal-card,
.policy-card,
.report-folio,
.rail-step,
.inspector,
.white-label-panel,
.pricing-ledger,
.checksum-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.terminal-card {
  position: absolute;
  z-index: 4;
  top: 78px;
  left: 108px;
  width: 376px;
  padding: 18px 18px 20px;
  background: #07111e;
  color: #e8fffa;
  box-shadow: 0 10px 18px rgba(3, 20, 30, 0.18);
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  color: #73d8c6;
}

.terminal-top span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #314457;
}

.terminal-card code,
.terminal-card li,
.policy-table,
.report-folio dl,
.source-artifact,
.verify-slip,
.bundle-artifact,
.rule-matrix code,
.finding-preview code,
.checksum-card code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.terminal-card ol {
  display: grid;
  gap: 12px;
  list-style: none;
}

.terminal-card li {
  color: #edf7f4;
  font-size: 0.94rem;
}

.terminal-card li::before {
  margin-right: 10px;
  color: #75dfbd;
  content: "ok";
}

.terminal-card .success {
  display: block;
  margin-top: 18px;
  color: #7ce3bf;
}

.policy-card {
  position: absolute;
  z-index: 3;
  top: 314px;
  left: 102px;
  width: 470px;
  padding: 18px;
  box-shadow: var(--shadow-tight);
}

.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.card-heading strong {
  color: var(--ink);
}

.card-heading span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 850;
}

.policy-table {
  display: grid;
  border: 1px solid #dce8e7;
  border-radius: 6px;
  overflow: hidden;
  font-size: 0.78rem;
}

.policy-table > div {
  display: grid;
  grid-template-columns: 1fr 1.25fr 0.58fr 0.82fr;
  min-height: 39px;
  border-top: 1px solid #e7eeee;
}

.policy-table > div:first-child {
  border-top: 0;
  background: #f6fbfa;
  color: #657184;
  font-weight: 800;
  text-transform: lowercase;
}

.policy-table span,
.policy-table strong,
.policy-table em,
.policy-table b {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 10px;
  font-style: normal;
  font-weight: 680;
  overflow-wrap: anywhere;
}

.policy-table strong {
  color: #00845e;
}

.policy-table em {
  color: var(--amber);
}

.policy-table b {
  color: var(--red);
}

.report-folio {
  position: absolute;
  right: 26px;
  bottom: 24px;
  width: 414px;
  min-height: 520px;
  padding: 48px 42px 34px;
  border-color: #a7b8b6;
  border-left: 5px solid rgba(0, 111, 106, 0.18);
  background: #fffefe;
  box-shadow: 0 8px 18px rgba(7, 17, 30, 0.1);
}

.folio-tabs {
  position: absolute;
  top: 22px;
  right: 0;
  display: grid;
  gap: 8px;
  color: #5f6e79;
  font-size: 0.6rem;
  font-weight: 850;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.report-folio p {
  color: var(--muted);
  font-size: 0.85rem;
}

.report-folio h2 {
  margin-top: 34px;
  color: var(--ink);
  font-size: 2.5rem;
  line-height: 1.08;
}

.report-folio dl {
  display: grid;
  gap: 9px;
  margin-top: 32px;
  font-size: 0.72rem;
}

.report-folio dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
}

.report-folio dt {
  color: #687682;
}

.redaction-box {
  display: grid;
  gap: 8px;
  margin-top: 34px;
  padding: 18px;
  border: 1px solid #d2dddd;
  background:
    linear-gradient(135deg, rgba(216, 228, 229, 0.34) 25%, transparent 25%),
    #f8fbfa;
  background-size: 12px 12px;
}

.redaction-box span {
  height: 9px;
  background: #05080d;
}

.redaction-box span:nth-child(2) {
  width: 76%;
}

.redaction-box span:nth-child(4) {
  width: 58%;
}

.seal {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  margin-top: 28px;
  border: 3px double var(--teal);
  border-radius: 999px;
  color: var(--teal-dark);
  font-size: 0.69rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.section-intro {
  display: grid;
  gap: 18px;
  max-width: 780px;
}

.section-intro.wide {
  max-width: 930px;
}

.section-intro h2,
.reports-copy h2,
.pricing-section h2 {
  color: var(--ink);
  font-size: 3.25rem;
  font-weight: 860;
  line-height: 1.08;
}

.section-intro p,
.reports-copy p,
.pricing-section .section-intro p {
  color: #3b4f64;
  font-size: 1.12rem;
  line-height: 1.55;
}

.scan-path {
  padding-top: 46px;
  padding-bottom: 32px;
}

.workflow-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 760;
  list-style: none;
}

.workflow-proof li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(184, 212, 214, 0.88);
  border-radius: var(--radius);
  background: #fbfefd;
}

.workflow-proof svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

.evidence-rail {
  --workflow-artifact-height: 180px;
  --workflow-artifact-width: 258px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
  padding: 46px 20px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(111, 168, 215, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 168, 215, 0.08) 1px, transparent 1px),
    #ffffff;
  background-size: 32px 32px;
  contain: layout paint;
  isolation: isolate;
}

.evidence-rail::before,
.evidence-rail::after {
  position: absolute;
  top: 16px;
  color: #6b7a89;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-rail::before {
  left: 20px;
  content: "start";
}

.evidence-rail::after {
  right: 20px;
  content: "complete";
}

.rail-line {
  position: absolute;
  z-index: 0;
  top: 46px;
  right: 48px;
  left: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal) 48%, rgba(0, 111, 106, 0.26) 48%);
}

.rail-step {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 326px;
  padding: 78px 18px 18px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  contain: layout;
}

.rail-step:first-of-type {
  border-left: 0;
}

.step-number {
  position: absolute;
  top: -1px;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  border: 4px solid #ffffff;
  border-radius: 999px;
  background: var(--teal);
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 900;
}

.rail-step h3 {
  color: var(--teal-dark);
  font-size: 1.08rem;
  line-height: 1.25;
  text-align: center;
}

.rail-step > p {
  min-height: 44px;
  color: #384c5f;
  font-size: 0.94rem;
  line-height: 1.45;
  text-align: center;
}

.source-artifact,
.verify-slip,
.bundle-artifact,
.mini-table {
  box-sizing: border-box;
  justify-self: center;
  width: min(100%, var(--workflow-artifact-width));
  height: var(--workflow-artifact-height);
  margin-top: 12px;
  border: 1px solid #d9e6e5;
  border-radius: 7px;
  background: #fbfefd;
}

.source-artifact {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 14px;
  color: #203146;
  font-size: 0.75rem;
}

.source-artifact code:nth-child(4) {
  padding: 4px 6px;
  border-radius: 4px;
  background: #ffe2df;
  color: #ad1f1f;
}

.mini-table {
  display: grid;
  gap: 10px;
  padding: 14px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(236, 249, 246, 0.92)),
    #fbfefd;
  box-shadow: 0 12px 24px rgba(0, 111, 106, 0.08);
}

.mini-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.mini-table-head span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.mini-table-head strong {
  min-width: fit-content;
  padding: 4px 7px;
  border: 1px solid rgba(0, 111, 106, 0.18);
  border-radius: 999px;
  background: rgba(232, 246, 243, 0.86);
  color: var(--teal-dark);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.policy-score {
  display: grid;
  grid-template-columns: 1fr 1fr 0.72fr;
  gap: 5px;
}

.policy-score span {
  height: 12px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(46, 189, 142, 0.98), rgba(80, 216, 199, 0.7)),
    #2ebd8e;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.policy-score span.warn {
  background:
    linear-gradient(90deg, var(--amber), rgba(244, 184, 71, 0.58)),
    var(--amber);
}

.policy-checks {
  display: grid;
  gap: 6px;
  list-style: none;
}

.policy-checks li {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 6px 7px;
  border: 1px solid rgba(184, 212, 214, 0.78);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.74);
}

.policy-checks li > span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #2ebd8e;
  box-shadow: 0 0 0 3px rgba(46, 189, 142, 0.12);
}

.policy-checks li > span.warn {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(244, 184, 71, 0.16);
}

.policy-checks b {
  min-width: 0;
  color: var(--ink);
  font-size: 0.7rem;
  line-height: 1.1;
}

.policy-checks em {
  color: var(--teal-dark);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.verify-slip {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
  padding: 16px;
}

.verify-slip strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.verify-slip span {
  box-sizing: border-box;
  display: inline-grid;
  place-items: center;
  min-width: 90px;
  height: 32px;
  padding: 0 11px;
  border-radius: 6px;
  background: #e8f6f3;
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1;
  text-align: center;
}

.bundle-artifact {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 14px;
  color: #2b3b4e;
  font-size: 0.76rem;
}

.bundle-artifact span::before {
  color: var(--teal);
  content: "file ";
  font-weight: 900;
}

.rules-section {
  display: grid;
  gap: 42px;
  padding-top: 48px;
  contain: layout;
}

.rules-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: stretch;
}

.rule-matrix {
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

.matrix-head,
.matrix-row {
  display: grid;
  grid-template-columns: 1.05fr 1.55fr 0.62fr 1.25fr;
  gap: 18px;
  align-items: center;
  min-height: 92px;
  width: 100%;
  padding: 16px 20px;
  border: 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  text-align: left;
}

.matrix-head {
  min-height: 42px;
  border-top: 0;
  background: #f7fbfb;
  color: #526979;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.matrix-row {
  border-left: 4px solid transparent;
}

.matrix-head > *,
.matrix-row > * {
  min-width: 0;
}

.matrix-row:hover,
.matrix-row.active {
  border-left-color: var(--teal);
  background: #f3fbf9;
}

.rule-name {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 850;
}

.matrix-row > span:nth-child(2) {
  color: #31475b;
  font-size: 0.9rem;
  line-height: 1.45;
}

.severity {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 850;
}

.severity::before {
  width: 4px;
  height: 42px;
  border-radius: 999px;
  content: "";
}

.severity.high {
  color: var(--red);
}

.severity.high::before {
  background: var(--red);
}

.severity.medium {
  color: var(--amber);
}

.severity.medium::before {
  background: var(--amber);
}

.severity.low {
  color: #c99a00;
}

.severity.low::before {
  background: #dfb311;
}

.matrix-row code {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f5f9f9;
  color: var(--teal-dark);
  font-size: 0.76rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.inspector {
  --inspector-accent: var(--red);
  --inspector-tint: #fff5f3;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 26px;
  border-color: var(--line-strong);
  border-left: 5px solid var(--inspector-accent);
  background:
    linear-gradient(180deg, var(--inspector-tint), rgba(255, 255, 255, 0) 46%),
    #ffffff;
  box-shadow: var(--shadow-tight);
  contain: paint;
}

.inspector[data-inspector-tone="medium"] {
  --inspector-accent: var(--amber);
  --inspector-tint: #fff9e8;
}

.inspector[data-inspector-tone="low"] {
  --inspector-accent: #b08a00;
  --inspector-tint: #fbf8e8;
}

.inspector-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--inspector-accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inspector-kicker span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: #ffffff;
  color: var(--inspector-accent);
  letter-spacing: 0;
}

.inspector h3,
.white-label-panel h3 {
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.15;
}

.inspector > p {
  color: #334b61;
  font-size: 0.88rem;
  line-height: 1.48;
}

.inspector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.inspector-grid article {
  display: grid;
  gap: 5px;
  min-height: 82px;
  padding: 12px;
  border: 1px solid rgba(184, 212, 214, 0.9);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.74);
}

.inspector-grid span {
  color: #5f7382;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inspector-grid strong {
  color: var(--ink);
  font-size: 0.8rem;
  line-height: 1.22;
}

.inspector-list {
  display: grid;
  gap: 16px;
  list-style: none;
}

.inspector-list li {
  display: grid;
  gap: 4px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.inspector-list strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.inspector-list span {
  color: var(--muted);
  font-size: 0.84rem;
}

.finding-preview {
  display: grid;
  gap: 12px;
  padding-top: 2px;
}

.severity-label {
  color: var(--inspector-accent);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.finding-preview h4 {
  color: var(--ink);
  font-size: 1rem;
}

.finding-preview code {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfc;
  color: var(--inspector-accent);
  font-size: 0.77rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.finding-preview p {
  color: #344a5d;
  font-size: 0.9rem;
  line-height: 1.5;
}

.reports-section {
  display: grid;
  grid-template-columns: minmax(350px, 0.62fr) minmax(500px, 0.95fr) minmax(240px, 0.42fr);
  gap: 28px;
  align-items: start;
  contain: layout;
}

.reports-copy {
  display: grid;
  gap: 22px;
  align-content: start;
}

.report-button {
  width: fit-content;
  min-width: 240px;
}

.report-studio {
  position: relative;
  min-height: 626px;
  contain: layout paint;
  isolation: isolate;
}

.report-page {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.main-page {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 74px;
  width: 430px;
  min-height: 510px;
  padding: 42px 42px 34px;
  transform: none;
}

.side-page {
  position: absolute;
  z-index: 2;
  top: 105px;
  right: 28px;
  width: 285px;
  min-height: 370px;
  padding: 28px;
}

.report-brand {
  color: var(--teal);
  font-weight: 900;
  text-transform: uppercase;
}

.report-page h3 {
  margin-top: 24px;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.15;
}

.main-page > p {
  margin-top: 8px;
  color: #26394d;
  font-size: 1.05rem;
}

.report-page dl {
  display: grid;
  gap: 9px;
  margin-top: 28px;
  font-size: 0.78rem;
}

.report-page dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
}

.report-page dt {
  color: #5b6b79;
}

.report-page h4 {
  margin-top: 30px;
  color: var(--ink);
  font-size: 1rem;
}

.report-page h4 + p {
  margin-top: 8px;
  color: #374b5e;
  font-size: 0.82rem;
  line-height: 1.55;
}

.risk-bar {
  display: grid;
  grid-template-columns: 0.42fr 0.25fr 0.33fr;
  height: 16px;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 999px;
}

.risk-bar span:nth-child(1) {
  background: var(--red);
}

.risk-bar span:nth-child(2) {
  background: var(--amber);
}

.risk-bar span:nth-child(3) {
  background: #2f9f67;
}

.side-page h3 {
  margin: 0 0 22px;
  font-size: 1rem;
}

.side-page strong {
  display: block;
  margin-top: 18px;
  color: var(--red);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.side-page strong:nth-of-type(2) {
  color: #2f9f67;
}

.side-page code {
  display: block;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f9fbfb;
  font-size: 0.7rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.report-director {
  position: relative;
  display: grid;
  gap: 8px;
  width: min(100%, 440px);
  margin-top: 0;
  padding: 8px;
  border: 1px solid rgba(184, 212, 214, 0.92);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 247, 244, 0.82)),
    #ffffff;
  box-shadow: 0 16px 30px rgba(26, 51, 65, 0.08);
  overflow: hidden;
}

.report-director::before {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), rgba(0, 111, 106, 0.14));
  content: "";
}

.report-director-copy {
  position: relative;
  display: grid;
  align-content: end;
  gap: 7px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(184, 212, 214, 0.7);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(231, 248, 245, 0.82)),
    #ffffff;
  overflow: hidden;
}

.report-director-copy::before {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(0, 111, 106, 0.1);
  border-radius: 999px;
  background:
    linear-gradient(rgba(0, 111, 106, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 111, 106, 0.1) 1px, transparent 1px);
  background-size: 10px 10px;
  content: "";
  opacity: 0.55;
}

.report-director-copy span {
  position: relative;
  color: var(--teal-dark);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-director-copy strong {
  position: relative;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.18;
}

.report-director-copy p {
  position: relative;
  color: #4b6072;
  font-size: 0.82rem;
  line-height: 1.42;
}

.report-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.report-tabs button {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 104px;
  padding: 9px 6px 11px;
  border: 1px solid rgba(184, 212, 214, 0.88);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.88);
  color: #22384e;
  text-align: center;
  white-space: normal;
  transition:
    border-color 140ms ease,
    background-color 140ms ease,
    transform 140ms ease,
    box-shadow 140ms ease;
}

.report-tabs button::before {
  position: absolute;
  right: 9px;
  bottom: 6px;
  left: 9px;
  height: 3px;
  border-radius: 999px;
  background: transparent;
  content: "";
}

.report-tabs button.active {
  border-color: rgba(0, 111, 106, 0.38);
  background: linear-gradient(180deg, #f4fbf8, #ffffff);
  color: var(--teal-dark);
  box-shadow: 0 9px 20px rgba(0, 111, 106, 0.11);
}

.report-tabs button.active::before {
  background: var(--teal);
}

.report-tabs button:last-child {
  grid-column: auto;
}

@media (hover: hover) and (pointer: fine) {
  .report-tabs button:hover {
    border-color: rgba(0, 111, 106, 0.32);
    transform: translateY(-1px);
  }
}

.report-tab-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0, 111, 106, 0.16);
  border-radius: 7px;
  background: #edf8f5;
  color: var(--teal);
}

.report-tab-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.1;
}

.report-tab-index {
  color: #6b7c89;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
}

.report-tab-copy {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 0;
}

.report-tab-copy strong {
  color: currentColor;
  font-size: 0.7rem;
  font-weight: 860;
  line-height: 1.1;
}

.report-tab-copy small {
  color: #596c7a;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.15;
}

.checksum-card {
  position: absolute;
  z-index: 5;
  right: 86px;
  bottom: 0;
  left: 126px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(184, 212, 214, 0.92);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 246, 0.92)),
    #ffffff;
  box-shadow: 0 18px 34px rgba(21, 47, 58, 0.11);
  overflow: hidden;
}

.checksum-card::after {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 70px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(0, 111, 106, 0.42) 0 10px, transparent 10px 16px);
  content: "";
  opacity: 0.5;
}

.checksum-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 111, 106, 0.18);
  border-radius: 8px;
  background: #eaf7f4;
  color: var(--teal);
}

.checksum-mark svg {
  width: 22px;
  height: 22px;
}

.checksum-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.checksum-copy span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checksum-copy strong {
  color: var(--ink);
}

.checksum-copy code {
  color: #657382;
  font-size: 0.65rem;
  overflow-wrap: anywhere;
}

.checksum-bits {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr 0.44fr 0.88fr;
  gap: 4px;
  height: 5px;
  margin-left: 54px;
}

.checksum-bits i {
  border-radius: 999px;
  background: rgba(0, 111, 106, 0.18);
}

.checksum-bits i:nth-child(2),
.checksum-bits i:nth-child(5) {
  background: rgba(47, 159, 103, 0.35);
}

.white-label-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(184, 212, 214, 0.92);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%),
    #ffffff;
  box-shadow: 0 18px 38px rgba(26, 51, 65, 0.08);
  contain: paint;
}

.delivery-header {
  display: grid;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.delivery-header > span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.delivery-header h3 {
  color: var(--ink);
  font-size: 1.24rem;
  line-height: 1.14;
}

.delivery-header p {
  color: #44596b;
  font-size: 0.82rem;
  line-height: 1.45;
}

.delivery-list {
  display: grid;
  gap: 9px;
  list-style: none;
}

.delivery-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px;
  border: 1px solid rgba(184, 212, 214, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.delivery-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 111, 106, 0.14);
  border-radius: 7px;
  background: #edf8f5;
  color: var(--teal);
}

.delivery-icon svg {
  width: 18px;
  height: 18px;
}

.delivery-list li > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.delivery-list strong {
  color: var(--ink);
  font-size: 0.85rem;
  line-height: 1.15;
}

.delivery-list small {
  color: #5c6f7d;
  font-size: 0.68rem;
  font-weight: 720;
  line-height: 1.2;
}

.faq-section {
  display: grid;
  gap: 30px;
  padding-bottom: 52px;
  contain: layout;
}

.faq-list {
  counter-reset: faq;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(0, 111, 106, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 111, 106, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 249, 247, 0.9));
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: 0 18px 38px rgba(26, 51, 65, 0.08);
}

.faq-list article {
  counter-increment: faq;
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 252px;
  padding: 68px 24px 24px;
  border: 1px solid rgba(184, 212, 214, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 253, 252, 0.84)),
    #ffffff;
  overflow: hidden;
}

.faq-list article::before {
  position: absolute;
  top: 20px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 111, 106, 0.2);
  border-radius: 999px;
  background: #eaf7f4;
  color: var(--teal-dark);
  content: counter(faq, decimal-leading-zero);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 900;
}

.faq-list article::after {
  position: absolute;
  top: 22px;
  right: 22px;
  max-width: calc(100% - 86px);
  padding: 7px 10px;
  border: 1px solid rgba(0, 111, 106, 0.16);
  border-radius: 999px;
  background: rgba(232, 246, 243, 0.74);
  color: var(--teal-dark);
  content: attr(data-faq-label);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.faq-list h3 {
  color: var(--teal-dark);
  font-size: 1.1rem;
  line-height: 1.25;
}

.faq-list p {
  color: #334b60;
  font-size: 0.98rem;
  line-height: 1.58;
}

.pricing-section {
  padding-top: 62px;
  padding-bottom: 34px;
  contain: layout;
}

.pricing-ledger {
  position: relative;
  margin-top: 42px;
  overflow: hidden;
  box-shadow: var(--shadow-tight);
  contain: paint;
}

.pricing-row {
  display: grid;
  grid-template-columns: 215px repeat(3, minmax(0, 1fr));
  min-height: 86px;
  border-top: 1px solid var(--line);
}

.pricing-row:first-child {
  border-top: 0;
}

.pricing-row > * {
  display: grid;
  align-items: center;
  padding: 22px 28px;
  border-left: 1px solid var(--line);
}

.pricing-row > *:first-child {
  border-left: 0;
}

.pricing-ledger[data-active-tier="free"] .pricing-row > [data-tier-value="free"],
.pricing-ledger[data-active-tier="starter"] .pricing-row > [data-tier-value="starter"],
.pricing-ledger[data-active-tier="agency"] .pricing-row > [data-tier-value="agency"] {
  background: rgba(232, 246, 243, 0.55);
}

.pricing-row > span:first-child {
  color: #1e334a;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pricing-row.heading {
  min-height: 116px;
}

.tier-tab {
  border: 0;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 850;
}

.tier-tab.active {
  background: var(--surface-mint);
  color: var(--teal);
  box-shadow: inset 0 0 0 2px var(--teal);
}

.pricing-row strong {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 860;
}

.pricing-row strong.accent {
  color: var(--teal);
}

.pricing-row small {
  color: #53677a;
  font-size: 0.9rem;
  font-weight: 650;
}

.pricing-row p {
  color: #283d52;
  font-size: 1rem;
  line-height: 1.48;
}

.update-line {
  margin-top: 20px;
  color: #56697a;
  font-weight: 740;
  text-align: center;
}

.closing-actions {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 30px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  color: #45596c;
  font-size: 0.96rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--teal-dark);
  font-weight: 720;
}

html[data-theme="dark"] body {
  color: var(--text);
}

html[data-theme="dark"] .site-header {
  border-bottom-color: rgba(115, 216, 198, 0.24);
  background: rgba(7, 17, 30, 0.94);
}

html[data-theme="dark"] .site-header[data-menu-open="true"] .site-nav {
  border-color: var(--line);
  background: #0b1724;
}

html[data-theme="dark"] .button.secondary,
html[data-theme="dark"] .menu-button,
html[data-theme="dark"] .theme-toggle {
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(17, 35, 50, 0.96), rgba(10, 24, 36, 0.96));
  color: var(--teal);
}

html[data-theme="dark"] .header-cta,
html[data-theme="dark"] .button.primary {
  color: #031012;
}

html[data-theme="dark"] .hero-stage,
html[data-theme="dark"] .stack-coverage,
html[data-theme="dark"] .stack-strip li,
html[data-theme="dark"] .policy-card,
html[data-theme="dark"] .report-folio,
html[data-theme="dark"] .rail-step,
html[data-theme="dark"] .source-artifact,
html[data-theme="dark"] .mini-table,
html[data-theme="dark"] .verify-slip,
html[data-theme="dark"] .bundle-artifact,
html[data-theme="dark"] .rule-matrix,
html[data-theme="dark"] .matrix-row,
html[data-theme="dark"] .inspector,
html[data-theme="dark"] .inspector-grid article,
html[data-theme="dark"] .finding-preview,
html[data-theme="dark"] .report-page,
html[data-theme="dark"] .report-director,
html[data-theme="dark"] .report-director-copy,
html[data-theme="dark"] .report-tabs button,
html[data-theme="dark"] .checksum-card,
html[data-theme="dark"] .white-label-panel,
html[data-theme="dark"] .delivery-list li,
html[data-theme="dark"] .faq-list,
html[data-theme="dark"] .faq-list article,
html[data-theme="dark"] .pricing-ledger,
html[data-theme="dark"] .pricing-row > *,
html[data-theme="dark"] .tier-tab {
  border-color: var(--line);
  background: rgba(12, 27, 41, 0.92);
  color: var(--text);
}

html[data-theme="dark"] .faq-list {
  background:
    linear-gradient(rgba(80, 216, 199, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 216, 199, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, rgba(13, 35, 49, 0.94), rgba(6, 18, 30, 0.94));
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .faq-list article {
  border-color: rgba(113, 166, 172, 0.24);
  background:
    linear-gradient(180deg, rgba(14, 37, 53, 0.86), rgba(7, 20, 32, 0.86)),
    #0b1724;
}

html[data-theme="dark"] .faq-list article::before {
  border-color: rgba(109, 243, 212, 0.18);
  background: rgba(109, 243, 212, 0.1);
  color: var(--teal-bright);
}

html[data-theme="dark"] .faq-list article::after {
  border-color: rgba(109, 243, 212, 0.16);
  background: rgba(109, 243, 212, 0.09);
  color: #c9fff4;
}

html[data-theme="dark"] .hero-stage,
html[data-theme="dark"] .evidence-rail {
  background-color: #091724;
}

html[data-theme="dark"] .ledger-grid {
  opacity: 0.24;
}

html[data-theme="dark"] .terminal-card {
  background: #050b14;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .terminal-top span {
  background: #27394b;
}

html[data-theme="dark"] .policy-table,
html[data-theme="dark"] .redaction-box,
html[data-theme="dark"] .side-page code,
html[data-theme="dark"] .finding-preview code,
html[data-theme="dark"] .matrix-row code,
html[data-theme="dark"] .report-tabs button,
html[data-theme="dark"] .delivery-list li {
  background: rgba(6, 17, 28, 0.72);
}

html[data-theme="dark"] .policy-table > div,
html[data-theme="dark"] .pricing-row,
html[data-theme="dark"] .faq-list article,
html[data-theme="dark"] .delivery-header,
html[data-theme="dark"] .white-label-panel li {
  border-color: var(--line);
}

html[data-theme="dark"] .report-director,
html[data-theme="dark"] .checksum-card,
html[data-theme="dark"] .white-label-panel,
html[data-theme="dark"] .inspector {
  background:
    linear-gradient(135deg, rgba(14, 35, 49, 0.98), rgba(6, 19, 31, 0.96)),
    #0b1724;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .report-director-copy,
html[data-theme="dark"] .report-tabs button.active,
html[data-theme="dark"] .tier-tab.active,
html[data-theme="dark"] .pricing-ledger[data-active-tier="free"] .pricing-row > [data-tier-value="free"],
html[data-theme="dark"] .pricing-ledger[data-active-tier="starter"] .pricing-row > [data-tier-value="starter"],
html[data-theme="dark"] .pricing-ledger[data-active-tier="agency"] .pricing-row > [data-tier-value="agency"] {
  background: linear-gradient(180deg, rgba(80, 216, 199, 0.14), rgba(10, 24, 36, 0.88));
}

html[data-theme="dark"] .stack-icon,
html[data-theme="dark"] .report-tab-icon,
html[data-theme="dark"] .checksum-mark,
html[data-theme="dark"] .delivery-icon {
  border-color: rgba(80, 216, 199, 0.2);
  background: rgba(80, 216, 199, 0.1);
  color: var(--teal);
}

html[data-theme="dark"] .inspector {
  --inspector-tint: rgba(255, 105, 105, 0.08);
}

html[data-theme="dark"] .inspector[data-inspector-tone="medium"] {
  --inspector-tint: rgba(244, 184, 71, 0.1);
}

html[data-theme="dark"] .inspector[data-inspector-tone="low"] {
  --inspector-tint: rgba(223, 179, 17, 0.1);
}

html[data-theme="dark"] .source-artifact code:last-child {
  background: rgba(255, 105, 105, 0.16);
}

html[data-theme="dark"] .trust-line {
  color: #bce8df;
}

html[data-theme="dark"] .trust-line svg {
  color: var(--teal-bright);
}

html[data-theme="dark"] .rail-step > p,
html[data-theme="dark"] .evidence-rail::before,
html[data-theme="dark"] .evidence-rail::after {
  color: #bfd4da;
}

html[data-theme="dark"] .mini-table {
  background:
    linear-gradient(135deg, rgba(13, 39, 55, 0.98), rgba(6, 18, 30, 0.96)),
    #0b1724;
  box-shadow: inset 0 1px 0 rgba(109, 243, 212, 0.08);
}

html[data-theme="dark"] .mini-table-head span,
html[data-theme="dark"] .policy-checks em {
  color: var(--teal-bright);
}

html[data-theme="dark"] .mini-table-head strong {
  border-color: rgba(109, 243, 212, 0.18);
  background: rgba(109, 243, 212, 0.1);
  color: #c9fff4;
}

html[data-theme="dark"] .policy-score span {
  box-shadow: inset 0 0 0 1px rgba(217, 255, 246, 0.24);
}

html[data-theme="dark"] .policy-checks li {
  border-color: rgba(113, 166, 172, 0.28);
  background: rgba(4, 14, 24, 0.54);
}

html[data-theme="dark"] .policy-checks b {
  color: #eef7f4;
}

html[data-theme="dark"] .risk-bar,
html[data-theme="dark"] .checksum-bits,
html[data-theme="dark"] .rail-line {
  filter: saturate(1.08);
}

html[data-theme="dark"] .hero-copy > p,
html[data-theme="dark"] .section-intro p,
html[data-theme="dark"] .reports-copy p,
html[data-theme="dark"] .pricing-section .section-intro p,
html[data-theme="dark"] .faq-list p,
html[data-theme="dark"] .report-page h4 + p,
html[data-theme="dark"] .main-page > p,
html[data-theme="dark"] .delivery-header p,
html[data-theme="dark"] .delivery-list small,
html[data-theme="dark"] .checksum-copy code,
html[data-theme="dark"] .pricing-row p,
html[data-theme="dark"] .pricing-row small,
html[data-theme="dark"] .update-line,
html[data-theme="dark"] .site-footer p,
html[data-theme="dark"] .report-page dt {
  color: var(--muted);
}

html[data-theme="dark"] .faq-list p {
  color: #b8ccd3;
}

html[data-theme="dark"] .section-intro h2,
html[data-theme="dark"] .reports-copy h2,
html[data-theme="dark"] .pricing-section h2,
html[data-theme="dark"] .report-page h3,
html[data-theme="dark"] .report-page h4,
html[data-theme="dark"] .white-label-panel h3,
html[data-theme="dark"] .delivery-list strong,
html[data-theme="dark"] .faq-list h3,
html[data-theme="dark"] .rail-step h3,
html[data-theme="dark"] .pricing-row strong,
html[data-theme="dark"] .checksum-copy strong {
  color: var(--ink);
}

html[data-theme="dark"] .report-page dd,
html[data-theme="dark"] .policy-table span,
html[data-theme="dark"] .matrix-row span,
html[data-theme="dark"] .finding-preview p {
  color: var(--text);
}

html[data-theme="dark"] .pricing-row > span:first-child,
html[data-theme="dark"] .delivery-header > span,
html[data-theme="dark"] .checksum-copy span,
html[data-theme="dark"] .report-brand,
html[data-theme="dark"] .report-director-copy span,
html[data-theme="dark"] .report-tab-index {
  color: var(--teal);
}

html[data-theme="dark"] .report-director-copy::before {
  border-color: rgba(80, 216, 199, 0.12);
  background:
    linear-gradient(rgba(80, 216, 199, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 216, 199, 0.1) 1px, transparent 1px);
}

@media (max-width: 1500px) {
  .reports-section {
    grid-template-columns: 1fr;
  }

  .reports-copy {
    max-width: 820px;
  }

  .report-studio {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.78fr);
    gap: 16px;
    width: min(100%, 980px);
    min-height: 0;
    align-items: stretch;
  }

  .main-page,
  .side-page,
  .checksum-card {
    position: relative;
    inset: auto;
    width: auto;
    transform: none;
  }

  .main-page {
    grid-row: 1 / span 2;
    min-height: 420px;
    padding: 38px 40px 34px;
  }

  .side-page {
    min-height: 240px;
    padding: 26px;
  }

  .checksum-card {
    align-self: stretch;
    grid-column: 2;
    min-height: 164px;
  }

  .report-director {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    align-items: stretch;
    width: min(100%, 760px);
  }

  .report-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .report-director-copy {
    min-height: auto;
  }

  .white-label-panel {
    max-width: 620px;
  }
}

@media (max-width: 1240px) {
  .site-header {
    gap: 20px;
  }

  .site-nav {
    gap: 28px;
  }

  .hero {
    grid-template-columns: minmax(420px, 0.9fr) minmax(460px, 1.1fr);
    gap: 28px;
    min-height: 700px;
  }

  .hero h1 {
    max-width: 620px;
    font-size: 3.12rem;
  }

  .hero-stage {
    min-height: 590px;
  }

  .stack-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .terminal-card {
    top: 70px;
    left: 46px;
    width: 360px;
  }

  .policy-card {
    top: 306px;
    left: 38px;
    width: 424px;
  }

  .report-folio {
    right: -8px;
    width: 360px;
    min-height: 492px;
  }

  .reports-section {
    grid-template-columns: 1fr;
  }

  .reports-copy {
    max-width: 820px;
  }

  .report-studio {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.78fr);
    gap: 16px;
    width: min(100%, 980px);
    min-height: 0;
    align-items: stretch;
  }

  .main-page,
  .side-page,
  .checksum-card {
    position: relative;
    inset: auto;
    width: auto;
    transform: none;
  }

  .main-page {
    grid-row: 1 / span 2;
    min-height: 420px;
    padding: 38px 40px 34px;
  }

  .side-page {
    min-height: 240px;
    padding: 26px;
  }

  .checksum-card {
    align-self: stretch;
    grid-column: 2;
    min-height: 164px;
  }

  .report-director {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    align-items: stretch;
    width: min(100%, 760px);
  }

  .report-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .report-director-copy {
    min-height: auto;
  }

  .white-label-panel {
    max-width: 620px;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    justify-content: space-between;
    gap: 10px;
    min-height: 72px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .site-nav {
    display: none;
  }

  .header-cta {
    display: inline-flex;
    min-width: 0;
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
    box-shadow: none;
  }

  .menu-button {
    display: block;
    width: 44px;
    height: 44px;
  }

  .site-header[data-menu-open="true"] .site-nav {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-tight);
  }

  .site-header[data-menu-open="true"] .site-nav a {
    padding: 14px 12px;
  }

  .section-shell {
    padding-right: 18px;
    padding-left: 18px;
  }

  .button.primary,
  .header-cta {
    box-shadow: none;
  }

  #product,
  #workflow,
  #rules,
  #reports,
  #pricing,
  #faq,
  #docs {
    scroll-margin-top: 24px;
  }

  .hero h1,
  .section-intro h2,
  .reports-copy h2,
  .pricing-section h2 {
    font-size: 2.6rem;
  }

  .hero-copy > p,
  .section-intro p,
  .reports-copy p,
  .pricing-section .section-intro p {
    font-size: 1.04rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .stack-coverage {
    margin-top: 0;
  }

  .stack-strip {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .stack-strip li {
    min-height: 68px;
    padding: 9px;
  }

  .hero-stage {
    display: block;
    min-height: 560px;
    border: 1px solid rgba(184, 212, 214, 0.82);
    border-radius: var(--radius);
    background: #fbfefd;
    overflow: hidden;
    box-shadow: none;
    contain: layout paint;
  }

  .ledger-grid {
    display: block;
    border: 0;
    opacity: 0.44;
  }

  .terminal-card,
  .report-folio {
    position: absolute;
    inset: auto;
    z-index: 1;
    width: auto;
    min-width: 0;
  }

  .terminal-card {
    top: 16px;
    right: 16px;
    left: 16px;
    padding: 18px;
    box-shadow: none;
  }

  .policy-card {
    display: none;
  }

  .report-folio {
    top: 272px;
    right: 16px;
    left: 48px;
    min-height: 400px;
    padding: 34px 30px 28px;
    box-shadow: none;
  }

  .report-folio h2 {
    font-size: 2rem;
  }

  .evidence-rail {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 38px;
    padding: 0;
    overflow: visible;
  }

  .evidence-rail::before,
  .evidence-rail::after {
    display: none;
  }

  .rail-line {
    top: 24px;
    bottom: 24px;
    left: 42px;
    right: auto;
    display: block;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, var(--teal), var(--teal) 48%, rgba(0, 111, 106, 0.22) 48%);
  }

  .rail-step {
    min-height: 0;
    padding: 22px 18px 22px 86px;
    border-top: 1px solid var(--line);
    border-left: 0;
    box-shadow: none;
    contain: layout;
  }

  .rail-step:first-of-type {
    border-top: 0;
  }

  .step-number {
    top: 24px;
    left: 20px;
    transform: none;
    width: 44px;
    height: 44px;
    border-width: 3px;
  }

  .rail-step h3,
  .rail-step > p {
    text-align: left;
  }

  .rules-layout {
    grid-template-columns: 1fr;
  }

  .matrix-head {
    display: none;
  }

  .matrix-row {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .reports-section {
    gap: 36px;
  }

  .report-studio {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
  }

  .report-page,
  .report-director,
  .checksum-card,
  .inspector,
  .white-label-panel,
  .pricing-ledger {
    box-shadow: none;
    contain: none;
  }

  .main-page,
  .side-page,
  .report-director,
  .checksum-card {
    position: relative;
    inset: auto;
    width: auto;
  }

  .main-page {
    grid-row: auto;
    transform: none;
    min-height: 0;
  }

  .side-page {
    min-height: 0;
  }

  .report-director {
    align-self: stretch;
  }

  .report-director-copy {
    border: 1px solid rgba(184, 212, 214, 0.7);
  }

  .checksum-card {
    grid-column: auto;
    order: 4;
  }

  .pricing-row {
    grid-template-columns: 1fr;
  }

  .pricing-row > * {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .pricing-row > *:first-child {
    border-top: 0;
  }

  .pricing-row.heading > span {
    display: none;
  }

  .pricing-row.heading {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 0;
  }

  .pricing-row.heading .tier-tab {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .pricing-row.heading .tier-tab:first-of-type {
    border-left: 0;
  }

  .pricing-ledger[data-active-tier="free"] .pricing-row > [data-tier-value]:not([data-tier-value="free"]),
  .pricing-ledger[data-active-tier="starter"] .pricing-row > [data-tier-value]:not([data-tier-value="starter"]),
  .pricing-ledger[data-active-tier="agency"] .pricing-row > [data-tier-value]:not([data-tier-value="agency"]) {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .faq-list article {
    border: 1px solid rgba(184, 212, 214, 0.82);
  }
}

@media (max-width: 620px) {
  .brand {
    font-size: 1.28rem;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
  }

  .header-cta {
    width: 44px;
    padding: 0;
  }

  .header-cta span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .hero {
    gap: 34px;
    padding-top: 52px;
  }

  .hero-copy {
    gap: 22px;
  }

  .hero h1,
  .section-intro h2,
  .reports-copy h2,
  .pricing-section h2 {
    font-size: 2.1rem;
  }

  .hero-actions,
  .closing-actions {
    flex-direction: column;
    gap: 12px;
  }

  .stack-rotator {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: stretch;
    width: 100%;
  }

  .stack-rotator span {
    white-space: nowrap;
  }

  .stack-rotator strong {
    width: 100%;
    height: 40px;
    min-height: 0;
  }

  .tool-face.current {
    transform: rotateX(0deg) translateZ(20px);
  }

  .tool-face.next {
    transform: rotateX(-90deg) translateZ(20px);
  }

  .coverage-copy {
    display: grid;
    gap: 3px;
  }

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

  .stack-strip li {
    grid-template-columns: 28px minmax(0, 1fr);
    min-height: 70px;
    padding: 8px;
  }

  .stack-strip li:last-child {
    grid-column: 1 / -1;
  }

  .stack-icon {
    width: 28px;
    height: 28px;
  }

  .stack-icon svg {
    width: 16px;
    height: 16px;
  }

  .button {
    width: 100%;
  }

  .trust-line {
    display: grid;
  }

  .hero-stage {
    min-height: 528px;
  }

  .stage-index {
    display: none;
  }

  .terminal-card {
    top: 12px;
    right: 12px;
    left: 12px;
    padding: 14px;
    box-shadow: none;
  }

  .policy-table {
    font-size: 0.66rem;
  }

  .policy-table > div {
    grid-template-columns: 0.92fr 1fr 0.42fr 0.72fr;
  }

  .policy-table span,
  .policy-table strong,
  .policy-table em,
  .policy-table b {
    padding: 0 6px;
  }

  .matrix-row span,
  .matrix-row code {
    overflow-wrap: anywhere;
  }

  .matrix-row code {
    padding: 8px 10px;
  }

  .report-folio {
    top: 266px;
    right: 12px;
    left: 36px;
    min-height: 360px;
    padding: 28px 22px;
    box-shadow: none;
  }

  .report-folio h2 {
    margin-top: 20px;
    font-size: 1.55rem;
  }

  .report-folio dl,
  .redaction-box {
    margin-top: 18px;
  }

  .folio-tabs {
    display: none;
  }

  .seal {
    width: 82px;
    height: 82px;
    font-size: 0.58rem;
  }

  .inspector,
  .white-label-panel {
    padding: 20px;
  }

  .faq-list {
    gap: 8px;
    padding: 8px;
  }

  .faq-list article {
    min-height: 0;
    padding: 62px 20px 22px;
  }

  .faq-list article::before {
    top: 18px;
    left: 18px;
  }

  .faq-list article::after {
    top: 20px;
    right: 18px;
  }

  .rail-step {
    padding: 22px 16px 22px 78px;
  }

  .report-studio {
    min-height: 0;
  }

  .main-page,
  .side-page {
    padding: 24px;
    box-shadow: none;
  }

  .main-page {
    min-height: 0;
  }

  .side-page {
    min-height: 0;
  }

  .report-director {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
    box-shadow: none;
  }

  .report-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }

  .report-tabs button {
    min-width: 0;
    min-height: 78px;
    gap: 5px;
    padding: 7px 3px 10px;
    white-space: normal;
    line-height: 1.15;
    text-align: center;
  }

  .report-tab-icon {
    width: 26px;
    height: 26px;
  }

  .report-tab-copy small {
    display: none;
  }

  .checksum-card {
    padding: 14px;
    box-shadow: none;
  }

  .pricing-ledger {
    display: block;
  }

  .pricing-row {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .pricing-row.heading {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 0;
  }

  .pricing-row.heading > span {
    display: none;
  }

  .pricing-row > * {
    min-height: 0;
    padding: 14px 16px;
  }

  .pricing-row > span:first-child {
    background: #f7fbfa;
  }

  .pricing-row > *[data-tier-label] {
    align-items: start;
    gap: 7px;
  }

  .pricing-ledger[data-active-tier="free"] .pricing-row > [data-tier-value]:not([data-tier-value="free"]),
  .pricing-ledger[data-active-tier="starter"] .pricing-row > [data-tier-value]:not([data-tier-value="starter"]),
  .pricing-ledger[data-active-tier="agency"] .pricing-row > [data-tier-value]:not([data-tier-value="agency"]) {
    display: none;
  }

  .pricing-row > *[data-tier-label]::before {
    color: var(--teal-dark);
    content: attr(data-tier-label);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .tier-tab {
    min-height: 54px;
    padding: 10px 8px;
    font-size: 0.88rem;
    line-height: 1.15;
  }

  .button:hover,
  .header-cta:hover {
    transform: none;
  }
}

@media (max-width: 380px) {
  .site-header {
    gap: 8px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .hero {
    gap: 24px;
    padding-top: 34px;
  }

  .hero-copy {
    gap: 16px;
  }

  .hero h1 {
    font-size: 1.9rem;
    line-height: 1.07;
  }

  .hero-copy > p {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .problem-line {
    gap: 6px;
    font-size: 0.78rem;
  }

  .problem-line li {
    padding: 7px 8px;
  }

  .stack-strip {
    gap: 7px;
  }

  .stack-strip li {
    min-width: 0;
    min-height: 68px;
    padding: 8px 7px;
  }

  .stack-strip strong {
    font-size: 0.72rem;
  }

  .stack-strip small {
    font-size: 0.62rem;
  }

  .stack-rotator {
    gap: 8px;
    padding: 7px 8px 7px 10px;
    font-size: 0.78rem;
  }

  .stack-rotator strong {
    font-size: 0.72rem;
  }

  .button {
    min-height: 44px;
  }

  .header-cta {
    width: 44px;
    padding: 0;
  }

  .header-cta span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .policy-table {
    font-size: 0.6rem;
  }

  .policy-table span,
  .policy-table strong,
  .policy-table em,
  .policy-table b {
    padding: 0 4px;
  }

  .report-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
  }

  .report-director-copy {
    min-height: 92px;
    padding: 10px;
  }

  .report-tabs button {
    min-height: 70px;
    padding: 6px 2px 9px;
  }

  .report-tab-index {
    font-size: 0.55rem;
  }

  .report-tab-icon {
    width: 24px;
    height: 24px;
  }

  .report-tab-copy strong {
    font-size: 0.58rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
