:root {
  --oak: #1c1712;
  --oak-2: #241e16;
  --oak-3: #342a1f;
  --chrome: #c9bba0;
  --dim: #8a7c63;
  --paper: #eae0c6;
  --paper-edge: #d9cca9;
  --ink: #2c2113;
  --ink-dim: #6b5a41;
  --verdigris: #3e8674;
  --verdigris-deep: #2e6656;
  --flame: #d98b2b;
  --wax: #b4462f;
  --line: rgba(201, 187, 160, 0.18);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(62, 134, 116, 0.11), transparent 28rem),
    radial-gradient(circle at 8% 38%, rgba(217, 139, 43, 0.07), transparent 24rem),
    var(--oak);
  background-image: var(--grain),
    radial-gradient(circle at 78% 8%, rgba(62, 134, 116, 0.11), transparent 28rem),
    radial-gradient(circle at 8% 38%, rgba(217, 139, 43, 0.07), transparent 24rem);
  color: var(--chrome);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--flame);
}

:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 4px;
}

.site-nav,
.site-footer,
.hero,
.section,
.split-section,
.final-cta {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--chrome);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 18px;
  font-variant-caps: small-caps;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-decoration: none;
}

.wordmark img {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.alpha-chip {
  padding: 4px 9px;
  border: 1px solid var(--oak-3);
  border-radius: 999px;
  color: var(--flame);
  font-size: 9px;
}

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
  padding-block: 92px 104px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--flame);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-weight: 600;
}

h1 {
  max-width: 780px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(48px, 6.4vw, 86px);
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.lede {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--chrome);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--oak-3);
  border-radius: 2px;
  color: var(--chrome);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: var(--verdigris);
  background: var(--verdigris-deep);
  color: #edf1ea;
}

.button.primary:hover {
  background: var(--verdigris);
  color: #fff;
}

.button.quiet:hover,
.nav-button:hover {
  border-color: var(--flame);
}

.nav-button {
  min-height: 34px;
  padding: 5px 11px;
  font-size: 9px;
}

.access-note {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--dim);
  font-size: 11px;
}

.ledger-stage {
  position: relative;
  padding: 26px 8px 8px;
}

.ledger-stage::before {
  content: "";
  position: absolute;
  inset: 8% -8% -10% 12%;
  border: 1px solid var(--oak-3);
  transform: rotate(4deg);
}

.pin {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 50%;
  width: 18px;
  height: 18px;
  border: 4px solid #8f3324;
  border-radius: 50%;
  background: var(--wax);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.55);
}

.paper-card {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--paper-edge);
  border-radius: 2px;
  background: var(--paper);
  background-image: var(--grain);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42), 0 2px 7px rgba(0, 0, 0, 0.45);
  color: var(--ink);
  transform: rotate(-1.4deg);
}

.paper-card header,
.paper-card footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-dim);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.paper-card header strong {
  color: var(--verdigris-deep);
  font-weight: 700;
}

.declaration,
.narration {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 18px;
  line-height: 1.55;
}

.declaration {
  margin: 27px 0 18px;
}

.declaration b {
  margin-right: 7px;
  color: #9a6215;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
}

.rule {
  border-top: 1px solid rgba(44, 33, 19, 0.22);
}

.paper-card dl {
  margin: 18px 0;
}

.paper-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 0;
  border-bottom: 1px dotted rgba(44, 33, 19, 0.25);
  font-size: 11px;
}

.paper-card dt {
  color: var(--ink-dim);
}

.paper-card dd {
  margin: 0;
  font-weight: 700;
}

.narration {
  margin: 24px 0 28px;
  font-style: italic;
}

.paper-card footer {
  justify-content: flex-end;
}

.thesis {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.thesis p {
  margin: 0;
  color: var(--dim);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(24px, 3.2vw, 40px);
  letter-spacing: 0.02em;
}

.thesis strong {
  color: var(--paper);
  font-weight: 600;
}

.section {
  padding-block: 118px;
}

.section-head {
  max-width: 760px;
}

h2 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(34px, 4.5vw, 58px);
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.beat-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 58px 0 0;
  padding: 1px;
  background: var(--line);
  list-style: none;
}

.beat-steps li {
  min-height: 300px;
  padding: 30px;
  background: var(--oak-2);
}

.step-number {
  color: var(--flame);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.beat-steps h3 {
  margin: 52px 0 14px;
  color: var(--paper);
  font-size: 26px;
}

.beat-steps p,
.split-section article > p,
.final-cta p {
  color: var(--dim);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: center;
  padding: 60px 0 130px;
}

.split-section article > p:last-child {
  max-width: 620px;
  margin-top: 24px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 19px;
}

.audit-card {
  padding: 28px;
  border: 1px solid var(--oak-3);
  background: rgba(36, 30, 22, 0.72);
}

.audit-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.audit-card li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px dotted var(--line);
  font-size: 11px;
}

.audit-card li:last-child {
  border: 0;
}

.audit-card li span {
  color: var(--dim);
}

.audit-card li b {
  color: var(--verdigris);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding-block: 66px;
  border-top: 1px solid var(--line);
}

.final-cta h2 {
  font-size: clamp(34px, 4vw, 52px);
}

.final-cta p:last-child {
  max-width: 660px;
  margin: 20px 0 0;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  padding-block: 30px 42px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.privacy-shell {
  width: min(920px, calc(100% - 40px));
  margin: 80px auto 110px;
}

.privacy-paper {
  padding: clamp(28px, 7vw, 80px);
  border: 1px solid var(--paper-edge);
  border-radius: 2px;
  background: var(--paper);
  background-image: var(--grain);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
}

.privacy-title {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(44, 33, 19, 0.2);
}

.privacy-title .eyebrow {
  color: var(--wax);
}

.privacy-title h1 {
  color: var(--ink);
  font-size: clamp(48px, 8vw, 76px);
}

.privacy-title > p:last-child {
  margin: 14px 0 0;
  color: var(--ink-dim);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy-summary {
  margin: 34px 0 54px;
  padding-left: 20px;
  border-left: 3px solid var(--verdigris-deep);
  font-size: 21px;
  line-height: 1.55;
}

.privacy-paper section {
  margin-top: 46px;
}

.privacy-paper h2 {
  color: var(--ink);
  font-size: 28px;
  letter-spacing: -0.01em;
}

.privacy-paper p {
  margin: 16px 0 0;
}

.privacy-paper a {
  color: var(--verdigris-deep);
  font-weight: 600;
}

.privacy-paper code {
  padding: 1px 4px;
  border: 1px solid rgba(44, 33, 19, 0.18);
  border-radius: 2px;
  font-size: 0.8em;
}

.reveal {
  animation: rise 650ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.reveal-two {
  animation-delay: 100ms;
}

.reveal-three {
  animation-delay: 180ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

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

  .hero {
    padding-block: 70px 90px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .ledger-stage {
    width: min(520px, 96%);
    margin: 10px auto 0;
  }

  .beat-steps {
    grid-template-columns: 1fr;
  }

  .beat-steps li {
    min-height: 0;
  }

  .beat-steps h3 {
    margin-top: 22px;
  }

  .final-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 600px) {
  .site-nav,
  .site-footer,
  .hero,
  .section,
  .split-section,
  .final-cta,
  .privacy-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-nav {
    min-height: 68px;
  }

  .site-nav nav {
    gap: 12px;
  }

  .alpha-chip,
  .site-nav nav > a:not(.nav-button) {
    display: none;
  }

  .wordmark {
    font-size: 15px;
  }

  .hero {
    min-height: auto;
    gap: 54px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding-block: 86px;
  }

  .beat-steps li,
  .audit-card {
    padding: 24px;
  }

  .split-section {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 92px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer span:nth-child(2) {
    display: none;
  }

  .privacy-shell {
    margin-block: 32px 70px;
  }

  .privacy-paper {
    font-size: 16px;
  }

  .privacy-summary {
    font-size: 19px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
