:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #627068;
  --paper: #f4f5ef;
  --surface: #fff;
  --line: #dfe5dc;
  --green: #b8f36b;
  --green-dark: #235c36;
  --deep: #101712;
  --deep-soft: #17231b;
  --amber: #f3bd69;
  --radius: 22px;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #39824e;
  outline-offset: 4px;
}
.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgb(255 255 255 / 9%);
  background: rgb(16 23 18 / 94%);
  color: #f4f7f1;
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
  font-size: 15px;
  font-weight: 760;
  letter-spacing: 0.09em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgb(184 243 107 / 65%);
  border-radius: 11px;
  color: var(--green);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.08em;
}
.brand small {
  display: block;
  margin-top: 2px;
  color: #8c9b8f;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.16em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  color: #c6d0c7;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--green);
}
.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s,
    background 0.2s;
}
.nav-cta {
  padding: 12px 17px;
  background: var(--green);
  color: #172319;
}
.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}
.menu-toggle {
  display: none;
  border: 1px solid #435147;
  border-radius: 10px;
  padding: 9px 11px;
  background: transparent;
  color: #f4f7f1;
  font: inherit;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: #f4f7f1;
}
.hero::before {
  position: absolute;
  content: "";
  width: 620px;
  height: 620px;
  top: -280px;
  right: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(126 204 89 / 14%), transparent 68%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
  min-height: 620px;
  padding-block: 86px 102px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #a8c68c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--green);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  max-width: 670px;
  margin: 20px 0 22px;
  font-size: clamp(46px, 6.4vw, 78px);
  line-height: 0.99;
  letter-spacing: -0.065em;
  font-weight: 690;
}
h1 span {
  color: var(--green);
}
.hero-copy {
  max-width: 585px;
  color: #b9c4bb;
  font-size: 17px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 31px;
}
.button {
  min-height: 48px;
  padding: 0 20px;
}
.button-primary {
  background: var(--green);
  color: #172319;
}
.button-quiet {
  border: 1px solid #46544a;
  color: #e3ebe3;
}
.button-quiet:hover {
  background: #1d2b21;
}
.status-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 31px;
  color: #a2afa4;
  font-size: 12px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgb(243 189 105 / 12%);
}
.hero-art {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  width: min(100%, 440px);
  aspect-ratio: 1;
  border: 1px solid rgb(184 243 107 / 14%);
  border-radius: 50%;
  transform: rotate(-24deg) scaleY(0.58);
}
.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgb(184 243 107 / 17%);
  border-radius: 50%;
  inset: 30px -25px;
}
.orbit::after {
  inset: 74px -55px;
  border-color: rgb(184 243 107 / 11%);
}
.coin {
  position: relative;
  z-index: 1;
  width: 250px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid #8fcc66;
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 24%,
    #d0ff9b 0,
    #a9ed6b 18%,
    #5b9b4a 58%,
    #21482e 100%
  );
  box-shadow:
    0 0 0 13px rgb(184 243 107 / 5%),
    0 24px 90px rgb(0 0 0 / 45%),
    inset 0 2px 20px rgb(255 255 255 / 30%);
  color: #17331e;
}
.coin::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgb(23 51 30 / 25%);
  border-radius: 50%;
}
.coin-inner {
  text-align: center;
  transform: translateY(-3px);
}
.coin-symbol {
  font-size: 87px;
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.1em;
}
.coin-word {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.25em;
}
.float-label {
  position: absolute;
  z-index: 2;
  padding: 12px 15px;
  border: 1px solid rgb(220 237 218 / 13%);
  border-radius: 13px;
  background: rgb(23 35 27 / 88%);
  box-shadow: 0 15px 35px rgb(0 0 0 / 18%);
  color: #dce6dc;
  font-size: 11px;
  backdrop-filter: blur(8px);
}
.float-label strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 15px;
}
.float-a {
  top: 42px;
  right: 0;
}
.float-b {
  bottom: 40px;
  left: 0;
}
.float-c {
  right: 1px;
  bottom: 83px;
  color: #a7b2a8;
}

.metrics {
  position: relative;
  z-index: 2;
  margin-top: -42px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #e2e7de;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgb(30 49 34 / 7%);
}
.metric {
  min-height: 116px;
  padding: 24px 27px;
  border-right: 1px solid #e9ede6;
}
.metric:last-child {
  border-right: 0;
}
.metric-value {
  display: block;
  margin-bottom: 8px;
  font-size: 25px;
  font-weight: 760;
  letter-spacing: -0.045em;
}
.metric-label {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.metric-label em {
  color: #8c6b31;
  font-style: normal;
}

section {
  padding-block: 112px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 43px;
}
.section-kicker {
  margin-bottom: 13px;
  color: #53865c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h2 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.06em;
  font-weight: 680;
}
.section-intro {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  min-height: 270px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 31px;
  border-radius: 14px;
  background: #edf5e7;
  color: #397347;
}
.card-icon svg {
  width: 21px;
  height: 21px;
}
.feature-card h3 {
  margin-bottom: 11px;
  font-size: 19px;
  letter-spacing: -0.035em;
}
.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.feature-card .micro {
  display: inline-block;
  margin-top: 18px;
  color: #54815a;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.flow-section {
  background: #e9eee6;
}
.flow-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 78px;
  align-items: start;
}
.flow-aside {
  position: sticky;
  top: 112px;
}
.flow-aside p {
  max-width: 380px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.flow-note {
  margin-top: 29px;
  padding: 19px 20px;
  border-left: 2px solid #4c8b53;
  background: rgb(255 255 255 / 56%);
  color: #45554a;
  font-size: 12px;
  line-height: 1.65;
}
.steps {
  display: grid;
  gap: 12px;
}
.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 24px;
  border: 1px solid #d7dfd3;
  border-radius: 18px;
  background: rgb(255 255 255 / 77%);
}
.step-number {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #18261c;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}
.step h3 {
  margin: 1px 0 8px;
  font-size: 17px;
  letter-spacing: -0.03em;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.step p strong {
  color: #334337;
}

.market-section {
  background: var(--deep);
  color: #f4f7f1;
}
.market-section .section-kicker {
  color: #a8c68c;
}
.market-section .section-intro {
  color: #acb9ae;
}
.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.market-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 32px;
  border: 1px solid #334339;
  border-radius: var(--radius);
  background: #17221a;
}
.market-card.experimental {
  border-color: #6e593a;
  background: linear-gradient(140deg, #24231b, #172019 72%);
}
.market-card h3 {
  margin: 21px 0 11px;
  font-size: 22px;
  letter-spacing: -0.04em;
}
.market-card p {
  max-width: 490px;
  color: #aebbb0;
  font-size: 13px;
  line-height: 1.75;
}
.market-tag {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid #435547;
  border-radius: 999px;
  color: #b8d99d;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.experimental .market-tag {
  border-color: #735b37;
  color: #f0c783;
}
.fee-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}
.fee-chip {
  padding: 10px 12px;
  border: 1px solid #35453a;
  border-radius: 11px;
  color: #d9e2d9;
  font-size: 11px;
}
.fee-chip strong {
  color: var(--green);
}
.experimental .fee-chip strong {
  color: #f0c783;
}
.market-foot {
  margin-top: 24px;
  color: #89978c;
  font-size: 11px;
  line-height: 1.65;
}

.governance-section {
  background: var(--paper);
}
.governance-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 78px;
}
.governance-copy p {
  max-width: 560px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.guard-list {
  display: grid;
  gap: 10px;
}
.guard {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.check {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e8f4df;
  color: #377044;
  font-size: 12px;
  font-weight: 800;
}
.guard strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}
.guard span:last-child {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.status-section {
  padding-top: 0;
}
.status-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 34px 38px;
  border: 1px solid #e3d4b6;
  border-radius: var(--radius);
  background: #fff9ec;
}
.status-panel h2 {
  margin: 0 0 11px;
  font-size: clamp(27px, 3.5vw, 38px);
}
.status-panel p {
  max-width: 700px;
  margin: 0;
  color: #71654d;
  font-size: 13px;
  line-height: 1.75;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  padding: 12px 15px;
  border: 1px solid #ebd6ae;
  border-radius: 999px;
  background: #fff3d9;
  color: #77561e;
  font-size: 11px;
  font-weight: 800;
}
.status-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d89a35;
}

.faq-section {
  padding-top: 15px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}
.faq-grid .section-intro {
  margin-top: 20px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  position: relative;
  padding: 20px 34px 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 730;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 17px;
  color: #56815a;
  font-size: 22px;
  font-weight: 400;
}
details[open] summary::after {
  content: "−";
}
details p {
  max-width: 650px;
  margin: -4px 0 21px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer {
  padding: 36px 0;
  background: var(--deep);
  color: #a5b1a7;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.footer p {
  max-width: 670px;
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a {
  color: #d5dfd6;
  font-size: 11px;
  text-decoration-color: #68776b;
  text-underline-offset: 4px;
}
.footer-links a:hover {
  color: var(--green);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.8fr;
    gap: 24px;
  }
  .hero-art {
    transform: scale(0.85);
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }
  .flow-grid,
  .governance-grid {
    gap: 40px;
  }
  .flow-aside {
    position: static;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: min(var(--max), calc(100% - 36px));
  }
  .nav {
    min-height: 68px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .nav-cta {
    display: none;
  }
  .nav-links {
    display: none;
    position: absolute;
    inset: 68px 0 auto;
    padding: 12px 18px 20px;
    border-bottom: 1px solid #344238;
    background: #101712;
  }
  .nav-links.open {
    display: grid;
    gap: 0;
  }
  .nav-links a {
    display: block;
    padding: 13px 4px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 5px;
    padding-block: 70px 95px;
  }
  h1 {
    font-size: clamp(46px, 13vw, 68px);
  }
  .hero-copy {
    font-size: 15px;
  }
  .hero-art {
    min-height: 335px;
    transform: none;
    margin: 5px -10px -15px;
  }
  .coin {
    width: 205px;
  }
  .coin-symbol {
    font-size: 71px;
  }
  .orbit {
    width: 310px;
  }
  .float-a {
    top: 26px;
    right: 3px;
  }
  .float-b {
    left: -2px;
    bottom: 25px;
  }
  .float-c {
    right: 0;
    bottom: 62px;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metric {
    min-height: 96px;
    padding: 18px;
    border-bottom: 1px solid #e9ede6;
  }
  .metric:nth-child(2) {
    border-right: 0;
  }
  .metric:nth-child(3),
  .metric:nth-child(4) {
    border-bottom: 0;
  }
  .metric-value {
    font-size: 21px;
  }
  section {
    padding-block: 82px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    min-height: 0;
  }
  .card-icon {
    margin-bottom: 21px;
  }
  .flow-grid,
  .governance-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .step {
    grid-template-columns: 43px 1fr;
    gap: 13px;
    padding: 19px;
  }
  .step-number {
    width: 38px;
    height: 38px;
  }
  .market-grid {
    grid-template-columns: 1fr;
  }
  .market-card {
    min-height: 0;
    padding: 25px;
  }
  .status-panel {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 27px;
  }
  .status-badge {
    justify-self: start;
  }
  .faq-section {
    padding-top: 0;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.nav {
  gap: 20px;
}
.brand {
  letter-spacing: -0.02em;
  font-size: 19px;
  white-space: nowrap;
}
.brand small {
  letter-spacing: 0.12em;
}
.nav-links {
  gap: 22px;
}
.language-control {
  display: flex;
  align-items: center;
  gap: 7px;
}
.language-control select {
  max-width: 135px;
  padding: 9px 10px;
  border: 1px solid #435147;
  border-radius: 10px;
  background: #17231b;
  color: #f4f7f1;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.language-control select:focus-visible {
  outline: 3px solid #b8f36b;
  outline-offset: 3px;
}
.hero-grid {
  padding-block: 60px 90px;
  min-height: 610px;
}
.hero-art {
  min-height: 420px;
}
.mascot {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 470px;
  height: auto;
  filter: drop-shadow(0 24px 28px rgb(0 0 0 / 25%));
}
.hero-art .float-a {
  top: 22px;
}
.hero-art .float-b {
  bottom: 14px;
}
.mascot-caption {
  color: #a7b2a8;
  font-size: 12px;
  margin: 12px 0 0;
  text-align: center;
}
.hero-copy {
  font-size: 16px;
}
.market-card p + p {
  margin-top: 16px;
}
.nav-cta {
  white-space: nowrap;
}
.brand-name {
  display: block;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.doc-main {
  max-width: 900px;
  padding-block: 65px 85px;
}
.doc-main h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.08;
}
.doc-main section {
  padding-block: 32px;
}
.doc-main h2 {
  font-size: 30px;
}
.doc-main p,
.doc-main li {
  line-height: 1.8;
  color: var(--muted);
}
.doc-main .doc-lead {
  font-size: 18px;
}
.doc-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}
.doc-toc a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  text-decoration: none;
  font-size: 13px;
}
.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.doc-table th,
.doc-table td {
  padding: 15px 10px;
  text-align: start;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.doc-table th {
  width: 34%;
}
.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.trade-main {
  max-width: 650px;
  padding-block: 48px 80px;
}
.trade-main h1 {
  font-size: clamp(34px, 6vw, 48px);
  line-height: 1.1;
}
.trade-main p {
  line-height: 1.6;
}
.trade-card {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
}
.trade-main label {
  display: block;
  margin: 20px 0 8px;
}
.trade-main input,
.trade-main select,
.trade-main button {
  font: inherit;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #b8c7ba;
  width: 100%;
}
.trade-main button {
  background: var(--green);
  color: var(--ink);
  cursor: pointer;
  font-weight: 650;
  margin-top: 14px;
}
.trade-main button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.trade-main button.secondary {
  background: white;
}
.notice {
  background: #fff5df;
  padding: 16px;
  border-radius: 12px;
}
.quote {
  margin-top: 20px;
  padding: 16px;
  background: var(--paper);
  border-radius: 12px;
}
.quote p {
  margin: 4px 0;
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
#status {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.trade-main input:focus-visible,
.trade-main select:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 3px;
}
@media (max-width: 1100px) {
  .nav-cta {
    display: none;
  }
  .nav-links {
    gap: 17px;
  }
}
@media (max-width: 900px) {
  .hero-art {
    transform: none;
  }
}
@media (max-width: 760px) {
  .nav {
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 12px;
  }
  .brand {
    margin-right: auto;
    font-size: 18px;
  }
  .brand small {
    font-size: 9px;
  }
  .menu-toggle {
    display: inline-flex;
    font-size: 12px;
  }
  .nav-links {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: 12px 18px 20px;
    border-bottom: 1px solid #344238;
    background: #101712;
  }
  .nav-links.open {
    display: grid;
    gap: 0;
  }
  .nav-links a {
    display: block;
    padding: 13px 4px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 50px 85px;
  }
  .hero-art {
    min-height: 300px;
    margin: 20px 0 0;
  }
  .mascot {
    max-width: 360px;
  }
  .float-label {
    padding: 9px 11px;
  }
  .hero-art .float-a {
    right: 0;
  }
  .hero-art .float-b {
    left: 0;
  }
  .language-control select {
    max-width: 116px;
  }
  .doc-main {
    padding-top: 42px;
  }
}
@media (max-width: 380px) {
  .brand {
    font-size: 16px;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
  }
  .nav {
    column-gap: 7px;
  }
  .language-control select {
    max-width: 103px;
    padding: 8px 5px;
  }
  .menu-toggle {
    padding: 8px;
  }
  .brand small {
    font-size: 8px;
  }
}
/* Keep the first headline line neutral and bring the overview into view sooner. */
.hero {
  padding-block: 0;
}
h1 > span:first-child {
  color: inherit;
}
.buy-section {
  padding-top: 30px;
}
.buy-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}
.market-references {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}
.external-link {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  color: var(--green-dark);
}
.external-link[aria-disabled="true"] {
  color: var(--muted);
  opacity: 0.65;
  cursor: default;
}
.address-panel {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
.address-panel h3 {
  font-size: 17px;
}
.address-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.address-row code {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
}
.address-row button {
  background: var(--paper);
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  color: var(--ink);
}
.address-row button:disabled {
  opacity: 0.5;
  cursor: default;
}
#address-status {
  margin: 8px 0 0;
  color: var(--green-dark);
  font-size: 13px;
}
.portal-main {
  padding-block: 48px 80px;
}
.portal-main h1 {
  max-width: 100%;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  margin-bottom: 20px;
}
.portal-main > a {
  font-size: 13px;
  color: var(--green-dark);
}
.portal-intro {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 760px;
}
.wallet-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-block: 26px;
}
.wallet-bar button {
  margin: 0;
  width: auto;
}
.wallet-bar #portal-account {
  overflow-wrap: anywhere;
  max-width: 100%;
  font-size: 12px;
}
.availability {
  font-size: 12px;
  color: var(--muted);
}
.personal-balances {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 65px;
  margin-block: 25px;
}
.personal-balances div {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.personal-balances strong {
  font-size: 22px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.portal-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  margin-block: 30px;
  padding-bottom: 12px;
}
.portal-tabs button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 99px;
  padding: 12px 20px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.portal-tabs button[aria-selected="true"] {
  background: var(--deep);
  color: var(--green);
  border-color: var(--deep);
}
.portal-main [role="tabpanel"] {
  padding-block: 8px 20px;
}
.portal-main [hidden] {
  display: none;
}
.portal-main h2 {
  font-size: clamp(27px, 4vw, 38px);
}
.panel-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  max-width: 850px;
}
.treasury-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.balance-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  min-width: 0;
}
.balance-card h3 {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.balance-card p {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}
.balance-card strong {
  font-size: 25px;
  letter-spacing: -0.03em;
}
.balance-card p span {
  font-size: 12px;
  color: var(--muted);
}
.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.action-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  min-width: 0;
}
.action-card h3 {
  font-size: 21px;
}
.rewards-card {
  grid-column: 1/-1;
}
.portal-main label {
  display: block;
  font-size: 13px;
  margin: 22px 0 9px;
}
.portal-main input,
.portal-main select {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  padding: 12px;
  font: inherit;
  border: 1px solid #b8c7ba;
  border-radius: 10px;
  background: white;
  color: var(--ink);
}
.portal-main input:disabled,
.portal-main select:disabled {
  background: var(--paper);
}
.action-card button,
.wallet-bar button {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--green);
  border-radius: 10px;
  background: var(--green);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  margin-top: 14px;
}
.wallet-bar button {
  width: auto;
  margin-top: 0;
}
.portal-main button.secondary {
  background: white;
  border-color: var(--line);
}
.portal-main button:disabled {
  opacity: 0.45;
  cursor: default;
}
.portal-main :is(input, select, button):focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 3px;
}
.paging {
  display: flex;
  gap: 10px;
}
.paging button {
  width: 50%;
  font-size: 12px;
}
.action-card [role="status"] {
  font-size: 14px;
  line-height: 1.7;
  color: var(--green-dark);
}
#portal-status {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-top: 25px;
  color: var(--green-dark);
  font-size: 14px;
}
@media (min-width: 761px) and (max-width: 1050px) {
  .nav-links {
    gap: 12px;
  }
  .nav-links a {
    font-size: 11px;
  }
  .nav {
    gap: 12px;
  }
  .brand {
    font-size: 17px;
  }
  .brand small {
    font-size: 8px;
  }
  .language-control select {
    max-width: 100px;
  }
}
@media (max-width: 760px) {
  .treasury-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .balance-card {
    padding: 18px;
  }
  .balance-card strong {
    font-size: 21px;
  }
  .portal-grid {
    grid-template-columns: 1fr;
  }
  .portal-tabs {
    gap: 6px;
  }
  .portal-tabs button {
    padding: 10px 13px;
    font-size: 13px;
  }
  .address-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .address-row button {
    justify-self: start;
  }
  .wallet-bar button {
    width: 100%;
  }
  .action-card {
    padding: 22px;
  }
  .portal-main {
    padding-top: 35px;
  }
}
@media (max-width: 380px) {
  .treasury-metrics {
    grid-template-columns: 1fr;
  }
}

.permission-table-wrap { overflow-x: auto; }
.permission-table th { width: auto; }
.permission-table td { min-width: 160px; }
.contract-address-list code { overflow-wrap: anywhere; }
.contract-address-list li { margin-block: 12px; }
.contract-address-list a[aria-disabled="true"] { color: inherit; text-decoration: none; }
