/*
 * Reversible 2020 DeFi layout experiment.
 * Remove the defi-2020-experiment.css <link> from index.html to restore the
 * previous layout while keeping the independent font trial.
 */

:root {
  --shell: 980px;
  --radius: 24px;
  --shadow: 0 9px 22px rgb(48 40 27 / 10%);
}

.site-header {
  position: relative;
  top: auto;
  min-height: 72px;
  margin-top: 12px;
  padding: 10px 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.brand__mark {
  width: 40px;
  height: 40px;
  box-shadow: 0 5px 12px rgb(104 72 16 / 14%);
}

.brand__mark img {
  width: 36px;
  height: 36px;
}

.main-nav {
  gap: 2px;
  padding: 5px;
  background: var(--card);
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.main-nav a {
  min-width: 68px;
  padding: 8px 13px;
  border-radius: 11px;
  text-align: center;
}

.eyebrow {
  font-size: 0.79rem;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: var(--yellow-pale);
  box-shadow: none;
}

.button,
.select-button,
.apr-readout,
.roster-form input {
  border-radius: 13px;
}

.button--nav {
  min-height: 46px;
  border-radius: 14px;
}

.hero {
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  min-height: 500px;
  padding-top: 20px;
}

.hero h1 {
  max-width: 500px;
  font-size: clamp(3.9rem, 7vw, 5.7rem);
  line-height: 0.92;
}

.hero__lede {
  max-width: 470px;
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.55;
}

.hero__actions {
  gap: 18px;
  margin-top: 22px;
}

.hero__art {
  min-height: 480px;
}

.hero__art img {
  right: -3%;
  width: min(105%, 510px);
  filter: drop-shadow(0 14px 10px rgb(23 38 60 / 16%));
}

.hero__halo {
  top: 16%;
  right: 5%;
  width: 350px;
  height: 350px;
}

.stamp--hero {
  top: 16%;
  left: -5%;
}

.market-board {
  grid-template-columns: repeat(3, 1fr);
  overflow: visible;
  gap: 12px;
  margin-top: 2px;
  margin-bottom: 16px;
  color: var(--ink);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.market-stat {
  min-height: 106px;
  padding: 19px 20px 17px;
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.market-stat::after {
  display: none !important;
}

.market-stat span {
  color: var(--copper-dark);
  font-size: 0.76rem;
}

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

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

.dashboard {
  gap: 14px;
}

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

.meter-card {
  min-height: 245px;
  padding: 24px;
}

.card-kicker {
  font-size: 0.76rem;
}

.card-row {
  font-size: 0.84rem;
}

.split-labels {
  font-size: 0.75rem;
}

.big-number {
  margin: 22px 0 16px;
  font-size: clamp(2.15rem, 4.7vw, 3.25rem);
}

.pressure-strip {
  margin-top: 14px;
  padding: 22px 25px;
  border-radius: 22px;
}

.pressure-strip strong {
  font-size: clamp(1.65rem, 4.2vw, 3.1rem);
}

.pressure-strip > div > span {
  font-size: 0.76rem;
}

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

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2,
.about__statement h2 {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
}

.jobs .section-heading,
.section-heading--airdrop {
  text-align: center;
}

.farm-tvl {
  margin-bottom: 12px;
  padding: 18px 22px;
}

.farm-tvl small {
  font-size: 0.82rem;
}

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

.job-card__top {
  padding: 23px 24px;
}

.job-card__title p {
  font-size: 0.88rem;
}

.apr-readout span {
  font-size: 0.76rem;
}

.select-button {
  font-size: 0.82rem;
}

.job-card__stats div {
  padding: 15px 18px;
}

.job-card__stats span {
  font-size: 0.78rem;
}

.job-card__stats strong {
  font-size: 0.96rem;
}

.flow-list span,
.flow-list small,
.farm-note {
  font-size: 0.78rem;
}

.roster-form {
  margin-bottom: 14px;
  padding: 18px 20px;
}

.roster-form p {
  font-size: 0.84rem;
}

.cohort-grid {
  gap: 12px;
}

.cohort-card {
  min-height: 264px;
  padding: 20px;
}

.cohort-index,
.cohort-card dl {
  font-size: 0.8rem;
}

.cohort-card > p {
  font-size: 0.84rem;
}

.roster-rule p {
  font-size: 0.86rem;
}

.roster-rule {
  margin-top: 14px;
  padding: 24px;
}

.roster-rule__diagram span,
.roster-rule__diagram b,
.roster-rule .fine-print {
  font-size: 0.76rem;
}

.about {
  padding-bottom: 82px;
}

.about__statement {
  gap: 14px;
}

.spec-grid {
  margin-top: 30px;
}

.spec-grid span {
  font-size: 0.78rem;
}

.spec-grid p {
  font-size: 0.82rem;
}

.warning-plate {
  margin-top: 30px;
  border-radius: 20px;
}

.site-footer {
  padding-bottom: 28px;
  font-size: 0.8rem;
}

.brand--footer .brand__name {
  font-size: 0.78rem;
}

.stamp small {
  font-size: 0.67rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr 0.8fr;
  }

  .hero__art img {
    right: -14%;
    width: 118%;
  }
}

@media (max-width: 720px) {
  .site-header {
    margin-top: 5px;
    padding: 7px 0;
  }

  .main-nav {
    border-radius: 13px;
  }

  .button--nav,
  .main-nav a {
    font-size: 0.76rem;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 15.5vw, 4.8rem);
  }

  .hero__art {
    min-height: 550px;
    margin-top: 12px;
  }

  .hero__art img {
    right: -3%;
    width: 106%;
    height: calc(100% - 92px);
  }

  .hero__halo {
    top: 29%;
  }

  .stamp--hero {
    top: 0;
    right: auto;
    left: 50%;
    transform: translateX(-50%) rotate(4deg);
  }

  .market-board {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .market-stat {
    min-height: 91px;
    padding: 17px 15px 15px;
    border-radius: 17px;
  }

  .market-stat span {
    font-size: 0.76rem;
  }

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

  .jobs .section-heading,
  .section-heading--airdrop {
    text-align: left;
  }

  .meter-card,
  .farm-tvl,
  .job-card,
  .swap-card,
  .roster-form,
  .cohort-card,
  .roster-rule,
  .spec-grid {
    border-radius: 20px;
  }
}

@media (max-width: 430px) {
  .main-nav a {
    min-width: 0;
  }

  .hero__actions {
    margin-top: 20px;
  }

  .market-stat strong {
    font-size: 1.35rem;
  }

  .pressure-strip strong {
    font-size: 1.52rem;
  }
}
