@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap");

:root {
  --ink: #07080c;
  --rail: #0c0e14;
  --surface: #12151e;
  --surface-2: #181c28;
  --text: #eef0f6;
  --muted: #8b93a7;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --mint: #5ef2a8;
  --mint-dim: #2fbf7a;
  --connect: #5865f2;
  --danger: #ff7b86;
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

a {
  color: var(--mint);
  text-decoration: none;
}

a:hover {
  color: #9affc9;
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
}

@media (min-width: 900px) {
  .app-shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
}

.rail {
  background: var(--rail);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 1rem 0.7rem;
  gap: 1.25rem;
}

.rail-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.45rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}

.rail-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  flex-shrink: 0;
  display: block;
  transition: transform 200ms var(--ease), filter 200ms var(--ease);
}

.rail-brand:hover .rail-mark {
  transform: scale(1.04);
  filter: drop-shadow(0 0 8px rgba(94, 242, 168, 0.35));
}

.rail-brand:hover {
  color: var(--text);
}

.rail-brand em {
  font-style: normal;
  color: var(--mint);
}

.rail-brand .short {
  display: none;
}

@media (max-width: 899px) {
  .rail-brand {
    justify-content: center;
    font-size: 1rem;
    padding: 0.25rem;
  }

  .rail-brand .full,
  .rail-brand .short {
    display: none;
  }

  .rail-mark {
    display: block;
    width: 32px;
    height: 32px;
  }

  .rail-nav span.label,
  .rail-footer {
    display: none;
  }

  .rail-nav a {
    justify-content: center;
    padding: 0.55rem;
  }

  .rail-nav .hash {
    color: #c5ccd8;
    font-size: 0.95rem;
  }
}

.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.rail-nav a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  color: #c5ccd8;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}

.rail-nav a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.rail-nav a[aria-current="page"] {
  background: rgba(94, 242, 168, 0.14);
  color: var(--mint);
  font-weight: 600;
}

.rail-nav .hash {
  color: #8f98ab;
  font-weight: 600;
}

.rail-nav a:hover .hash {
  color: #a8b0c0;
}

.rail-nav a[aria-current="page"] .hash {
  color: var(--mint-dim);
}

.rail-nav .label {
  color: inherit;
}

.rail-footer {
  font-size: 0.68rem;
  line-height: 1.4;
  color: #7a8499;
  padding: 0 0.45rem;
}

.workspace {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(94, 242, 168, 0.07), transparent 55%),
    radial-gradient(700px 420px at 10% 90%, rgba(88, 101, 242, 0.05), transparent 50%),
    var(--ink);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 12, 0.55);
  backdrop-filter: blur(12px);
}

.topbar-title {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.topbar-title .hash {
  color: var(--muted);
  font-weight: 600;
}

.topbar-meta {
  color: var(--muted);
  font-size: 0.78rem;
}

.stage {
  flex: 1;
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem);
}

@media (min-width: 900px) {
  .stage {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    max-width: 1100px;
  }
}

.pitch {
  max-width: 34rem;
  animation: rise 700ms var(--ease) both;
}

.pitch .kicker {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint-dim);
}

.pitch h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.pitch h1 span {
  display: block;
  color: var(--muted);
  font-weight: 650;
}

.pitch .lede {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 32ch;
  line-height: 1.55;
}

.pitch-points {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.pitch-points li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  animation: rise 600ms var(--ease) both;
}

.pitch-points li:nth-child(1) { animation-delay: 120ms; }
.pitch-points li:nth-child(2) { animation-delay: 200ms; }
.pitch-points li:nth-child(3) { animation-delay: 280ms; }

.pitch-points strong {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  font-weight: 700;
}

.pitch-points span {
  color: var(--muted);
}

.auth-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 30px 80px rgba(0, 0, 0, 0.45);
  animation: rise 700ms var(--ease) 80ms both;
  overflow: hidden;
}

.auth-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  opacity: 0.65;
}

.auth-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.auth-panel .login-lead {
  margin: 0.35rem 0 1.15rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  cursor: pointer;
}

.check:last-of-type {
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.85rem;
}

.check input {
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--mint);
  flex-shrink: 0;
}

.check:has(input:checked) {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font: inherit;
  font-weight: 650;
  font-size: 0.92rem;
  cursor: pointer;
  width: 100%;
  transition: transform 160ms var(--ease), filter 160ms var(--ease), opacity 160ms;
}

.btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-connect {
  background: var(--connect);
  color: #fff;
}

.btn-connect:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35);
}

.btn-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  width: auto;
  padding: 0.5rem 0.85rem;
}

.btn-ghost:hover {
  color: var(--text);
}

.login-error {
  margin: 0.7rem 0 0;
  color: var(--danger);
  font-size: 0.84rem;
}

.login-authed {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.25rem 0 0.5rem;
}

.login-hello {
  margin: 0;
  font-weight: 600;
}

.login-hello + .support {
  margin: 0.2rem 0 0;
  font-size: 0.86rem;
}

.account-avatar {
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
}

.site-footer {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: baseline;
}

.site-footer p {
  margin: 0;
}

.footer-degen {
  width: 100%;
  margin-bottom: 0.15rem !important;
}

.footer-degen a {
  color: var(--mint-dim);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.footer-degen a:hover {
  color: var(--mint);
  text-decoration: underline;
}

.page-wrap {
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.25rem 0 3rem;
  animation: rise 600ms var(--ease) both;
}

.legal h1,
.account-main h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.legal .meta,
.account-status {
  color: var(--muted);
  margin: 0 0 1.75rem;
  font-size: 0.9rem;
}

.legal h2 {
  margin: 1.75rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.legal p,
.legal ul {
  color: var(--muted);
}

.account-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 1.15rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 1.35rem;
}

.account-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.account-meta {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.account-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

.account-next {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.55rem;
}

.account-next li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.account-next strong {
  color: var(--text);
  font-weight: 650;
}

.account-next-num {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--mint);
  color: var(--ink);
}

.guide-cta-account {
  grid-column: 1 / -1;
  margin-top: 0.85rem;
  width: 100%;
}

.register-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.register-status.is-success {
  color: #5ef2a8;
  border-color: rgba(94, 242, 168, 0.35);
  background: rgba(94, 242, 168, 0.08);
}

.register-status.is-error {
  color: #ff8f8f;
  border-color: rgba(255, 143, 143, 0.35);
  background: rgba(255, 143, 143, 0.08);
}

.register-status.is-skipped {
  color: var(--muted);
}

@media (max-width: 560px) {
  .account-card {
    grid-template-columns: auto 1fr;
  }

  .account-card .btn-ghost {
    grid-column: 1 / -1;
  }

  .pitch-points li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.site-header {
  display: none;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--mint);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Docs prose */
.docs-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  padding: 0.65rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 12, 0.35);
}

.docs-toc a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
}

.docs-toc a:hover {
  color: var(--text);
}

.docs-toc a[aria-current="page"] {
  color: var(--mint);
  font-weight: 600;
}

.docs-main {
  max-width: 40rem;
}

.docs-main h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.docs-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint-dim);
}

.docs-lede {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.docs-main h2 {
  margin: 1.85rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.docs-main p,
.docs-main li {
  color: var(--muted);
}

.docs-main ul {
  padding-left: 1.15rem;
}

.docs-main code {
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.docs-cards {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 2rem;
}

@media (min-width: 640px) {
  .docs-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.docs-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms var(--ease), transform 160ms var(--ease);
}

.docs-card:hover {
  border-color: rgba(94, 242, 168, 0.35);
  color: inherit;
  transform: translateY(-1px);
}

.docs-card strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
}

.docs-card span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.docs-steps {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 0.85rem;
}

.docs-steps li {
  counter-increment: step;
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0 0.85rem 2.75rem;
  border-top: 1px solid var(--line);
  position: relative;
}

.docs-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--mint);
}

.docs-steps strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.docs-steps span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.88rem;
}

.docs-table th,
.docs-table td {
  text-align: left;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: top;
}

.docs-table th {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.docs-table td:nth-child(2) {
  white-space: nowrap;
  color: var(--mint);
  font-weight: 600;
}

.docs-faq section {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.docs-faq h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.docs-faq p {
  margin: 0;
}

.docs-next {
  margin: 2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.docs-next .btn {
  width: auto;
  margin-top: 0;
  padding-inline: 1.15rem;
}

/* Guided tour */
.guide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.35rem;
  min-width: min(100%, 18rem);
  padding: 1rem 1.4rem;
  border-radius: 8px;
  background: var(--mint);
  color: var(--ink) !important;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none !important;
  box-shadow: 0 8px 28px rgba(94, 242, 168, 0.25);
  transition: transform 160ms var(--ease), filter 160ms var(--ease);
}

.guide-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  color: var(--ink) !important;
}

.guide-cta-sub {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.guide-cta-sub a {
  color: var(--mint-dim);
}

.tour-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(94, 242, 168, 0.04);
}

@media (max-width: 560px) {
  .tour-bar {
    grid-template-columns: 1fr;
  }
}

.tour-step {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}

.tour-step:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.tour-step[aria-current="page"] {
  color: var(--text);
  border-color: rgba(94, 242, 168, 0.4);
  background: rgba(94, 242, 168, 0.1);
  font-weight: 650;
}

.tour-num {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.tour-step[aria-current="page"] .tour-num {
  background: var(--mint);
  color: var(--ink);
}

.docs-blocks {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
}

.docs-block {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.docs-block strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text);
}

.docs-block p,
.docs-block span {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.docs-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 1.25rem;
}

.docs-pill {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--panel-2, var(--surface-2));
}

.docs-pill em {
  font-style: normal;
  color: var(--mint);
  font-weight: 650;
}

.login-guide {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  border: 1px dashed rgba(94, 242, 168, 0.45);
  background: rgba(94, 242, 168, 0.08);
  font-size: 0.86rem;
  color: var(--text);
}

.login-security {
  margin: 0.85rem 0 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.cf-turnstile {
  margin: 0 0 0.85rem;
}

.login-guide a {
  font-weight: 650;
}

/* Hub home */
.hub-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hub-lede {
  color: var(--muted);
  margin: 0 0 1.75rem;
  font-size: 0.9rem;
}

.hub-tour-tip {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px dashed rgba(94, 242, 168, 0.45);
  background: rgba(94, 242, 168, 0.08);
}

.hub-tour-copy {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--text);
}

.hub-tour-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hub-tour-start {
  width: auto;
  padding-inline: 1rem;
}

.hub-tour-actions .btn-ghost {
  width: auto;
}

.hub-checklist-step.is-done {
  border-color: rgba(94, 242, 168, 0.35);
  background: rgba(94, 242, 168, 0.06);
}

.hub-checklist-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.hub-checklist-head strong {
  margin: 0;
}

.hub-checklist-mark {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.hub-checklist-step.is-done .hub-checklist-mark {
  background: var(--mint);
  color: var(--ink);
}

.hub-checklist-copy {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hub-checklist-copy code {
  color: var(--mint);
  font-size: 0.86rem;
}

.hub-checklist-btn {
  margin-top: 0.75rem;
  width: auto;
  display: inline-flex;
}

.hub-preview {
  margin-top: 1.5rem;
}

.hub-stat,
.hub-stat-value {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}

.hub-stats {
  margin-bottom: 1.25rem;
}

.hub-stat-card .hub-stat-value {
  font-size: clamp(1.5rem, 4vw, 1.85rem);
}

.hub-actions {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.hub-action-secondary {
  justify-self: start;
}

.hub-discord-note p {
  margin: 0.25rem 0 0;
}

.hub-error {
  color: var(--danger);
}

/* Hub secondary pages */
.hub-list {
  display: grid;
  gap: 0.65rem;
}

.hub-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hub-amount {
  color: var(--mint) !important;
  font-family: var(--font-display);
  font-size: 1rem !important;
  font-weight: 700;
  white-space: nowrap;
}

.hub-amount.is-withdrawal {
  color: #c5ccd8 !important;
}

.hub-empty {
  text-align: center;
  padding: 1.3rem;
}

.hub-form-card {
  margin-bottom: 1.25rem;
}

.hub-section-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.hub-form-card > p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.hub-form-card form {
  display: grid;
  gap: 0.6rem;
}

.hub-form-card label {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
}

.hub-form-card input {
  width: 100%;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: none;
  background: var(--ink);
  color: var(--text);
  font: inherit;
}

.hub-form-card input:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(94, 242, 168, 0.12);
}

.hub-form-status {
  min-height: 1.3rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.hub-form-status.is-success {
  color: var(--mint);
}

.hub-form-status.is-error {
  color: var(--danger);
}

.hub-legal-links {
  margin: 1rem 0 0 !important;
}

.hub-profile-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.75rem;
}

.hub-profile-head strong {
  margin-bottom: 0.1rem;
}

.hub-profile-avatar {
  width: 3.25rem;
  height: 3.25rem;
}

.hub-badge {
  margin-left: auto;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
  white-space: nowrap;
}

.hub-badge.is-linked {
  border-color: rgba(94, 242, 168, 0.35);
  color: var(--mint);
  background: rgba(94, 242, 168, 0.08);
}
