:root {
    --pulse:       #2d8a5e;
    --pulse-dim:   #1f6844;
    --pulse-dark:  #091c10;
    --pulse-glow:  rgba(45,138,94,0.16);
    --pulse-soft:  rgba(45,138,94,0.06);
    --bg:          #000000;
    --bg-2:        #080808;
    --bg-3:        #0e0e0e;
    --bg-4:        #141414;
    --border:      #1e1e1e;
    --border-hi:   #2a2a2a;
    --text:        #f0e0c8;
    --text-muted:  #9a9080;
    --text-dim:    #5a5048;
    --gold:        #c9a84c;
    --gold-light:  #e8c97a;
    --gold-dim:    #8a6a28;
    --danger:      #e03030;
    --mono: 'JetBrains Mono', monospace;
    --sans: 'DM Sans', sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg); color: var(--text);
    font-family: var(--sans); overflow-x: hidden; line-height: 1.6;
    /* Extra offset for Pulse sub-nav (48px) stacked below main nav (64px) */
    padding-top: 112px !important;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 40px; height: 64px;
    background: rgba(0,0,0,0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
  }
  .nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .nav-logo img { width: 38px; height: 38px; border-radius: 50%; }
  .nav-logo-brand { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--gold); letter-spacing: 0.02em; line-height: 1; }
  .nav-logo-sub { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 0.15em; text-transform: uppercase; line-height: 1; margin-top: 2px; }
  .nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
  .nav-links a {
    font-family: var(--mono); font-size: 13px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-muted); text-decoration: none; transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--pulse); }
  .nav-cta {
    font-family: var(--mono); font-size: 13px; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: #000 !important; background: var(--pulse);
    padding: 9px 20px; border-radius: 4px; transition: background 0.2s !important;
  }
  .nav-cta:hover { background: #27b978 !important; }
  .nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--pulse); margin: 4px 0; }
  .mobile-menu {
    display: none; position: fixed; top: 64px; left: 0; right: 0;
    background: #050505; border-bottom: 1px solid var(--border);
    padding: 20px 24px; z-index: 999; flex-direction: column; gap: 20px;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    font-family: var(--mono); font-size: 15px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-muted); text-decoration: none;
  }

  /* ── HERO ── */
  .hero {
    min-height: 60vh; padding: 72px 40px 80px;
    display: flex; flex-direction: column;
    align-items: flex-start; justify-content: center;
    max-width: 1100px; margin: 0 auto;
  }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 12px;
    border: 2px solid var(--pulse); border-radius: 6px;
    padding: 8px 22px; margin-bottom: 28px;
    font-family: var(--mono); font-size: 20px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--pulse);
    background: var(--pulse-soft);
  }
  .hero-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--pulse); box-shadow: 0 0 8px var(--pulse);
    animation: blink 2s ease-in-out infinite;
  }
  @keyframes blink {
    0%,100% { opacity:1; box-shadow: 0 0 8px var(--pulse); }
    50%      { opacity:0.4; box-shadow: 0 0 20px var(--pulse); }
  }
  .hero h1 {
    font-family: var(--sans); font-size: clamp(36px, 5vw, 64px);
    font-weight: 700; line-height: 1.1; margin-bottom: 20px;
    color: var(--text); letter-spacing: -0.02em;
  }
  .hero h1 span { color: var(--gold); }
  .hero-sub {
    font-size: clamp(16px, 2vw, 20px); color: var(--text-muted);
    line-height: 1.7; max-width: 640px; margin-bottom: 36px;
  }
  .flow-heading {
    font-family: var(--mono); font-size: 14px; font-weight: 700;
    letter-spacing: 0.10em; text-transform: uppercase;
    color: var(--gold); margin-top: 32px; margin-bottom: 16px;
  }
  .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 0; }
  .join-flow {
    display: flex; align-items: center; flex-wrap: nowrap;
    gap: 6px; margin-top: 16px; margin-bottom: 8px; overflow-x: auto;
  }
  .flow-step {
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-hi);
    border-radius: 8px; padding: 10px 14px;
    text-align: center; white-space: nowrap; flex-shrink: 0;
    text-decoration: none;
  }
  .flow-step-link {
    cursor: pointer; transition: border-color 0.2s, background 0.2s;
  }
  .flow-step-link:hover { border-color: #246b4a; background: rgba(36,107,74,0.08); }
  .flow-step-highlight {
    border-color: #246b4a; background: rgba(36,107,74,0.08);
  }
  .flow-icon { font-size: 18px; margin-bottom: 4px; }
  .flow-title {
    font-family: var(--mono); font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em; color: #e8dcc8;
  }
  .flow-desc {
    font-family: var(--mono); font-size: 10px; color: #7a8a9a;
    margin-top: 3px; white-space: nowrap;
  }
  .flow-arrow {
    font-size: 16px; color: #246b4a; font-weight: 700;
    padding: 0 2px; flex-shrink: 0;
  }
  @media (max-width: 700px) {
    .join-flow { flex-wrap: wrap; }
    .flow-step { white-space: normal; }
    .flow-desc { white-space: normal; }
  }
  .hero-launch {
    font-family: var(--mono); font-size: 14px; color: #7a8a9a;
    margin-top: 16px; letter-spacing: 0.05em;
  }
  .hero-launch span { color: var(--gold); }

  /* ── SECTION COMMON ── */
  .section { padding: 80px 40px; max-width: 1100px; margin: 0 auto; }
  .section-label {
    font-family: var(--mono); font-size: 13px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--pulse); margin-bottom: 16px;
  }
  .section-title {
    font-family: var(--sans); font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700; color: var(--gold); line-height: 1.2; margin-bottom: 12px;
  }
  .section-sub {
    font-size: 17px; color: var(--text-muted); line-height: 1.7;
    max-width: 620px; margin-bottom: 48px;
  }
  .band { background: var(--bg-2); }

  /* ── FEATURES ── */
  .features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
    background: var(--border); border: 1px solid var(--border); border-radius: 8px;
    overflow: hidden;
  }
  .feature-cell {
    background: var(--bg-3); padding: 28px 24px;
    display: flex; flex-direction: column; gap: 12px;
    transition: background 0.2s;
  }
  .feature-cell:hover { background: var(--bg-4); }
  .feature-icon { font-size: 22px; }
  .feature-title {
    font-family: var(--sans); font-size: 18px; font-weight: 700;
    color: var(--text); line-height: 1.3;
  }
  .feature-desc {
    font-size: 16px; color: var(--text-muted); line-height: 1.7;
  }

  /* ── PRICING ── */
  .pricing-wrap {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    max-width: 700px;
  }
  .price-card {
    background: var(--bg-3); border: 1px solid var(--border-hi);
    border-radius: 8px; padding: 32px 28px;
    display: flex; flex-direction: column; gap: 16px;
    position: relative; overflow: hidden;
  }
  .price-card.featured { border-color: rgba(201,168,76,0.35); }
  .price-card.featured::before {
    content: 'BEST VALUE';
    position: absolute; top: 14px; right: 14px;
    font-family: var(--mono); font-size: 11px; font-weight: 700;
    letter-spacing: 0.1em; color: var(--gold);
    background: rgba(201,168,76,0.08); border-radius: 3px; padding: 3px 8px;
  }
  .price-period {
    font-family: var(--mono); font-size: 14px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; color: #8a9aaa;
  }
  .price-amount {
    font-family: var(--sans); font-size: 42px; font-weight: 700;
    color: var(--gold); line-height: 1;
  }
  .price-amount sup { font-size: 20px; vertical-align: super; }
  .price-amount sub { font-size: 16px; color: var(--text-dim); }
  .price-note { font-family: var(--mono); font-size: 13px; color: #7a8a9a; }
  .btn-join {
    font-family: var(--mono); font-size: 14px; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: #e8dcc8; background: #246b4a;
    padding: 14px 28px; border-radius: 4px;
    text-decoration: none; text-align: center;
    transition: background 0.2s; display: block; margin-top: 8px;
  }
  .btn-join:hover { background: #1d5a3d; }
  .btn-join-secondary {
    background: transparent; color: #7a8a9a;
    border: 1px solid var(--border-hi);
  }
  .btn-join-secondary:hover { background: rgba(255,255,255,0.04); color: #e8dcc8; }
  .join-steps { margin-top: 12px; }
  .join-step-label {
    font-family: var(--mono); font-size: 11px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: #246b4a; margin-bottom: 6px; margin-top: 4px;
  }
  .join-step-2 { color: #4a5a6a; margin-top: 10px; }
  .pricing-note {
    margin-top: 24px; font-family: var(--mono); font-size: 14px;
    color: #7a8a9a; line-height: 1.7;
    border-left: 2px solid var(--border-hi); padding-left: 16px;
  }

  /* ── TRANSPARENT TRACK RECORD ── */
  .track-intro-bullets {
    list-style: none; padding: 0; margin: 0 0 40px 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px;
  }
  .track-intro-bullets li {
    font-size: 15px; color: var(--text-muted); line-height: 1.7;
    padding-left: 20px; position: relative;
  }
  .track-intro-bullets li::before {
    content: '—'; position: absolute; left: 0; color: var(--pulse); font-weight: 700;
  }
  @media (max-width: 700px) {
    .track-intro-bullets { grid-template-columns: 1fr; }
  }

  /* ── REPORT TABLE ── */
  .report-controls {
    display: flex; align-items: flex-start; justify-content: space-between;
    flex-wrap: wrap; gap: 16px; margin-bottom: 20px;
  }
  .date-filters {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
  }
  .date-group { display: flex; flex-direction: column; gap: 5px; }
  .date-label {
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim);
  }
  .date-input {
    font-family: var(--mono); font-size: 13px; font-weight: 600;
    color: var(--text); background: var(--bg-4);
    border: 1px solid var(--border-hi); border-radius: 4px;
    padding: 8px 12px; outline: none;
    transition: border-color 0.2s;
    color-scheme: dark;
  }
  .date-input:focus { border-color: var(--pulse); }
  .btn-fetch {
    font-family: var(--mono); font-size: 13px; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: #e8dcc8; background: #246b4a;
    border: none; border-radius: 4px;
    padding: 9px 20px; cursor: pointer; transition: background 0.2s;
    white-space: nowrap;
  }
  .btn-fetch:hover { background: #1d5a3d; }
  .btn-fetch:disabled { background: var(--pulse-dark); color: #1a5a3a; cursor: not-allowed; }
  .btn-retry-failed {
    font-family: var(--mono); font-size: 12px; font-weight: 700;
    color: #4a9eff; background: transparent;
    border: 1px solid #1a3a5a; border-radius: 4px;
    padding: 9px 16px; cursor: pointer; display: none;
    transition: all 0.2s;
  }
  .btn-retry-failed:hover { background: #0f2540; }
  .report-status {
    font-family: var(--mono); font-size: 14px; color: var(--text-muted);
    display: flex; align-items: center; gap: 8px;
  }
  .status-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--text-dim);
  }
  .status-dot.loading { background: var(--gold); animation: blink 1s infinite; }
  .status-dot.done    { background: var(--pulse); }
  .status-dot.error   { background: var(--danger); }

  .btn-refresh {
    font-family: var(--mono); font-size: 12px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-muted); background: var(--bg-3);
    border: 1px solid var(--border-hi); border-radius: 4px;
    padding: 8px 16px; cursor: pointer; transition: all 0.2s;
  }
  .btn-refresh:hover { color: var(--pulse); border-color: var(--pulse-dim); }

  /* Summary stats */
  .report-summary {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
    margin-bottom: 28px;
  }
  .summary-card {
    background: var(--bg-3); border: 1px solid var(--border);
    border-radius: 6px; padding: 16px 18px;
    display: flex; flex-direction: column; gap: 4px;
  }
  .summary-label {
    font-family: var(--mono); font-size: 13px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase; color: #8a9aaa;
  }
  .summary-value {
    font-family: var(--mono); font-size: 22px; font-weight: 700;
    color: var(--gold); line-height: 1;
  }
  .summary-value.negative { color: var(--danger); }
  .summary-sub { font-family: var(--mono); font-size: 12px; color: #6a7a8a; }

  /* Table */
  .table-wrap {
    overflow-x: auto; overflow-y: auto; max-height: 60vh;
    border: 1px solid var(--border); border-radius: 8px;
  }
  table {
    width: 100%; border-collapse: collapse;
    font-family: var(--mono); font-size: 13px;
  }
  thead tr { background: var(--bg-4); border-bottom: 1px solid var(--border-hi); }
  th {
    padding: 12px 16px; text-align: left;
    font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: #8a9aaa;
    white-space: nowrap;
    position: sticky; top: 0; z-index: 1; background: var(--bg-4);
  }
  td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text-muted); }
  tbody tr:last-child td { border-bottom: none; }
  tbody tr:hover { background: var(--bg-3); }
  .td-ticker { font-weight: 700; color: var(--text); }
  .td-name   { font-size: 13px; color: #6a7a8a; }
  .td-gain.positive { color: #27b978; font-weight: 700; }
  .td-gain.negative { color: #ff5555; font-weight: 700; }
  .td-gain.loading  { color: var(--text-dim); }
  .td-peak  { color: var(--text-muted); }
  .td-status {
    font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--pulse);
  }

  .scroll-hint {
    font-family: var(--mono); font-size: 12px; font-weight: 600;
    letter-spacing: 0.06em; color: var(--text-muted);
    text-align: center; padding: 10px 0 4px;
  }

  /* placeholder rows */
  .skeleton td { color: var(--border-hi) !important; }

  /* report note */
  .report-note {
    margin-top: 20px; font-family: var(--mono); font-size: 13px;
    color: #6a7a8a; line-height: 1.7;
    border-left: 2px solid var(--border-hi); padding-left: 14px;
  }

  /* ── COMMUNITY ── */
  .community-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px;
  }
  .community-group {
    display: flex; flex-direction: column; gap: 12px;
  }
  .community-group-label {
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold-dim); margin-bottom: 4px; padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
  }
  .community-channel {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: 6px; padding: 14px 16px;
    transition: border-color 0.2s;
  }
  .community-channel:hover { border-color: rgba(45,138,94,0.3); }
  .channel-header {
    display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
  }
  .channel-hash {
    font-family: var(--mono); font-size: 15px; font-weight: 700;
    color: var(--text-dim);
  }
  .channel-name {
    font-family: var(--mono); font-size: 13px; font-weight: 600;
    color: var(--text); letter-spacing: 0.03em;
  }
  .channel-badge {
    font-family: var(--mono); font-size: 9px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    border-radius: 3px; padding: 2px 7px; margin-left: auto;
  }
  .channel-badge.subscriber {
    color: #2d8a5e; background: rgba(36,107,74,0.10);
    border: 1px solid rgba(36,107,74,0.25);
  }
  .channel-badge.public {
    color: #c9a84c; background: rgba(201,168,76,0.08);
    border: 1px solid rgba(201,168,76,0.2);
  }
  .channel-desc {
    font-size: 13px; color: var(--text-muted); line-height: 1.6;
  }
  .community-note {
    font-family: var(--mono); font-size: 11px; color: var(--text-dim);
    line-height: 1.65; border-top: 1px solid var(--border);
    padding-top: 20px; margin-top: 8px; margin-bottom: 28px;
  }
  .community-cta { text-align: center; margin-top: 8px; }

  /* ── PREVIEW ── */
  .preview-disclaimer {
    font-family: var(--mono); font-size: 12px; font-weight: 600;
    color: var(--text); line-height: 1.65;
    background: rgba(45,138,94,0.06); border: 1px solid rgba(45,138,94,0.25);
    border-left: 3px solid var(--pulse); border-radius: 4px;
    padding: 14px 18px; margin-bottom: 32px;
  }

  .preview-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
    margin-bottom: 32px;
  }
  .preview-card {
    background: var(--bg-2); border: 1px solid var(--border);
    border-radius: 8px; overflow: hidden;
    display: flex; flex-direction: column;
  }
  .preview-tag {
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--pulse); padding: 12px 16px 0;
  }
  .preview-img-wrap {
    position: relative; width: 100%; aspect-ratio: 16/10;
    background: #0a1a12; overflow: hidden;
  }
  .preview-img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; transition: opacity 0.3s;
  }
  .preview-img-placeholder {
    display: none; position: absolute; inset: 0;
    align-items: center; justify-content: center;
    font-family: var(--mono); font-size: 12px; color: var(--text-dim);
    background: #0a1a12;
  }
  .preview-img-wrap.img-missing .preview-img { display: none; }
  .preview-img-wrap.img-missing .preview-img-placeholder { display: flex; }
  .preview-caption {
    font-size: 13px; color: var(--text-muted); line-height: 1.6;
    padding: 12px 16px 16px; flex: 1;
  }
  .preview-note {
    font-family: var(--mono); font-size: 11px; color: var(--text-dim);
    line-height: 1.65; border-top: 1px solid var(--border);
    padding-top: 20px; margin-top: 8px;
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    nav { padding: 0 20px; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .hero { padding: 100px 24px 60px; }
    .section { padding: 60px 24px; }
    .features-grid { grid-template-columns: 1fr; }
    .community-grid { grid-template-columns: 1fr; }
    .preview-grid { grid-template-columns: 1fr; }
    .pricing-wrap { grid-template-columns: 1fr; max-width: 400px; }
    .report-summary { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 480px) {
    .report-summary { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr; }
  }