/* Landing page */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { overflow-x: hidden; }
.ld-wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 20px; }

.ld-nav { position: sticky; top: 0; z-index: 50; height: 64px; display: flex; align-items: center; background: rgba(7, 8, 11, .72); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.ld-nav.scrolled { border-bottom-color: var(--border); }
.ld-nav .row { gap: 6px; }
.ld-links { display: flex; gap: 2px; margin-left: 22px; }
.ld-links a { padding: 8px 12px; border-radius: 9px; color: var(--muted); font-size: 13.5px; font-weight: 500; }
.ld-links a:hover { color: var(--text); background: var(--surface-2); }
.ld-x { color: var(--muted); }

/* hero */
.hero { position: relative; padding: 86px 0 56px; text-align: center; overflow: hidden; }
.hero-glow { position: absolute; left: 50%; top: -120px; width: 1100px; height: 720px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(184, 245, 60, .16), rgba(139, 123, 255, .07) 40%, transparent 68%); }
.hero-grid { position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 20%, #000 10%, transparent 62%); }
.hero-inner { position: relative; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--border-2); background: rgba(15, 17, 22, .8); font-size: 12.5px; color: var(--muted); margin-bottom: 26px; }
.hero-pill:hover { color: var(--text); }
.hero h1 { margin: 0; font-size: clamp(44px, 8.4vw, 92px); line-height: .98; letter-spacing: -.045em; font-weight: 700; }
.hero h1 span, .ld-h2 span.lime { color: var(--lime); }
.hero-sub { max-width: 620px; margin: 26px auto 30px; font-size: clamp(15px, 1.8vw, 18px); color: #c5cad3; line-height: 1.55; }
.hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* CA box */
.ca-box { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 7px 7px 7px 8px; border-radius: 14px; max-width: 100%;
  background: rgba(15, 17, 22, .9); border: 1px solid var(--border-2); box-shadow: 0 0 0 4px rgba(184, 245, 60, .04); }
.ca-label { flex: none; height: 30px; padding: 0 10px; display: grid; place-items: center; border-radius: 9px; background: var(--lime); color: var(--lime-ink); font-weight: 800; font-size: 12.5px; letter-spacing: .04em; }
.ca-text { font-family: var(--mono); font-size: 13.5px; color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 4px; }
.ca-box.pending .ca-text { color: var(--muted); font-family: var(--font); }
.ca-box.pending .ca-copy { display: none; }
.ca-copy { flex: none; }
.ca-sub { margin-top: 10px; font-size: 12.5px; color: var(--dim); min-height: 18px; }

/* sections */
.ld-sec { padding: 64px 0; }
.ld-h2 { margin: 0 0 16px; text-align: center; font-size: clamp(32px, 5.4vw, 56px); line-height: 1.02; letter-spacing: -.04em; font-weight: 650; }
.ld-h2 span { color: var(--muted); }
.ld-h2.left { text-align: left; }
.ld-lead { max-width: 600px; margin: 0 auto 30px; text-align: center; color: var(--muted); font-size: 16px; }

/* terminal preview */
.term-tabs { display: flex; width: max-content; margin: 0 auto 16px; }
.term { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--border-2); border-radius: 20px; padding: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(184, 245, 60, .03); }
.term-mob { margin-bottom: 12px; }
.mob-row { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: none; }
.mob-row::-webkit-scrollbar { display: none; }
.mob { flex: none; width: 64px; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); }
.mob .ring { width: 52px; height: 52px; border-radius: 50%; padding: 2.5px; background: conic-gradient(var(--lime), var(--violet), var(--lime)); }
.mob .ring .avatar { width: 100% !important; height: 100% !important; border: 2.5px solid var(--surface); }
.mob .ring.empty { background: var(--surface-2); border: 1.5px solid var(--border-2); padding: 0; }
.mob-note { flex: none; align-self: center; font-size: 12px; width: 150px; line-height: 1.35; }
.mob b { font-size: 11px; color: var(--text); max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mob .pnl { font-size: 10.5px; font-weight: 600; }
.term-head { display: flex; align-items: center; gap: 10px; margin: 0 2px 12px; flex-wrap: wrap; }
.term-head h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.term-body { height: 620px; display: flex; flex-direction: column; }
.term-body #board { height: 100%; }
.term-cta { display: flex; justify-content: center; margin-top: 22px; }

.easy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; overflow: auto; height: 100%; align-content: start; }
.ecard { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--border); }
.ecard:hover { border-color: var(--border-2); }
.ecard .top { display: flex; gap: 12px; align-items: center; }
.ecard .sym { font-weight: 700; font-size: 17px; }
.ecard .mc { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }

.lb-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.lb-table th { text-align: left; font-weight: 500; color: var(--dim); font-size: 12px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.lb-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.lb-table tr:last-child td { border-bottom: 0; }
.lb-table .rk { width: 40px; color: var(--muted); font-weight: 600; }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feat { padding: 24px; }
.feat h3, .sg h3 { margin: 18px 0 6px; font-size: 17px; letter-spacing: -.01em; }
.feat p, .sg p { margin: 0; color: var(--muted); font-size: 14px; }
.feat-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(184, 245, 60, .1); color: var(--lime); }
.soc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 34px; }
.sg { padding: 26px; min-height: 160px; }

/* social preview */
.soc-frame { padding: 14px; border-radius: 20px; }
.soc-calls { display: grid; grid-template-columns: 1fr 340px; gap: 12px; height: 560px; }
.soc-main, .soc-side { background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; display: flex; flex-direction: column; min-height: 0; }
.soc-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.calls-list { flex: 1; min-height: 0; }
.call { padding: 14px; border-bottom: 1px solid var(--border); display: flex; gap: 11px; }
.call:last-child { border-bottom: 0; }
.call .who { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.call .txt { margin: 6px 0 9px; font-size: 14px; color: #d8dce3; word-wrap: break-word; }
.call-tok { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.call-tok .x { margin-left: auto; text-align: right; }
.call-tok .mult { font-size: 17px; font-weight: 700; }
.best-list { overflow: auto; }
.best { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 13px; }
.best:last-child { border-bottom: 0; }

/* rewards */
.rw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rw { padding: 26px; }
.rw-big { font-size: clamp(54px, 8vw, 84px); font-weight: 650; letter-spacing: -.05em; line-height: 1; }
.rw-txt { margin-top: 10px; color: #c5cad3; max-width: 260px; }
.rw-min { margin-top: 22px; font-size: 13px; }
.fee-card { margin-top: 12px; padding: 30px; display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: end;
  background: radial-gradient(ellipse at 0% 0%, rgba(184, 245, 60, .1), transparent 60%), var(--surface); border-color: rgba(184, 245, 60, .22); }
.fee-big { font-size: clamp(72px, 12vw, 132px); font-weight: 650; letter-spacing: -.06em; line-height: .9; }
.fee-big span { color: var(--lime); }
.fee-card p { margin: 0; color: #c5cad3; max-width: 360px; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 18px; }
.faq details[open] { border-color: var(--border-2); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 550; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-size: 20px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 16px; color: var(--muted); }

/* final + footer */
.ld-final { position: relative; overflow: hidden; padding: 110px 0 120px; text-align: center; }
.ld-final .hero-glow { top: auto; bottom: -380px; }
.ld-foot { border-top: 1px solid var(--border); padding: 40px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.foot-grid h4 { margin: 0 0 12px; font-size: 12.5px; color: var(--dim); font-weight: 500; }
.foot-grid a:not([data-logo] a) { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13.5px; margin-bottom: 9px; }
.foot-grid a:hover { color: var(--text); }
.foot-bot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--dim); font-size: 12.5px; }

@media (max-width: 900px) {
  .ld-links { display: none; }
  .soc-calls { grid-template-columns: 1fr; height: auto; }
  .soc-main { height: 460px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 20px; }
  .term-body { height: 560px; }
}
@media (max-width: 640px) {
  .ld-wrap { padding: 0 16px; }
  .ld-nav .btn-ghost:not(.ld-x) { display: none; }
  .hero { padding: 56px 0 40px; }
  .feat-grid, .soc-grid, .rw-grid { grid-template-columns: 1fr; }
  .fee-card { grid-template-columns: 1fr; gap: 14px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .term { padding: 10px; border-radius: 16px; }
  .term-tabs button { padding: 0 9px; font-size: 12px; }
  .ca-box { width: 100%; }
  .ca-text { flex: 1; font-size: 12px; }
}
