:root {
  --bg: #070a0d;
  --panel: #0d1217;
  --panel-2: #121920;
  --line: #22303a;
  --text: #f3f7f5;
  --muted: #9aaba4;
  --green: #65f5a5;
  --green-2: #b8ffd3;
  --cyan: #63d9ff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}
.orb { position: fixed; width: 36rem; height: 36rem; border-radius: 50%; filter: blur(100px); opacity: .11; pointer-events: none; }
.orb-a { top: -12rem; right: -8rem; background: var(--green); }
.orb-b { bottom: 0; left: -18rem; background: var(--cyan); }
.site-header, .hero, .section, .testnet-disclosure, .cta-section, footer { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08); position: relative; z-index: 3; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand em { color: var(--green); font-style: normal; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; border: 1px solid rgba(101,245,165,.35); border-radius: 999px; padding: 4px 7px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(101,245,165,.12); border: 1px solid rgba(101,245,165,.35); }
.brand-mark svg { width: 25px; height: 25px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
nav { display: flex; gap: 26px; }
nav a, .footer-links a { color: var(--muted); text-decoration: none; font-size: .93rem; }
nav a:hover, .footer-links a:hover { color: var(--text); }
.hero { min-height: 720px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 62px; padding: 86px 0 100px; position: relative; z-index: 1; }
.status-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 999px; background: rgba(101,245,165,.08); border: 1px solid rgba(101,245,165,.25); color: var(--green-2); font-size: .82rem; font-weight: 700; }
.status-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px var(--green); }
h1 { margin: 20px 0 22px; font-size: clamp(3.2rem, 6.3vw, 6.1rem); line-height: .94; letter-spacing: -.06em; }
h2 { margin: 8px 0 18px; font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: 1; letter-spacing: -.045em; }
h3 { margin: 12px 0 8px; font-size: 1.12rem; }
.lead { max-width: 660px; color: var(--muted); font-size: 1.14rem; }
.download-group { margin-top: 34px; }
.download-button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 25px; border-radius: 13px; background: var(--green); color: #06110b; font-weight: 900; text-decoration: none; box-shadow: 0 16px 42px rgba(101,245,165,.17); transition: transform .15s ease, opacity .15s ease; }
.download-button:hover { transform: translateY(-2px); }
.download-button.disabled { opacity: .46; pointer-events: none; }
.download-meta { color: var(--muted); font-size: .88rem; margin: 13px 0 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 27px; color: var(--muted); font-size: .86rem; }
.trust-row span::before { content: "✓"; color: var(--green); margin-right: 7px; }
.compat-note { margin-top: 25px; color: #798982; font-size: .82rem; max-width: 620px; }
.wallet-stage { position: relative; }
.wallet-window { overflow: hidden; border: 1px solid #2a3943; border-radius: 22px; background: rgba(11,16,20,.94); box-shadow: 0 32px 100px rgba(0,0,0,.52); }
.window-bar { height: 50px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 9px; height: 9px; border-radius: 50%; background: #43535e; }
.window-bar strong { font-size: .85rem; }
.online-badge { margin-left: auto; color: var(--green); font-size: .72rem; border: 1px solid rgba(101,245,165,.25); padding: 4px 7px; border-radius: 999px; }
.wallet-content { display: grid; grid-template-columns: 34% 66%; min-height: 480px; }
.asset-nav { padding: 21px 16px; border-right: 1px solid var(--line); background: #0a0f13; }
.asset-nav p { color: #66776f; font-size: .72rem; text-transform: uppercase; letter-spacing: .11em; margin: 0 8px 12px; }
.asset-nav button { width: 100%; display: flex; align-items: center; gap: 9px; border: 0; padding: 11px; border-radius: 10px; background: transparent; color: var(--muted); text-align: left; margin-bottom: 4px; }
.asset-nav button.active { background: rgba(101,245,165,.1); color: var(--text); }
.asset-nav button span { width: 24px; color: var(--green); }
.vault-state { margin-top: 145px; padding: 13px; border-radius: 12px; border: 1px solid #23333c; background: #0d1519; }
.vault-state small { display: block; color: #6e8178; }
.vault-state b { display: block; margin-top: 4px; font-size: .8rem; color: var(--green-2); }
.wallet-main { padding: 26px; }
.balance-head { display: flex; justify-content: space-between; align-items: flex-start; }
.balance-head small, .identity-box small { color: #71827a; }
.balance-head strong { display: block; margin-top: 4px; font-size: 2rem; letter-spacing: -.04em; }
.balance-head strong em { color: var(--green); font-size: .8rem; font-style: normal; letter-spacing: 0; }
.balance-head > span { padding: 5px 8px; border-radius: 999px; color: var(--green); background: rgba(101,245,165,.08); font-size: .7rem; }
.identity-box { margin-top: 23px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #0b1014; }
.identity-box code { display: block; margin-top: 5px; color: #cbd8d2; overflow: hidden; text-overflow: ellipsis; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.action-grid button { min-height: 42px; border: 0; border-radius: 10px; background: var(--green); color: #06110b; font-weight: 800; }
.action-grid button.secondary { background: #162129; color: var(--text); border: 1px solid #293a45; }
.activity-card { margin-top: 20px; border-top: 1px solid var(--line); }
.activity-head, .activity-row { display: flex; align-items: center; }
.activity-head { justify-content: space-between; padding: 18px 0 9px; }
.activity-head small { color: #6f8078; }
.activity-row { gap: 11px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.05); }
.activity-row i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(101,245,165,.09); color: var(--green); font-style: normal; }
.activity-row div { display: grid; }
.activity-row small { color: #71827a; }
.activity-row > span { margin-left: auto; color: #65756e; font-size: .72rem; }
.section { padding: 100px 0; border-top: 1px solid rgba(255,255,255,.08); position: relative; z-index: 1; }
.section-heading { max-width: 760px; }
.section-heading > p, .safety-copy > p { color: var(--muted); }
.eyebrow { color: var(--green); font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 46px; }
.feature-card { padding: 25px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, #10171c, #0c1115); }
.feature-card > span { color: var(--green); font-size: .75rem; font-weight: 900; }
.feature-card p, .safety-list p, .testnet-disclosure p, footer p { color: var(--muted); }
.safety-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 82px; }
.safety-list { border-top: 1px solid var(--line); }
.safety-list > div { display: grid; grid-template-columns: 36px 1fr; gap: 13px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.safety-list > div > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--green); background: rgba(101,245,165,.09); }
.safety-list p { margin: 5px 0 0; }
.safety-list code { color: var(--green-2); }
.requirements-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.requirements { margin: 0; border-top: 1px solid var(--line); }
.requirements div { display: grid; grid-template-columns: 175px 1fr; gap: 20px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.requirements dt { font-weight: 800; }
.requirements dd { margin: 0; color: var(--muted); }
.testnet-disclosure { margin-top: 26px; margin-bottom: 84px; padding: 28px; border-radius: 16px; border: 1px solid rgba(101,245,165,.28); background: rgba(101,245,165,.055); }
.testnet-disclosure strong { color: var(--green-2); }
.testnet-disclosure p { margin-bottom: 0; }
.cta-section { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; padding: 70px 0 90px; border-top: 1px solid rgba(255,255,255,.08); }
.text-link { color: var(--green); text-decoration: none; font-weight: 800; white-space: nowrap; }
footer { display: flex; justify-content: space-between; gap: 30px; padding: 37px 0 52px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand-mark { width: 32px; height: 32px; }
footer p { margin: 7px 0 0; }
.footer-links { display: flex; gap: 20px; }
.legal { width: min(calc(100% - 40px), 820px); margin: 70px auto 110px; }
.legal h1 { font-size: clamp(3rem, 7vw, 5rem); letter-spacing: -.05em; }
.legal h2 { margin-top: 38px; font-size: 1.4rem; }
.legal p, .legal li { color: var(--muted); }
.legal .notice { padding: 18px; border-radius: 12px; border: 1px solid rgba(101,245,165,.25); background: rgba(101,245,165,.05); }
@media (max-width: 980px) {
  .hero, .safety-section, .requirements-section { grid-template-columns: 1fr; }
  .hero { padding-top: 60px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .wallet-stage { max-width: 700px; }
}
@media (max-width: 680px) {
  nav { display: none; }
  h1 { font-size: clamp(3rem, 16vw, 4.7rem); }
  .feature-grid { grid-template-columns: 1fr; }
  .wallet-content { grid-template-columns: 1fr; }
  .asset-nav { display: none; }
  .wallet-main { padding: 20px; }
  .cta-section, footer { align-items: flex-start; flex-direction: column; }
  .requirements div { grid-template-columns: 1fr; gap: 4px; }
}
