:root {
  --pitch: oklch(19% 0.018 53);
  --kerf: oklch(32% 0.032 51);
  --birch: oklch(93% 0.018 79);
  --stamp: oklch(68% 0.17 270);
  --blaze: oklch(50% 0.16 43);
  --background: oklch(96.5% 0.012 79);
  --foreground: var(--pitch);
  --surface: var(--birch);
  --primary: var(--stamp);
  --primary-foreground: var(--pitch);
  --muted: oklch(45% 0.025 55);
  --border: oklch(78% 0.025 62);
  --input: oklch(72% 0.03 60);
  --gain: oklch(48% 0.13 148);
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-display: "Big Shoulders Stencil", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

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

button, a { font-family: inherit; }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

h1, h2, .step-num, .footer-tag {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72;
  font-weight: 850;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.05;
}

.muted { color: var(--muted); }
.blaze { color: var(--blaze); }
.gain { color: var(--gain); }

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 95%, transparent);
  backdrop-filter: blur(4px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  gap: 1rem;
}

.logo { height: 1.75rem; width: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn-primary {
  height: 2.25rem;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover { background: color-mix(in oklab, var(--primary) 90%, black); }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 5rem);
  overflow: hidden;
  border-bottom: 4px solid var(--blaze);
}

.hero-log-image {
  position: absolute;
  inset: 0;
  z-index: -20;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  filter: saturate(0.94) brightness(1.08) contrast(0.94);
}

.hero-log-fade {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -10;
  background:
    linear-gradient(90deg, var(--background) 0%, color-mix(in oklab, var(--background) 97%, transparent) 54%, color-mix(in oklab, var(--background) 76%, transparent) 75%, color-mix(in oklab, var(--background) 32%, transparent) 100%),
    linear-gradient(0deg, color-mix(in oklab, var(--background) 48%, transparent), transparent 42%);
}

.hero-rail {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 0.5rem;
  background: var(--primary);
}

.hero-rule {
  display: none;
  position: absolute;
  right: 0;
  bottom: 2.5rem;
  height: 1px;
  width: 33%;
  background: color-mix(in oklab, var(--primary) 70%, transparent);
}

.hero-copy-wrap { padding-top: 3rem; padding-bottom: 3rem; }
.hero-copy { max-width: 35rem; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blaze);
}

.eyebrow span {
  display: block;
  height: 2px;
  width: 2.5rem;
  background: var(--blaze);
}

h1 {
  margin: 0;
  font-size: 52px;
  line-height: 0.98;
}

.lede {
  margin: 1.5rem 0 0;
  max-width: 30rem;
  font-size: 1.125rem;
  line-height: 1.75;
}

.lede + .lede { margin-top: 1rem; line-height: 2rem; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.chips span {
  border: 1px solid var(--kerf);
  background: color-mix(in oklab, var(--surface) 80%, transparent);
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.content { padding-bottom: 2.5rem; }

.soon { margin: 2rem 0 0; }

.rule {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 4rem 0;
}

.rule-blaze { border-top-color: var(--blaze); }
.rule-primary { border-top-color: var(--primary); }

.section-lead {
  margin: 1.25rem 0 0;
  max-width: 48rem;
  font-size: 1.125rem;
  line-height: 2rem;
}

.steps { margin-top: 2.5rem; }

.step {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.step-num {
  display: block;
  font-size: 3rem;
  line-height: 1;
  color: var(--blaze);
}

.step h3 {
  margin: 0.75rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.step p {
  margin: 0.5rem 0 0;
  line-height: 1.75rem;
}

.fees {
  position: relative;
  overflow: hidden;
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  background: var(--surface);
  padding: 2.5rem 1.25rem;
}

.fees-cap {
  position: absolute;
  top: 0;
  right: 0;
  height: 0.5rem;
  width: 33%;
  background: var(--primary);
}

.fees-lead {
  margin: 1rem 0 0;
  max-width: 48rem;
  line-height: 1.75rem;
}

.fee-bar {
  display: flex;
  height: 1.75rem;
  width: 100%;
  margin-top: 2.25rem;
  overflow: hidden;
  border-radius: 2px;
}

.fee-burn { width: 15%; background: var(--blaze); }
.fee-chop { width: 17%; background: var(--primary); }
.fee-farmers { width: 68%; background: var(--gain); }

.fee-legend {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.legend-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.swatch {
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 2px;
}

.swatch-blaze { background: var(--blaze); }
.swatch-primary { background: var(--primary); }
.swatch-gain { background: var(--gain); }

.num {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.fine {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
}

.fine + .fine { margin-top: 0.5rem; }

.chop { position: relative; isolation: isolate; overflow: hidden; }

.rings {
  pointer-events: none;
  position: absolute;
  z-index: -10;
  top: -6rem;
  right: -5rem;
  width: 20rem;
  height: 20rem;
  color: color-mix(in oklab, var(--blaze) 20%, transparent);
}

.lines, .plain-lines { margin-top: 2rem; border-top: 1px solid var(--border); }

.lines p, .plain-lines p {
  margin: 0;
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  line-height: 1.75rem;
}

.lines p {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lines p::before {
  content: "";
  display: block;
  flex-shrink: 0;
  height: 2px;
  width: 1.25rem;
  background: var(--primary);
}

.closer {
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--blaze);
  background: var(--surface);
  padding: 2.5rem 1.5rem;
}

.closer-rail {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 0.5rem;
  background: var(--primary);
}

.closer h2 {
  max-width: 48rem;
  font-size: 2.25rem;
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: auto;
  border-top: 4px solid var(--blaze);
  background: var(--surface);
}

.footer-rail {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 0.5rem;
  background: var(--primary);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-tag {
  margin: 1.25rem 0 0;
  max-width: 20rem;
  font-size: 1.5rem;
  line-height: 1.15;
}

.contract-label {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.contract-address {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.x-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
}

.x-link:hover { color: var(--foreground); }

.footer-note { margin-top: 1.5rem; }

@media (min-width: 360px) {
  h1 { font-size: 56px; }
}

@media (min-width: 640px) {
  .wrap, .header-inner { padding-left: 2rem; padding-right: 2rem; }
  .btn-primary { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero-log-image { object-position: 64% center; }
  .hero-copy-wrap { padding-top: 4rem; padding-bottom: 4rem; }
  h1 { font-size: 72px; line-height: 0.95; }
  .content { padding-bottom: 3.5rem; }
  .rule { margin: 5rem 0; }
  h2, .closer h2 { font-size: 3rem; }
  .closer h2 { font-size: 3.75rem; }
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .step {
    border-top: 0;
    padding-top: 0;
  }
  .step + .step { border-left: 1px solid var(--border); }
  .step:first-child { padding-right: 2rem; }
  .step:nth-child(2),
  .step:nth-child(3) { padding-left: 2rem; padding-right: 2rem; }
  .fees {
    margin-left: -2rem;
    margin-right: -2rem;
    padding: 3rem 2rem;
  }
  .fee-legend { grid-template-columns: repeat(4, 1fr); }
  .rings { right: 0; }
  .closer { padding: 3rem 2.5rem; }
}

@media (min-width: 768px) {
  .hero-rule { display: block; }
}

@media (min-width: 1024px) {
  .hero-log-image { object-position: center; }
  .hero-log-fade {
    background:
      linear-gradient(90deg, var(--background) 0%, var(--background) 31%, color-mix(in oklab, var(--background) 96%, transparent) 43%, color-mix(in oklab, var(--background) 68%, transparent) 58%, color-mix(in oklab, var(--background) 14%, transparent) 78%, transparent 100%),
      linear-gradient(0deg, color-mix(in oklab, var(--background) 28%, transparent), transparent 34%);
  }
  h1 { font-size: 88px; }
  .soon { margin-top: 3rem; }
  .content { padding-bottom: 4rem; }
  .fees {
    margin-left: 0;
    margin-right: 0;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
  .footer-grid { grid-template-columns: 1fr 2fr; }
}
