:root {
  --ink: #152842;
  --blue: #0868c9;
  --light: #eff6fd;
  --line: #dae3ec;
  --muted: #5c6c7e;
  --yellow: #ffbe23;
  --good: #156f52;
  --warning: #885a00;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #f8fafc;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input {
  font: inherit;
}
.nav,
main,
footer {
  max-width: 1120px;
  margin: auto;
}
.nav {
  height: 90px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 850;
  letter-spacing: 1.1px;
  color: var(--ink);
  font-size: 22px;
}
.brand-mark {
  background: var(--blue);
  color: #fff;
  border: 4px solid var(--yellow);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  text-align: center;
  line-height: 27px;
  font-size: 20px;
}
.nav > a:last-child {
  font-size: 14px;
  font-weight: 600;
}
main {
  padding: 58px 32px 70px;
}
.intro {
  max-width: 790px;
}
.eyebrow {
  font-weight: 750;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--blue);
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(38px, 5.7vw, 62px);
  line-height: 1.06;
  letter-spacing: -2px;
  margin: 0 0 23px;
}
h1 span {
  color: var(--blue);
}
.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 720px;
}
.benefits {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 25px 0 34px;
  font-size: 13px;
  font-weight: 600;
}
.benefits span:before {
  content: "✓";
  color: var(--good);
  margin-right: 7px;
}
.check-panel {
  background: white;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 10px 30px #12396408;
}
label {
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
}
.input-row {
  display: flex;
  gap: 12px;
}
input {
  min-width: 0;
  flex: 1;
  border: 1px solid #b8c7d7;
  border-radius: 8px;
  padding: 16px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 15px;
  color: var(--ink);
  background: #fcfdff;
}
input:focus {
  outline: 3px solid #1680df33;
  border-color: var(--blue);
}
button {
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  padding: 15px 23px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
button:hover:not(:disabled) {
  background: #0754a3;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #fab628;
  outline-offset: 4px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.message {
  font-size: 14px;
  line-height: 1.5;
  min-height: 20px;
  margin: 12px 0 0;
}
.message.error {
  color: #a32632;
}
#captcha {
  margin: 20px 0 0;
  min-height: 65px;
}
.cache-note {
  display: flex;
  gap: 13px;
  padding-top: 19px;
  margin-top: 19px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.cache-note > span {
  font-size: 24px;
  color: var(--blue);
}
.cache-note p {
  margin: 0;
}
.progress-panel {
  border: 1px solid #bcd7f1;
  background: var(--light);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 25px 0;
}
.progress-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.progress-heading h2 {
  font-size: 20px;
  margin: 0;
}
.spinner {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 3px solid #cbdff2;
  border-top-color: var(--blue);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.progress-label { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; margin: 20px 0 8px; }
.progress-track { height: 6px; border-radius: 6px; background: #dbe7f2; overflow: hidden; }
#progress-fill { display: block; height: 100%; width: 0; background: var(--blue); transition: width 1s linear; }
#progress-note { font-size: 12px; }
.verified-message { color: var(--good); font-size: 13px; margin-top: 20px; }
.readiness { display: flex; align-items: center; gap: 24px; padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.readiness h4 { margin: 0 0 8px; font-size: 18px; }
.readiness-title { margin: 0 0 10px; font-weight: 650; }
.readiness .muted { font-size: 12px; line-height: 1.6; margin-bottom: 0; }
.readiness-gauge { --score-color: #177747; --score: 0%; width: 116px; height: 116px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: radial-gradient(closest-side, white 83%, transparent 84%), conic-gradient(var(--score-color) var(--score), #e9eef3 0); color: var(--score-color); }
.readiness-gauge.partial { --score-color: #9b650a; }
.readiness-gauge.unknown { --score-color: #687789; }
.readiness-gauge strong { font-size: 28px; }
.readiness-gauge span { font-size: 11px; }
.readiness-criteria { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; }
.wallet-balance { padding: 20px; background: var(--light); border: 1px solid var(--line); border-radius: 10px; margin: 18px 0; }
.wallet-balance h4, .wallet-balance p { margin: 6px 0; }
.balance-value { font-size: 26px; font-weight: 750; }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } #progress-fill { transition: none; } }
@media (max-width: 480px) { .readiness { flex-direction: column; align-items: flex-start; gap: 16px; } }

.steps {
  list-style: none;
  margin: 23px 0 0;
  padding: 0;
  display: flex;
  gap: 8px;
}
.steps li {
  font-size: 12px;
  padding: 10px;
  border-top: 3px solid #d4e0ec;
  flex: 1;
  color: var(--muted);
}
.steps li.active {
  border-color: var(--blue);
  color: var(--blue);
  font-weight: 700;
}
.report-heading {
  margin: 38px 0 20px;
}
.report-heading h2 {
  font-size: 28px;
  margin: 0 0 8px;
}
.report-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
button.secondary {
  background: #fff;
  color: var(--blue);
  border: 1px solid #a6c5e4;
  padding: 12px 18px;
}
button.secondary:hover:not(:disabled) {
  background: var(--light);
}
.feedback-panel {
  margin: 25px 0;
  padding: 24px 28px;
  border: 1px solid #e1b1b7;
  border-radius: 12px;
  background: #fff6f6;
  line-height: 1.6;
}
.feedback-panel h2 { margin: 0; font-size: 22px; }
#report-status { color: var(--good); font-weight: 650; }
#copy-link { display: block; width: 100%; }
#view-report { display: inline-block; padding: 12px 0 0; font-weight: 650; }
#report-title:focus, #report-error-title:focus { outline: 3px solid #fab628; outline-offset: 4px; }
input[aria-invalid="true"] { border-color: #a32632; }
.summary-title { margin: 0 0 18px; font-size: 18px; }
.summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.summary-item { background: #f6f9fd; border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.summary-item:last-child { grid-column: 1 / -1; }
.summary-item h4 { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.summary-value { margin: 0; font-size: 21px; line-height: 1.35; font-weight: 700; overflow-wrap: anywhere; }
.summary-item .muted { margin: 8px 0 0; }
.screenshot-action { display: inline-block; margin-top: 16px; padding: 13px 18px; background: var(--blue); color: #fff; border-radius: 8px; font-weight: 650; }
.source-details { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.source-details > summary { padding: 8px 0; cursor: pointer; color: var(--blue); font-weight: 650; line-height: 1.5; }
.source-details > .source-grid { margin-top: 18px; }
.asset-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  margin: 20px 0;
  overflow: hidden;
}
.asset-top {
  padding: 25px 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.asset-top h3 {
  font-size: 23px;
  margin: 0 0 6px;
}
.contract {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
  margin: 5px 0;
}
.tag {
  display: inline-flex;
  background: var(--light);
  color: var(--blue);
  border: 1px solid #cbdff2;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 11px;
  white-space: nowrap;
  align-self: flex-start;
}
.asset-body {
  padding: 24px 26px;
}
.source-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.source {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 18px;
  min-width: 0;
}
.source h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 12px;
}
.price {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  font-weight: 750;
  overflow-wrap: anywhere;
}
.status {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}
.good {
  color: var(--good);
}
.warn {
  color: var(--warning);
}
.source p {
  margin: 7px 0 0;
}
.facts {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.fact {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
}
.fact > strong {
  font-weight: 650;
}
.fact p {
  margin: 0;
}
.screenshots {
  display: flex;
  gap: 14px;
  margin: 18px 0;
  align-items: flex-start;
  flex-wrap: wrap;
}
.screenshots a {
  width: min(100%, 330px);
}
.screenshots img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.screenshots small {
  display: block;
  margin: 6px 0;
}
.notice {
  padding: 13px 16px;
  background: #fff8e8;
  border-left: 3px solid var(--yellow);
  font-size: 13px;
  line-height: 1.7;
  margin: 17px 0;
}
.method {
  margin-top: 65px;
}
.method > h2 {
  font-size: 30px;
  letter-spacing: -0.7px;
  margin: 0 0 30px;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.number {
  font-size: 12px;
  color: var(--blue);
  font-weight: 750;
}
.method h3 {
  font-size: 17px;
  margin: 12px 0;
}
.method article p,
.method details p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.method details {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.method summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
}
details.evidence {
  margin-top: 20px;
  font-size: 13px;
}
details.evidence summary {
  cursor: pointer;
  color: var(--blue);
}
pre {
  font-size: 11px;
  max-height: 400px;
  overflow: auto;
  background: #f3f6fa;
  padding: 15px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
footer {
  border-top: 1px solid var(--line);
  padding: 28px 32px 40px;
  display: grid;
  gap: 18px;
  font-size: 12px;
  color: var(--muted);
}
footer p {
  margin: 0;
  line-height: 1.6;
}
footer > div {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
[hidden] {
  display: none !important;
}
@media (max-width: 720px) {
  .nav {
    height: 72px;
    padding: 0 20px;
  }
  main {
    padding: 38px 20px 45px;
  }
  .lead {
    font-size: 16px;
  }
  .benefits {
    gap: 12px;
    font-size: 12px;
  }
  .check-panel {
    padding: 22px 18px;
  }
  .input-row {
    flex-direction: column;
  }
  button {
    width: 100%;
  }
  .source-grid,
  .summary-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }
  .source-grid {
    gap: 10px;
  }
  .source {
    padding: 16px;
  }
  .fact {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .asset-top {
    padding: 20px;
    flex-direction: column;
    gap: 12px;
  }
  .asset-body {
    padding: 20px;
  }
  .steps {
    flex-wrap: wrap;
  }
  .steps li {
    min-width: 40%;
  }
  .method {
    margin-top: 45px;
  }
  .method > h2 {
    font-size: 25px;
  }
  .progress-panel {
    padding: 20px;
  }
  .method-grid {
    gap: 16px;
  }
  footer {
    padding: 26px 20px;
  }
  h1 {
    letter-spacing: -1.4px;
  }
}

.readiness-explanation { margin-top: 12px; font-size: 12px; }
.readiness-explanation summary { color: var(--blue); cursor: pointer; }

/* Optional, explicitly scoped shared-wallet balance test. */
.balance-test label { display: block; font-weight: 600; margin-top: 18px; }
.balance-test input { box-sizing: border-box; padding: 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: white; }
.test-price-input { display: block; width: min(100%, 300px); margin-top: 8px; }
.test-wallet-address { display: block; width: 100%; margin: 10px 0; font-family: monospace !important; }
.test-amount { font-weight: 650; }
.transfer-warning { font-weight: 600; }
.listing-guide { margin: 32px 0; padding: 28px; background: #eef5ff; border: 1px solid #c9dcfa; border-radius: 16px; display: flex; align-items: center; gap: 28px; }
.listing-guide h2 { font-size: 24px; margin: 8px 0; }
.listing-guide p { margin: 8px 0; }
.guide-cta { flex: 0 0 245px; border-radius: 10px; padding: 16px 20px; background: #005bd7; color: white; font-weight: 650; text-decoration: none; }
.guide-cta:hover { background: #0047ab; color: white; }
.test-networks { margin: 32px 0; }
.test-networks h2 { font-size: 24px; }
@media (max-width: 650px) { .listing-guide { flex-direction: column; align-items: stretch; padding: 22px; } .guide-cta { flex-basis: auto; } }
