:root {
  color-scheme: light;
  --paper: #f3f3f1;
  --surface: #fafaf8;
  --ink: #20211f;
  --muted: #70726e;
  --line: #d9dad6;
  --soft: #e8e9e5;
}

* {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 36px;
}

.command-card {
  border: 1px solid var(--line);
  background: rgba(250, 250, 248, .76);
}

.top-command {
  margin-top: 12px;
}

nav {
  min-height: 70px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: .1em;
}

.brand-logo {
  width: 52px;
  height: 38px;
  object-fit: contain;
  object-position: center;
}

.social-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.social-link {
  width: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 680;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 180ms ease;
}

.telegram-link { color: #229ed9; }
.x-link { color: var(--ink); }

.telegram-link:hover {
  background: #229ed9;
  color: white;
}

.x-link:hover {
  background: var(--ink);
  color: white;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 7px 16px rgba(32, 33, 31, .12);
}

.social-link:hover svg { transform: scale(1.1); }

.social-link:active {
  transform: translateY(0) scale(.94);
  box-shadow: none;
}

.social-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.eyebrow, .label {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .16em;
}

.command-card {
  min-height: 240px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.command-card .label { margin-bottom: 22px; }

.command-card > div { min-width: 0; }

code {
  display: block;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(16px, 2.25vw, 29px);
  overflow-wrap: anywhere;
}

.syntax {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.syntax strong {
  font-weight: 760;
}

.syntax span {
  padding: 9px 12px;
  border-radius: 11px;
  background: var(--soft);
  font-size: .76em;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.option-pill {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.command-note {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.command-note b { color: var(--ink); }

.explorer {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: rgba(250, 250, 248, .76);
  overflow: hidden;
}

.explorer-head {
  padding: clamp(28px, 5vw, 54px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.explorer-head .label { margin-bottom: 16px; }

.explorer-head h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .95;
}

.preview-badge {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.explorer-tools {
  padding: 0 clamp(28px, 5vw, 54px) 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.search-box {
  width: min(430px, 100%);
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  color: var(--muted);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.search-box input::placeholder { color: #969792; }

.filters {
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.filter {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.filter.active {
  background: var(--ink);
  color: white;
}

.token-table {
  border-top: 1px solid var(--line);
}

.token-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(100px, .6fr));
  gap: 20px;
  align-items: center;
  padding: 18px clamp(28px, 5vw, 54px);
}

.token-columns {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.token-item {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.token-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.token-identity > span:last-child {
  display: grid;
  gap: 3px;
}

.token-identity b {
  color: var(--ink);
  font-size: 15px;
}

.token-identity small { font-size: 11px; }

.token-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 760;
}

.launch-meta,
.token-creator {
  display: flex;
  align-items: center;
}

.launch-meta {
  gap: 7px;
  flex-wrap: wrap;
}

.creator-by {
  color: var(--muted);
  font-size: 11px;
}

.token-creator {
  gap: 6px;
  color: var(--ink);
}

.token-creator b {
  font-size: 12px;
  font-weight: 650;
}

.creator-avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  overflow: hidden;
  background: var(--soft);
  color: var(--ink);
  font-size: 9px;
  font-weight: 760;
}

.creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 999px;
  background: #8b9a7e;
}

.status-dot.graduated { background: #9a9382; }

.empty-state {
  margin: 0;
  padding: 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.explorer-foot {
  padding: 18px clamp(28px, 5vw, 54px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
}

.explorer-foot b { color: var(--ink); }

.step {
  display: grid;
  place-items: center;
  flex: 0 0 70px;
  height: 70px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
}

footer {
  margin-top: 12px;
  padding: 52px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  color: var(--muted);
}

.footer-copy {
  max-width: 520px;
}

.footer-copy strong {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: .12em;
}

.footer-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.footer-links {
  width: min(260px, 100%);
  display: grid;
}

.footer-links a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  transition: padding 180ms ease, color 180ms ease;
}

.footer-links a:first-child { border-top: 1px solid var(--line); }

.footer-links a:hover {
  padding-left: 8px;
  padding-right: 8px;
  color: var(--muted);
}

@media (max-width: 760px) {
  main { width: min(100% - 20px, 1180px); padding-top: 10px; }
  .command-card { border-radius: 26px; align-items: flex-start; }
  .step { flex-basis: 52px; height: 52px; }
  .explorer { border-radius: 26px; }
  .explorer-head, .explorer-tools { flex-direction: column; align-items: stretch; }
  .preview-badge { align-self: flex-start; }
  .filters { align-self: flex-start; }
  .token-row { grid-template-columns: 1fr auto; gap: 12px; }
  .token-columns > :nth-child(2), .token-columns > :nth-child(4), .token-item > :nth-child(2) { display: none; }
  .token-columns > :nth-child(3) { text-align: right; }
  .token-item > :nth-child(3) { text-align: right; }
  .token-item .launch-meta { grid-column: 1 / -1; margin-left: 54px; }
  .explorer-foot { flex-direction: column; }
  footer { flex-direction: column; align-items: stretch; }
  .footer-links { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .social-link, .social-link svg { transition: none; }
  .social-link:hover, .social-link:active, .social-link:hover svg { transform: none; }
  .footer-links a { transition: none; }
  .footer-links a:hover { padding-left: 0; padding-right: 0; }
}
