@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Source+Sans+3:wght@400;500;600&display=swap");

:root {
  --ivory: #f5f2e9;
  --paper: #fbf9f3;
  --ink: #0b0b0b;
  --muted: #625e56;
  --soft: #ddd7ca;
  --line: rgba(11, 11, 11, 0.18);
  --dark-line: rgba(245, 242, 233, 0.22);
  --max: 1240px;
  --pad: clamp(22px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--ivory);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header,
main,
.site-footer {
  width: min(calc(100% - (var(--pad) * 2)), var(--max));
  margin-inline: auto;
}

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

.brand-lockup {
  width: min(330px, 46vw);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(420px, 1.16fr);
  align-items: center;
  gap: clamp(54px, 8vw, 120px);
  border-bottom: 1px solid var(--line);
}

.hero-mark img {
  width: min(100%, 460px);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
}

h1 {
  margin: 0;
  font-size: clamp(60px, 7vw, 100px);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.hero-intro {
  max-width: 690px;
  margin: 34px 0 40px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions,
.contract-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.button-solid {
  color: var(--ivory);
  background: var(--ink);
}

.button-outline {
  background: transparent;
}

.button-muted {
  color: #777167;
  border-color: #b8b1a4;
  cursor: not-allowed;
}

.declaration {
  padding: clamp(62px, 8vw, 100px) 0;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid var(--line);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
}

.declaration p {
  margin: 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(60px, 10vw, 150px);
  padding: clamp(82px, 10vw, 132px) 0;
  border-bottom: 1px solid var(--line);
}

.section-label {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-label span {
  color: var(--ink);
  font-weight: 600;
}

.section-label p {
  margin: 0;
}

.section-content {
  max-width: 800px;
}

.section-content h2,
.section-heading h2,
.contract-header h2,
.risk-column h2 {
  margin: 0;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.section-content .lead,
.section-heading > p,
.risk-column > p {
  color: var(--muted);
}

.section-content .lead {
  max-width: 760px;
  margin: 28px 0 20px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.45;
}

.section-content p:not(.lead) {
  max-width: 720px;
  margin: 0;
}

.structure-section,
.wallet-section,
.contract-section {
  padding: clamp(92px, 11vw, 150px) 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 70px;
}

.section-heading > p:last-child {
  max-width: 750px;
  margin: 30px 0 0;
  font-size: 19px;
}

.compact-heading {
  margin-bottom: 52px;
}

.allocation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ink);
}

.allocation-card {
  min-height: 490px;
  padding: clamp(28px, 4vw, 54px);
  display: flex;
  flex-direction: column;
}

.allocation-card + .allocation-card {
  border-left: 1px solid var(--ink);
}

.allocation-card h3 {
  margin: 0 0 26px;
  font-size: 33px;
}

.allocation-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.allocation-number {
  margin: 0 0 auto;
  padding-bottom: 70px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(58px, 7vw, 94px);
  line-height: 1;
}

.allocation-dark {
  color: var(--ivory);
  background: var(--ink);
}

.allocation-dark p:last-child {
  color: #c9c2b5;
}

.wallet-list {
  border-top: 1px solid var(--ink);
}

.wallet-card {
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--ink);
}

.wallet-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.wallet-role {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.wallet-card h3 {
  margin: 0;
  font-size: clamp(27px, 3vw, 39px);
}

.status-pill {
  padding: 5px 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wallet-card code {
  display: block;
  margin: 24px 0 17px;
  color: #3f3b35;
  font-size: clamp(12px, 1.45vw, 15px);
  overflow-wrap: anywhere;
}

.wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.text-action {
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.contract-section {
  padding-bottom: clamp(92px, 12vw, 160px);
}

.contract-header {
  margin-bottom: 45px;
}

.contract-panel {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--ink);
  display: grid;
  gap: 34px;
}

.contract-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contract-placeholder {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
}

.verification-note {
  max-width: 750px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.vouch-section {
  background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper);
  clip-path: inset(0 -100vmax);
}

.risk-section {
  margin-inline: calc(var(--pad) * -1);
  padding: clamp(80px, 10vw, 132px) var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  color: var(--ivory);
  background: #38352f;
}

.risk-column {
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid var(--dark-line);
}

.risk-column h2 {
  font-size: clamp(38px, 4.7vw, 64px);
}

.risk-column > p {
  color: #d4cec2;
}

.trust-column {
  background: var(--ink);
}

.trust-statement {
  margin-top: 32px;
  color: var(--ivory) !important;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 23px;
  line-height: 1.35;
}

.site-footer {
  min-height: 300px;
  padding: 62px 0 40px;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) 1fr;
  gap: 54px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  max-width: 330px;
}

.footer-links {
  display: grid;
  align-content: start;
  justify-content: end;
  gap: 9px;
  text-align: right;
}

.footer-links a,
.footer-links span {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-note {
  grid-column: 1 / -1;
  margin: auto 0 0;
  padding-top: 44px;
  border-top: 1px solid var(--line);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 24px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  padding: 12px 16px;
  color: var(--ivory);
  background: var(--ink);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 80px 0 90px;
  }

  .hero-mark img {
    width: min(72vw, 360px);
  }

  .declaration {
    display: block;
  }

  .declaration p + p {
    margin-top: 12px;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .allocation-grid {
    grid-template-columns: 1fr;
  }

  .allocation-card {
    min-height: 390px;
  }

  .allocation-card + .allocation-card {
    border-left: 0;
    border-top: 1px solid var(--ink);
  }

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

@media (max-width: 620px) {
  :root {
    --pad: 18px;
  }

  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 82px;
  }

  .brand-lockup {
    width: 265px;
    max-width: 75vw;
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(50px, 15vw, 72px);
  }

  .hero-actions,
  .contract-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .wallet-heading {
    display: block;
  }

  .status-pill {
    display: inline-block;
    margin-top: 14px;
  }

  .wallet-actions {
    gap: 16px;
  }

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

  .footer-links {
    justify-content: start;
    text-align: left;
  }

  .footer-note {
    grid-column: 1;
  }
}

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

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