:root {
  --bg: #f4f7f5;
  --paper: #ffffff;
  --ink: #111d2a;
  --muted: #5f6f7d;
  --line: #d6dfdd;
  --line-strong: #bdcbc8;
  --teal: #176f86;
  --teal-dark: #17384a;
  --workflow-qbo: #0167b0;
  --workflow-qbo-rgb: 1, 103, 176;
  --workflow-statement: #047890;
  --workflow-statement-rgb: 4, 120, 144;
  --workflow-receipt: #46ac74;
  --workflow-receipt-rgb: 70, 172, 116;
  --workflow-review: #87cd60;
  --workflow-review-rgb: 135, 205, 96;
  --green: #2f8f68;
  --amber: #047890;
  --clay: #46ac74;
  --soft-blue: #eaf4f7;
  --soft-green: #edf7f1;
  --soft-amber: #e8f7f4;
  --soft-clay: #eef9ec;
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(17, 29, 42, 0.025) 1px, transparent 1px) 0 0 / 100% 34px,
    var(--bg);
  font-size: 16px;
  line-height: 1.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(244, 247, 245, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links a[aria-current="page"]::after,
.nav-links a:hover::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--workflow-qbo), var(--workflow-statement), var(--workflow-receipt), var(--workflow-review));
  content: "";
}

main {
  min-height: calc(100vh - 156px);
}

.hero {
  border-bottom: 1px solid rgba(23, 111, 134, 0.18);
  background:
    linear-gradient(90deg, rgba(246, 251, 250, 0.98) 0%, rgba(246, 251, 250, 0.94) 38%, rgba(246, 251, 250, 0.76) 62%, rgba(246, 251, 250, 0.50) 100%),
    linear-gradient(180deg, rgba(16, 78, 92, 0.08), rgba(16, 78, 92, 0.18)),
    url("./hero-evidence-workflow.jpg") center right / cover no-repeat,
    #e9f4f2;
  box-shadow: inset 0 -80px 120px rgba(23, 111, 134, 0.10);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 58px 24px 44px;
}

.hero-copy {
  width: 100%;
  min-width: 0;
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  font-size: clamp(40px, 7vw, 82px);
  overflow-wrap: anywhere;
}

.hero h1 {
  font-size: clamp(42px, 5.4vw, 62px);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.62);
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 18px;
}

.lede {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--teal-dark);
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  box-shadow: 0 12px 28px rgba(17, 56, 74, 0.14);
  transform: translateY(-1px);
}

.button.secondary {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.proof-board {
  position: relative;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 42px rgba(17, 29, 42, 0.09);
}

.proof-board::before {
  position: absolute;
  top: 68px;
  right: 30px;
  left: 30px;
  height: 2px;
  background: rgba(23, 111, 134, 0.14);
  content: "";
}

.process-demo {
  overflow: hidden;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: demoWipe 16s ease-in-out infinite;
}

.process-demo::before {
  display: none;
}

.proof-board-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.proof-board-head strong {
  color: var(--green);
  opacity: 0;
  animation: processStatus 16s ease-in-out infinite;
}

.process-progress {
  position: relative;
  height: 7px;
  margin: 16px 18px 0;
  overflow: hidden;
  border-radius: 99px;
  background: #eaf0ef;
}

.process-progress::after {
  position: absolute;
  inset: 0;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    var(--workflow-qbo) 0 25%,
    var(--workflow-statement) 25% 50%,
    var(--workflow-receipt) 50% 75%,
    var(--workflow-review) 75% 100%
  );
  clip-path: inset(0 100% 0 0);
  animation: processProgress 16s ease-in-out infinite;
  content: "";
}

.proof-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 18px;
}

.proof-lane {
  position: relative;
  min-height: 116px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfdfc);
}

.process-card {
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: border-color 160ms ease;
}

.process-card::after {
  position: absolute;
  top: -13px;
  right: 12px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 10px 22px rgba(17, 29, 42, 0.12);
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  opacity: 0;
  transform: translateY(6px) scale(0.96);
}

.process-card.receipt {
  animation: receiptStep 16s ease-in-out infinite;
}

.process-card.receipt::after {
  content: "Receipts parsed";
  animation: receiptToast 16s ease-in-out infinite;
}

.process-card.statement {
  animation: statementStep 16s ease-in-out infinite;
}

.process-card.statement::after {
  content: "Statement added";
  animation: statementToast 16s ease-in-out infinite;
}

.process-card.quickbooks {
  animation: quickbooksStep 16s ease-in-out infinite;
}

.process-card.quickbooks::after {
  content: "QBO connected";
  animation: quickbooksToast 16s ease-in-out infinite;
}

.process-card.review {
  animation: reviewStep 16s ease-in-out infinite;
}

.process-card.review::after {
  content: "Review ready";
  animation: reviewToast 16s ease-in-out infinite;
}

.proof-lane::before {
  display: block;
  width: 13px;
  height: 13px;
  margin-bottom: 12px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 2px rgba(23, 111, 134, 0.22);
  content: "";
}

.proof-lane:nth-child(2)::before {
  background: var(--workflow-statement);
  box-shadow: 0 0 0 2px rgba(var(--workflow-statement-rgb), 0.22);
}

.proof-lane:nth-child(3)::before {
  background: var(--workflow-receipt);
  box-shadow: 0 0 0 2px rgba(var(--workflow-receipt-rgb), 0.22);
}

.proof-lane.missing::before {
  background: var(--workflow-review);
  box-shadow: 0 0 0 2px rgba(var(--workflow-review-rgb), 0.22);
}

.process-card.review::before {
  background: var(--workflow-review);
  box-shadow: 0 0 0 2px rgba(var(--workflow-review-rgb), 0.22);
}

.process-card.receipt::before {
  background: var(--workflow-receipt);
  box-shadow: 0 0 0 2px rgba(var(--workflow-receipt-rgb), 0.22);
}

.process-card.statement::before {
  background: var(--workflow-statement);
  box-shadow: 0 0 0 2px rgba(var(--workflow-statement-rgb), 0.22);
}

.process-card.quickbooks::before {
  background: var(--workflow-qbo);
  box-shadow: 0 0 0 2px rgba(var(--workflow-qbo-rgb), 0.22);
}

.proof-lane span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.proof-lane strong {
  display: block;
  font-weight: 750;
}

.proof-lane small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.process-card > span,
.process-card > strong,
.process-card > small {
  width: fit-content;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
}

.process-card.receipt > span { animation: receiptLineOne 16s steps(18, end) infinite; }
.process-card.receipt > strong { animation: receiptLineTwo 16s steps(18, end) infinite; }
.process-card.receipt > small { animation: receiptLineThree 16s steps(22, end) infinite; }
.process-card.statement > span { animation: statementLineOne 16s steps(20, end) infinite; }
.process-card.statement > strong { animation: statementLineTwo 16s steps(20, end) infinite; }
.process-card.statement > small { animation: statementLineThree 16s steps(24, end) infinite; }
.process-card.quickbooks > span { animation: quickbooksLineOne 16s steps(22, end) infinite; }
.process-card.quickbooks > strong { animation: quickbooksLineTwo 16s steps(18, end) infinite; }
.process-card.quickbooks > small { animation: quickbooksLineThree 16s steps(26, end) infinite; }
.process-card.review > span { animation: reviewLineOne 16s steps(18, end) infinite; }
.process-card.review > strong { animation: reviewLineTwo 16s steps(20, end) infinite; }
.process-card.review > small { animation: reviewLineThree 16s steps(24, end) infinite; }

.process-final {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(47, 143, 104, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(17, 29, 42, 0.16);
  opacity: 0;
  text-align: center;
  transform: translateY(12px) scale(0.98);
  animation: processFinal 16s ease-in-out infinite;
  pointer-events: none;
}

.process-final-icon {
  position: relative;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border: 1px solid rgba(47, 143, 104, 0.32);
  border-radius: 50%;
  background: rgba(47, 143, 104, 0.12);
  box-shadow: 0 10px 22px rgba(47, 143, 104, 0.16);
  opacity: 0;
  transform: scale(0.72);
  animation: processFinalCheck 16s ease-in-out infinite;
}

.process-final-icon::after {
  position: absolute;
  top: 8px;
  left: 13px;
  width: 9px;
  height: 17px;
  border-right: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  content: "";
  transform: rotate(42deg);
}

.process-final span {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.process-final strong {
  display: block;
  max-width: 420px;
  margin-top: 10px;
  font-size: 24px;
  line-height: 1.16;
}

@keyframes processProgress {
  0%, 8% { clip-path: inset(0 100% 0 0); }
  18%, 24% { clip-path: inset(0 75% 0 0); }
  35%, 41% { clip-path: inset(0 50% 0 0); }
  52%, 58% { clip-path: inset(0 25% 0 0); }
  69%, 96% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 100% 0 0); }
}

@keyframes processStatus {
  0%, 60% { opacity: 0; }
  64%, 84% { opacity: 1; }
  92%, 100% { opacity: 0; }
}

@keyframes demoWipe {
  0%, 2% { opacity: 0; clip-path: inset(0 100% 0 0); }
  7%, 92% { opacity: 1; clip-path: inset(0 0 0 0); }
  100% { opacity: 0; clip-path: inset(0 0 0 100%); }
}

@keyframes receiptStep {
  0%, 40% { opacity: 0; transform: translateY(14px) scale(0.98); }
  44%, 84% { opacity: 1; transform: translateY(0) scale(1); border-color: rgba(var(--workflow-receipt-rgb), 0.34); box-shadow: 0 10px 22px rgba(var(--workflow-receipt-rgb), 0.08); }
  94%, 100% { opacity: 0; transform: translateY(10px) scale(0.98); box-shadow: none; }
}

@keyframes statementStep {
  0%, 24% { opacity: 0; transform: translateY(14px) scale(0.98); }
  28%, 84% { opacity: 1; transform: translateY(0) scale(1); border-color: rgba(var(--workflow-statement-rgb), 0.34); box-shadow: 0 10px 22px rgba(var(--workflow-statement-rgb), 0.08); }
  94%, 100% { opacity: 0; transform: translateY(10px) scale(0.98); box-shadow: none; }
}

@keyframes quickbooksStep {
  0%, 8% { opacity: 0; transform: translateY(14px) scale(0.98); }
  11%, 84% { opacity: 1; transform: translateY(0) scale(1); border-color: rgba(var(--workflow-qbo-rgb), 0.34); box-shadow: 0 10px 22px rgba(var(--workflow-qbo-rgb), 0.08); }
  94%, 100% { opacity: 0; transform: translateY(10px) scale(0.98); box-shadow: none; }
}

@keyframes reviewStep {
  0%, 56% { opacity: 0; transform: translateY(14px) scale(0.98); }
  60%, 84% { opacity: 1; transform: translateY(0) scale(1); border-color: rgba(var(--workflow-review-rgb), 0.42); box-shadow: 0 10px 22px rgba(var(--workflow-review-rgb), 0.10); }
  94%, 100% { opacity: 0; transform: translateY(10px) scale(0.98); box-shadow: none; }
}

@keyframes receiptToast { 0%, 43% { opacity: 0; transform: translateY(6px) scale(0.96); } 45%, 51% { opacity: 1; transform: translateY(0) scale(1); } 57%, 100% { opacity: 0; transform: translateY(-4px) scale(0.98); } }
@keyframes statementToast { 0%, 27% { opacity: 0; transform: translateY(6px) scale(0.96); } 29%, 35% { opacity: 1; transform: translateY(0) scale(1); } 41%, 100% { opacity: 0; transform: translateY(-4px) scale(0.98); } }
@keyframes quickbooksToast { 0%, 10% { opacity: 0; transform: translateY(6px) scale(0.96); } 12%, 18% { opacity: 1; transform: translateY(0) scale(1); } 24%, 100% { opacity: 0; transform: translateY(-4px) scale(0.98); } }
@keyframes reviewToast { 0%, 59% { opacity: 0; transform: translateY(6px) scale(0.96); } 61%, 67% { opacity: 1; transform: translateY(0) scale(1); } 73%, 100% { opacity: 0; transform: translateY(-4px) scale(0.98); } }

@keyframes receiptLineOne { 0%, 45% { opacity: 0; max-width: 0; } 48%, 84% { opacity: 1; max-width: 100%; } 94%, 100% { opacity: 0; max-width: 0; } }
@keyframes receiptLineTwo { 0%, 48% { opacity: 0; max-width: 0; } 51%, 84% { opacity: 1; max-width: 100%; } 94%, 100% { opacity: 0; max-width: 0; } }
@keyframes receiptLineThree { 0%, 51% { opacity: 0; max-width: 0; } 54%, 84% { opacity: 1; max-width: 100%; } 94%, 100% { opacity: 0; max-width: 0; } }
@keyframes statementLineOne { 0%, 29% { opacity: 0; max-width: 0; } 32%, 84% { opacity: 1; max-width: 100%; } 94%, 100% { opacity: 0; max-width: 0; } }
@keyframes statementLineTwo { 0%, 32% { opacity: 0; max-width: 0; } 35%, 84% { opacity: 1; max-width: 100%; } 94%, 100% { opacity: 0; max-width: 0; } }
@keyframes statementLineThree { 0%, 35% { opacity: 0; max-width: 0; } 38%, 84% { opacity: 1; max-width: 100%; } 94%, 100% { opacity: 0; max-width: 0; } }
@keyframes quickbooksLineOne { 0%, 12% { opacity: 0; max-width: 0; } 15%, 84% { opacity: 1; max-width: 100%; } 94%, 100% { opacity: 0; max-width: 0; } }
@keyframes quickbooksLineTwo { 0%, 15% { opacity: 0; max-width: 0; } 18%, 84% { opacity: 1; max-width: 100%; } 94%, 100% { opacity: 0; max-width: 0; } }
@keyframes quickbooksLineThree { 0%, 18% { opacity: 0; max-width: 0; } 21%, 84% { opacity: 1; max-width: 100%; } 94%, 100% { opacity: 0; max-width: 0; } }
@keyframes reviewLineOne { 0%, 61% { opacity: 0; max-width: 0; } 64%, 84% { opacity: 1; max-width: 100%; } 94%, 100% { opacity: 0; max-width: 0; } }
@keyframes reviewLineTwo { 0%, 64% { opacity: 0; max-width: 0; } 67%, 84% { opacity: 1; max-width: 100%; } 94%, 100% { opacity: 0; max-width: 0; } }
@keyframes reviewLineThree { 0%, 67% { opacity: 0; max-width: 0; } 70%, 84% { opacity: 1; max-width: 100%; } 94%, 100% { opacity: 0; max-width: 0; } }

@keyframes processFinal {
  0%, 82% { opacity: 0; transform: translateY(12px) scale(0.98); }
  88%, 96% { opacity: 1; transform: translateY(0) scale(1); }
  98%, 100% { opacity: 0; transform: translateY(-8px) scale(0.98); }
}

@keyframes processFinalCheck {
  0%, 86% { opacity: 0; transform: scale(0.72); }
  90%, 96% { opacity: 1; transform: scale(1); }
  98%, 100% { opacity: 0; transform: scale(0.86); }
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 24px;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-header p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.tile {
  position: relative;
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(17, 29, 42, 0.035);
}

.tile::before,
.case-card::before,
.source-row::before {
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 16px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--workflow-qbo), var(--workflow-statement), var(--workflow-receipt), var(--workflow-review));
  content: "";
}

.card-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.tag + .card-title {
  margin-top: 14px;
}

.card-title h2,
.card-title h3 {
  min-width: 0;
  margin-top: 0;
}

.icon-chip {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(var(--workflow-qbo-rgb), 0.2);
  border-radius: 10px;
  background: rgba(var(--workflow-qbo-rgb), 0.09);
  color: var(--workflow-qbo);
  box-shadow: 0 10px 22px rgba(17, 29, 42, 0.05);
  line-height: 1;
}

.site-icon {
  display: block;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.icon-chip .site-icon {
  width: 20px;
  height: 20px;
}

.icon-chip.statement {
  border-color: rgba(var(--workflow-statement-rgb), 0.22);
  background: rgba(var(--workflow-statement-rgb), 0.09);
  color: var(--workflow-statement);
}

.icon-chip.receipt {
  border-color: rgba(var(--workflow-receipt-rgb), 0.24);
  background: rgba(var(--workflow-receipt-rgb), 0.11);
  color: #287c55;
}

.icon-chip.review {
  border-color: rgba(var(--workflow-review-rgb), 0.36);
  background: rgba(var(--workflow-review-rgb), 0.18);
  color: var(--green);
}

.icon-chip.dark {
  border-color: rgba(23, 56, 74, 0.18);
  background: rgba(23, 56, 74, 0.08);
  color: var(--teal-dark);
}

.tile p {
  margin: 10px 0 0;
  color: var(--muted);
}

.case-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(17, 29, 42, 0.035);
}

.case-card h2 {
  font-size: 24px;
}

.case-card p {
  color: var(--muted);
}

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

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 750;
}

.tag.green {
  background: var(--soft-green);
  color: var(--green);
}

.tag.amber {
  background: rgba(var(--workflow-statement-rgb), 0.12);
  color: var(--workflow-statement);
}

.tag.clay {
  background: rgba(var(--workflow-receipt-rgb), 0.14);
  color: #287c55;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  counter-reset: step;
}

.step {
  position: relative;
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(17, 29, 42, 0.035);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: #fff;
  font-weight: 800;
}

.step p {
  margin: 10px 0 0;
  color: var(--muted);
}

.content {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.content.wide {
  max-width: 1040px;
}

.content h1 {
  font-size: clamp(34px, 6vw, 58px);
  overflow-wrap: anywhere;
}

.content h2 {
  margin-top: 36px;
  font-size: 28px;
}

.content p,
.content li {
  color: var(--muted);
}

.content ul {
  padding-left: 22px;
}

.oauth-handoff {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fine-print {
  margin-top: 22px;
  font-size: 13px;
}

.checklist-panel {
  margin: 32px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 16px 34px rgba(20, 43, 52, 0.08);
}

.checklist-panel h2 {
  margin-top: 0;
}

.source-matrix {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.source-row {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  grid-template-columns: minmax(220px, 0.78fr) minmax(280px, 1.22fr) minmax(220px, 0.8fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(17, 29, 42, 0.035);
}

.source-row::before {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.source-row h2 {
  font-size: 22px;
}

.source-row > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.source-row p {
  margin: 0;
}

.source-row strong {
  color: var(--ink);
}

.security-page .lede {
  max-width: 820px;
}

.security-principles {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 18px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(23, 111, 134, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(var(--workflow-qbo-rgb), 0.08), rgba(var(--workflow-review-rgb), 0.12)),
    var(--paper);
  box-shadow: 0 22px 44px rgba(17, 29, 42, 0.08);
}

.security-principles::before {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: calc(var(--radius) - 2px);
  content: "";
  pointer-events: none;
}

.security-principle {
  position: relative;
  min-height: 260px;
  padding: 20px;
  border: 1px solid rgba(214, 223, 221, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(17, 29, 42, 0.055);
  z-index: 1;
}

.security-principle::before {
  display: block;
  width: 46px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--workflow-qbo), var(--workflow-statement));
  content: "";
}

.security-principle.local::before {
  background: linear-gradient(90deg, var(--workflow-statement), var(--workflow-receipt));
}

.security-principle.removal::before {
  background: linear-gradient(90deg, var(--workflow-receipt), var(--workflow-review));
}

.security-principle span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(var(--workflow-qbo-rgb), 0.1);
  color: var(--workflow-qbo);
}

.security-principle span .site-icon {
  width: 22px;
  height: 22px;
}

.security-principle.local span {
  background: rgba(var(--workflow-receipt-rgb), 0.12);
  color: #287c55;
}

.security-principle.removal span {
  background: rgba(var(--workflow-review-rgb), 0.2);
  color: var(--green);
}

.security-principle h2 {
  margin-top: 22px;
  font-size: 26px;
}

.security-principle p {
  margin-bottom: 0;
}

.security-scan {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 16px;
  width: calc((100% - 32px) / 3);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(var(--workflow-review-rgb), 0.16));
  box-shadow: 0 24px 44px rgba(23, 111, 134, 0.14);
  animation: securityScan 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.security-detail-grid,
.support-grid,
.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.security-detail-grid article,
.support-card,
.support-contact,
.contact-form,
.support-safe {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(17, 29, 42, 0.035);
}

.security-detail-grid article,
.support-card {
  padding: 20px;
}

.security-detail-grid article h2,
.support-card h2 {
  margin-top: 0;
  font-size: 22px;
}

.security-detail-grid article p,
.support-card p {
  margin-bottom: 0;
}

.security-note {
  margin-top: 28px;
}

.support-page .lede {
  max-width: 760px;
}

.support-contact {
  margin-top: 30px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(var(--workflow-qbo-rgb), 0.08), rgba(var(--workflow-receipt-rgb), 0.12)),
    var(--paper);
}

.support-contact span {
  display: block;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.support-contact a {
  display: inline-block;
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 850;
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.support-contact a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.support-contact p {
  max-width: 680px;
  margin-bottom: 0;
}

.support-safe {
  margin-top: 18px;
  padding: 20px;
  border-color: rgba(var(--workflow-statement-rgb), 0.32);
  background: rgba(var(--workflow-statement-rgb), 0.07);
}

.support-safe h2 {
  margin-top: 0;
  font-size: 22px;
}

.support-safe p {
  margin-bottom: 0;
}

.contact-form {
  margin-top: 30px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(var(--workflow-qbo-rgb), 0.06), rgba(var(--workflow-review-rgb), 0.1)),
    var(--paper);
}

.contact-form-header {
  max-width: 680px;
  margin-bottom: 18px;
}

.contact-form-header h2 {
  margin-top: 0;
  font-size: 26px;
}

.contact-form-header p {
  margin-bottom: 0;
}

.contact-form-grid {
  margin-top: 0;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
}

.field input,
.field select {
  min-height: 44px;
  padding: 8px 12px;
}

.field textarea {
  min-height: 150px;
  padding: 12px;
  resize: vertical;
}

.confirmation-field label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(var(--workflow-statement-rgb), 0.24);
  border-radius: 8px;
  background: rgba(var(--workflow-statement-rgb), 0.06);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.confirmation-field input {
  width: auto;
  min-height: 0;
  margin-top: 4px;
  padding: 0;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--workflow-qbo);
  box-shadow: 0 0 0 3px rgba(var(--workflow-qbo-rgb), 0.13);
  outline: none;
}

.field-hint,
.form-note {
  color: var(--muted);
  font-size: 13px;
}

.form-status {
  min-height: 22px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.form-status[data-tone="pending"] {
  color: var(--workflow-statement);
}

.form-status[data-tone="success"] {
  color: var(--green);
}

.form-status[data-tone="error"] {
  color: #a23c2d;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.contact-form button {
  cursor: pointer;
  font: inherit;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.contact-form [hidden] {
  display: none !important;
}

@keyframes securityScan {
  0%, 18% {
    transform: translateX(0);
  }
  35%, 52% {
    transform: translateX(calc(100% + 14px));
  }
  69%, 86% {
    transform: translateX(calc(200% + 28px));
  }
  100% {
    transform: translateX(0);
  }
}

.notice {
  margin: 28px 0;
  padding: 16px 18px;
  border: 1px solid #e8c27e;
  border-radius: var(--radius);
  background: var(--soft-amber);
  color: #5d3a00;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner a {
  color: var(--muted);
}

.trademark-notice {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin: -8px auto 0;
  max-width: 1160px;
  padding: 0 24px 24px;
}

@media (prefers-reduced-motion: reduce) {
  .process-demo,
  .proof-board-head strong,
  .process-progress::after,
  .process-card,
  .process-card::after,
  .process-card > span,
  .process-card > strong,
  .process-card > small,
  .process-final,
  .process-final-icon,
  .security-scan {
    animation: none;
  }

  .process-demo {
    opacity: 1;
    clip-path: none;
  }

  .process-progress::after {
    width: 100%;
    background: linear-gradient(
      90deg,
      var(--workflow-qbo) 0 25%,
      var(--workflow-statement) 25% 50%,
      var(--workflow-receipt) 50% 75%,
      var(--workflow-review) 75% 100%
    );
    clip-path: none;
  }

  .proof-board-head strong {
    opacity: 1;
  }

  .process-card {
    opacity: 1;
    transform: none;
  }

  .process-card::after {
    display: none;
  }

  .process-card > span,
  .process-card > strong,
  .process-card > small {
    max-width: 100%;
    opacity: 1;
  }

  .process-final {
    position: static;
    min-height: auto;
    margin: 0 18px 16px;
    opacity: 1;
    transform: none;
  }

  .process-final-icon {
    opacity: 1;
    transform: none;
  }

  .security-scan {
    display: none;
  }
}

@media (max-width: 880px) {
  .hero-inner,
  .grid,
  .case-grid,
  .proof-lanes,
  .source-row,
  .security-principles,
  .security-detail-grid,
  .contact-form-grid,
  .support-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 52px;
  }

  .proof-board::before {
    top: 80px;
    bottom: 62px;
    left: 24px;
    width: 2px;
    height: auto;
    background: rgba(23, 111, 134, 0.14);
  }

  .security-scan {
    display: none;
  }

  .security-principle {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    padding-inline: 18px;
  }

  .nav-links {
    width: 100%;
    max-width: calc(100vw - 36px);
    gap: 10px;
    font-size: 13px;
  }

  .content {
    padding-inline: 18px;
    max-width: 100%;
  }

  .content h1 {
    font-size: 30px;
    line-height: 1.12;
  }

  .hero-inner {
    padding-inline: 18px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(246, 251, 250, 0.98) 0%, rgba(246, 251, 250, 0.94) 52%, rgba(246, 251, 250, 0.84) 100%),
      url("./hero-evidence-workflow.jpg") 63% top / auto 100% no-repeat,
      #e9f4f2;
  }

  .hero-copy,
  .hero .lede,
  .hero-actions,
  .proof-board {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    max-width: min(320px, calc(100vw - 36px));
    font-size: 28px;
    line-height: 1.14;
  }

  .lede {
    font-size: 16px;
  }

  .proof-board-head,
  .proof-lanes {
    padding-inline: 14px;
  }

  .proof-board-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .card-title {
    gap: 10px;
  }

  .icon-chip {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 11px;
  }

  .support-contact a {
    font-size: 20px;
  }

  .contact-form {
    padding: 18px;
  }

  .source-row {
    padding: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .content h1,
  .content .lede,
  .case-grid,
  .source-matrix {
    width: min(340px, calc(100vw - 36px));
    max-width: min(340px, calc(100vw - 36px));
  }
}
