:root {
  color: #242425;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body, #app { min-height: 100%; }
body { margin: 0; background: #fff; }
button, a { font: inherit; }
button { color: inherit; }

.page-shell { min-height: 100vh; display: grid; grid-template-rows: 95px 1fr 97px; }
.header { height: 95px; padding: 0 55px; display: flex; align-items: center; gap: 15px; background: #fff; }
.brand { width: 104px; flex: 0 0 auto; display: block; }
.brand img { display: block; width: 103px; height: 33px; }
.desktop-nav { display: flex; align-self: stretch; margin-left: auto; gap: 28px; }
.nav-item { min-width: 54px; padding: 12px 0 18px; border: 0; background: transparent; color: inherit; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; font-size: 15px; }
.nav-item:hover, .nav-item.is-active { color: #e62058; }
.nav-icon { display: grid; place-items: center; height: 36px; }
.nav-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.network-button { height: 46px; min-width: 183px; padding: 3px 12px 3px 5px; border: 0; background: transparent; display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; }
.network-button img { width: 40px; height: 40px; }
.network-button span { display: flex; flex-direction: column; flex: 1; font-size: 15px; line-height: 1.15; }
.network-button small { color: #868e96; font-size: 12px; }
.network-button .chevron-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.connect-button { height: 46px; min-width: 176px; border: 1px solid #242425; border-radius: 24px; background: transparent; padding: 0 26px; font-size: 16px; font-weight: 600; cursor: pointer; transition: .2s ease; white-space: nowrap; }
.connect-button:hover { color: #fff; background: #242425; }
.menu-button { display: none; }

main { padding: 20px; }
.hero { width: min(920px, calc(100% - 40px)); margin: 0 auto; display: block; }
.hero h1 { height: 94.8px; margin: 0; padding: 44px 0 20px 20px; font-size: 22px; line-height: 30.8px; letter-spacing: 0; }
.hero h1 br { display: none; }
.copy-card { width: 100%; margin: 0; border: .8px solid transparent; border-radius: 15px; padding: 24px 20px; color: #fff; background: #242425; font-size: 15px; line-height: 23.25px; }
.copy-card p { margin: 0 0 20px; }
.copy-card p:last-child { margin-bottom: 0; }
.copy-card a { color: #e62058; font-weight: 400; text-decoration-thickness: 1px; text-underline-offset: 2px; }

footer { width: min(920px, calc(100% - 40px)); height: 97px; margin: 0 auto; padding: 0 0 66px; display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: flex-start; gap: 30px; }
.socials { display: flex; align-items: center; gap: 20px; }
.socials a { width: 25px; height: 25px; display: block; transition: opacity .2s; }
.socials a:hover { opacity: .6; }
.socials img { width: 25px; height: 25px; display: block; }
.legal { display: flex; align-items: center; gap: 31px; color: #868e96; font-size: 15px; line-height: 24.8px; }
.legal a { color: inherit; text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.mobile-bottom-nav { display: none; }
.section-page { padding-top: 24px; }
.section-page > .section-heading { height: auto; padding: 20px; display: flex; align-items: center; justify-content: space-between; }
.section-heading h1 { width: auto; height: auto; margin: 0; padding: 0; white-space: normal; }
.help-button { min-width: 72px; height: 38px; border: 1px solid #242425; border-radius: 20px; background: #fff; cursor: pointer; }
.info-card { padding: 20px; border-radius: 15px; background: #242425; color: #fff; font-size: 15px; line-height: 23.25px; }
.info-card p { margin: 0 0 18px; }
.info-card p:last-child { margin-bottom: 0; }
.status-message { margin: 22px 20px; color: #868e96; text-align: center; }
.loading-row { padding: 24px; border: 1px solid #e9ecef; border-radius: 15px; text-align: center; color: #868e96; }
.list-title { margin: 28px 0 14px; font-size: 22px; }
.proposal-list { display: grid; gap: 10px; }
.proposal-row { width: 100%; min-height: 60px; padding: 10px 14px; border: 1px solid #e9ecef; border-radius: 12px; background: #fff; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; text-align: left; cursor: pointer; }
.proposal-row img { width: 36px; height: 36px; }
.proposal-row b { color: #2f9e44; font-size: 13px; }
.rewards-page { padding-top: 35px; }
.rewards-intro { padding: 0 20px 24px; }
.rewards-intro .eyebrow { color: #e62058; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; }
.rewards-intro h1 { width: auto; height: auto; margin: 5px 0 8px; padding: 0; font-size: 32px; line-height: 1.2; }
.rewards-intro p { max-width: 650px; margin: 0; color: #68696b; line-height: 23px; }
.reward-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reward-card { min-height: 310px; padding: 22px; border: 1px solid #e7e7e7; border-radius: 16px; background: #fff; display: flex; flex-direction: column; box-shadow: 0 7px 24px rgba(0,0,0,.04); }
.reward-card-head { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.reward-card-head .reward-token-icon { width: 42px; height: 42px; object-fit: contain; }
.reward-status { padding: 5px 9px; border-radius: 20px; background: #fff0f4; color: #e62058; font-size: 11px; font-weight: 700; }
.reward-card h2 { margin: 18px 0 8px; font-size: 19px; }
.reward-card p { margin: 0 0 20px; color: #68696b; font-size: 14px; line-height: 21px; }
.reward-balance { margin-top: auto; padding-top: 14px; border-top: 1px solid #eee; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.reward-balance small { color: #868e96; }
.reward-balance strong { font-size: 14px; }
.reward-claim { width: 100%; height: 42px; margin-top: 16px; border: 0; border-radius: 22px; background: #242425; color: #fff; font-weight: 600; cursor: pointer; }
.reward-claim:hover { background: #e62058; }
.modal-backdrop { position: fixed; z-index: 30; inset: 0; padding: 20px; background: rgba(0,0,0,.48); display: grid; place-items: center; }
.modal-backdrop[hidden], .network-menu[hidden] { display: none; }
.portal-modal { position: relative; width: min(430px, 100%); padding: 30px; border-radius: 18px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.portal-modal h2 { margin: 0 0 10px; }
.portal-modal p { color: #868e96; }
.modal-close { position: absolute; right: 14px; top: 10px; border: 0; background: transparent; font-size: 30px; cursor: pointer; }
.wallet-choice { width: 100%; height: 46px; border: 0; border-radius: 24px; background: #e62058; color: #fff; font-weight: 600; }
.network-menu { position: fixed; z-index: 20; top: 76px; right: 210px; width: 230px; padding: 8px; border: 1px solid #e9ecef; border-radius: 14px; background: #fff; box-shadow: 0 12px 35px rgba(0,0,0,.15); }
.network-option { width: 100%; padding: 10px; border: 0; border-radius: 10px; background: transparent; display: flex; align-items: center; gap: 12px; text-align: left; }
.network-option:hover, .network-option.is-selected { background: #f5f5f5; }
.network-option img { width: 38px; height: 38px; }
.network-option span { display: flex; flex-direction: column; }
.network-option small { color: #868e96; }

@media (max-width: 1080px) {
  .header { padding-inline: 24px; }
  .desktop-nav { gap: 18px; }
  .network-button { min-width: 120px; }
  .network-button small { display: none; }
}

@media (max-width: 767px) {
  .page-shell { min-height: 0; display: block; }
  .header { height: 70px; padding: 0 10px; gap: 12px; border-bottom: 1px solid #eee; }
  .brand { width: 103px; }
  .brand img { width: 103px; height: 33px; }
  .desktop-nav, .network-button { display: none; }
  .connect-button { margin-left: auto; min-width: 151px; width: 151px; height: 36px; padding: 0 18px; font-size: 14px; }
  .menu-button { display: none; }
  main { padding: 20px; }
  .hero { width: 100%; display: block; }
  .hero h1 { margin: 0; height: 94.8px; padding: 44px 0 20px 20px; font-size: 22px; line-height: 30.8px; white-space: nowrap; }
  .hero h1 br { display: none; }
  .copy-card { width: 100%; margin: 0; padding: 24px 20px; border-radius: 15px; font-size: 15px; line-height: 23.25px; }
  .copy-card p { margin-bottom: 20px; }
  footer { padding: 0 0 20px; height: 180px; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: 25px; }
  .socials { margin-top: 3px; gap: 18px; flex-wrap: nowrap; justify-content: center; }
  .legal { width: 100%; padding: 0 70px; justify-content: space-between; gap: 15px; font-size: 14px; color: #868e96; }
  .mobile-bottom-nav { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; height: 82px; padding: 5px 8px 7px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: center; background: #fff; border: 1px solid #e9e9e9; border-radius: 22px 22px 0 0; box-shadow: 0 -1px 5px rgba(0,0,0,.04); }
  .bottom-nav-item { min-width: 0; height: 68px; padding: 4px 0 0; border: 0; background: transparent; color: #9a9a9a; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; overflow: hidden; }
  .bottom-nav-item.is-active { color: #242425; }
  .bottom-nav-item span { width: 40px; height: 40px; display: grid; place-items: center; }
  .bottom-nav-item svg, .bottom-nav-item img { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .bottom-nav-item[data-section="account"] svg { fill: currentColor; stroke: none; }
  .bottom-nav-item:last-child img { width: 40px; height: 40px; }
  .bottom-nav-item small { max-width: 100%; font-size: 12px; font-weight: 400; line-height: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .section-page { padding-top: 10px; }
  .section-page > .section-heading { height: auto; padding: 20px 0; }
  .section-heading h1 { white-space: normal; font-size: 22px; line-height: 30px; }
  .info-card { padding: 20px; }
  .proposal-row { grid-template-columns: 34px 1fr; }
  .proposal-row b { grid-column: 2; }
  .network-menu { top: auto; right: 12px; bottom: 86px; }
  .rewards-page { padding-top: 22px; }
  .rewards-intro { padding-inline: 0; }
  .rewards-intro h1 { font-size: 28px; }
  .reward-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .legal { padding-inline: 20px; font-size: 13px; }
  .socials { gap: 14px; }
  .bottom-nav-item small { font-size: 11px; }
}
