:root {
  --bg: #050807;
  --bg2: #0a100d;
  --card: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.09);
  --line2: rgba(61, 240, 110, 0.28);
  --text: #f4f7f5;
  --muted: #8f9d95;
  --g: #3df06e;
  --g2: #1fb84e;
  --warn: #ffb547;
  --bad: #ff5d6c;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image:
    radial-gradient(900px 500px at 78% -10%, rgba(61, 240, 110, 0.12), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, rgba(160, 120, 255, 0.06), transparent 60%);
  background-repeat: no-repeat;
}
img { max-width: 100%; }
a { color: inherit; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
em { font-style: normal; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 18px;
  padding: 12px clamp(16px, 4vw, 48px); background: rgba(5, 8, 7, 0.78); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 16px var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.brand img { border-radius: 9px; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 14px; transition: color .2s; }
.links a:hover { color: var(--text); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
  font: 600 15px var(--body); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s, background .2s, border-color .2s, box-shadow .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--g); color: #04140a; box-shadow: 0 0 0 0 rgba(61, 240, 110, 0); }
.btn-primary:hover { box-shadow: 0 8px 30px -8px rgba(61, 240, 110, 0.6); }
.btn-dark { background: rgba(255, 255, 255, 0.06); color: var(--text); border-color: var(--line); }
.btn-dark:hover { border-color: rgba(255, 255, 255, 0.25); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--line2); }
.small-btn { padding: 7px 14px; font-size: 13px; }
.is-soon { pointer-events: none; }
.nav .btn { margin-left: 8px; padding: 9px 16px; font-size: 14px; }

/* HERO */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 24px;
  padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 48px) 30px; max-width: 1280px; margin: 0 auto; overflow: hidden;
}
#drip { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .7; }
.hero-copy, .hero-art { position: relative; z-index: 1; min-width: 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px; border: 1px solid var(--line2); border-radius: 999px; font: 500 12px var(--mono); color: var(--g); letter-spacing: .04em; text-transform: uppercase; }
.dot, .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--g); box-shadow: 0 0 10px var(--g); animation: pulse 1.6s infinite; display: inline-block; }
@keyframes pulse { 50% { opacity: .35; } }
h1 {
  font: 900 clamp(34px, 5.6vw, 76px)/1.02 var(--display); letter-spacing: -0.035em; margin: 0 0 18px; overflow-wrap: break-word;
}
h1 em {
  background: linear-gradient(100deg, var(--g) 0%, #b7ffd0 35%, #e8e8ff 55%, #ffc6f2 70%, var(--g) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 7s linear infinite;
}
@keyframes sheen { to { background-position: -220% 0; } }
.lede { font-size: clamp(16px, 1.6vw, 19px); color: #c9d4ce; max-width: 34em; margin: 0 0 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 30px; max-width: 560px; }
.hero-stats div { border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.hero-stats b { display: block; font: 600 clamp(16px, 2vw, 21px) var(--mono); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-stats span { font-size: 12px; color: var(--muted); line-height: 1.3; display: block; }
.hero-art { display: flex; justify-content: center; align-items: center; min-height: 300px; }
.hero-art img { width: min(460px, 100%); }
.toast {
  position: absolute; left: 0; bottom: 6%; max-width: min(320px, 90%); padding: 10px 14px; border-radius: 14px;
  background: rgba(10, 18, 13, 0.88); border: 1px solid var(--line2); backdrop-filter: blur(10px); font-size: 13px; line-height: 1.35;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); transition: opacity .35s, transform .35s;
}
.toast.swap { opacity: 0; transform: translateY(6px); }
.toast-k { display: block; font: 600 10px var(--mono); letter-spacing: .12em; color: var(--g); margin-bottom: 3px; }

/* TICKER */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); overflow: hidden; }
.ticker-track { display: flex; width: max-content; gap: 34px; padding: 11px 0; animation: scroll 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.tick { display: inline-flex; align-items: center; gap: 8px; font: 500 13px var(--mono); white-space: nowrap; }
.tick img, .tick .lb { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.tick .g { color: var(--g); }

/* SECTIONS */
.section { max-width: 1280px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 48px) 0; }
.sec-head { max-width: 760px; margin-bottom: 26px; }
.label { margin: 0 0 8px; font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--g); }
h2 { font: 700 clamp(26px, 3.6vw, 44px)/1.08 var(--display); letter-spacing: -0.03em; margin: 0 0 12px; overflow-wrap: break-word; }
.sub { color: #b9c6bf; margin: 0; font-size: 17px; }

/* SEARCH */
.search { display: flex; gap: 10px; max-width: 760px; }
.search input {
  flex: 1; min-width: 0; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
  color: var(--text); font: 500 14px var(--mono); outline: none; transition: border-color .2s;
}
.search input:focus { border-color: var(--g); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 22px; min-height: 34px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 500 13px var(--body); cursor: pointer; transition: border-color .2s; }
.chip:hover, .chip.on { border-color: var(--g); }
.chip img, .chip .lb { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }

/* PANELS */
.panel { background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; min-width: 0; position: relative; }
.desk { display: grid; gap: 14px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wide { grid-column: 1 / -1; }
.skeleton { color: var(--muted); font-size: 14px; }
.coinbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.coinbar .logo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #111; flex: none; }
.coinbar .nm { min-width: 0; flex: 1 1 200px; }
.coinbar .nm b { font: 700 20px var(--display); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coinbar .nm span { font: 400 12px var(--mono); color: var(--muted); word-break: break-all; }
.coinbar .stats { display: flex; gap: 18px; flex-wrap: wrap; }
.coinbar .stats div { font: 600 15px var(--mono); }
.coinbar .stats small { display: block; font: 500 11px var(--body); color: var(--muted); }
.big { font: 600 clamp(30px, 4vw, 44px)/1.1 var(--mono); color: var(--g); margin: 6px 0 4px; overflow-wrap: anywhere; }
.big small { font-size: .45em; color: var(--muted); }
.bars { display: grid; gap: 8px; margin: 16px 0 12px; }
.bar { display: grid; grid-template-columns: 70px minmax(0, 1fr) 96px; gap: 10px; align-items: center; font: 500 12px var(--mono); }
.bar .t { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.bar .f { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--g2), var(--g)); width: 0; transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.bar .v { text-align: right; color: var(--text); }
.split { font-size: 13px; color: #c7d2cc; }
.split .sb { display: flex; height: 10px; border-radius: 99px; overflow: hidden; margin: 6px 0; background: rgba(255,255,255,.06); }
.split .sb i { display: block; height: 100%; }
.split .org { background: var(--g); }
.split .bot { background: repeating-linear-gradient(45deg, #5a6a62 0 4px, #3b4741 4px 8px); }

.route-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.route-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); font: 500 13px var(--mono); }
.route-list li a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.route-list li a:hover { color: var(--g); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 600 11px var(--mono); letter-spacing: .04em; border: 1px solid var(--line); }
.tag.ok { color: var(--g); border-color: var(--line2); background: rgba(61, 240, 110, 0.08); }
.tag.warn { color: var(--warn); border-color: rgba(255, 181, 71, .3); background: rgba(255, 181, 71, .08); }
.tag.bad { color: var(--bad); border-color: rgba(255, 93, 108, .3); background: rgba(255, 93, 108, .08); }
.verdict { margin: 12px 0 0; font-size: 14px; color: #d3ddd8; }

.grade-row { display: flex; gap: 18px; align-items: flex-start; }
.grade { flex: none; width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; font: 900 46px var(--display); border: 1px solid var(--line2); color: var(--g); background: radial-gradient(circle at 30% 20%, rgba(61, 240, 110, .18), transparent 70%); }
.grade.g-c { color: var(--warn); border-color: rgba(255, 181, 71, .35); background: radial-gradient(circle at 30% 20%, rgba(255, 181, 71, .16), transparent 70%); }
.grade.g-f { color: var(--bad); border-color: rgba(255, 93, 108, .35); background: radial-gradient(circle at 30% 20%, rgba(255, 93, 108, .16), transparent 70%); }
.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; min-width: 0; }
.reasons li { padding-left: 18px; position: relative; }
.reasons li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.reasons li.p::before { background: var(--g); }
.reasons li.n::before { background: var(--bad); }
.reasons li.w::before { background: var(--warn); }

.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; margin: 6px 0 0; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font: 500 14px var(--mono); text-align: right; overflow-wrap: anywhere; }

.builder-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.pill { padding: 6px 12px; border-radius: 999px; background: rgba(61, 240, 110, .1); border: 1px solid var(--line2); color: var(--g); font: 600 13px var(--mono); }
.builder { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 26px; align-items: start; }
.controls { display: grid; gap: 18px; }
.controls label { display: grid; gap: 8px; font-size: 14px; color: #c8d3cd; }
.controls output { float: right; font: 600 14px var(--mono); color: var(--text); }
input[type="range"] { width: 100%; accent-color: var(--g); height: 22px; }
.payoff svg { width: 100%; height: 200px; display: block; border-radius: 12px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); }
.payoff-line { margin: 12px 0; font-size: 15px; }
.payoff-line b { color: var(--g); font-family: var(--mono); }
.builder-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 14px; }
.qcard { display: grid; gap: 12px; cursor: pointer; transition: border-color .2s, transform .2s; text-align: left; color: inherit; font: inherit; }
.qcard:hover { border-color: var(--line2); transform: translateY(-2px); }
.qtop { display: flex; align-items: center; gap: 10px; min-width: 0; }
.qtop img, .qtop .lb { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
.qtop b { font: 700 15px var(--display); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qtop span { font-size: 12px; color: var(--muted); }
.qtop .mini { margin-left: auto; width: 40px; height: 40px; font-size: 20px; border-radius: 12px; flex: none; }
.qnums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.qnums div { background: rgba(0, 0, 0, .25); border: 1px solid var(--line); border-radius: 10px; padding: 8px; min-width: 0; }
.qnums b { display: block; font: 600 14px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qnums small { font-size: 11px; color: var(--muted); }
.lb { display: inline-grid; place-items: center; background: #1a2620; color: var(--g); font: 700 12px var(--display); }

.board-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.board-bar .btn { margin-left: auto; }
.loan { display: grid; gap: 12px; }
.loan .terms { font: 600 18px var(--display); letter-spacing: -0.02em; }
.loan .terms em { color: var(--g); }
.prog { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--g); }
.loan .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font: 500 12px var(--mono); }
.offers li { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 6px 10px; border: 1px dashed var(--line); border-radius: 10px; min-width: 0; }
.offers li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.empty { border-style: dashed; }
.empty h3 { font: 700 18px var(--display); margin: 0 0 6px; }

/* HOW */
.flow { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.flow li { border: 1px solid var(--line); background: var(--card); border-radius: var(--r); padding: 20px; position: relative; }
.flow .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(61, 240, 110, .12); color: var(--g); font: 700 15px var(--display); margin-bottom: 12px; }
.flow b { display: block; font-size: 16px; margin-bottom: 6px; }
.flow p { margin: 0; color: #b6c3bc; font-size: 14px; }
.pipe { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(0, 0, 0, .3); font: 500 13px var(--mono); margin-bottom: 14px; }
.pipe span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }
.pipe .hi { border-color: var(--g); color: var(--g); }
.pipe .lo { color: var(--muted); }
.pipe i { flex: 0 0 34px; height: 2px; background: linear-gradient(90deg, transparent, var(--g)); position: relative; overflow: hidden; }
.pipe i::after { content: ""; position: absolute; top: -2px; left: -8px; width: 6px; height: 6px; border-radius: 50%; background: var(--g); animation: flow 1.4s linear infinite; }
@keyframes flow { to { left: 40px; } }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.facts { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: #cdd8d2; font-size: 15px; }

/* TOKEN */
.token { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 30px; align-items: center; }
.token-art { display: flex; justify-content: center; }
.token-art img { width: min(380px, 100%); }
.tk { color: var(--g); }
.ca-box { display: flex; align-items: center; gap: 12px; margin: 22px 0 18px; padding: 12px 14px; border: 1px dashed var(--line2); border-radius: 14px; background: rgba(61, 240, 110, .04); min-width: 0; }
.ca-k { font: 700 12px var(--mono); color: var(--g); }
.ca-box code { flex: 1; min-width: 0; font: 500 14px var(--mono); overflow-wrap: anywhere; }
.token .muted.small { margin-top: 18px; max-width: 520px; }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 40px clamp(16px, 4vw, 48px); margin-top: 80px; border-top: 1px solid var(--line); font-size: 13px; }
.foot span { display: inline-flex; align-items: center; gap: 8px; }
.foot img { border-radius: 5px; }

/* MODAL */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(0, 0, 0, .65); backdrop-filter: blur(4px); padding: 16px; }
.modal[hidden] { display: none; }
.modal-box { width: min(440px, 100%); background: #0d1411; border: 1px solid var(--line2); border-radius: 20px; padding: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.modal-box h3 { margin: 0 0 8px; font: 700 19px var(--display); }
.modal-box p { margin: 0 0 16px; color: #c9d4ce; font-size: 15px; overflow-wrap: anywhere; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* REVEAL: never leaves content hidden */
.reveal { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 0; }
  .hero-art img { width: min(260px, 70%); }
  .toast { left: 50%; transform: translateX(-50%); bottom: -4px; }
  .toast.swap { transform: translate(-50%, 6px); }
  .grid, .builder, .two, .token { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .token-art img { width: min(240px, 70%); }
}
@media (max-width: 520px) {
  .brand span { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats div:last-child { grid-column: 1 / -1; }
  .search { flex-direction: column; }
  .flow { grid-template-columns: 1fr; }
  .bar { grid-template-columns: 54px minmax(0, 1fr) 84px; }
  .grade-row { flex-direction: column; }
  .kv dd { text-align: left; }
  .pipe i { flex-basis: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
