:root {
  --ink: #0b0906;
  --ink-soft: #17120c;
  --paper: #e6d8bc;
  --paper-bright: #f4ead7;
  --orange: #f26a1b;
  --orange-deep: #9f3510;
  --green: #647b32;
  --gold: #d6a22d;
  --line: rgba(230, 216, 188, 0.22);
  --shell: min(1180px, calc(100vw - 40px));
  color-scheme: dark;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(242, 106, 27, 0.08), transparent 25%),
    var(--ink);
  color: var(--paper);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  content: "";
  opacity: 0.12;
  background-image:
    repeating-radial-gradient(circle at 20% 30%, transparent 0 2px, #000 3px 4px),
    repeating-linear-gradient(115deg, transparent 0 5px, rgba(255, 255, 255, 0.025) 6px);
  background-size: 5px 5px, 11px 11px;
  mix-blend-mode: overlay;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  width: 100%;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, min-height 220ms ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  border-color: rgba(230, 216, 188, 0.14);
  background: rgba(11, 9, 6, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--paper-bright);
}

.brand img {
  width: 48px;
  height: 48px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.65rem, 2.2vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  transform: scaleX(1.05);
  transform-origin: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-family: "Courier New", monospace;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav-links > a {
  position: relative;
  padding: 10px 0;
  color: rgba(244, 234, 215, 0.72);
}

.nav-links > a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links > a:hover,
.nav-links > a:focus-visible {
  color: var(--paper-bright);
}

.nav-links > a:hover::after,
.nav-links > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  color: var(--paper);
  background: var(--ink);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 22px;
  border: 1px solid var(--paper);
  cursor: pointer;
  font-family: "Courier New", monospace;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.button-primary {
  border-color: var(--orange);
  color: var(--ink);
  background: var(--orange);
  box-shadow: 7px 7px 0 var(--paper-bright);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--ink);
  background: var(--paper-bright);
}

.button-ghost {
  min-height: 40px;
  padding: 9px 16px;
  color: var(--paper-bright);
  background: rgba(0, 0, 0, 0.2);
}

.button-text {
  border-color: transparent;
  color: var(--paper-bright);
  background: transparent;
}

.button-text:hover,
.button-text:focus-visible {
  border-color: var(--line);
  background: rgba(230, 216, 188, 0.06);
}

.hero {
  position: relative;
  display: grid;
  min-height: max(760px, 100svh);
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--orange-deep);
  background: #090704;
}

.hero-image,
.hero-wash,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("/assets/farmstr-hero.png");
  background-position: center center;
  background-size: cover;
  filter: contrast(1.08) saturate(0.92);
  transform: scale(1.015);
  animation: field-breathe 14s ease-in-out infinite alternate;
}

.hero-wash {
  background:
    radial-gradient(circle at var(--pointer-x, 30%) var(--pointer-y, 45%), rgba(242, 106, 27, 0.22), transparent 30%),
    linear-gradient(90deg, rgba(7, 5, 3, 0.96) 0%, rgba(7, 5, 3, 0.78) 34%, rgba(7, 5, 3, 0.2) 67%, rgba(7, 5, 3, 0.34) 100%),
    linear-gradient(0deg, rgba(11, 9, 6, 0.72) 0%, transparent 30%, rgba(11, 9, 6, 0.5) 100%);
}

.hero-grid {
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(230, 216, 188, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 216, 188, 0.18) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, black, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 116px;
  padding-bottom: 80px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: "Courier New", monospace;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 31px;
  height: 4px;
  background: var(--orange);
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero h1 {
  width: min(820px, 75vw);
  color: var(--paper-bright);
  font-size: clamp(4.5rem, 9.2vw, 9.3rem);
  text-shadow: 6px 6px 0 rgba(0, 0, 0, 0.45);
}

.hero h1 em {
  display: block;
  color: var(--orange);
  font-style: normal;
}

.hero-copy {
  width: min(590px, 90%);
  margin: 28px 0 0;
  color: rgba(244, 234, 215, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.55;
}

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

.hero-proof {
  display: grid;
  width: min(760px, 92%);
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 56px;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-proof div {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  background: rgba(11, 9, 6, 0.78);
  backdrop-filter: blur(8px);
}

.hero-proof span {
  color: var(--orange);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
}

.hero-proof strong {
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stamp {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 35px;
  z-index: 4;
  display: grid;
  width: 130px;
  height: 130px;
  margin: 0;
  place-content: center;
  border: 2px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  font-family: "Courier New", monospace;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(8deg);
}

.hero-stamp::before,
.hero-stamp::after {
  position: absolute;
  inset: 7px;
  border: 1px dashed currentColor;
  border-radius: 50%;
  content: "";
}

.hero-stamp::after {
  inset: 14px;
  border-style: solid;
  opacity: 0.4;
}

.hero-stamp span {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.08rem;
  font-style: italic;
  letter-spacing: -0.02em;
  text-transform: none;
}

.ticker {
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  background: var(--orange);
}

.ticker div {
  display: flex;
  width: max-content;
  min-height: 58px;
  align-items: center;
  gap: 30px;
  padding-inline: 22px;
  font-family: Impact, sans-serif;
  font-size: 1.22rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: ticker 24s linear infinite;
}

.ticker i {
  font-style: normal;
}

.section {
  position: relative;
  padding: clamp(90px, 11vw, 150px) 0;
}

.manifesto {
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
}

.manifesto::before {
  position: absolute;
  top: -150px;
  right: -40px;
  color: rgba(11, 9, 6, 0.055);
  content: "₿";
  font-family: Impact, sans-serif;
  font-size: 42rem;
  line-height: 1;
  transform: rotate(9deg);
}

.manifesto-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 2.15fr;
  gap: clamp(50px, 9vw, 120px);
}

.section-kicker {
  padding-top: 12px;
  border-top: 4px solid var(--ink);
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section-kicker span {
  color: var(--orange-deep);
  font-weight: 900;
}

.section-kicker p {
  max-width: 210px;
}

.manifesto h2 {
  font-size: clamp(5rem, 12vw, 11rem);
}

.manifesto h2 span {
  color: var(--orange-deep);
  text-decoration: line-through 0.08em;
  text-decoration-color: var(--ink);
}

.manifesto-lede {
  max-width: 800px;
  margin: 36px 0 46px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
}

.manifesto-quote {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 0 0;
  border-top: 2px solid var(--ink);
}

.manifesto-quote p {
  margin: 0;
  font-family: Impact, sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.manifesto-quote span {
  max-width: 190px;
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: right;
  text-transform: uppercase;
}

.section-dark {
  background: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 62px;
}

.section-heading h2,
.farm-console h2,
.faq h2 {
  max-width: 820px;
  color: var(--paper-bright);
  font-size: clamp(3.8rem, 8vw, 7.8rem);
}

.section-heading > p {
  margin: 0 0 7px;
  color: rgba(230, 216, 188, 0.66);
  font-family: Georgia, serif;
  font-size: 1.05rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.step-card {
  position: relative;
  min-height: 420px;
  padding: 28px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0e0b07;
  transition: transform 180ms ease, background 180ms ease;
}

.step-card:hover {
  z-index: 2;
  background: #171008;
  transform: translateY(-8px);
}

.step-card-featured {
  color: var(--ink);
  background: var(--orange);
}

.step-card-featured:hover {
  background: #ff7d27;
}

.step-number {
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  font-weight: 900;
}

.step-icon {
  display: grid;
  width: 95px;
  height: 95px;
  margin: 58px 0 36px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: Impact, sans-serif;
  font-size: 3rem;
  transform: rotate(-8deg);
}

.step-card h3 {
  margin: 0;
  font-family: Impact, sans-serif;
  font-size: 3.5rem;
  line-height: 1;
  text-transform: uppercase;
}

.step-card p {
  max-width: 310px;
  margin: 20px 0 40px;
  font-family: Georgia, serif;
  font-size: 1rem;
}

.step-card small {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  padding-top: 12px;
  border-top: 1px solid currentColor;
  font-family: "Courier New", monospace;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.flow b {
  color: var(--orange);
  font-size: 1.4rem;
}

.comparison {
  color: var(--ink);
  background: var(--paper-bright);
}

.section-heading-light h2 {
  color: var(--ink);
}

.section-heading-light > p {
  color: rgba(11, 9, 6, 0.68);
}

.comparison-table {
  border: 2px solid var(--ink);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  min-height: 72px;
  align-items: stretch;
  border-bottom: 1px solid var(--ink);
}

.comparison-row:last-child {
  border-bottom: 0;
}

.comparison-row > * {
  display: flex;
  align-items: center;
  padding: 17px 22px;
  border-right: 1px solid var(--ink);
}

.comparison-row > *:last-child {
  border-right: 0;
}

.comparison-row > span:first-child {
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comparison-head {
  min-height: 58px;
  color: var(--paper-bright);
  background: var(--ink);
  font-family: Impact, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.comparison-head > * {
  border-color: rgba(230, 216, 188, 0.2);
}

.farmstr-column {
  color: var(--ink);
  background: var(--orange);
}

.farm-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  gap: clamp(46px, 8vw, 110px);
  align-items: center;
}

.token-poster {
  position: relative;
  min-height: 690px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--orange);
  background:
    radial-gradient(circle at 50% 50%, rgba(242, 106, 27, 0.24), transparent 48%),
    repeating-linear-gradient(0deg, rgba(230, 216, 188, 0.04) 0 1px, transparent 1px 9px),
    #100c07;
  box-shadow: 18px 18px 0 var(--orange-deep);
}

.token-poster::before {
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(230, 216, 188, 0.3);
  content: "";
}

.token-poster img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 112%;
  max-width: none;
  transform: translate(-50%, -46%);
  filter: drop-shadow(0 24px 35px rgba(0, 0, 0, 0.55));
}

.poster-copy,
.poster-note {
  position: relative;
  z-index: 2;
}

.poster-copy p {
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.poster-copy h2 {
  margin: 2px 0 0;
  color: var(--orange);
  font-family: Impact, sans-serif;
  font-size: clamp(4.5rem, 8vw, 7.4rem);
  line-height: 0.95;
}

.poster-note {
  position: absolute;
  right: 28px;
  bottom: 22px;
  left: 28px;
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.farm-console h2 {
  max-width: 650px;
  margin-bottom: 27px;
}

.console-copy {
  max-width: 610px;
  color: rgba(230, 216, 188, 0.72);
  font-family: Georgia, serif;
  font-size: 1.08rem;
}

.token-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 42px 0 34px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.token-facts div {
  min-height: 90px;
  padding: 17px 19px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.token-facts dt {
  color: rgba(230, 216, 188, 0.5);
  font-family: "Courier New", monospace;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.token-facts dd {
  margin: 7px 0 0;
  color: var(--paper-bright);
  font-family: Impact, sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.contract-block {
  display: grid;
  gap: 10px;
  margin: -8px 0 34px;
  padding: 19px;
  border: 1px solid var(--orange);
  background: rgba(242, 106, 27, 0.08);
}

.contract-block > span {
  color: var(--orange);
  font-family: "Courier New", monospace;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contract-block a {
  overflow-wrap: anywhere;
  color: var(--paper-bright);
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(242, 106, 27, 0.65);
  text-underline-offset: 4px;
}

.contract-block button {
  width: fit-content;
  padding: 8px 11px;
  border: 1px solid var(--paper);
  color: var(--paper-bright);
  cursor: pointer;
  background: transparent;
  font-family: "Courier New", monospace;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contract-block button:hover,
.contract-block button:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
}

.dev-disclosure {
  margin: 0 0 32px;
  padding: 24px;
  border: 1px solid var(--orange);
  background:
    linear-gradient(135deg, rgba(242, 106, 27, 0.16), transparent 62%),
    #100c07;
  box-shadow: 8px 8px 0 var(--orange-deep);
}

.dev-disclosure-kicker,
.dev-disclosure small {
  font-family: "Courier New", monospace;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dev-disclosure-kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 0.66rem;
}

.dev-disclosure h3 {
  margin: 0;
  color: var(--paper-bright);
  font-family: Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.dev-disclosure > p:not(.dev-disclosure-kicker) {
  margin: 18px 0;
  color: rgba(230, 216, 188, 0.74);
  font-family: Georgia, serif;
  line-height: 1.6;
}

.dev-disclosure strong {
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font-family: Impact, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.dev-disclosure small {
  display: block;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: rgba(230, 216, 188, 0.5);
  font-size: 0.63rem;
  line-height: 1.6;
}

.button-wide {
  width: 100%;
}

.console-fineprint {
  margin: 24px 0 0;
  color: rgba(230, 216, 188, 0.47);
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.6;
  text-transform: uppercase;
}

.faq {
  color: var(--ink);
  background: var(--orange);
}

.faq .eyebrow span {
  background: var(--ink);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(50px, 10vw, 130px);
}

.faq h2 {
  color: var(--ink);
  font-size: clamp(3.4rem, 6vw, 6.3rem);
}

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq details {
  border-bottom: 2px solid var(--ink);
}

.faq summary {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  font-family: Impact, sans-serif;
  font-size: 1.38rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary span {
  font-family: Arial, sans-serif;
  font-size: 2rem;
  font-weight: 300;
  transition: transform 180ms ease;
}

.faq details[open] summary span {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 610px;
  margin: -2px 0 26px;
  font-family: Georgia, serif;
  font-size: 1rem;
}

.faq details p a {
  overflow-wrap: anywhere;
  font-family: "Courier New", monospace;
  font-size: 0.88em;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  padding: 65px 0 36px;
  border-top: 1px solid rgba(230, 216, 188, 0.14);
  background: #080604;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px 80px;
}

.brand-footer img {
  width: 42px;
  height: 42px;
}

.footer-grid > div:first-child > p {
  margin: 16px 0 0;
  color: var(--orange);
  font-family: Georgia, serif;
  font-style: italic;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 14px 36px;
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--orange);
}

.legal {
  grid-column: 1 / -1;
  margin: 25px 0 0;
  padding-top: 25px;
  border-top: 1px solid rgba(230, 216, 188, 0.12);
  color: rgba(230, 216, 188, 0.42);
  font-family: "Courier New", monospace;
  font-size: 0.65rem;
  line-height: 1.55;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  max-width: 350px;
  gap: 5px;
  padding: 20px 22px;
  border: 1px solid var(--orange);
  color: var(--paper-bright);
  background: rgba(11, 9, 6, 0.96);
  box-shadow: 8px 8px 0 var(--orange-deep);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.toast strong {
  color: var(--orange);
  font-family: Impact, sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}

.toast span {
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@keyframes field-breathe {
  from { transform: scale(1.015); }
  to { transform: scale(1.055); }
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 30px, 720px);
  }

  .site-header {
    min-height: 70px;
    padding-inline: 15px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 69px;
    right: 15px;
    left: 15px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    background: rgba(11, 9, 6, 0.98);
    box-shadow: 8px 8px 0 var(--orange-deep);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links > a,
  .nav-links .button {
    width: 100%;
    justify-content: flex-start;
    padding: 15px;
  }

  .hero-image {
    background-position: 66% center;
  }

  .hero-wash {
    background:
      linear-gradient(90deg, rgba(7, 5, 3, 0.93), rgba(7, 5, 3, 0.5)),
      linear-gradient(0deg, rgba(11, 9, 6, 0.84), transparent 55%);
  }

  .hero h1 {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-stamp {
    display: none;
  }

  .manifesto-grid,
  .section-heading,
  .farm-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section-kicker {
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }

  .section-kicker p {
    margin: 0;
    text-align: right;
  }

  .manifesto-quote {
    display: grid;
  }

  .manifesto-quote span {
    text-align: left;
  }

  .section-heading {
    gap: 28px;
  }

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

  .step-card {
    min-height: 380px;
  }

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

  .flow b {
    transform: rotate(90deg);
  }

  .comparison-row {
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
  }

  .token-poster {
    width: min(100%, 620px);
    margin-inline: auto;
  }
}

@media (max-width: 580px) {
  .hero {
    min-height: 780px;
  }

  .hero-content {
    padding-top: 118px;
  }

  .hero h1 {
    font-size: clamp(4rem, 20vw, 6rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

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

  .hero-proof {
    display: none;
  }

  .ticker div {
    min-height: 50px;
    font-size: 1rem;
  }

  .section {
    padding-block: 80px;
  }

  .manifesto-grid {
    gap: 46px;
  }

  .manifesto h2 {
    font-size: clamp(4.4rem, 23vw, 7rem);
  }

  .section-heading h2,
  .farm-console h2,
  .faq h2 {
    font-size: clamp(3.5rem, 17vw, 5.3rem);
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-row {
    min-width: 680px;
  }

  .token-poster {
    min-height: 510px;
  }

  .token-facts {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    justify-content: start;
  }

  .toast {
    right: 15px;
    bottom: 15px;
    left: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
