:root {
  color-scheme: light;
  --paper: #fbfcf8;
  --ink: #17211c;
  --muted: #5d6b65;
  --line: #dbe3df;
  --wash: #eef3ef;
  --green: #25785d;
  --green-strong: #11553d;
  --blue: #275d86;
  --amber: #a96519;
  --red: #a83b3b;
  --plum: #60456d;
  --white: #ffffff;
  --dark: #111a17;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  background: var(--paper);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(219, 227, 223, 0.9);
  background: rgba(251, 252, 248, 0.93);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans, Inter, sans-serif);
  font-weight: 760;
  text-decoration: none;
}

.mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(23, 33, 28, 0.16);
  border-radius: 7px;
  background: #17211c;
  color: #f7fbf6;
  font-size: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-weight: 720;
  text-decoration: none;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 86vh;
  align-items: end;
  overflow: hidden;
  padding: clamp(80px, 11vw, 132px) clamp(18px, 4vw, 56px) clamp(42px, 7vw, 72px);
  background: #111a17;
  color: #f7fbf6;
}

.hero-visual {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(560px, 1.4fr) minmax(360px, 0.85fr);
  gap: 22px;
  align-items: center;
  padding: 86px clamp(18px, 4vw, 56px) 46px;
  opacity: 0.72;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(17, 26, 23, 0.42);
  box-shadow:
    inset 46vw 0 0 rgba(17, 26, 23, 0.5),
    inset 0 -34vh 0 rgba(17, 26, 23, 0.46);
  pointer-events: none;
}

.event-board,
.receipt-board {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.24);
}

.event-board {
  align-self: stretch;
  padding: 16px;
}

.board-header,
.receipt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  color: rgba(247, 251, 246, 0.78);
  font-size: 12px;
}

.status-pill,
.tiny-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #d8f2e7;
  font-size: 12px;
}

.event-grid {
  display: grid;
  gap: 10px;
}

.event-row {
  display: grid;
  grid-template-columns: 104px 1fr 86px;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
}

.event-row strong,
.receipt-board strong {
  color: #ffffff;
}

.event-row span,
.receipt-board span,
.receipt-board code {
  color: rgba(247, 251, 246, 0.74);
  font-size: 12px;
}

.state-ok {
  color: #9be7c4;
}

.state-warn {
  color: #f1c984;
}

.state-bad {
  color: #ef9d9d;
}

.receipt-board {
  align-self: end;
  padding: 16px;
}

.receipt-lines {
  display: grid;
  gap: 12px;
  padding: 14px 0 2px;
}

.receipt-line {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #9be7c4;
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-sans, Inter, sans-serif);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(247, 251, 246, 0.8);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.45;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.proof-strip span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 251, 246, 0.76);
  font-size: 13px;
}

.section {
  padding: clamp(52px, 8vw, 94px) clamp(18px, 4vw, 56px);
}

.section.alt {
  background: var(--wash);
}

.section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading p,
.wide-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.04;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.grid-3,
.grid-2,
.pricing-grid {
  display: grid;
  gap: 16px;
}

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

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

.panel,
.price,
.verify-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.panel,
.price {
  padding: 22px;
}

.panel p,
.price p,
.verify-panel p,
.timeline p {
  color: var(--muted);
  line-height: 1.5;
}

.panel ul,
.price ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.panel li + li,
.price li + li {
  margin-top: 7px;
}

.price strong {
  display: block;
  margin-bottom: 4px;
  font-size: 28px;
}

.price .label {
  color: var(--green-strong);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.timeline-step {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 20px 22px;
}

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

.step-code {
  font-family: var(--font-mono, monospace);
  color: var(--blue);
  font-size: 13px;
}

.footer {
  padding: 34px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  max-width: 1140px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
}

.verify-shell {
  min-height: 100vh;
  padding: clamp(36px, 7vw, 78px) clamp(18px, 4vw, 56px);
  background: var(--wash);
}

.verify-panel {
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
}

.verify-head {
  padding: 26px;
  background: var(--dark);
  color: var(--white);
}

.verify-body {
  display: grid;
  gap: 14px;
  padding: 24px 26px;
}

.verify-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.verify-row span {
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-visual {
    grid-template-columns: 1fr;
    opacity: 0.48;
    transform: translateX(8%);
  }

  .receipt-board {
    display: none;
  }

  .event-row {
    grid-template-columns: 86px 1fr;
  }

  .event-row > :last-child {
    grid-column: 2;
  }

  .grid-3,
  .grid-2,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .timeline-step,
  .verify-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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