:root {
  --paper: #f3ead7;
  --paper-deep: #e6dac1;
  --card: #fffaf0;
  --ink: #17263c;
  --ink-soft: #4b5868;
  --navy: #172f50;
  --navy-2: #0d2039;
  --copper: #b86f3e;
  --copper-dark: #7f472b;
  --brass: #d7a83e;
  --yellow: #f4c84a;
  --yellow-pale: #fff0aa;
  --red: #c65043;
  --green: #247354;
  --line: #cabd9f;
  --shadow: 0 14px 34px rgb(31 42 54 / 10%);
  --radius: 18px;
  --shell: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

.network-banner {
  background: #f4c84a;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-display, sans-serif);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 0.55rem 1rem;
  text-align: center;
}

.network-banner[hidden] {
  display: none;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 8%, rgb(255 255 255 / 72%) 0 10%, transparent 34%),
    repeating-linear-gradient(0deg, transparent 0 4px, rgb(95 73 42 / 2%) 5px),
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image: radial-gradient(rgb(23 38 60 / 9%) 0.65px, transparent 0.65px);
  background-size: 7px 7px;
  content: "";
  pointer-events: none;
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--navy-2);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

.section-shell,
.site-header,
.site-footer {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 66px;
  margin-top: 16px;
  padding: 10px 12px 10px 18px;
  background: rgb(255 250 240 / 90%);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgb(45 35 22 / 9%);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand__name {
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.13em;
}

.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--yellow);
  border-radius: 50%;
}

.brand__mark img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgb(23 38 60 / 5%);
  border-radius: 10px;
}

.main-nav a {
  padding: 7px 12px;
  color: var(--ink-soft);
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 2px 8px rgb(23 38 60 / 8%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--card);
  border: 0;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgb(23 38 60 / 14%);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgb(23 38 60 / 18%);
}

.button:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 2px 6px rgb(23 38 60 / 12%);
}

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

.button--nav {
  justify-self: end;
  color: var(--card);
  background: var(--navy);
  box-shadow: 0 4px 12px rgb(23 38 60 / 18%);
}

.button--primary {
  color: white;
  background: var(--red);
  box-shadow: 0 4px 12px rgb(121 51 47 / 22%);
}

.button--ghost {
  background: transparent;
}

.button--wide {
  width: 100%;
}

.button--disabled,
.button:disabled {
  color: #7e7e78;
  background: #ddd7c9;
  box-shadow: none;
  cursor: not-allowed;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  min-height: 620px;
  padding-top: 50px;
}

.eyebrow,
.card-kicker {
  margin: 0 0 12px;
  color: var(--copper-dark);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about__statement h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(4rem, 8.4vw, 7.1rem);
}

.hero__lede {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.text-link {
  font-size: 0.82rem;
  font-weight: 900;
  text-underline-offset: 4px;
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 120ms ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

.hero__art {
  position: relative;
  align-self: stretch;
  min-height: 590px;
}

.hero__art img {
  position: absolute;
  z-index: 2;
  right: -9%;
  bottom: -2px;
  width: min(113%, 600px);
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 22px 16px rgb(23 38 60 / 19%));
}

.hero__halo {
  position: absolute;
  top: 18%;
  right: 3%;
  width: 390px;
  height: 390px;
  background: var(--yellow-pale);
  border-radius: 50%;
}

.hero__halo::before,
.hero__halo::after {
  display: none;
}

.stamp {
  z-index: 4;
  display: flex;
  width: 166px;
  min-height: 88px;
  padding: 14px 17px 12px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 4px;
  box-shadow: 0 8px 20px rgb(23 38 60 / 18%);
  font-size: 0.82rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  line-height: 1.08;
  text-align: center;
  transform: rotate(6deg);
}

.stamp span,
.stamp small {
  display: block;
}

.stamp small {
  margin-top: 5px;
  font-size: 0.5rem;
  letter-spacing: 0.07em;
  line-height: 1.15;
}

.stamp--hero {
  position: absolute;
  top: 22%;
  left: -12%;
}

.stamp::before,
.stamp::after {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--ink);
  border-radius: 50%;
  content: "";
}

.stamp::before { top: 6px; left: 7px; }
.stamp::after { right: 7px; bottom: 6px; }

.dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.market-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin-bottom: 20px;
  color: var(--card);
  background: var(--navy-2);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgb(13 32 57 / 22%);
}

.market-stat {
  position: relative;
  min-width: 0;
  padding: 24px 25px 22px;
}

.market-stat::after {
  position: absolute;
  right: 0;
  bottom: 24%;
  width: 1px;
  height: 52%;
  background: rgb(255 250 240 / 18%);
  content: "";
}

.market-stat:nth-child(3n)::after {
  display: none;
}

.market-stat span,
.market-stat strong {
  display: block;
}

.market-stat span {
  color: var(--yellow);
  font-size: 0.63rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.market-stat strong {
  overflow: hidden;
  margin-top: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3.1vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-stat--price strong,
.market-stat--bonus strong {
  color: var(--yellow-pale);
}

.meter-card,
.farm-tvl,
.job-card,
.swap-card,
.roster-form,
.cohort-card,
.roster-rule {
  background: var(--card);
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.swap {
  max-width: 760px;
}

.swap-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 26px;
}

.swap-card__heading,
.swap-field > div,
.swap-details,
.swap-details > div,
.swap-details > label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.swap-card__heading {
  gap: 20px;
  margin-bottom: 18px;
}

.swap-card__heading h3 {
  margin: 0;
  font-size: 1.25rem;
}

.swap-card__heading p,
.swap-card__heading > span,
.swap-field label,
.swap-details span,
.swap-status {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.swap-card__heading p { margin: 3px 0 0; }

.swap-field {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.swap-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.swap-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 800 1.55rem/1.1 var(--font-number);
}

.swap-field strong {
  margin-left: 16px;
  font-size: 0.9rem;
}

.swap-direction {
  position: relative;
  z-index: 1;
  display: block;
  width: 40px;
  height: 40px;
  margin: -1px auto;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 1.25rem;
  cursor: pointer;
}

.swap-details {
  gap: 24px;
  padding: 16px 0;
}

.swap-details > div,
.swap-details > label { gap: 8px; }

.swap-details strong,
.swap-details select {
  color: var(--ink);
  font: 800 0.82rem/1 var(--font-body);
}

.swap-details select {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 7px 8px;
}

.swap-status {
  min-height: 1.3em;
  margin: 12px 0 0;
  text-align: center;
}

.swap-status[data-state="error"] { color: var(--red); }
.swap-status[data-state="success"] { color: var(--green-dark); }
.swap-status[data-state="pending"] { color: var(--ink); }

.meter-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 28px;
}

.meter-card__heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.meter-card h2 {
  margin: 0;
  font-size: 1rem;
}

.card-kicker {
  margin-bottom: 3px;
  font-size: 0.62rem;
}

.big-number {
  margin: 30px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 3.7rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.card-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.card-row strong {
  color: var(--ink);
}

.split-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  height: 9px;
  border: 1px solid var(--ink);
  border-radius: 20px;
}

.split-bar > span {
  position: relative;
  display: block;
  overflow: hidden;
  background: color-mix(in srgb, var(--paper) 82%, var(--ink-soft));
}

.split-bar > span:first-child { border-right: 1px solid var(--ink); }

.split-bar i {
  display: block;
  width: 0;
  height: 100%;
  transition: width 650ms ease-out;
}

.split-bar i.is-active { min-width: 3px; }

.split-bar > span:first-child i {
  background: repeating-linear-gradient(110deg, var(--yellow) 0 13px, #ffd95b 13px 24px);
  background-size: 52px 100%;
  animation: pipe-flow 2.8s linear infinite;
}

.split-bar > span:last-child i {
  background: repeating-linear-gradient(110deg, var(--navy) 0 13px, #31445a 13px 24px);
  background-size: 52px 100%;
  animation: pipe-flow 2.8s linear infinite;
}

@keyframes pipe-flow {
  to { background-position: 52px 0; }
}

.split-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pressure-strip {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 24px 28px;
  background:
    linear-gradient(rgb(244 200 74 / 89%), rgb(244 200 74 / 89%)),
    repeating-linear-gradient(135deg, transparent 0 10px, rgb(23 38 60 / 10%) 10px 20px);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.pressure-strip strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 4.4vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.pressure-strip > div > span {
  display: block;
  margin-bottom: 5px;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.pressure-strip b {
  font-weight: inherit;
}

.pressure-strip .pressure-strip__value {
  display: inline-block;
  white-space: nowrap;
}

.content-section {
  padding-top: 128px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 430px);
  align-items: end;
  gap: 50px;
  margin-bottom: 30px;
}

.section-heading h2,
.about__statement h2 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--ink-soft);
  line-height: 1.7;
}

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

.farm-tvl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
  padding: 20px 24px;
}

.farm-tvl span,
.farm-tvl small {
  display: block;
}

.farm-tvl span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 900;
}

.farm-tvl small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.farm-tvl strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.job-card {
  overflow: hidden;
}

.job-card + .job-card {
  margin-top: 16px;
}

.job-card__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 28px;
}

.pair-lockup {
  position: relative;
  width: 84px;
  height: 64px;
}

.coin {
  position: absolute;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 5px 14px rgb(23 38 60 / 18%);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 950;
}

.coin--plumbers {
  z-index: 2;
  bottom: 0;
  left: 0;
  color: var(--ink);
  background: var(--yellow);
}

.coin--plumbers img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transform: rotate(-8deg);
}

.coin--eth {
  top: 0;
  right: 0;
  color: white;
  background: var(--navy);
}

.coin--usdt {
  z-index: 2;
  bottom: 0;
  left: 0;
  color: white;
  background: #26a17b;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 1.1rem;
}

.job-card__title h3,
.cohort-card h3,
.roster-rule h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
}

.job-card__title p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.job-card__right {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.apr-readout {
  display: grid;
  min-width: 102px;
  padding: 7px 11px;
  place-content: center;
  background: var(--yellow-pale);
  border-radius: 8px;
  text-align: center;
}

.apr-readout span {
  color: var(--copper-dark);
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.apr-readout strong {
  margin-top: 1px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.select-button {
  min-width: 110px;
  padding: 10px 13px;
  color: white;
  background: var(--navy);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 900;
}

.select-button span[aria-hidden="true"] {
  display: inline-block;
  margin-left: 10px;
  transition: transform 180ms ease;
}

.select-button[aria-expanded="true"] span[aria-hidden="true"] {
  transform: rotate(45deg);
}

.job-card__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.job-card__stats div {
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.job-card__stats div:last-child { border-right: 0; }
.job-card__stats span,
.job-card__stats strong { display: block; }
.job-card__stats span { color: var(--ink-soft); font-size: 0.64rem; }
.job-card__stats strong { margin-top: 3px; font-size: 0.85rem; }

.job-card__stats .pending-stat__value {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 3px;
}

.job-card__stats .pending-stat__value strong {
  min-width: 0;
  margin-top: 0;
}

.harvest-quick {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 5px 9px;
  border: 0;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  cursor: pointer;
  font: 900 0.66rem/1 var(--font-body);
  text-transform: uppercase;
}

.harvest-quick:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.job-card__details {
  padding: 26px 28px 30px;
  background: #f7f0e2;
  border-top: 1px solid var(--line);
}

.job-card__details[hidden] {
  display: none;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  position: relative;
  padding: 0 20px 0 34px;
}

.flow-list li:not(:last-child)::after {
  position: absolute;
  top: 15px;
  right: -6px;
  width: 18px;
  height: 6px;
  background: var(--copper);
  content: "";
}

.flow-list span,
.flow-list strong,
.flow-list small { display: block; }
.flow-list span { position: absolute; left: 0; top: 0; color: var(--copper-dark); font-size: 0.62rem; font-weight: 950; }
.flow-list strong { font-size: 0.8rem; }
.flow-list small { margin-top: 2px; color: var(--ink-soft); font-size: 0.66rem; }

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.farm-console {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.farm-console__panel {
  min-width: 0;
  padding: 18px;
  background: var(--card);
  border-radius: 12px;
}

.farm-console__panel h4 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.farm-input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.farm-input-grid label,
.amount-control,
.farm-console__options label {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.farm-input-grid input,
.amount-control input {
  width: 100%;
  min-width: 0;
  height: 42px;
  margin-top: 5px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  font: 800 0.95rem/1 var(--font-number);
}

.farm-console__options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.farm-console__options label {
  display: flex;
  align-items: center;
  gap: 7px;
}

.farm-console select {
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
}

.text-button,
.amount-control button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--copper-dark);
  font: 900 0.78rem/1 var(--font-body);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-button:disabled,
.amount-control button:disabled {
  color: var(--ink-soft);
  cursor: not-allowed;
  opacity: 0.55;
}

.amount-control {
  display: block;
}

.amount-control > span {
  position: relative;
  display: block;
}

.amount-control button {
  position: absolute;
  top: 50%;
  right: 11px;
  transform: translateY(-28%);
}

.amount-control input {
  padding-right: 48px;
}

.farm-hint,
.farm-status {
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.4;
}

.farm-hint {
  min-height: 2.2em;
  margin: 10px 0;
}

.farm-status {
  grid-column: 1 / -1;
  min-height: 1.4em;
  margin: 0;
  text-align: center;
}

.farm-status[data-state="pending"] { color: var(--copper-dark); }
.farm-status[data-state="success"] { color: var(--green); font-weight: 900; }
.farm-status[data-state="error"] { color: var(--red); font-weight: 900; }

.action-grid--two { grid-template-columns: repeat(2, 1fr); }
.action-grid--three { grid-template-columns: repeat(3, 1fr); }
.action-grid--one { grid-template-columns: 1fr; }

.button--danger {
  color: white;
  background: var(--red);
}

.farm-note {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.65rem;
  text-align: center;
}

.section-heading--airdrop {
  grid-template-columns: 1fr;
  margin-bottom: 24px;
}

.roster-form {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 0.85fr);
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
  padding: 22px 24px;
}

.roster-form label {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 900;
}

.roster-form p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.roster-form__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
}

.roster-form input {
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

.roster-result {
  grid-column: 1 / -1;
  min-height: 0;
  margin: -8px 0 0 !important;
  color: var(--red) !important;
  font-size: 0.95rem !important;
  font-weight: 750;
  line-height: 1.4;
}

.roster-result.is-eligible {
  color: var(--green) !important;
  font-size: clamp(1.12rem, 2.2vw, 1.35rem) !important;
  font-weight: 900;
}

.roster-result.is-pending {
  color: var(--ink-soft) !important;
}

.roster-result.is-ineligible,
.roster-result.is-error {
  color: var(--red) !important;
}

.roster-result:empty {
  display: none;
}

.claim-control {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(190px, 0.35fr) 1fr;
  align-items: center;
  gap: 14px;
}

.claim-control[hidden] { display: none; }

.claim-control p {
  margin: 0;
  font-size: 0.85rem;
}

.claim-control p[data-state="success"] { color: var(--green); font-weight: 900; }
.claim-control p[data-state="error"] { color: var(--red); font-weight: 900; }

.cohort-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.cohort-card {
  position: relative;
  overflow: hidden;
  min-height: 285px;
  padding: 22px;
  grid-column: span 2;
}

.cohort-card:nth-child(4) { grid-column: 2 / span 2; }
.cohort-card:nth-child(5) { grid-column: 4 / span 2; }

.cohort-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cohort-index {
  color: var(--copper-dark);
  font-family: ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 900;
}

.cohort-card h3 {
  margin-top: 22px;
  font-size: 1.35rem;
}

.cohort-card > p {
  min-height: 80px;
  margin: 10px 0 20px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.65;
}

.cohort-card dl {
  margin: 0;
  font-size: 0.68rem;
}

.cohort-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
}

.cohort-card dt { color: var(--ink-soft); }
.cohort-card dd { margin: 0; font-weight: 850; text-align: right; }

.roster-rule {
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) 1fr;
  align-items: center;
  gap: 42px;
  margin-top: 18px;
  padding: 30px;
}

.roster-rule__diagram {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
  align-items: center;
}

.roster-rule__diagram span {
  display: grid;
  grid-column: span 2;
  min-height: 42px;
  place-items: center;
  background: var(--paper);
  border-radius: 7px;
  font-size: 0.63rem;
  font-weight: 900;
}

.roster-rule__diagram span:nth-child(4) { grid-column: 2 / span 2; }
.roster-rule__diagram span:nth-child(5) { grid-column: 4 / span 2; }

.roster-rule__diagram strong {
  grid-column: 1 / -1;
  height: 18px;
  color: var(--copper-dark);
  font-size: 1.5rem;
  line-height: 0.5;
  text-align: center;
}

.roster-rule__diagram b {
  grid-column: 1 / -1;
  padding: 10px;
  color: white;
  background: var(--navy);
  border-radius: 7px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-align: center;
}

.roster-rule h3 { font-size: 1.55rem; }
.roster-rule p { color: var(--ink-soft); font-size: 0.8rem; line-height: 1.7; }
.roster-rule .fine-print { margin-bottom: 0; font-size: 0.68rem; }

.about {
  padding-bottom: 128px;
}

.about__statement {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.about__statement > p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.about__statement .about__management {
  max-width: 680px;
  font-size: 0.86rem;
  line-height: 1.6;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 44px;
  border: 0;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.spec-grid article {
  min-height: 170px;
  padding: 20px;
  background: var(--card);
  border-right: 1px solid var(--line);
}

.spec-grid article:last-child { border-right: 0; }
.spec-grid span { color: var(--copper-dark); font-family: ui-monospace, monospace; font-size: 0.66rem; font-weight: 900; }
.spec-grid strong { display: block; margin-top: 28px; font-family: Georgia, serif; font-size: 1.1rem; }
.spec-grid p { margin: 6px 0 0; color: var(--ink-soft); font-size: 0.7rem; }

.warning-plate {
  position: relative;
  margin-top: 50px;
  padding: 26px 80px;
  color: var(--yellow);
  background: var(--navy-2);
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
}

.warning-plate strong {
  display: block;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: clamp(2rem, 6vw, 4.2rem);
  letter-spacing: 0.15em;
  line-height: 1;
}

.warning-plate::before,
.warning-plate::after {
  position: absolute;
  top: 50%;
  width: 15px;
  height: 15px;
  background: var(--brass);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.warning-plate::before { left: 18px; }
.warning-plate::after { right: 18px; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.site-footer > p { margin: 0; }
.site-footer > p:nth-child(2) { text-align: center; }
.site-footer__legal { text-align: right; }
.brand--footer .brand__name { font-size: 0.72rem; }
.brand--footer .brand__mark { width: 28px; height: 28px; }

.wallet-dialog {
  width: min(calc(100% - 30px), 440px);
  padding: 0;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgb(23 38 60 / 28%);
}

.wallet-dialog::backdrop {
  background: rgb(13 32 57 / 64%);
  backdrop-filter: blur(3px);
}

.wallet-dialog form {
  position: relative;
  padding: 32px;
}

.wallet-dialog h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 2.4rem;
}

.wallet-dialog form > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.wallet-dialog__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.6rem;
}

.wallet-dialog__status {
  min-height: 18px;
  margin-bottom: 0 !important;
  text-align: center;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    row-gap: 7px;
  }

  .main-nav {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    width: 100%;
  }

  .button--nav {
    grid-column: 2;
    grid-row: 1;
  }

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

  .hero__art img {
    width: 125%;
    right: -20%;
  }

  .hero__halo {
    width: 320px;
    height: 320px;
  }

  .stamp--hero { right: auto; left: -4%; }
  .cohort-grid { grid-template-columns: repeat(2, 1fr); }
  .cohort-card,
  .cohort-card:nth-child(4),
  .cohort-card:nth-child(5) { grid-column: auto; }
  .cohort-card:last-child { grid-column: 1 / -1; width: calc(50% - 8px); justify-self: center; }
  .about__statement { grid-template-columns: 1fr; gap: 24px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-grid article:nth-child(2) { border-right: 0; }
  .spec-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .section-shell,
  .site-header,
  .site-footer {
    width: min(calc(100% - 24px), var(--shell));
  }

  .site-header {
    top: 8px;
    margin-top: 8px;
    padding: 8px 10px 10px 13px;
  }

  .brand__name { font-size: 0.78rem; }
  .button--nav { min-height: 38px; padding-inline: 12px; font-size: 0.68rem; }
  .main-nav a { flex: 1; padding: 6px; text-align: center; }

  .hero {
    display: flex;
    flex-direction: column;
    padding-top: 74px;
  }

  .hero__copy { position: relative; z-index: 4; }
  .hero h1 { font-size: clamp(3.4rem, 17vw, 5.4rem); }
  .hero__lede { margin-top: 20px; font-size: 0.94rem; }

  .hero__art {
    width: 100%;
    min-height: 620px;
    margin-top: 20px;
  }

  .hero__art img {
    right: -5%;
    width: 108%;
    height: calc(100% - 100px);
  }

  .hero__halo {
    top: 30%;
    right: 4%;
    width: 330px;
    max-width: 85vw;
    height: 330px;
    max-height: 85vw;
  }

  .stamp--hero {
    top: 0;
    right: auto;
    left: 50%;
    transform: translateX(-50%) rotate(4deg);
  }
  .dashboard { grid-template-columns: 1fr; }
  .market-board { grid-template-columns: repeat(2, 1fr); }
  .market-stat:nth-child(3n)::after { display: block; }
  .market-stat:nth-child(2n)::after { display: none; }
  .pressure-strip { grid-template-columns: 1fr; }
  .content-section { padding-top: 92px; }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading h2,
  .about__statement h2 { font-size: clamp(2.65rem, 13vw, 4.6rem); }

  .job-card__top { grid-template-columns: auto 1fr; padding: 20px; }
  .farm-tvl { align-items: flex-start; flex-direction: column; gap: 8px; }
  .job-card__right { grid-column: 1 / -1; }
  .apr-readout { flex: 1; }
  .select-button { flex: 1; width: 100%; }
  .job-card__stats { grid-template-columns: repeat(2, 1fr); }
  .job-card__stats div:nth-child(2) { border-right: 0; }
  .job-card__stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .flow-list { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .flow-list li:nth-child(2)::after { display: none; }
  .action-grid { grid-template-columns: repeat(2, 1fr); }
  .farm-console { grid-template-columns: 1fr; }
  .action-grid--three { grid-template-columns: repeat(3, 1fr); }

  .roster-form {
    grid-template-columns: 1fr;
  }

  .roster-result { grid-column: auto; }
  .cohort-grid { grid-template-columns: 1fr; }
  .cohort-card:last-child { grid-column: auto; width: auto; }
  .cohort-card { min-height: auto; }
  .cohort-card > p { min-height: auto; }
  .roster-rule { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-grid article,
  .spec-grid article:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .spec-grid article:last-child { border-bottom: 0; }
  .warning-plate { padding-inline: 46px; }
  .warning-plate strong { letter-spacing: 0.08em; }

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

  .site-footer .brand { margin-inline: auto; }
  .site-footer__legal { text-align: center; }
}

@media (max-width: 430px) {
  .brand__name { display: none; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .text-link { text-align: center; }
  .big-number { font-size: 2rem; }
  .market-stat { padding: 19px 16px 18px; }
  .market-stat strong { font-size: 1.35rem; }
  .market-stat span { font-size: 0.55rem; }
  .pressure-strip { padding: 21px 18px; }
  .roster-form__controls { grid-template-columns: 1fr; }
  .roster-rule { padding: 20px; }
  .flow-list { grid-template-columns: 1fr; }
  .flow-list li::after { display: none; }
  .action-grid { grid-template-columns: 1fr; }
  .farm-input-grid,
  .action-grid--two,
  .action-grid--three,
  .claim-control { grid-template-columns: 1fr; }
}

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

  .split-bar i { animation: none !important; }
}
