.manifesto {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 235px;
  gap: 34px;
  margin-bottom: 14px;
  padding: 34px 0 37px;
  border-block: 1px solid var(--line);
}

.manifesto-index {
  display: grid;
  align-content: start;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
}

.manifesto-index span { font-size: 36px; font-weight: 900; letter-spacing: -.1em; }
.manifesto-index i { height: 1px; background: var(--ink); }
.manifesto-index small { grid-column: 1 / -1; }
.manifesto-copy > p { margin-bottom: 11px; color: var(--mint); font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.manifesto-copy h1 { font-size: clamp(28px, 3.6vw, 55px); line-height: .96; letter-spacing: -.075em; }
.manifesto-copy h1 em { color: #1a6679; font-style: normal; }

.manifesto-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 930px;
  margin-top: 24px;
}

.manifesto-body p { color: #354e60; font: 12px/1.65 "Courier New", monospace; }
.manifesto-signal { align-self: stretch; display: flex; flex-direction: column; padding: 15px; border: 1px solid var(--line); background: rgba(237, 243, 246, .58); }
.manifesto-signal strong { margin: auto 0; font-size: 18px; line-height: 1.55; letter-spacing: .1em; }
.manifesto-signal > span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 8px; }
.manifesto-signal i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }

.closing-statement {
  padding: 70px max(24px, calc((100vw - 1500px) / 2));
  border-top: 1px solid var(--line);
  background: #071018;
  color: #d9e9f2;
}

.closing-statement > small { color: #54e6b8; }
.closing-statement h2 { margin: 16px 0 28px; font-size: clamp(32px, 5vw, 70px); line-height: .95; letter-spacing: -.075em; }
.closing-statement h2 span { color: #8fb0c2; }
.closing-statement > div { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.closing-statement p { max-width: 570px; color: #8da5b4; font: 12px/1.65 "Courier New", monospace; }
.closing-statement a { padding-bottom: 5px; border-bottom: 1px solid #54e6b8; color: #54e6b8; font-weight: 900; text-decoration: none; }

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: min(570px, calc(100vw - 36px));
  padding: 20px;
  border: 1px solid #54e6b8;
  background: #071018;
  color: #d9e9f2;
  box-shadow: 0 18px 60px rgba(7, 16, 24, .28);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner small { color: #54e6b8; }
.cookie-banner h2 { margin: 7px 0; font-size: 18px; }
.cookie-banner p { color: #9cb0bc; font: 11px/1.55 "Courier New", monospace; }
.cookie-banner a { display: inline-block; margin-top: 11px; color: #d9e9f2; font-size: 9px; }
.cookie-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.cookie-actions button { padding: 10px 12px; border: 1px solid #718493; background: transparent; color: white; font: 800 9px "Courier New", monospace; cursor: pointer; }
.cookie-actions button:last-child { border-color: #54e6b8; background: #54e6b8; color: #071018; }

.wallet-modal[hidden] { display: none; }
.wallet-modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 18px; }
.wallet-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(7, 16, 24, .68); backdrop-filter: blur(8px); }
.wallet-dialog { position: relative; width: min(480px, 100%); border: 1px solid var(--line); background: #edf3f6; box-shadow: 0 24px 90px rgba(7, 16, 24, .34); }
.wallet-dialog header { display: flex; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--line); }
.wallet-dialog header h2 { margin-top: 5px; font-size: 22px; }
.wallet-dialog header button { border: 0; background: transparent; font-size: 25px; cursor: pointer; }
.wallet-dialog > p { padding: 16px 20px 4px; color: var(--muted); font: 10px/1.55 "Courier New", monospace; }
.wallet-list { display: grid; gap: 8px; padding: 16px 20px; }
.wallet-option { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; min-height: 58px; padding: 9px 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.wallet-option:hover { border-color: var(--mint); background: white; }
.wallet-option img,.wallet-glyph { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #071018; color: #54e6b8; font-weight: 900; object-fit: cover; }
.wallet-option span { display: grid; gap: 2px; font: 900 11px "Courier New", monospace; }
.wallet-option small { color: var(--muted); font-size: 8px; }
.wallet-option > b { color: var(--mint); font-size: 8px; }
.wallet-loading { padding: 20px; color: var(--muted); text-align: center; font-size: 9px; }
.wallet-status { min-height: 34px; padding: 0 20px 14px; color: var(--muted); font-size: 9px; }
.wallet-status.error { color: #a72f3a; }
.wallet-dialog footer { display: flex; justify-content: space-between; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 8px; }
.wallet-dialog footer span { color: var(--mint); font-weight: 900; }
.wallet-dialog footer a { color: var(--muted); }
.wallet.connected { border-color: var(--mint); background: #edf3f6; color: var(--ink); }
.market-row { width: 100%; border-right: 0; border-bottom: 0; border-left: 0; background: transparent; color: inherit; font: inherit; text-align: initial; }

@media (max-width: 760px) {
  .manifesto { grid-template-columns: 1fr; padding: 25px 3px; }
  .manifesto-index { display: none; }
  .manifesto-body { grid-template-columns: 1fr; gap: 12px; }
  .manifesto-signal { min-height: 150px; }
  .closing-statement { padding: 50px 20px; }
  .closing-statement > div { align-items: flex-start; flex-direction: column; }
  .cookie-banner { right: 10px; bottom: 10px; width: calc(100vw - 20px); }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .wallet-dialog { max-height: calc(100vh - 20px); overflow: auto; }
}
