  :root {
      --black: #000000;
      --gold: #F59E0B;
      --gold-dim: #D97706;
      --white: #F5F3EF;
      --gray: #141414;
      --gray-light: #1e1e1e;
      --green: #3ecf6e;
      --red: #e05a5a;
      --muted: #D6D6D6;
      --secondary-font-size: clamp(0.6rem, 0.3rem + 1vw, 0.8rem);
  }

  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }

  body {
      background: var(--black);
      color: var(--white);
      font-family: 'Space Grotesk', sans-serif;
      min-height: 100vh;
      overflow-x: hidden;
      overflow-y: auto;
      display: flex;
      flex-direction: column;

      scrollbar-gutter: stable;
  }

  body.no-scroll {
      overflow: hidden;
      height: 100vh;
      position: fixed;
      width: 100%;
  }

  /* NOISE OVERLAY */
  body::before {
      content: '';
      position: fixed;
      inset: 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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 1000;
      opacity: 0.4;
  }

  .desc {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 13px;
      color: #888;
      margin-top: 6px;
      line-height: 1.5;
  }

  .faq-desc {
      font-size: 15px;
      line-height: 1.7;
  }

  .space-grotesk {
      font-family: 'Space Grotesk', sans-serif !important;
  }

  /* NAV */
  @media (max-width: 768px) {
      nav {
          padding: 12px 20px !important;

      }


  }



  nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 40px;
      border-bottom: 1px solid #1a1a1a;
      background: rgba(0, 0, 0, 0.95);
      backdrop-filter: blur(10px);
      position: sticky;
      top: 0;
      z-index: 100;
  }



  .logo {
      font-family: 'Space Mono', monospace;
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: 10px;
  }

  .logo-icon,
  .logo-black-icon {
      width: 32px;
      height: auto;
  }

  /* social media */
  .sm-logo {
      width: 22px;
      height: auto;
      transition: 300ms;
      filter: brightness(2.3);
  }

  .sm-logo:hover {
      filter: brightness(3.5);
      transition: 300ms;
  }

  .logo-container {
      display: flex;
      gap: .5rem;
  }

  .logo svg {
      flex-shrink: 0;
  }

  .logo span {
      color: var(--gold);
  }

  .generate-trader-card {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--gold);
      color: #000;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 4px 12px;
      border: none;
      cursor: pointer;
      transition: all 0.15s;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
  }

  .nav-badge {
      font-family: 'Space Mono', monospace;
      font-size: var(--secondary-font-size);
      color: var(--muted);
      letter-spacing: 0.08em;
      align-self: center !important;
  }

  .nav-badge strong {
      color: var(--gold);
      font-weight: 700;
  }

  /* MAIN LAYOUT */
  main {
      display: flex;
      flex-direction: column;
      max-width: 1400px;
      width: 100%;
      margin: 0 auto;
      flex: 1;
  }

  /* * {
      outline: 1px dotted red;
  } */

  /* TOP ROW: hero + phone side by side */
  /* @media(max-width: 370px){
     .logo {
      font-size: 10px;
      font-weight: 600;
      gap: 6px;
  }

  .logo-icon, .logo-black-icon{
    width: 26px;
  }
  } */

  .card-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(24px, 2.2vw, 32px);
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -0.02em;
      color: var(--white);
      text-align: left;
      padding: 16px 20px;
      margin-bottom: 0;
  }

  @media (max-width: 1024px) {
      .top-row {
          display: flex;
          flex-direction: column;
          align-items: center;
          gap: 0;
          border-bottom: 1px solid #1a1a1a;
      }

      .left {
          padding: 2rem 0 0 !important;
      }

      .right {
          border-left: none !important
      }
  }

  @media (max-width: 768px) {
      #email-submit-btn {
          min-width: 60px !important;
      }

      /* .signup-card {
        margin-bottom: 48px;

    } */

      .lb-list {
          grid-template-columns: repeat(2, 1fr) !important;
      }

      .lb-row {
          padding: 6px 10px !important;
      }

      .cta-btn {
          padding: 12px 10px !important;
          font-weight: 600 !important;
      }

      .email-input {
          padding: 12px 10px !important;

      }



      .card-form {
          padding: 8px 0 !important;
      }

      main {
          padding: 0 10px;

      }

      .logo-icon,
      .logo-black-icon {
          width: 24px;
          height: auto;
      }

      .sm-logo {
          width: 20px;
      }

      .top-row {
          display: flex;
          flex-direction: column;
          align-items: center;
          gap: 0;
          border-bottom: 1px solid #1a1a1a;
      }

      .left {
          padding: 2rem 0 !important;
          border-right: none !important;
      }

      .right {
          position: relative;
          border-left: none !important
      }

      nav {
          padding: 24px 12px !important;

      }

      .hide-on-mobile {
          display: none;
      }

      .generate-trader-card {
          font-size: 10px;
          font-weight: 600;
          padding: 4px 8px;
          position: static !important;

          justify-self: end;
          transform: none;
      }

      footer p {
          gap: 0;
          justify-content: space-around !important;
      }

      .signup-card {
          margin: 0 !important;
          width: 100%;
      }

      .subtitle {
          margin-bottom: 2.5rem !important;
      }

  }

  @media (max-width: 370px) {
      .card-title {
          font-size: 20px;
      }

      .lb-email {
          font-size: 10px !important;
      }
  }



  /* @media (max-width: 1000px) {
    .lb-list {
          grid-template-columns: repeat(3, 1fr) !important;
      }
  } */



  /* @media (max-width: 425px) {
    .lb-list {
          grid-template-columns: repeat(1, 1fr) !important;
      }
  } */
  @media (min-width: 1025px) {
      main {
          padding: 0 40px;

      }

      .top-row {
          display: grid;
          grid-template-columns: 1fr 1fr;
          align-items: center;
          gap: 0;
          border-bottom: 1px solid #1a1a1a;
      }
  }

  .top-row {
      width: 100% !important;
  }

  /* LEFT SIDE */
  .left {
      display: flex;
      flex-direction: column;
      justify-content: center;
      height: 100%;
  }

  #email-submit-loading {
      width: 24px;
      height: auto;
      align-self: center;
  }

  #email-submit-btn {
      display: flex;
      justify-content: center;
  }

  .badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(245, 166, 35, 0.1);
      border: 1px solid rgba(245, 166, 35, 0.3);
      color: var(--gold);
      font-family: 'Space Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      padding: 6px 12px;
      margin-bottom: 24px;
      width: fit-content;
  }

  .badge::before {
      content: '';
      width: 6px;
      height: 6px;
      background: var(--gold);
      border-radius: 50%;
      animation: pulse 2s ease-in-out infinite;
  }

  @keyframes pulse {

      0%,
      100% {
          opacity: 1;
      }

      50% {
          opacity: 0.3;
      }
  }

  h1 {
      font-size: clamp(24px, 3.5vw, 42px);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -0.02em;
      margin-bottom: .5rem;
  }

  h1 em {
      font-style: normal;
      color: var(--gold);
  }

  .subtitle {
      font-size: clamp(0.1rem, 0.5rem + 1vw, 1rem);
      line-height: 1.7;
      color: #888;
      max-width: 480px;
      margin-bottom: 4.5rem;
      font-weight: 400;
  }

  /* SIGNUP CARD */
  .signup-card {
      background: var(--gray);
      border: 1px solid #2a2a2a;
      position: relative;
      overflow: hidden;
      margin-right: 20px;

  }

  .signup-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);

      transform: translateX(-100%);

      animation: slideLine 5s infinite ease-out;
  }

  /* 3. Define the movement */
  @keyframes slideLine {
      0% {
          transform: translateX(-100%);
      }

      100% {
          transform: translateX(100%);
      }
  }

  .card-form {
      padding: 0px 20px 20px;
  }

  /* CHECKLIST OFFER */
  .offer-box {
      padding: 0px 20px 16px;
      position: relative;
  }

  .free-bonus-container {
      display: flex;
      justify-content: flex-start;
  }

  .offer-tag {
      font-family: 'Space Mono', monospace;
      font-size: 10px;
      color: var(--gold);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 8px;
  }

  .offer-tag::before {
      content: '✓';
      background: var(--gold);
      color: var(--black);
      width: 16px;
      height: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 9px;
      font-weight: 700;
      margin-left: 20px;
  }

  .offer-title {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 4px;
  }

  .offer-desc {
      font-size: 13px;
      color: #666;
      font-weight: 400;
  }

  /* EMAIL FORM */
  .form-row {
      display: flex;
      flex: 1;
      gap: 0;
      margin-bottom: 10px;
  }

  .email-input {
      flex: 1;
      background: var(--gray);
      border: 1px solid #2e2e2e;
      border-right: none;
      color: var(--white);
      font-family: 'Space Mono', monospace;
      font-size: 14px;
      padding: 16px 20px;
      outline: none;
      transition: border-color 0.2s;
  }

  .email-input::placeholder {
      color: #444;
  }

  .email-input:focus {
      border-color: var(--gold);
  }

  .cta-btn {
      background: var(--gold);
      color: var(--black);
      border: none;
      font-family: 'Space Grotesk', sans-serif;
      font-size: var(--secondary-font-size);
      font-weight: 800;
      padding: 16px 28px;
      cursor: pointer;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      transition: all 0.15s;
      white-space: nowrap;

      display: flex;
      align-items: center;
  }

  .cta-btn:hover {
      background: #ffc04a;
      transform: translateY(-1px);
      box-shadow: 0 6px 24px rgba(245, 166, 35, 0.3);
  }

  .cta-btn:active {
      transform: translateY(0);
  }

  .form-fine {
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      color: #444;
      letter-spacing: 0.03em;
  }

  .form-fine span {
      color: var(--gold-dim);
  }

  /* RIGHT SIDE */
  .right {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 0;
      border-left: 1px solid #1a1a1a;
      height: 100% !important;
      padding: 20px 0;

  }

  /* phone image */
  .phone-container {
      position: relative;
      width: 100%;
      height: auto;
      max-height: 600px;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      align-items: center;
  }


  .phone-container iframe {
      width: 320px;
      height: 568px;
      border: #383838 3px solid;
      border-radius: 44px;
      position: relative;
      z-index: 10;
  }

  @media (max-width: 420px) {
      .right {
          width: 100% !important;
      }

      .phone-container {
          width: 100% !important;
          margin: 2.5rem auto !important;
          height: auto !important;
          max-height: none !important;
      }

      .phone-container iframe {
          width: 100% !important;
          height: auto !important;
          aspect-ratio: 1/1.7695 !important;
      }
  }

  /* ── LEADERBOARD (full-width below both columns) ── */
  .leaderboard-section {
      border-top: 1px solid #1a1a1a;
      padding: 3rem 0;
  }

  .leaderboard-section-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 24px;
  }

  .leaderboard-section-title {
      font-size: 22px;
      font-weight: 700;
      color: var(--white);
      letter-spacing: -0.01em;
  }

  .leaderboard-section-meta {
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      color: var(--gold);
      display: flex;
      align-items: center;
      gap: 6px;
      margin-top: 6px;
  }

  .leaderboard-section-meta::before {
      content: '★';
  }

  .leaderboard {
      background: var(--gray);
      border: 1px solid #222;
      display: flex;
      flex-wrap: wrap;
      flex-direction: column;
      position: relative;
      overflow: hidden;
  }

  .leaderboard::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      transform: translateX(-100%);
      animation: slideLine 10s infinite ease-in-out;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }

  .lb-header {
      padding: 16px 20px 14px;
      border-bottom: 1px solid #1e1e1e;
      flex-shrink: 0;
  }

  .lb-title {
      font-family: 'Space Mono', monospace;
      font-size: 10px;
      color: var(--muted);
      letter-spacing: 0.2em;
      text-transform: uppercase;
      margin-bottom: 8px;
  }

  .lb-subtitle {
      font-size: 15px;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 4px;
  }

  .lb-beta-note {
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      color: var(--gold);
      display: flex;
      align-items: center;
      gap: 6px;
  }

  .lb-beta-note::before {
      content: '★';
  }

  .lb-cols {
      display: none;
  }

  .lb-list {
      padding: 0;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
  }

  .lb-list::-webkit-scrollbar {
      width: 3px;
  }

  .lb-list::-webkit-scrollbar-track {
      background: transparent;
  }

  .lb-list::-webkit-scrollbar-thumb {
      background: #2e2e2e;
  }

  .lb-row {
      display: flex;
      gap: 10px;
      padding: 12px 20px;
      align-items: center;
      border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
      border-right: 1px solid rgba(255, 255, 255, 0.03);
      transition: background 0.15s;
      animation: fadeRow 0.4s ease forwards;
      opacity: 0;
  }

  /* last column: no right border */
  .lb-row:nth-child(4n) {
      border-right: none;
  }

  /* last row items: no bottom border */
  .lb-row:nth-last-child(-n+4) {
      border-bottom: none;
  }

  .lb-row:hover {
      background: rgba(255, 255, 255, 0.02);
  }

  .lb-row.top-3 {
      background: rgba(245, 166, 35, 0.04);
  }

  .lb-row.highlighted {
      background: rgba(245, 166, 35, 0.08);
      border-left: 2px solid var(--gold);
  }

  .lb-rank {
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      color: var(--muted);
      font-weight: 700;
  }

  .lb-row.top-3 .lb-rank {
      color: var(--gold);
  }

  .lb-rank-icon {
      font-size: 14px;
  }

  .lb-email {
      font-family: 'Space Mono', monospace;
      font-size: 12px;
      color: var(--white);
      letter-spacing: 0.05em;
      flex: 1;
  }

  .lb-refs {
      font-family: 'Space Mono', monospace;
      font-size: 12px;
      font-weight: 700;
      color: var(--green);
      display: flex;
      align-items: center;
      gap: 4px;
  }

  .lb-refs.zero {
      color: var(--muted);
      font-weight: 400;
  }

  .lb-refs::before {
      content: '+';
      font-size: 10px;
  }

  .lb-refs.zero::before {
      display: none;
  }

  .lb-footer {
      padding: 12px 20px;
      border-top: 1px solid #1e1e1e;
      text-align: center;
      flex-shrink: 0;
  }

  .lb-total {
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      color: var(--gold);
      text-transform: uppercase;
  }

  .lb-total strong {
      color: var(--white);
  }

  /* FOOTER */
  footer {
      border-top: 1px solid #141414;
      padding: 20px 40px;
      display: flex;
      flex-direction: column;
      max-width: 1400px;
      width: 100vw;
      gap: 1rem;
      margin: 0 auto;
  }

  footer p {
      font-family: 'Space Mono', monospace;
      font-size: clamp(0.6rem, 0.3rem + 1vw, 0.85rem);
      color: #505050;
      letter-spacing: 0.05em;
      display: flex;
      gap: 1rem;
      justify-content: center;
  }

  footer a {
      color: #505050;
      text-decoration: none;
  }

  footer a:hover {
      color: var(--muted);
  }

  /* ── MODAL ──────────────────────────────────────────────────── */
  .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 999;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
  }

  .modal-overlay.visible {
      opacity: 1;
      pointer-events: all;
  }

  .modal {
      background: #1a1a1a;
      border: 1px solid #2e2e2e;
      width: 100%;
      max-width: 460px;
      margin: 20px;
      position: relative;
      overflow: hidden;
      transform: translateY(32px) scale(0.97);
      transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
      box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 158, 11, 0.1);
  }

  .modal-overlay.visible .modal {
      transform: translateY(0) scale(1);
  }

  .modal-topbar {
      height: 2px;
      background: linear-gradient(90deg, transparent, #F59E0B 40%, #ffd166 50%, #F59E0B 60%, transparent);
      background-size: 200% 100%;
      animation: amberscan 2.5s ease-in-out infinite;
  }

  @keyframes amberscan {
      0% {
          background-position: 100% 0;
          opacity: 0.7;
      }

      50% {
          background-position: 0% 0;
          opacity: 1;
      }

      100% {
          background-position: -100% 0;
          opacity: 0.7;
      }
  }

  /* HERO */
  .modal-hero {
      background: #111;
      padding: 44px 44px 36px;
      text-align: center;
      position: relative;
      overflow: hidden;
      border-bottom: 1px solid #2a2a2a;
  }

  .modal-hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 360px;
      height: 200px;
      background: radial-gradient(ellipse at 50% 55%, rgba(245, 158, 11, 0.12) 0%, transparent 65%);
      pointer-events: none;
  }

  .modal-eyebrow {
      font-family: 'Space Mono', monospace;
      font-size: 9px;
      color: var(--gold);
      letter-spacing: 0.3em;
      text-transform: uppercase;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
  }

  .modal-eyebrow::before,
  .modal-eyebrow::after {
      content: '';
      width: 28px;
      height: 1px;
      background: var(--gold);
      opacity: 0.3;
  }

  .modal-position-wrap {
      display: flex;
      align-items: flex-start;
      justify-content: center;
      gap: 2px;
      margin-bottom: 6px;
      animation: heroIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
  }

  @keyframes heroIn {
      from {
          transform: translateY(14px);
          opacity: 0;
      }

      to {
          transform: translateY(0);
          opacity: 1;
      }
  }

  .modal-hash {
      font-family: 'Space Mono', monospace;
      font-size: 20px;
      color: var(--gold);
      margin-top: 10px;
      margin-right: 1px;
      opacity: 0.7;
  }

  .modal-number {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 80px;
      font-weight: 700;
      line-height: 1;
      letter-spacing: -0.04em;
      color: #F5F3EF;
  }

  .modal-in-line {
      font-family: 'Space Mono', monospace;
      font-size: 10px;
      color: #666;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      margin-bottom: 18px;
  }

  .modal-tagline {
      font-size: 14px;
      color: #888;
      line-height: 1.65;
      max-width: 300px;
      margin: 0 auto;
  }

  .modal-tagline strong {
      color: #ccc;
      font-weight: 600;
  }

  /* BODY */
  .modal-body {
      padding: 28px 32px 32px;
  }

  .modal-section-label {
      font-family: 'Space Mono', monospace;
      font-size: 10px;
      color: var(--white);
      letter-spacing: 0.22em;
      text-transform: uppercase;
      margin-bottom: 10px;
  }

  /* Share buttons */
  .share-row {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 8px;
      margin-bottom: 20px;
  }

  .share-btn {
      padding: 14px 6px 12px;
      border: 1px solid #333;
      background: #222;
      color: #aaa;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: border-color 0.18s, color 0.18s, transform 0.18s, background 0.18s;
      letter-spacing: 0.02em;
  }

  .share-btn:hover {
      border-color: var(--gold);
      color: var(--gold);
      background: rgba(245, 158, 11, 0.06);
      transform: translateY(-2px);
  }

  .share-btn:active {
      transform: translateY(0);
  }

  .btn-icon {
      font-size: 18px;
      line-height: 1;
      display: block;
  }

  .share-btn.btn-x .btn-icon {
      font-family: 'Space Mono', monospace;
      font-size: 15px;
      font-weight: 700;
  }

  /* Copy link row */
  .copy-row {
      display: flex;
      border: 1px solid #333;
      background: #141414;
      transition: border-color 0.2s;
  }

  .copy-row:focus-within {
      border-color: rgba(245, 158, 11, 0.4);
  }

  .copy-link-input {
      flex: 1;
      background: transparent;
      border: none;
      color: #777;
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      padding: 13px 16px;
      outline: none;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
  }

  .copy-btn {
      background: transparent;
      border: none;
      border-left: 1px solid #333;
      color: #666;
      font-family: 'Space Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 13px 18px;
      cursor: pointer;
      transition: color 0.15s, background 0.15s;
      white-space: nowrap;
      flex-shrink: 0;
  }

  .copy-btn:hover {
      color: var(--gold);
      background: rgba(245, 158, 11, 0.05);
  }

  .copy-btn.copied {
      color: #3ecf6e;
  }

  /* Stats row */
  .ref-stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-bottom: 20px;
  }

  .ref-stat:last-child {
      filter: blur(5px) !important;
  }

  .ref-stat {
      background: #141414;
      border: 1px solid #2a2a2a;
      padding: 16px 18px;
      display: flex;
      flex-direction: column;
      gap: 4px;
  }

  .ref-stat-value {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 28px;
      font-weight: 700;
      color: #AAA;
      letter-spacing: -0.02em;
      line-height: 1;
  }

  .ref-stat-value.gold {
      color: var(--gold);
  }

  .ref-stat-label {
      font-family: 'Space Mono', monospace;
      font-size: 9px;
      color: #AAA;
      letter-spacing: 0.15em;
      text-transform: uppercase;
  }

  /* Close button */
  .modal-close {
      position: absolute;
      top: 14px;
      right: 14px;
      background: transparent;
      border: 1px solid #333;
      color: #555;
      font-size: 13px;
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.15s;
      z-index: 10;
  }

  .modal-close:hover {
      color: #F5F3EF;
      border-color: #555;
      background: #2a2a2a;
  }

  /* ── 3-STEP FLOW ── */
  .steps-header {
      display: flex;
      align-items: center;
      padding: 16px 20px 12px;
      gap: 0;
  }

  .step-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 7px;
      flex-shrink: 0;
  }

  .step-bubble {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: #1a1a1a;
      border: 1.5px solid var(--white);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      transition: background 0.3s, border-color 0.3s;
      color: var(--white);
  }

  .step-icon {
      width: 20px;
      height: 20px;
      display: block;
      transition: opacity 0.2s;
  }

  .step-done-check {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      font-weight: 700;
      opacity: 0;
      transition: opacity 0.3s;
  }

  .step-spinner {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 0.2s;
      animation: spinStep 1s linear infinite;
      padding: 8px;
  }

  @keyframes spinStep {
      to {
          transform: rotate(360deg);
      }
  }

  .typing-dots {
      display: inline-flex;
      align-items: center;
      margin-left: 4px;
  }

  .typing-dots span {
      animation: dot-pulse 1.4s infinite;
      animation-fill-mode: both;
      color: var(--gold);
      /* Or your --text-muted */
      font-weight: 700;
      font-family: 'Space Mono', monospace;
  }

  /* Sequential delays for the "typing" effect */
  .typing-dots span:nth-child(2) {
      animation-delay: 0.2s;
  }

  .typing-dots span:nth-child(3) {
      animation-delay: 0.4s;
  }

  @keyframes dot-pulse {
      0% {
          opacity: 0.2;
      }

      20% {
          opacity: 1;
      }

      100% {
          opacity: 0.2;
      }
  }

  /* States */
  .step-item.active .step-bubble {
      background: rgba(245, 11, 11, 0.12);
      border-color: var(--gold);
      color: var(--gold);
      box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.08);
  }

  .step-item.loading .step-bubble {
      background: rgba(245, 158, 11, 0.08);
      border-color: var(--gold);
      color: var(--gold);
  }

  .step-item.loading .step-icon {
      opacity: 0;
  }

  .step-item.loading .step-spinner {
      opacity: 1;
  }

  .step-item.done .step-bubble {
      background: #3ecf6e;
      border-color: #3ecf6e;
      color: #000;
  }

  .step-item.done .step-icon {
      opacity: 0;
  }

  .step-item.done .step-done-check {
      opacity: 1;
      color: #000;
  }

  /* DONE badge above bubble */
  .step-item.done .step-bubble::before {
      position: absolute;
      top: -24px;
      left: 50%;
      transform: translateX(-50%);
      background: #3ecf6e;
      color: #000;
      font-family: 'Space Mono', monospace;
      font-size: 8px;
      font-weight: 700;
      letter-spacing: 0.1em;
      padding: 3px 7px;
      border-radius: 3px;
      white-space: nowrap;
  }

  /* Arrow pointer on DONE badge */

  .step-label {
      font-family: 'Space Mono', monospace;
      font-size: 9px;
      color: var(--white);
      letter-spacing: 0.05em;
      text-align: center;
      transition: color 0.3s;
      white-space: nowrap;
  }

  .step-item.active .step-label,
  .step-item.loading .step-label {
      color: #aaa;
  }

  .step-item.done .step-label {
      color: #3ecf6e;
  }

  .step-connector {
      flex: 1;
      height: 1.5px;
      background: var(--white);
      filter: brightness(0.35);
      margin-bottom: 22px;
      transition: background 0.5s;
  }

  .step-connector.done {
      background: #3ecf6e;
  }

  /* STEP PANELS */
  .step-panel {
      animation: fadeIn 0.35s ease;
  }

  @keyframes fadeIn {
      from {
          opacity: 0;
          transform: translateY(8px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  /* X follow button variant */
  .cta-btn-x {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 100%;
  }

  /* Loader bar */
  .step-loader {
      display: none;
      margin-top: 14px;
  }

  .step-loader.visible {
      display: block;
  }

  .loader-bar {
      height: 2px;
      background: #1e1e1e;
      overflow: hidden;
      margin-bottom: 8px;
      border-radius: 1px;
  }

  .loader-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--gold-dim), var(--gold));
      width: 0%;
      transition: width 7s linear;
  }

  .loader-label {
      font-family: 'Space Mono', monospace;
      font-size: 10px;
      color: #555;
      letter-spacing: 0.08em;
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

  .loader-countdown {
      color: var(--gold);
      font-weight: 700;
  }

  /* THANK-YOU CARD STATE */
  .thanks-box {
      padding: 24px 20px 22px;
      display: flex;
      flex-direction: column;
      gap: 6px;
  }

  .thanks-icon {
      margin-bottom: 8px;
  }

  .thanks-label {
      font-family: 'Space Mono', monospace;
      font-size: 9px;
      color: var(--gold);
      letter-spacing: 0.25em;
      text-transform: uppercase;
      margin-bottom: 2px;
  }

  .thanks-pos {
      font-size: 22px;
      font-weight: 700;
      color: var(--white);
      letter-spacing: -0.02em;
      line-height: 1.2;
  }

  .thanks-pos strong {
      color: var(--gold);
  }

  .thanks-subtext {
      font-size: 13px;
      color: #666;
      margin-bottom: 10px;
  }

  .thanks-link-row {
      display: flex;
  }

  .thanks-link-input {
      flex: 1;
      background: #0a0a0a;
      border: 1px solid #2e2e2e;
      border-right: none;
      color: #888;
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      padding: 12px 14px;
      outline: none;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
  }

  .thanks-copy-btn {
      background: var(--gold);
      border: none;
      color: #000;
      font-family: 'Space Mono', monospace;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 12px 18px;
      cursor: pointer;
      transition: background 0.15s;
      white-space: nowrap;
      flex-shrink: 0;
  }

  .thanks-copy-btn:hover {
      background: #ffc04a;
  }

  .thanks-copy-btn.copied {
      background: #3ecf6e;
      color: #000;
  }

  /* ANIMATIONS */
  .fade-up {
      opacity: 0;
      transform: translateY(24px);
      animation: fadeUp 0.6s ease forwards;
  }

  .fade-up:nth-child(1) {
      animation-delay: 0.1s;
  }

  .fade-up:nth-child(2) {
      animation-delay: 0.2s;
  }

  .fade-up:nth-child(3) {
      animation-delay: 0.3s;
  }

  .fade-up:nth-child(4) {
      animation-delay: 0.4s;
  }

  .fade-up:nth-child(5) {
      animation-delay: 0.5s;
  }

  @keyframes fadeUp {
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  @keyframes fadeRow {
      to {
          opacity: 1;
      }
  }

  /* INPUT ERROR */
  .email-input.error {
      border-color: var(--red);
      animation: shake 0.3s ease;
  }

  .error-text {
      font-size: 12px;
      color: var(--red);
      margin-top: 4px;
  }

  @keyframes shake {

      0%,
      100% {
          transform: translateX(0);
      }

      25% {
          transform: translateX(-6px);
      }

      75% {
          transform: translateX(6px);
      }
  }