:root {
  --bg: #0b0b0c;
  --card: #141416;
  --card-solid: #161618;
  --line: #2a2a2e;
  --text: #ececed;
  --muted: #8c8c93;
  --lime: #c6f04d;
  --ink: #111;
  --max: 1080px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--lime); text-underline-offset: 3px; }
a:hover { color: #d8ff78; }
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--lime);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 1000;
}
.skip:focus { left: 8px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
h1, h2, h3 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin: 0 0 14px; }
h1 em { font-style: normal; font-weight: 600; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 0 0 10px; }
h3 { font-size: 1rem; margin: 0 0 6px; font-weight: 600; }
p { color: var(--muted); }
.lead { font-size: 1.05rem; max-width: 42rem; color: #b4b4bb; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(12px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.brand small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  color: #c7c7cc;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 8px;
}
.nav-links a:hover { color: var(--text); }
.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 6px;
  padding: 7px 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #d4f76a; color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: #555; color: var(--text); }

.hero { padding: 48px 0 36px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.float-card {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: min(100%, 280px);
  padding: 16px;
  border-radius: 12px;
  background: rgba(16, 16, 18, 0.92);
  border: 1px solid var(--line);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.fine { font-size: 13px; margin-top: 12px; }

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #101012;
  width: 100%;
}
.ticker-track {
  display: inline-flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.ticker-group {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}
.ticker-group span {
  flex-shrink: 0;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  border-right: 1px solid var(--line);
}
.ticker-group span b {
  font-weight: 600;
  color: var(--lime);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.panel, .card, .step, .faq details {
  background: var(--card);
  border: 1px solid var(--line);
}
.panel { border-radius: 12px; padding: 18px; }
.code-box {
  margin: 12px 0;
  padding: 12px 12px 12px 14px;
  border-radius: 8px;
  background: #0b0b0c;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.code-box strong {
  font-family: var(--mono);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--lime);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.stat {
  background: #0b0b0c;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}
.stat b { display: block; font-size: 1rem; }
.stat span { color: var(--muted); font-size: 11px; }

.notice {
  border: 1px solid #3d3420;
  background: #1a160e;
  color: #d8c9a3;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  margin: 16px 0 0;
}

section { padding: 56px 0; }
.section-head { margin-bottom: 24px; max-width: 40rem; }

.grid-3, .grid-2, .bento { display: grid; gap: 12px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.bento {
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: auto auto;
}
.card {
  border-radius: 12px;
  padding: 16px;
}
.card p { margin-bottom: 0; }
a.card { color: inherit; text-decoration: none; }
a.card:hover { border-color: #444; }
.media-card { padding: 0; overflow: hidden; }
.media-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.media-card .pad { padding: 14px 16px 16px; }
.bento .media-card:first-child { grid-row: 1 / span 2; }
.bento .media-card:first-child img { height: 100%; min-height: 360px; }

.steps { counter-reset: step; display: grid; gap: 10px; }
.step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  border-radius: 10px;
  padding: 14px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #0b0b0c;
  border: 1px solid var(--line);
  color: var(--text);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
}

.fee-visual {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(11,11,12,.35), rgba(11,11,12,.82)),
    url("/assets/img/visual-cta.png") center/cover;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.fee-visual h2, .fee-visual p, .fee-visual a { color: #ececed; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-solid);
  border-radius: 12px;
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
th { color: var(--muted); font-weight: 500; font-size: 12px; }
td { color: var(--text); }

.faq details {
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 8px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; }

.prose { max-width: 42rem; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { margin-top: 1.5em; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin: 24px 0 8px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); }

.cta-band {
  margin: 8px 0;
  padding: 28px;
  border-radius: 12px;
  min-height: 160px;
  background:
    linear-gradient(120deg, rgba(11,11,12,.7), rgba(11,11,12,.4)),
    url("/assets/img/visual-cta.png") center/cover;
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { margin: 8px 0 0; }

footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.foot-grid a { display: block; color: #c7c7cc; text-decoration: none; margin: 6px 0; }
.foot-grid a:hover { color: var(--text); }
.legal { font-size: 12px; color: #6e6e75; max-width: 90ch; }

.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: none;
  background: var(--lime);
  color: var(--ink);
  border-radius: 8px;
  padding: 12px 16px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
}
.copied { color: #8ee0a8 !important; }

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2, .foot-grid, .cta-band, .stats, .bento { grid-template-columns: 1fr; }
  .bento .media-card:first-child { grid-row: auto; }
  .bento .media-card:first-child img, .hero-visual img { height: 240px; min-height: 0; }
  .cta-band { display: block; }
  .float-card { position: relative; right: auto; bottom: auto; width: auto; margin-top: -40px; }
  .menu-btn { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #101012;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .sticky-cta { display: block; }
  body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}
