/* Mobile-first, flashy, clean. */

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: radial-gradient(1200px 800px at 70% -10%, rgba(255,255,255,.35), rgba(255,255,255,0)),
              linear-gradient(180deg, var(--paper), #ffffff);
  color: var(--ink);
  overflow-x: hidden;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.wrap{
  width:min(1080px, calc(100% - 32px));
  margin:0 auto;
}

.page{ padding-top: 74px; }

/* Topbar */
.topbar{
  position:fixed; left:0; right:0; top:0;
  z-index: 99;
  backdrop-filter: blur(12px);
  background: rgba(246,240,230,.65);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  height: 74px;
  gap: 10px;
}

.brand{
  display:flex; align-items:center; gap:10px;
  min-width: 180px;
}
.brand-logo{
  width: 34px; height:34px; border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}
.brand-name{ font-weight: 900; letter-spacing: .5px; }
.brand-pill{
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
}

.nav{ display:none; gap: 18px; }
.nav a{ opacity: .85; font-weight: 700; }
.nav a:hover{ opacity: 1; }

.burger{
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
  display:flex; align-items:center; justify-content:center;
  gap: 4px;
  cursor:pointer;
}
.burger span{ width: 18px; height: 2px; background: rgba(0,0,0,.65); display:block; border-radius: 999px; }

.mobile-drawer{
  display:none;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(0,0,0,.08);
  background: rgba(246,240,230,.92);
}
.mobile-drawer a{
  display:block; padding: 12px 10px;
  border-radius: 12px;
  font-weight: 800;
}
.mobile-drawer a:hover{ background: rgba(0,0,0,.05); }

/* Buttons */
.btn{
  appearance:none;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.7);
  color: var(--ink);
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 900;
  letter-spacing: .2px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  cursor:pointer;
}
.btn.primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 18px 50px rgba(176,18,26,.28);
}
.btn.ghost{ background: rgba(255,255,255,.55); }
.btn.small{ padding: 10px 12px; border-radius: 12px; font-size: 13px; }

.linkish{
  border:0; background:transparent; padding:0;
  font: inherit; cursor:pointer; font-weight: 800;
  opacity: .85;
}
.linkish:hover{ opacity: 1; }

/* Hero */
.hero{
  position:relative;
  padding: 34px 0 22px;
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:-40px;
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(176,18,26,.25), rgba(176,18,26,0)),
    radial-gradient(700px 520px at 90% 40%, rgba(255,59,59,.22), rgba(255,59,59,0)),
    radial-gradient(900px 650px at 40% 120%, rgba(0,0,0,.10), rgba(0,0,0,0));
  pointer-events:none;
}

.hero-grid{
  display:grid;
  gap: 18px;
}
.badge{
  display:inline-flex; align-items:center; gap:10px;
  font-weight: 900;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.60);
  border: 1px solid rgba(0,0,0,.10);
}
.dot{
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 26px rgba(176,18,26,.25);
}

h1{
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.02;
  margin: 14px 0 10px;
  letter-spacing: -.8px;
}
.grad{
  display:inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}
.lead{
  font-size: 15.5px;
  line-height: 1.6;
  opacity: .92;
  margin: 0 0 14px;
}

.cta-row{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 14px;
}

/* token toggle */
.token-toggle{
  position: relative;
  display:flex;
  gap: 8px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255,255,255,.60);
  border: 1px solid rgba(0,0,0,.10);
  width: fit-content;
}
.pill{
  position: relative;
  z-index: 2;
  border: 0;
  background: transparent;
  font-weight: 1000;
  padding: 10px 12px;
  border-radius: 14px;
  cursor: pointer;
  opacity: .8;
}
.pill.is-active{ opacity: 1; color: #fff; }
.pill-indicator{
  position:absolute;
  top: 8px; bottom: 8px;
  left: 8px;
  width: 120px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  transition: transform .28s ease, width .28s ease;
  z-index: 1;
}

.token-card{
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.10);
}
.token-card-top{ display:flex; align-items:center; gap: 12px; }
.token-icon{
  width: 46px; height: 46px;
  border-radius: 16px;
  background: rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.10);
  display:grid; place-items:center;
  overflow:hidden;
}
.token-title{ font-weight: 1000; letter-spacing: .4px; }
.token-sub{ opacity:.75; font-weight: 800; font-size: 12px; }
.token-body{ margin-top: 10px; opacity:.92; line-height: 1.55; }
.token-actions{
  margin-top: 10px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.mini{
  font-weight: 1000;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.05);
  border: 1px solid rgba(0,0,0,.08);
}

/* Right hero art */
.hero-art{
  position:relative;
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
  min-height: 340px;
  box-shadow: 0 20px 80px rgba(0,0,0,.12);
}
.hero-mascot{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
}
.glass-card{
  position:absolute;
  left: 14px; right: 14px;
  bottom: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.50);
  backdrop-filter: blur(14px);
}
.glass-title{ font-weight: 1000; margin-bottom: 10px; }
.glass-line{
  display:flex; justify-content:space-between;
  padding: 8px 0;
  border-top: 1px solid rgba(0,0,0,.07);
}
.glass-line:first-of-type{ border-top:0; }

.spark{
  position:absolute;
  right: -120px;
  top: -120px;
  width: 260px; height: 260px;
  background: radial-gradient(circle at 40% 40%, rgba(255,59,59,.25), rgba(255,59,59,0) 60%);
  filter: blur(8px);
}

/* Sections */
.section{ padding: 34px 0; }
.section-head h2{
  margin:0 0 8px;
  font-size: 26px;
  letter-spacing: -.4px;
}
.section-head p{ margin:0; opacity: .85; line-height: 1.6; }

.cards{
  margin-top: 16px;
  display:grid;
  gap: 12px;
}
.card{
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 16px 55px rgba(0,0,0,.08);
}
.kicker{ font-weight: 1000; font-size: 12px; opacity:.7; }
.big{ font-size: 22px; font-weight: 1000; margin-top: 8px; }
.muted{ opacity:.82; line-height: 1.55; margin-top: 8px; }

.split{
  display:grid;
  gap: 14px;
}
.panel{
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 16px 55px rgba(0,0,0,.08);
}
.panel.faint{
  background: rgba(255,255,255,.55);
}
.panel-title{ font-weight: 1000; margin-bottom: 10px; }
.steps{ margin: 0; padding-left: 18px; line-height: 1.65; }
.panel-actions{ margin-top: 12px; display:flex; gap:10px; flex-wrap:wrap; }
.bullets{ margin:0; padding-left: 18px; line-height: 1.65; }

.meter{ margin-top: 12px; }
.meter-top{ display:flex; justify-content:space-between; font-weight: 1000; }
.bar{
  margin-top: 8px;
  height: 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
  overflow:hidden;
}
.fill{
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  transform-origin: left center;
}

.pill-row{ display:flex; flex-wrap:wrap; gap: 8px; margin-top: 12px; }
.chip{
  font-weight: 1000;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.05);
  border: 1px solid rgba(0,0,0,.08);
}

/* Features */
.feature-grid{
  margin-top: 16px;
  display:grid;
  gap: 12px;
}
.feature{
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 16px 55px rgba(0,0,0,.08);
}
.feature h3{ margin:0 0 6px; }
.mini-list{ margin-top: 10px; }
.mini-row{
  display:flex; justify-content:space-between;
  padding: 10px 0;
  border-top: 1px solid rgba(0,0,0,.07);
}
.mini-row:first-child{ border-top:0; }

/* Link grid */
.link-grid{
  margin-top: 16px;
  display:grid;
  gap: 12px;
}
.link-card{
  position:relative;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 16px 55px rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.link-card:active{ transform: scale(.99); }
.link-card:hover{ box-shadow: 0 20px 70px rgba(0,0,0,.10); }

.link-label{ font-weight: 1000; }
.link-hint{ margin-top: 6px; opacity:.8; }
.link-arrow{
  position:absolute; right: 16px; top: 16px;
  font-weight: 1000; opacity:.7;
}

/* Accordion */
.accordion{ margin-top: 16px; display:grid; gap: 10px; }
.acc-item{
  width:100%;
  text-align:left;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 16px 55px rgba(0,0,0,.08);
  font-weight: 1000;
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
}
.acc-item i{ font-style: normal; opacity:.7; }
.acc-panel{
  display:none;
  padding: 0 14px 14px;
  margin-top: -8px;
  border-radius: 0 0 18px 18px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.10);
  border-top: 0;
}
.acc-panel p{ margin: 10px 0 0; opacity:.88; line-height: 1.6; }

/* Roadmap */
.roadmap{ padding-bottom: 50px; }
.timeline{
  margin-top: 16px;
  display:grid;
  gap: 12px;
}
.milestone{
  display:grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: stretch;
}
.phase{
  font-weight: 1000;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(176,18,26,.14), rgba(255,59,59,.12));
  border: 1px solid rgba(0,0,0,.08);
}
.milestone-card{
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 16px 55px rgba(0,0,0,.08);
}
.milestone-title{ font-weight: 1000; margin-bottom: 8px; }
.milestone-card ul{ margin:0; padding-left: 18px; line-height: 1.65; }

.footer-cta{
  margin-top: 18px;
  display:flex; gap: 10px; flex-wrap: wrap;
}

/* Footer */
.footer{
  padding: 26px 0 60px;
  border-top: 1px solid rgba(0,0,0,.08);
  background: rgba(246,240,230,.7);
}
.footer-inner{
  display:grid;
  gap: 14px;
}
.foot-brand{
  display:flex; gap: 12px; align-items:center;
}
.foot-brand img{ width: 34px; height:34px; border-radius: 10px; }
.foot-title{ font-weight: 1000; }
.foot-sub{ opacity:.8; font-weight: 800; font-size: 12px; }
.foot-note{ margin-top: 8px; opacity:.78; line-height: 1.5; }
.foot-right{
  display:flex; gap: 14px; flex-wrap: wrap; align-items:center;
}
.foot-right a, .foot-right button{ opacity:.85; font-weight: 900; }
.foot-right a:hover, .foot-right button:hover{ opacity:1; }

/* Modal */
.modal{ position:fixed; inset:0; display:none; z-index: 120; }
.modal-backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
}
.modal-card{
  position:relative;
  width:min(900px, calc(100% - 26px));
  margin: 86px auto 0;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 26px 120px rgba(0,0,0,.25);
  overflow:hidden;
}
.modal-head{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  background:
    radial-gradient(900px 380px at 0% 0%, rgba(176,18,26,.10), rgba(176,18,26,0)),
    rgba(255,255,255,.92);
}
.modal-title{ font-weight: 1000; font-size: 18px; }
.modal-sub{ opacity:.75; margin-top: 2px; font-weight: 800; font-size: 12px; }
.x{
  width: 42px; height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.7);
  cursor:pointer;
}
.modal-body{ padding: 16px; }
.wp-grid{
  display:grid;
  gap: 12px;
}
.wp-block{
  padding: 14px;
  border-radius: 18px;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.06);
}
.wp-block h4{ margin:0 0 8px; }
.wp-block p{ margin:0; opacity:.86; line-height: 1.6; }

.modal-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px;
  border-top: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.92);
}

/* Reveal animations */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-in{
  opacity: 1;
  transform: translateY(0);
}

/* Desktop upgrades */
@media (min-width: 860px){
  .nav{ display:flex; }
  .burger{ display:none; }
  .mobile-drawer{ display:none !important; }

  .hero-grid{
    grid-template-columns: 1.1fr .9fr;
    align-items: start;
    gap: 22px;
  }
  .hero{ padding: 44px 0 30px; }
  .section{ padding: 52px 0; }

  .cards{ grid-template-columns: repeat(4, 1fr); }
  .split{ grid-template-columns: 1fr 1fr; }
  .feature-grid{ grid-template-columns: repeat(3, 1fr); }
  .link-grid{ grid-template-columns: repeat(3, 1fr); }

  .footer-inner{ grid-template-columns: 1.2fr .8fr; align-items: start; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .reveal{ transition:none; transform:none; }
  .pill-indicator, .link-card{ transition:none; }
}
