:root {
  --ink: #110e08;
  --ink-2: #1c1812;
  --paper: #f6f3ec;
  --neon: #ccff00;
  --up: #00c853;
  --down: #ff4d2e;
  --muted: #8b8476;
  --line: rgba(17, 14, 8, 0.1);
  --line-dark: rgba(246, 243, 236, 0.1);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
button { cursor: pointer; }
.up { color: var(--up); }
.down { color: var(--down); }
.hidden { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 28px;
  background: rgba(17, 14, 8, 0.86);
  backdrop-filter: blur(16px);
}
.site-header.app {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 10px 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 20px;
}
.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.site-header.app .brand-logo {
  width: 36px;
  height: 36px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(246, 243, 236, 0.78);
}
.site-header.app .nav-links { color: #4d473c; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.site-header.app .nav-links a.active,
.site-header.app .nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: inherit; }
.btn-neon { background: var(--neon); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-outline {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(246, 243, 236, 0.22);
}
.btn-wide { width: 100%; padding: 12px 18px; }
.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  width: 40px;
  height: 40px;
}

.search { flex: 1; max-width: 420px; position: relative; }
.search input {
  width: 100%;
  border: 1px solid var(--line);
  background: #f6f3ec;
  border-radius: 999px;
  padding: 10px 14px 10px 38px;
  font-size: 14px;
  outline: none;
}
.search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.eq-chip { margin-left: auto; font-size: 13px; font-weight: 600; }

.hero { padding: 72px 28px 40px; max-width: 1280px; margin: 0 auto; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--neon);
  margin-bottom: 22px;
}
.hero-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(204, 255, 0, 0.14);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7.4vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.hero h1 em { font-style: italic; color: var(--neon); }
.hero-lead {
  margin-top: 28px;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(246, 243, 236, 0.72);
}
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.phone {
  width: min(340px, 100%);
  margin: 0 auto;
  background: #0a0907;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.phone-notch {
  width: 108px;
  height: 22px;
  background: #000;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 8px;
}
.phone-screen {
  background: #11100c;
  border-radius: 26px;
  overflow: hidden;
  min-height: 560px;
  padding: 18px 16px 20px;
}
.phone-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.phone-eq { font-size: 13px; color: var(--muted); margin-top: 22px; }
.phone-val { font-family: var(--serif); font-size: 42px; letter-spacing: -0.03em; margin: 4px 0 2px; }
.phone-chg { font-size: 13px; font-weight: 600; }
.phone-tabs { display: flex; gap: 14px; margin: 18px 0 8px; font-size: 12px; color: var(--muted); }
.phone-tabs b { color: var(--paper); }
.phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  gap: 10px;
}
.phone-row small { display: block; color: var(--muted); font-size: 11px; }
.phone-buy {
  margin-top: 16px;
  background: var(--neon);
  color: var(--ink);
  border: 0;
  width: 100%;
  border-radius: 999px;
  padding: 12px;
  font-weight: 700;
  display: block;
  text-align: center;
}

.band { padding: 88px 28px; }
.band-paper { background: var(--paper); color: var(--ink); }
.band-ink { background: var(--ink); color: var(--paper); }
.wrap { max-width: var(--max); margin: 0 auto; }
.section-kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
}
.band-paper .section-kicker { color: #7a7468; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 16ch;
}
.section-copy {
  margin-top: 18px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(246, 243, 236, 0.7);
}
.band-paper .section-copy { color: #4d473c; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.product-card {
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-card h3 { font-size: 22px; letter-spacing: -0.03em; margin-bottom: 8px; }
.product-card p { color: #5c564b; font-size: 15px; line-height: 1.5; }
.chip {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  background: var(--ink);
  color: var(--neon);
  width: fit-content;
  margin-bottom: 12px;
}

.flywheel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.steps { display: grid; gap: 18px; margin-top: 36px; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
}
.step-n {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--neon);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.step h4 { font-size: 16px; margin-bottom: 4px; }
.step p { color: rgba(246, 243, 236, 0.64); font-size: 14px; line-height: 1.5; }

.hold-card {
  background: #11100c;
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  padding: 22px;
}
.hold-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.hold-head strong { font-family: var(--serif); font-size: 34px; }
.hold-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
  gap: 16px;
}
.hold-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 8px;
}
.hold-bar i {
  display: block;
  height: 100%;
  background: var(--neon);
  border-radius: inherit;
}

.quote-band { padding: 100px 28px; text-align: center; }
.quote-band blockquote {
  font-family: var(--serif);
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.08;
  max-width: 16ch;
  margin: 0 auto;
  font-style: italic;
}
.quote-band cite {
  display: block;
  margin-top: 22px;
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
}

.protect {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.protect article {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
}
.protect h3 { font-size: 18px; margin: 10px 0 8px; letter-spacing: -0.02em; }
.protect p { color: #5c564b; font-size: 14px; line-height: 1.5; }

.site-footer {
  padding: 48px 28px 28px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted);
  font-size: 13px;
}
.foot-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}
.foot-grid h4 { color: var(--paper); margin-bottom: 12px; font-size: 13px; }
.foot-grid a { display: block; padding: 5px 0; color: var(--muted); }
.foot-grid a:hover { color: var(--paper); }
.legal {
  max-width: var(--max);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  line-height: 1.55;
}

.app-shell { min-height: calc(100vh - 57px); background: #fff; color: var(--ink); }
.app-body {
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  min-height: calc(100vh - 57px);
}
.pane { border-right: 1px solid var(--line); }
.pane-r { border-right: 0; border-left: 1px solid var(--line); }
.pane-h {
  padding: 16px 16px 8px;
  font-size: 13px;
  font-weight: 600;
  color: #6b6558;
}
.watch-item, .pos-item {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  background: none;
  border: 0;
  text-align: left;
  color: inherit;
  border-bottom: 1px solid var(--line);
}
.watch-item.active { background: #f6f3ec; }
.watch-item:hover, .pos-item:hover { background: #faf8f3; }
.sym { font-weight: 700; letter-spacing: -0.02em; }
.sub { font-size: 12px; color: var(--muted); }
.pct { font-size: 13px; font-weight: 600; min-width: 62px; text-align: right; }

.chart-wrap { padding: 28px 36px 20px; }
.asset-name { font-size: 13px; color: #6b6558; }
.asset-title { font-size: 32px; letter-spacing: -0.04em; font-weight: 600; }
.asset-price { font-size: 40px; letter-spacing: -0.04em; font-weight: 600; margin-top: 6px; }
.asset-chg { font-size: 14px; font-weight: 600; margin-top: 4px; }
.ranges { display: flex; gap: 6px; margin: 18px 0 8px; }
.ranges button {
  border: 0;
  background: none;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  color: #6b6558;
}
.ranges button.on { background: #f0ece2; color: var(--ink); }
.chart-svg { width: 100%; height: 280px; display: block; }
.about { padding: 8px 36px 36px; max-width: 720px; }
.about h3 { font-size: 18px; margin-bottom: 8px; }
.about p { color: #5c564b; line-height: 1.55; }

.ticket { padding: 20px 18px; }
.sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f6f3ec;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 16px;
}
.sides button {
  border: 0;
  background: transparent;
  padding: 8px;
  border-radius: 9px;
  font-weight: 700;
}
.sides button.on { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; color: #6b6558; margin-bottom: 6px; }
.field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  font-size: 16px;
  outline: none;
}
.est { display: flex; justify-content: space-between; font-size: 13px; color: #6b6558; margin: 10px 0 16px; }
.news { padding: 0 18px 24px; }
.news a { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
.news b { display: block; font-size: 14px; line-height: 1.35; margin: 4px 0; }
.news span { font-size: 12px; color: var(--muted); }

.page { background: #fff; color: var(--ink); min-height: 100vh; }
.page-hero { padding: 48px 28px 12px; max-width: 1180px; margin: 0 auto; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.page-hero p { margin-top: 14px; max-width: 560px; color: #5c564b; font-size: 17px; line-height: 1.5; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 0 28px;
}
.stat { background: #f6f3ec; border-radius: 16px; padding: 18px; }
.stat span { display: block; font-size: 12px; color: #6b6558; margin-bottom: 6px; }
.stat b { font-size: 24px; letter-spacing: -0.03em; }

.table-wrap { max-width: 1180px; margin: 28px auto 64px; padding: 0 28px; overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left;
  font-size: 12px;
  color: #6b6558;
  font-weight: 600;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}
td { padding: 14px 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
.row-link { cursor: pointer; }
.row-link:hover { background: #faf8f3; }
.pill {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.pill-on { background: #e8ffb0; color: #3a4a00; }
.pill-off { background: #efeae0; color: #6b6558; }

.vault-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  max-width: 1180px;
  margin: 28px auto 72px;
  padding: 0 28px;
}
.vault-main, .vault-side {
  background: var(--ink);
  color: var(--paper);
  border-radius: 22px;
  padding: 28px;
}
.vault-side { background: #1a1610; }
.coin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line-dark);
}
.progress {
  height: 8px;
  background: #efeae0;
  border-radius: 99px;
  overflow: hidden;
}
.progress i { display: block; height: 100%; background: var(--ink); }

.auth {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 40px 20px 80px;
}
.auth-card {
  width: min(420px, 100%);
  background: #fff;
  color: var(--ink);
  border-radius: 24px;
  padding: 32px 28px;
}
.auth-card h1 { font-family: var(--serif); font-size: 36px; margin-bottom: 8px; }
.auth-card p { color: #5c564b; margin-bottom: 22px; }
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--neon);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  z-index: 50;
}

.filter-row { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.filter-row input {
  flex: 1;
  min-width: 200px;
  border: 1px solid rgba(17, 14, 8, 0.1);
  border-radius: 12px;
  padding: 10px 12px;
  background: #f6f3ec;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--ink);
    padding: 20px 28px 28px;
    align-items: flex-start;
  }
  .site-header.app .nav-links.open { background: #fff; }
  .menu-btn { display: grid; place-items: center; }
  .hero-grid, .flywheel, .app-body, .product-grid, .protect, .foot-grid, .stats, .vault-grid {
    grid-template-columns: 1fr;
  }
  .app-body { display: block; }
  .pane, .pane-r { border: 0; }
  .chart-wrap, .about { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 40px; }
  .search { display: none; }
}
