:root {
  --bg: #fbfbfd;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --card: #ffffff;
  --gray-section: #f5f5f7;
  --line: rgba(0,0,0,.08);
  --accent: #0071e3;
  --green: #0a7d2c;
  --radius: 20px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* Nav */
nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(251,251,253,.8);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1024px; margin: 0 auto;
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { font-weight: 700; font-size: 19px; text-decoration: none; color: var(--text); display:flex; align-items:center; gap:8px; }
.logo-mark { width:26px; height:26px; display:grid; place-items:center; background:#111; color:#fff; border-radius:50%; font-size:16px; }
.nav-links { display:flex; gap:24px; }
.nav-links a { text-decoration:none; color: var(--text); font-size:14px; opacity:.8; }
.nav-links a:hover { opacity:1; }
.menu-btn { display:none; border:0; background:none; font-size:22px; cursor:pointer; }
.mobile-menu { display:none; flex-direction:column; padding:0 20px 16px; gap:12px; }
.mobile-menu a { text-decoration:none; color:var(--text); font-size:17px; }
.mobile-menu.open { display:flex; }

/* Buttons */
.btn { display:inline-flex; align-items:center; justify-content:center; border-radius: 980px; text-decoration:none; font-weight:600; cursor:pointer; border:1px solid transparent; transition:.2s; }
.btn-small { padding: 8px 18px; font-size: 14px; }
.btn-large { padding: 14px 30px; font-size: 17px; }
.btn-dark { background:#1d1d1f; color:#fff; }
.btn-dark:hover { background:#000; transform: translateY(-1px); }
.btn-light { background:#fff; color:var(--accent); border-color: var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.btn-light:hover { background: var(--gray-section); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color:#fff; }
.btn-outline-light:hover { background:rgba(255,255,255,.12); }
.full { width:100%; margin-top:18px; }

/* Hero */
.hero { max-width: 1024px; margin: 0 auto; padding: 56px 20px 40px; text-align:center; }
.live-pill { display:inline-flex; align-items:center; gap:8px; background:#1d1d1f; color:#fff; font-size:13px; padding:8px 16px; border-radius:980px; margin-bottom:16px; }
.live-pill strong { font-variant-numeric: tabular-nums; }
.eyebrow { color: var(--accent); font-weight:700; font-size:14px; letter-spacing:.02em; text-transform:uppercase; margin-bottom:12px; }
.hero h1 { font-size: clamp(44px, 7vw, 80px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; }
.loud { font-size: clamp(22px, 3.4vw, 30px); font-weight: 700; letter-spacing: -0.02em; margin-top: 16px; color: var(--text); }
.grad {
  background: linear-gradient(90deg, #0071e3, #7d2ae8, #ff375f, #ff9f0a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub { max-width: 640px; margin: 20px auto 0; font-size: 21px; color: var(--muted); line-height:1.4; }
.cta-row { display:flex; gap:12px; justify-content:center; margin-top:28px; flex-wrap:wrap; }
.micro { margin-top:14px; font-size:13px; color: var(--muted); }
.center { text-align:center; }

/* Hero card */
.hero-card {
  max-width: 680px; margin: 36px auto 0; background: var(--card);
  border:1px solid var(--line); border-radius: 24px; padding: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,.08); text-align:left;
}
.hero-card-top { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.label { font-size:13px; color:var(--muted); }
.balance { font-size: 36px; font-weight:700; letter-spacing:-.02em; margin-top:4px; }
.ticker { font-size:16px; color:var(--muted); font-weight:600; }
.pill { background:#e8f5e9; color: var(--green); font-weight:700; padding:8px 14px; border-radius:980px; font-size:14px; white-space:nowrap; }
.bar-track { height:10px; background:#eee; border-radius:980px; margin:18px 0 12px; overflow:hidden; }
.bar-fill { height:100%; width:0%; border-radius:980px; background: linear-gradient(90deg,#0071e3,#7d2ae8,#ff375f); transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.hero-card-bottom { display:flex; justify-content:space-between; font-size:14px; color:var(--muted); flex-wrap:wrap; gap:8px; }
.hero-card-bottom strong { color: var(--text); }
.rebase-ticker { margin-top:14px; padding-top:14px; border-top:1px solid var(--line); font-size:13px; color:var(--muted); display:flex; gap:8px; align-items:center; }
.dot { width:8px; height:8px; background:#30d158; border-radius:50%; box-shadow:0 0 0 4px rgba(48,209,88,.2); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow:0 0 0 7px rgba(48,209,88,.12); } }

.stats { display:grid; grid-template-columns: repeat(4,1fr); gap:12px; max-width:680px; margin:20px auto 0; }
.stats div { background:var(--card); border:1px solid var(--line); border-radius:18px; padding:16px 10px; }
.stats strong { display:block; font-size:24px; letter-spacing:-.02em; }
.stats span { font-size:13px; color:var(--muted); }

/* Sections */
.section { max-width:1024px; margin:0 auto; padding:80px 20px; text-align:center; }
.section h2 { font-size: clamp(32px,5vw,56px); letter-spacing:-.025em; line-height:1.05; }
.section-sub { color:var(--muted); font-size:19px; margin-top:12px; }
.section-gray { max-width:none; background: var(--gray-section); }
.section-gray > * { max-width:1024px; margin-left:auto; margin-right:auto; }

.grid-3 { display:grid; grid-template-columns: repeat(3,1fr); gap:16px; margin-top:36px; text-align:left; }
.grid-2 { display:grid; grid-template-columns: 1.2fr .8fr; gap:16px; margin-top:36px; text-align:left; }
.card { background:var(--card); border:1px solid var(--line); border-radius: var(--radius); padding:28px; box-shadow: 0 4px 20px rgba(0,0,0,.04); }
.card h3 { font-size:22px; letter-spacing:-.01em; margin:12px 0 8px; }
.card p { color:var(--muted); font-size:16px; }
.num { font-size:13px; font-weight:700; color:var(--accent); background:#e8f1fd; display:inline-block; padding:4px 10px; border-radius:980px; }
.card.dark { background:#1d1d1f; color:#fff; border-color:#1d1d1f; }
.card.dark p { color:#a1a1a6; }
.note-card { margin-top:16px; background:#fff8e1; border:1px solid #f0e0a8; border-radius: var(--radius); padding:20px 24px; text-align:left; font-size:15px; }
.rebase-action { margin-top:16px; display:grid; gap:8px; justify-items:center; }
.rebase-action .micro { margin-top:0; }
.stack { display:grid; gap:16px; }

.list { list-style:none; margin-top:16px; }
.list li { display:flex; justify-content:space-between; gap:12px; padding:14px 0; border-top:1px solid var(--line); font-size:15px; flex-wrap:wrap; }
.list li span { color:var(--muted); }
.green { color: var(--green); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size:13px; word-break:break-all; background:rgba(255,255,255,.08); padding:10px 12px; border-radius:10px; margin:12px 0; }

/* Calculator */
.calc-card { max-width:680px; margin:30px auto 0; background:#fff; border:1px solid var(--line); border-radius:24px; padding:32px 28px; text-align:left; box-shadow: 0 12px 40px rgba(0,0,0,.06); }
/* ICO */
.ico-grid { align-items:start; }
.ico-status { text-align:left; }
.ico-top { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-bottom:16px; }
.countdown { display:grid; grid-template-columns: repeat(4,1fr); gap:10px; margin:8px 0 18px; }
.countdown div { background: var(--gray-section); border-radius:14px; padding:12px 6px; text-align:center; min-width:0; }
.countdown strong { display:block; font-size:22px; letter-spacing:-.02em; font-variant-numeric:tabular-nums; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.countdown strong.long { font-size:15px; padding-top:4px; }
.claims { margin-top:16px; border-top:1px solid var(--line); padding-top:14px; }
.claims > strong { font-size:13px; }
.claim-row { display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:13px; padding:10px 0; border-top:1px solid var(--line); flex-wrap:wrap; }
.claim-row span:first-child { color:var(--muted); }
.countdown span { font-size:12px; color:var(--muted); }
.progress-wrap { margin:6px 0 6px; }
.progress-meta { display:flex; justify-content:space-between; font-size:13px; color:var(--muted); margin-bottom:8px; gap:8px; flex-wrap:wrap; }
.progress-meta strong { color:var(--text); }
.progress-meta.small { margin-top:8px; }
#icoBar { width:82%; }
.infinity-bar { background: linear-gradient(90deg,#0071e3,#7d2ae8,#ff375f,#0071e3); background-size:200% 100%; animation: slide 3s linear infinite; }
@keyframes slide { to { background-position: 200% 0; } }
.buy-card { text-align:left; position:sticky; top:70px; }
.wrap-btns { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:14px; }
.wrap-btns .btn-large { padding:14px 10px; }
.buy-row { margin-top:16px; }
.buy-row label { font-size:13px; font-weight:700; color:var(--muted); display:block; margin-bottom:8px; }
.buy-row input { width:100%; font-size:22px; font-weight:700; padding:14px 16px; border-radius:14px; border:1px solid var(--line); font-family:inherit; }
.quick-row { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-top:10px; }
.quick-row button { border:1px solid var(--line); background:#fff; border-radius:980px; padding:8px 0; font-weight:700; font-size:13px; cursor:pointer; font-family:inherit; }
.quick-row button.active, .quick-row button:hover { background:#1d1d1f; color:#fff; border-color:#1d1d1f; }
.ico-results { grid-template-columns:1fr 1fr; margin-top:16px; }
.ico-results strong { font-size:18px; }
.calc-card label { font-weight:700; font-size:15px; }
.calc-input-row { margin-top:14px; }
input[type=range] { width:100%; accent-color:#0071e3; height:32px; }
.calc-value { display:flex; align-items:center; gap:8px; margin-top:8px; font-size:18px; font-weight:700; }
.calc-value input { width:160px; font-size:20px; font-weight:700; padding:10px 12px; border-radius:12px; border:1px solid var(--line); font-family:inherit; }
.calc-value span { color:var(--muted); font-size:14px; }
.calc-results { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:12px; margin-top:22px; background:var(--gray-section); border-radius:16px; padding:18px; }
.calc-results span { display:block; font-size:13px; color:var(--muted); }
.calc-results strong { font-size:22px; letter-spacing:-.02em; }
.calc-results .highlight strong { color:var(--green); }
.arrow { font-size:22px; color:var(--muted); }

/* Showcase image */
.showcase { max-width: 1024px; margin: 8px auto 0; padding: 0 20px; }
.showcase img { width:100%; height:auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 28px; display:block; box-shadow: 0 24px 60px rgba(0,0,0,.12); }
.showcase figcaption { text-align:center; font-size:13px; color:var(--muted); margin-top:10px; }

.btn:disabled { opacity:.45; cursor:not-allowed; transform:none !important; }

/* Eligibility */
.elig-box { background:var(--gray-section); border:1px solid var(--line); border-radius:16px; padding:14px 16px; margin-top:14px; display:grid; gap:10px; text-align:left; }
.check { display:flex; gap:10px; align-items:flex-start; font-size:14px; text-align:left; }
.check a { color: var(--accent); }
.link-btn { background:none; border:0; color:var(--muted); font-size:13px; cursor:pointer; text-decoration:underline; font-family:inherit; }
.footer-links .link-btn { font-size:14px; color:var(--text); text-decoration:none; }
.footer-links .link-btn:hover { text-decoration:underline; }

/* Modal */
.modal-backdrop { position:fixed; top:0; right:0; bottom:0; left:0; inset:0; background:rgba(0,0,0,.4); backdrop-filter: blur(8px); display:none; align-items:center; justify-content:center; z-index:100; padding:20px; }
.modal-backdrop.open { display:flex; }
.modal { background:#fff; border-radius:24px; max-width:560px; width:100%; padding:28px; box-shadow:0 24px 80px rgba(0,0,0,.25); max-height:90vh; overflow:auto; text-align:left; }
.modal-head { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:14px; }
.modal-head h3 { font-size:26px; letter-spacing:-.02em; }
.icon-btn { border:1px solid var(--line); background:#fff; width:32px; height:32px; border-radius:50%; cursor:pointer; font-size:14px; line-height:1; flex-shrink:0; }
.icon-btn { border:1px solid var(--line); background:#fff; width:32px; height:32px; border-radius:50%; cursor:pointer; font-size:14px; }
.terms-body { display:grid; gap:10px; font-size:14px; color:var(--muted); }
.terms-body h4 { color:var(--text); font-size:15px; margin-top:6px; }
.terms-body p { font-size:14px; }

/* CTA banner */
.cta-banner { margin: 0 auto; max-width: 1024px; padding: 0 20px 20px; }
.cta-banner > * { }
.cta-banner {
  background: radial-gradient(1200px 400px at 50% -10%, #3a3a3c 0%, #1d1d1f 60%);
  color:#fff; border-radius:28px; padding:64px 32px; text-align:center;
  margin-left: max(20px, calc((100vw - 1024px)/2 + 20px));
  margin-right: max(20px, calc((100vw - 1024px)/2 + 20px));
}
.cta-banner h2 { font-size: clamp(32px,5vw,52px); letter-spacing:-.025em; }
.cta-banner p { color:#a1a1a6; margin:10px 0 24px; font-size:18px; }

/* FAQ */
.faq { max-width:680px; margin:28px auto 0; text-align:left; display:grid; gap:12px; }
details { background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px 22px; }
summary { font-weight:600; font-size:17px; cursor:pointer; list-style:none; }
summary::-webkit-details-marker { display:none; }
details p { margin-top:10px; color:var(--muted); font-size:15px; }

/* Footer */
footer { border-top:1px solid var(--line); margin-top:40px; background:#fff; }
.footer-inner { max-width:1024px; margin:0 auto; padding:36px 20px; text-align:center; color:var(--muted); font-size:14px; display:grid; gap:12px; justify-items:center; }
.footer-links { display:flex; gap:18px; flex-wrap:wrap; justify-content:center; }
.footer-links a { color:var(--text); text-decoration:none; font-size:14px; }
.disclaimer { font-size:12px; max-width:640px; }

@media (max-width: 760px) {
  .nav-links, #navBuy { display:none; }
  .menu-btn { display:block; }
  .grid-3, .grid-2 { grid-template-columns:1fr; }
  .buy-card { position:static; }
  .ico-results { grid-template-columns:1fr; }
  .stats { grid-template-columns:1fr 1fr; }
  .calc-results { grid-template-columns:1fr; text-align:center; }
  .arrow { transform: rotate(90deg); }
  .sub { font-size:18px; }
}
