/* Divido static site: shared landing and document styles. */
:root {
  color-scheme: light;
  --ink: #17201f;
  --muted: #52615e;
  --soft: #eef6f2;
  --paper: #fbfcf8;
  --surface: #ffffff;
  --teal: #007c73;
  --teal-dark: #075c58;
  --indigo: #263a8b;
  --gold: #f1c95c;
  --line: #d9e5df;
  --shadow: 0 24px 70px rgba(17, 58, 52, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(241, 201, 92, 0.35), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(38, 58, 139, 0.16), transparent 30rem),
    var(--paper);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(217, 229, 223, 0.8);
  background: rgba(251, 252, 248, 0.88);
  backdrop-filter: blur(18px);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px;
  background: var(--teal);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 124, 115, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(23, 32, 31, 0.08);
}

.button.primary {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: 80px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 72px;
  align-items: center;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  font-size: clamp(4rem, 11vw, 8.7rem);
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.store-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.ledger-panel {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 242, 0.96)),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ledger-panel::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 24px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, transparent 0 38%, rgba(0, 124, 115, 0.09) 38% 39%, transparent 39%);
}

.ledger-sheet {
  position: absolute;
  inset: 52px 34px auto;
  display: grid;
  gap: 18px;
}

.ledger-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 229, 223, 0.9);
}

.ledger-row strong {
  display: block;
  font-size: 1rem;
}

.ledger-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.ledger-row em {
  color: var(--teal-dark);
  font-style: normal;
  font-weight: 900;
}

.balance-ribbon {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  padding: 22px;
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
}

.balance-ribbon p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.balance-ribbon strong {
  display: block;
  margin-top: 6px;
  font-size: 1.6rem;
}

section {
  padding: 96px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.section-heading {
  position: sticky;
  top: 108px;
}

h2 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

.lead {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.proof-list {
  display: grid;
  gap: 18px;
}

.proof-item {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.proof-item:last-child {
  border-bottom: 1px solid var(--line);
}

.proof-item h3 {
  margin-bottom: 10px;
  font-size: 1.7rem;
}

.proof-item p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.band {
  background: var(--ink);
  color: #fff;
}

.band .lead,
.band .proof-item p {
  color: rgba(255, 255, 255, 0.72);
}

.band .proof-item {
  border-color: rgba(255, 255, 255, 0.18);
}

.legal-strip {
  padding: 36px 0;
  background: var(--teal-dark);
  color: #fff;
}

.legal-strip .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-links a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.cta {
  text-align: center;
}

.cta h2 {
  max-width: 800px;
  margin: 0 auto;
}

.cta p {
  max-width: 620px;
  margin: 24px auto 0;
  color: var(--muted);
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.doc-shell {
  padding: 56px 0 88px;
}

.doc {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.doc h1 {
  font-size: clamp(2.7rem, 7vw, 5.5rem);
}

.doc h2 {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.doc h3 {
  margin-top: 26px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

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

.doc a {
  color: var(--teal-dark);
  font-weight: 800;
}

.meta,
.summary {
  margin-top: 18px;
}

.summary {
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--ink);
}

.doc table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.doc th,
.doc td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.doc th {
  background: var(--soft);
  color: var(--ink);
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--teal-dark);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 880px) {
  .hero-grid,
  .section-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .section-heading {
    position: static;
  }

  .ledger-panel {
    min-height: 500px;
  }

  .legal-strip .wrap {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .nav-links a:not(.button) {
    display: none;
  }

  .site-nav .wrap {
    min-height: 66px;
  }

  .hero {
    min-height: auto;
    padding: 58px 0 72px;
  }

  h1 {
    font-size: 3.75rem;
  }

  section {
    padding: 72px 0;
  }

  .ledger-panel {
    min-height: 460px;
    border-radius: 26px;
  }

  .ledger-sheet {
    inset: 28px 18px auto;
  }

  .ledger-row {
    padding: 15px;
  }
}

