:root {
  color-scheme: dark;
  --bg: #050607;
  --panel: #0b0d10;
  --panel-soft: #111318;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f5f7f8;
  --muted: rgba(245, 247, 248, 0.68);
  --faint: rgba(245, 247, 248, 0.46);
  --accent: #72f0b0;
  --accent-soft: rgba(114, 240, 176, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --max-width: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.035), transparent 38%),
    linear-gradient(180deg, #060709 0%, #040506 100%);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header,
.page-shell,
.site-footer {
  width: min(calc(100% - 28px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
  background: rgba(7, 9, 12, 0.92);
  box-shadow: var(--shadow);
}

.header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 86px;
  padding: 0 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-header {
  gap: 0;
}

.brand-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(114, 240, 176, 0.42);
}

.brand-name {
  font-size: 2rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.site-nav a,
.twitter-link,
.wallet-button,
.footer-column a,
.section-copy,
.search-meta p,
.footer-copy,
.faq-toggle p,
.step-body p {
  color: var(--muted);
}

.site-nav a {
  position: relative;
  font-size: 1.05rem;
  font-weight: 500;
}

.site-nav a.active,
.site-nav a:hover,
.footer-column a:hover,
.twitter-link:hover,
.docs-link:hover {
  color: var(--ink);
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.twitter-link-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 1.6rem;
  line-height: 1;
}

.wallet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 162px;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  padding: 0 20px;
  font-size: 1rem;
  font-weight: 600;
}

.page-shell {
  margin-bottom: 18px;
}

.hero-board,
.content-board,
.site-footer {
  border: 1px solid var(--line);
  background: rgba(7, 9, 12, 0.95);
  box-shadow: var(--shadow);
}

.hero-board {
  border-top: 0;
  border-radius: 0 0 22px 22px;
}

.content-board,
.site-footer {
  margin-top: 16px;
  border-radius: 22px;
}

.hero-section {
  padding: 54px 0 32px;
}

.hero-kicker,
.fact-label,
.footer-heading {
  margin: 0;
  color: var(--accent);
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker {
  width: fit-content;
  margin: 0 auto 34px;
  padding: 10px 18px;
  border: 1px solid rgba(114, 240, 176, 0.22);
  border-radius: 999px;
  background: rgba(8, 12, 10, 0.78);
}

.hero-title {
  margin: 0;
  text-align: center;
  font-size: clamp(4rem, 7vw, 6.35rem);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.075em;
}

.accent {
  color: var(--ink);
}

.accent::before {
  content: "";
  display: inline-block;
  width: 0.18em;
  height: 0.18em;
  margin-right: 0.08em;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
  box-shadow: 0 0 16px rgba(114, 240, 176, 0.35);
}

.hero-copy {
  margin: 16px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.search-card,
.facts-section,
.panel-card {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
}

.search-card {
  margin-top: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(14, 16, 21, 0.9), rgba(8, 10, 13, 0.95));
  padding: 26px 26px 20px;
}

.search-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 142px;
  align-items: center;
  gap: 22px;
}

.search-input-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 86px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(16, 18, 22, 0.75);
}

.search-icon {
  color: var(--faint);
  font-size: 2rem;
  line-height: 1;
}

.search-input-shell input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.search-input-shell input::placeholder {
  color: var(--faint);
}

.search-suffix {
  padding-left: 22px;
  border-left: 1px solid var(--line-strong);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.search-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 86px;
  border-left: 1px solid var(--line);
}

.price-value {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.07em;
}

.price-unit {
  font-size: 1.8rem;
  color: var(--muted);
}

.search-meta {
  padding-top: 16px;
}

.search-meta p {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.facts-section {
  margin-top: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(13, 15, 19, 0.92), rgba(8, 10, 13, 0.96));
  padding: 18px 0;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 28px 20px;
  text-align: center;
}

.stat-card + .stat-card {
  border-left: 1px solid var(--line);
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-size: 1.6rem;
}

.stat-card strong {
  display: block;
  margin-top: 18px;
  font-size: 2.1rem;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.fact-label {
  margin-top: 10px;
}

.stat-card small {
  display: block;
  max-width: 240px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
}

.content-board {
  padding: 28px;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
}

.panel-card {
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(12, 14, 18, 0.95), rgba(8, 9, 12, 0.98));
  padding: 26px;
}

.panel-card h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -0.05em;
}

.section-copy {
  margin: 12px 0 0;
  font-size: 1.1rem;
  line-height: 1.5;
}

.steps-panel {
  margin-top: 28px;
  display: grid;
  gap: 26px;
}

.step-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.step-index {
  position: relative;
  margin: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(114, 240, 176, 0.45);
  border-radius: 50%;
  color: var(--accent);
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-row:not(:last-child) .step-index::after {
  content: "";
  position: absolute;
  top: 44px;
  left: 50%;
  width: 1px;
  height: calc(100% + 12px);
  background: rgba(114, 240, 176, 0.24);
  transform: translateX(-50%);
}

.step-body strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.step-body p {
  margin: 10px 0 0;
  font-size: 1.08rem;
  line-height: 1.55;
}

.code-card {
  margin-top: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(10, 11, 15, 0.9);
  padding: 18px;
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.code-head span,
.code-snippet {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
}

.code-head span {
  color: var(--accent);
  font-size: 0.98rem;
}

.copy-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
}

.code-snippet {
  display: block;
  margin-top: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  color: #d9dfdf;
  font-size: 0.98rem;
  line-height: 1.65;
}

.docs-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.12rem;
}

.panel-card-faq {
  margin-top: 20px;
}

.faq-list {
  margin-top: 16px;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.faq-toggle strong {
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.faq-toggle p {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1;
}

.faq-answer {
  max-width: 920px;
  margin: 0;
  padding: 0 44px 18px 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.faq-item[data-open="false"] .faq-answer {
  display: none;
}

.site-footer {
  padding: 30px 28px 26px;
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-brand-mark .brand-name {
  font-size: 2rem;
}

.footer-copy {
  max-width: 280px;
  margin: 18px 0 22px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.footer-heading {
  margin-bottom: 16px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-column a {
  font-size: 1.05rem;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 1100px) {
  .header-shell,
  .content-grid,
  .footer-shell,
  .search-main,
  .facts-grid {
    grid-template-columns: 1fr;
  }

  .header-shell {
    justify-items: center;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 22px 28px;
  }

  .search-price {
    justify-content: flex-start;
    min-height: auto;
    padding-top: 10px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat-card + .stat-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: min(calc(100% - 16px), var(--max-width));
  }

  .header-shell,
  .content-board,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-section {
    padding-top: 36px;
  }

  .hero-title {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .hero-copy {
    font-size: 1.2rem;
  }

  .search-card,
  .facts-section,
  .panel-card {
    width: min(calc(100% - 24px), 1180px);
  }

  .search-input-shell {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .search-suffix {
    padding-left: 0;
    border-left: 0;
  }

  .search-input-shell input,
  .search-suffix,
  .price-value {
    font-size: 1.5rem;
  }

  .panel-card {
    padding: 20px;
  }

  .panel-card h2 {
    font-size: 1.55rem;
  }

  .step-row {
    grid-template-columns: 44px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
