
  :root{
    --bg:#051a33; --panel:#0c3157; --panel2:#082541; --line:#1b4a74; --line2:#2a6396;
    --txt:#f2f9ff; --dim:#a9c6df; --dim2:#7d9dba;
    --acc:#38d4ff; --acc2:#0077be; --gold:#7af0e6; --red:#ff5c5c;
    --rad:18px;
  }
  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  ::selection{ background:rgba(0,150,220,.35); }
  body{ margin:0; color:var(--txt); overflow-x:hidden;
    font:16px/1.65 -apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
    background:
      radial-gradient(900px 480px at 85% -5%, rgba(0,150,220,.21), transparent 60%),
      radial-gradient(700px 500px at -10% 30%, rgba(0,150,220,.09), transparent 55%),
      linear-gradient(180deg,#0a2a4a 0%,#051a33 55%,#04142a 100%); }
  body::before{ content:""; position:fixed; inset:0; pointer-events:none; z-index:0;
    background-image:linear-gradient(rgba(120,190,240,.06) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(120,190,240,.06) 1px, transparent 1px);
    background-size:44px 44px;
    -webkit-mask-image:radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
            mask-image:radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%); }
  .wrap{ max-width:1200px; margin:0 auto; padding:0 18px 70px; position:relative; z-index:1; }
  a{ color:var(--acc); text-decoration:none; }
  .rv{ opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
  .rv.in{ opacity:1; transform:none; }

  /* top bar */
  .top{ display:flex; align-items:center; justify-content:space-between; padding:18px 0 4px; }
  .brand{ display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing:.14em; }
  .brand img{ width:42px; height:42px; border-radius:50%; object-fit:cover;
    box-shadow:0 0 0 1px #14507f, 0 8px 22px rgba(0,150,220,.28); }
  .brand small{ display:block; font-weight:600; letter-spacing:.26em; color:var(--dim); font-size:10px; }
  .net{ font-size:12px; color:var(--dim); border:1px solid var(--line); border-radius:999px; padding:6px 13px; background:rgba(8,37,65,.6); backdrop-filter:blur(6px); }
  .net i{ display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--acc); margin-right:6px; box-shadow:0 0 8px var(--acc); animation:pulse 2.2s infinite; }
  @keyframes pulse{ 0%,100%{ opacity:1 } 50%{ opacity:.35 } }

  /* ticker */
  .ticker{ margin-top:16px; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
    overflow:hidden; white-space:nowrap; -webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
            mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent); }
  .ticker .track{ display:inline-block; padding:8px 0; animation:tick 30s linear infinite; color:var(--dim2);
    font-size:12px; letter-spacing:.3em; font-weight:600; }
  .ticker b{ color:var(--acc); font-weight:600; }
  @keyframes tick{ from{ transform:translateX(0) } to{ transform:translateX(-50%) } }

  /* hero */
  .hero{ display:grid; grid-template-columns:1.15fr .85fr; gap:34px; align-items:center; padding:44px 0 10px; }
  @media (max-width:860px){ .hero{ grid-template-columns:1fr; padding-top:30px; } }
  .eyebrow{ letter-spacing:.3em; font-size:12px; color:var(--acc); font-weight:700; }
  h1{ font-size:clamp(40px,7vw,66px); line-height:1.06; margin:15px 0 15px; font-weight:900; letter-spacing:.01em; }
  h1 em{ font-style:normal; background:linear-gradient(92deg,#c8f7ff 0%, #38d4ff 45%, #0077be 100%);
    -webkit-background-clip:text; background-clip:text; color:transparent; }
  .lede{ color:var(--dim); max-width:540px; font-size:17px; margin:0 0 22px; }
  .chips{ display:flex; gap:9px; flex-wrap:wrap; }
  .chip{ border:1px solid var(--line2); background:rgba(10,42,74,.75); border-radius:999px; padding:7px 14px; font-size:13px; color:#d3e9fa; backdrop-filter:blur(6px); }
  .chip.hot{ border-color:rgba(0,150,220,.5); color:#bff4ff; }
  .showcase{ position:relative; }
  .showcase::before{ content:""; position:absolute; inset:8% -4% -6% 12%; border-radius:50%;
    background:radial-gradient(closest-side, rgba(0,150,220,.28), transparent); filter:blur(28px); }
  .showcase img{ position:relative; width:100%; max-width:400px; display:block; margin:0 auto; border-radius:50%;
    box-shadow:0 30px 70px rgba(0,0,0,.55), 0 0 0 1px #14507f, 0 0 90px rgba(0,150,220,.18);
    animation:float 7s ease-in-out infinite; }
  @keyframes float{ 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-9px) } }
  .showcase .tag{ position:absolute; right:2%; bottom:6%; background:rgba(6,30,54,.88); border:1px solid var(--line2);
    border-radius:12px; padding:9px 14px; font-size:13px; backdrop-filter:blur(8px); }
  .showcase .tag b{ color:var(--acc); }

  /* cards */
  .grid{ display:grid; grid-template-columns:1.25fr .9fr; gap:18px; margin-top:30px; align-items:start; }
  @media (max-width:860px){ .grid{ grid-template-columns:1fr; } }
  .card{ position:relative; border-radius:var(--rad); padding:23px;
    background:linear-gradient(180deg, rgba(14,52,90,.92), rgba(8,34,60,.96));
    border:1px solid var(--line); box-shadow:0 18px 44px rgba(0,0,0,.35); }
  .card.glow{ border-color:rgba(0,150,220,.35);
    box-shadow:0 18px 50px rgba(0,0,0,.4), 0 0 0 1px rgba(0,150,220,.12), 0 0 60px rgba(0,150,220,.10); }
  .tok{ display:flex; align-items:center; gap:14px; }
  .tok img{ width:58px; height:58px; border-radius:50%; object-fit:cover; box-shadow:0 0 0 1px #14507f, 0 8px 20px rgba(0,0,0,.45); }
  .tok b{ font-size:21px; } .tok span{ display:block; color:var(--dim); font-size:13px; }
  .chain{ margin-left:auto; text-align:right; color:var(--dim); font-size:12.5px; }
  .prog-head{ display:flex; justify-content:space-between; align-items:baseline; margin:24px 0 9px; }
  .prog-head .big{ font-size:28px; font-weight:800; }
  .prog-head .big small{ font-size:15px; color:var(--dim); font-weight:600; }
  .bar{ height:13px; background:#061d36; border:1px solid var(--line); border-radius:99px; overflow:hidden; }
  .bar i{ display:block; height:100%; width:0%; border-radius:99px; position:relative; overflow:hidden;
    background:linear-gradient(90deg,#0077be,#00a8e0); transition:width .6s; min-width:16px; box-shadow:0 0 12px rgba(0,150,220,.55); }
  .bar i::after{ content:""; position:absolute; inset:0;
    background:linear-gradient(110deg, transparent 20%, rgba(255,255,255,.5) 50%, transparent 80%);
    transform:translateX(-100%); animation:shimmer 2.4s infinite; }
  @keyframes shimmer{ 60%,100%{ transform:translateX(100%) } }
  .prog-sub{ display:flex; justify-content:space-between; color:var(--dim); font-size:13px; margin-top:9px; }

  .duo{ display:grid; grid-template-columns:1fr 1.5fr; gap:10px; margin-top:18px; }
  .duobox{ background:#0a2a4a; border:1px solid var(--line); border-radius:13px; padding:12px 14px; }
  .duobox span{ display:block; color:var(--dim); font-size:12.5px; margin-bottom:3px; }
  .duobox b{ font-size:17px; font-weight:800; }
  .duobox{ position:relative; } .duobox small{ position:absolute; top:10px; right:12px; color:var(--dim); border:1px solid var(--line2); border-radius:99px; padding:1px 8px; font-size:11px; margin:0; }
  .quick{ display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin-top:12px; }
  .quick button{ background:#0a2a4a; border:1px solid var(--line2); color:var(--txt); border-radius:10px; padding:9px 0; font-size:15px; font-weight:700; cursor:pointer; transition:all .15s; }
  .quick button:hover{ border-color:rgba(0,150,220,.5); }
  .quick button.on{ background:linear-gradient(90deg,#0077be,#00a8e0); color:#ffffff; border-color:transparent; }
  #refInput{ flex:1; margin-left:14px; background:#071f3a; border:1px solid var(--line2); border-radius:9px; padding:9px 11px; color:var(--txt); font-size:13px; min-width:0; }
  #refInput::placeholder{ color:var(--dim2); }
  .stepper{ display:flex; align-items:center; margin:20px 0 8px; border:1px solid var(--line2); border-radius:13px; overflow:hidden; width:max-content; background:#071f3a; }
  .stepper button{ width:48px; height:48px; background:#0e3459; color:var(--txt); border:0; font-size:22px; cursor:pointer; transition:background .15s, transform .1s; }
  .stepper button:hover{ background:#14457a; } .stepper button:active{ transform:scale(.92); }
  .stepper output{ width:76px; text-align:center; font-size:19px; font-weight:800; line-height:48px; }
  .lbl{ font-size:12.5px; color:var(--dim); letter-spacing:.08em; }
  .kv{ display:flex; justify-content:space-between; align-items:baseline; gap:14px; padding:9.5px 0; border-bottom:1px dashed #1d4a72; font-size:15px; }
  .kv:last-of-type{ border-bottom:0; }
  .kv b{ font-weight:700; text-align:right; }
  .kv .acc{ color:var(--acc); }
  .cta{ width:100%; margin-top:17px; border:0; border-radius:13px; padding:17px; font-size:17px; font-weight:800; letter-spacing:.04em;
    background:linear-gradient(90deg,#0077be,#00a8e0); color:#ffffff; cursor:pointer;
    box-shadow:0 12px 30px rgba(0,150,220,.35); transition:transform .15s, box-shadow .15s; }
  .cta:hover:not(:disabled){ transform:translateY(-1px); box-shadow:0 16px 38px rgba(0,150,220,.45); }
  .cta:disabled{ background:#163a5e; color:#8aa9c4; cursor:not-allowed; box-shadow:none; }
  a.cta{ display:block; text-align:center; text-decoration:none; }
  .cta.invite{ margin-top:10px; background:rgba(0,150,220,.08); color:var(--acc); border:1px solid rgba(0,150,220,.55); box-shadow:none; }
  .cta.invite:hover:not(:disabled){ box-shadow:0 10px 26px rgba(0,150,220,.25); }

  .cmdbox{ margin-top:18px; border:1px dashed rgba(0,150,220,.55); border-radius:14px; padding:16px; background:rgba(0,150,220,.04); }
  .cmdtitle{ font-weight:800; font-size:16.5px; margin-bottom:5px; }
  .cmdsub{ color:var(--dim); font-size:13.5px; margin:0 0 12px; }
  .cmdtext{ margin:0; background:#061d36; border:1px solid var(--line); border-radius:11px; padding:14px; font:13px/1.75 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; white-space:pre-wrap; word-break:normal; overflow-wrap:anywhere; color:#dcefff; }
  .quota{ text-align:center; color:var(--dim); font-size:13px; margin-top:11px; }
  .stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:19px; }
  @media (max-width:860px){ .stats{ grid-template-columns:repeat(2,1fr); } }
  .stat{ background:#0a2a4a; border:1px solid var(--line); border-radius:13px; padding:14px; transition:border-color .2s, transform .2s; }
  .stat:hover{ border-color:var(--line2); transform:translateY(-2px); }
  .stat b{ display:block; font-size:20px; }
  .stat span{ color:var(--dim); font-size:12.5px; }
  .tbd{ color:var(--gold) !important; }

  /* sections */
  section{ margin-top:70px; }
  .kick{ letter-spacing:.28em; font-size:12px; color:var(--acc); font-weight:700; display:flex; align-items:center; gap:12px; }
  .kick::after{ content:""; height:1px; flex:1; background:linear-gradient(90deg, var(--line2), transparent); }
  h1,h2,.step h3,.s4 h3{ text-wrap:balance; }
  h2{ font-size:clamp(27px,4.5vw,38px); margin:12px 0 9px; font-weight:850; line-height:1.2; }
  .sec-sub{ color:var(--dim); max-width:600px; margin:0 0 24px; }
  .steps3{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
  @media (max-width:860px){ .steps3{ grid-template-columns:1fr; } }
  .step{ position:relative; overflow:hidden; background:linear-gradient(180deg,#0e3459,#0a2a4a); border:1px solid var(--line);
    border-radius:16px; padding:22px; transition:border-color .2s, transform .2s; }
  .step:hover{ border-color:rgba(0,150,220,.4); transform:translateY(-3px); }
  .step .ghost{ position:absolute; right:8px; top:-14px; font-size:88px; font-weight:900; color:rgba(120,200,255,.08); }
  .step .n{ color:var(--acc); font-weight:800; letter-spacing:.14em; font-size:13px; position:relative; }
  .step h3{ margin:10px 0 7px; font-size:19px; position:relative; }
  .step p{ color:var(--dim); margin:0; font-size:14.5px; position:relative; }
  .badge{ display:inline-block; font-size:11px; letter-spacing:.14em; color:#ffffff; background:var(--acc);
    border-radius:6px; padding:2.5px 8px; font-weight:800; vertical-align:2px; margin-left:8px; box-shadow:0 0 14px rgba(0,150,220,.4); }
  .steps4{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
  @media (max-width:900px){ .steps4{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:520px){ .steps4{ grid-template-columns:1fr; } }
  .s4{ border:1px solid var(--line); border-radius:15px; padding:19px; background:#0a2a4a; transition:border-color .2s, transform .2s; }
  .s4:hover{ border-color:var(--line2); transform:translateY(-2px); }
  .s4 .big{ font-size:31px; font-weight:900; background:linear-gradient(180deg,#4f9fd6,#1b4a74);
    -webkit-background-clip:text; background-clip:text; color:transparent; }
  .s4 h3{ margin:7px 0 5px; font-size:16.5px; }
  .s4 p{ color:var(--dim); font-size:13.5px; margin:0; }
  footer{ margin-top:76px; border-top:1px solid var(--line); padding-top:24px; color:var(--dim2); font-size:13px; }
  .ca{ display:flex; gap:9px; align-items:center; flex-wrap:wrap; margin-bottom:13px; }
  .ca code{ background:#071f3a; border:1px solid var(--line); border-radius:9px; padding:8px 11px; font-size:13px; word-break:break-all; }
  .ca button{ background:#0e3459; color:var(--txt); border:1px solid var(--line2); border-radius:9px; padding:8px 14px; cursor:pointer; transition:background .15s; }
  .ca button:hover:not(:disabled){ background:#14457a; }
  .ca button:disabled{ opacity:.45; cursor:not-allowed; }

  .connect{ background:linear-gradient(90deg,#0077be,#00a8e0); color:#ffffff; border:0; border-radius:999px; padding:9px 18px; font-size:14px; font-weight:800; cursor:pointer; white-space:nowrap; transition:filter .15s; }
  .connect:hover{ filter:brightness(1.07); }
  .connect.on{ background:#0e3459; color:var(--txt); border:1px solid var(--line2); font-family:ui-monospace,Menlo,monospace; font-weight:600; }
  @media (prefers-reduced-motion: reduce){ *{ animation:none !important; transition:none !important; } }
  .stat b{ font-variant-numeric:tabular-nums; } .prog-head .big{ font-variant-numeric:tabular-nums; }
  #status{ min-height:22px; font-size:14px; margin-top:11px; }
  .ok{ color:var(--acc); } .err{ color:var(--red); }

  /* WHALE additions */
  .pricehero{ margin-top:18px; display:flex; flex-wrap:wrap; gap:14px; align-items:stretch; }
  .pricebig{ background:linear-gradient(135deg,rgba(0,150,220,.18),rgba(56,212,255,.08)); border:1px solid rgba(0,150,220,.55);
    border-radius:16px; padding:14px 20px; min-width:220px; }
  .pricebig span{ display:block; font-size:12px; letter-spacing:.2em; color:var(--dim); }
  .pricebig b{ font-size:40px; line-height:1.1; font-weight:900; color:var(--acc); letter-spacing:.01em; }
  .pricebig small{ color:var(--dim); font-size:13px; }
  .cd{ background:rgba(8,37,65,.82); border:1px solid var(--line2); border-radius:16px; padding:14px 18px; min-width:260px; }
  .cd span.l{ display:block; font-size:12px; letter-spacing:.2em; color:var(--dim); }
  .cd .digits{ display:flex; gap:8px; margin-top:6px; }
  .cd .digits div{ background:#061d36; border:1px solid var(--line); border-radius:10px; padding:6px 10px; text-align:center; min-width:58px; }
  .cd .digits b{ display:block; font-size:28px; font-weight:900; font-variant-numeric:tabular-nums; color:var(--txt); }
  .cd .digits i{ font-style:normal; font-size:11px; color:var(--dim2); }
  .cd .when{ font-size:12.5px; color:var(--dim); margin-top:6px; }
  .live-dot{ display:inline-block; width:8px; height:8px; border-radius:50%; background:#3ddc84; margin-right:6px; box-shadow:0 0 8px #3ddc84; }
  .xlink{ font-size:12px; border:1px solid var(--line); border-radius:999px; padding:6px 12px; color:var(--txt); background:rgba(8,37,65,.6); }
  #refBox{ margin-top:10px; font-size:13px; color:var(--dim); word-break:break-all; }
  #status{ margin-top:12px; font-size:14px; min-height:20px; }
  #status.ok{ color:#3ddc84; } #status.err{ color:#ff6b5e; }
  .tbd{ color:var(--dim2); }
  @media (max-width:560px){ .top .net{ display:none; } .pricebig b{ font-size:34px; } .pricebig small{ display:block; } }

  /* v2: early-bird + leaderboard */
  .cta.free{ background:linear-gradient(135deg,#7af0e6,#38d4ff); color:#03213d; }
  .bar.thin{ height:8px; margin-top:9px; }
  .lb{ width:100%; border-collapse:collapse; font-size:14.5px; }
  .lb th{ text-align:left; color:var(--dim); font-weight:600; font-size:12.5px; letter-spacing:.04em; padding:8px 10px; border-bottom:1px solid var(--line); }
  .lb td{ padding:11px 10px; border-bottom:1px solid rgba(27,74,116,.55); font-variant-numeric:tabular-nums; }
  .lb tr:last-child td{ border-bottom:0; }
  .lb td:first-child{ font-weight:800; color:var(--acc); width:70px; }
  .lb td code{ font-size:13.5px; }
  .lb tr.me td{ background:rgba(56,212,255,.09); }
  .lbempty{ text-align:center; color:var(--dim2); padding:26px 10px !important; }
  @media (max-width:560px){ .lb th:nth-child(4), .lb td:nth-child(4){ display:none; } }
  .steps3.four{ grid-template-columns:repeat(4,1fr); }
  @media (max-width:1100px){ .steps3.four{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:600px){ .steps3.four{ grid-template-columns:1fr; } }
