/* Sinecura v2 — dark, fluo, Lusion-grade. Base + shared components + home. Page-specific rules live in pages.css. */
@font-face { font-family: "Satoshi"; src: url("/fonts/satoshi-var.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --bg: #000000;
  --bg-2: #070706;
  --card: #11100C;
  --card-2: #1A1914;
  --card-3: #25241D;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #FFFFFF;
  --muted: #9C9B92;
  --dim: #55544C;
  --fluo: #CCFF00;
  --fluo-hi: #DBFF4D;
  --paper: #F4F4EF;
  --pink: var(--paper);
  --on-fluo: #000000;
  --r: 22px;
  --r-sm: 14px;
  --pad: clamp(16px, 2.2vw, 32px);
  --max: 1440px;
  --sans: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.5; font-weight: 450; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--fluo); color: var(--on-fluo); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------------------------------------------------------------- type */
.h1 { font-size: clamp(26px, 2.35vw, 36px); line-height: 1.12; font-weight: 500; letter-spacing: -.02em; margin: 0; }
.h2 { font-size: clamp(34px, 4.6vw, 72px); line-height: 1.02; font-weight: 500; letter-spacing: -.035em; margin: 0; }
.h3 { font-size: clamp(22px, 1.8vw, 28px); line-height: 1.15; font-weight: 500; letter-spacing: -.015em; margin: 0; }
.lede { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.45; color: var(--muted); margin: 0; max-width: 560px; }
.cap { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.fluo { color: var(--fluo); }

/* ---------------------------------------------------------------- pills & buttons */
.pill { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--card-2); color: var(--text); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.pill:hover { background: var(--card-3); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; transition: transform .4s var(--ease); }
.pill .dots { display: inline-flex; gap: 3px; } .pill .dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; display: block; }
.pill:hover .dot { transform: scale(1.6); }
.pill.fluo { background: var(--fluo); color: var(--on-fluo); }
.pill.fluo:hover { background: var(--fluo-hi); }
.pill.ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.pill.ghost:hover { background: rgba(255,255,255,.04); }
.pill.lg { height: 52px; padding: 0 24px; font-size: 14px; }
.pill:disabled { opacity: .5; cursor: default; }

/* ---------------------------------------------------------------- header (Lusion layout: brand · statement · pills) */
.hdr { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  padding: 18px var(--pad); transition: transform .5s var(--ease), background .4s var(--ease); }
.hdr.scrolled { background: linear-gradient(rgba(0,0,0,.92), rgba(0,0,0,.7) 70%, rgba(0,0,0,0)); }
.hdr.hide { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: .08em; }
.brand .logo { width: auto; height: 30px; display: block; filter: drop-shadow(0 2px 6px rgba(204,255,0,.18)); }
.hdr .act { display: flex; align-items: center; gap: 8px; }
.hdr nav { display: flex; gap: 6px; }
.hdr nav a { height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); transition: color .3s, background .3s; }
.hdr nav a:hover, .hdr nav a.on { color: var(--text); background: rgba(255,255,255,.05); }
.hdr nav { display: none !important; }
.mnav { position: fixed; z-index: 49; inset: 0; background: rgba(0,0,0,.97); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 28px;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.mnav a { font-size: 44px; font-weight: 500; letter-spacing: -.03em; padding: 6px 0; }
.mnav.open { opacity: 1; pointer-events: auto; }
@media (max-width: 900px) { .hdr .wallet { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero { padding: 0 var(--pad); }
.hero-top { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 24px; align-items: start; padding: 22px 0 26px; min-height: 0; }
.hero-top .h1 { grid-column: 2; }
.hero-top .side { display: none; }
.stage { position: relative; height: calc(100svh - 190px); min-height: 460px; max-height: 860px; border-radius: var(--r); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 40%, #1C1B15 0%, #11100C 55%, #090907 100%); isolation: isolate; }
.stage canvas { position: absolute; inset: 0; display: block; cursor: grab; }
.stage .chip { position: absolute; z-index: 2; bottom: 18px; display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 18px; border-radius: 999px;
  background: rgba(10,10,8,.66); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--muted); }
.stage .chip b { color: var(--text); font-weight: 600; }
.stage .chip.l { left: 18px; } .stage .chip.r { right: 18px; }
.stage .chip .live { width: 7px; height: 7px; border-radius: 50%; background: var(--fluo); box-shadow: 0 0 0 4px rgba(204,255,0,.16); }
.stage .hint { position: absolute; z-index: 2; top: 18px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; pointer-events: none; transition: opacity .6s; }
.ticks { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; padding: 16px 0 0; color: var(--dim); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ticks span { justify-self: center; } .ticks span:first-child { justify-self: start; } .ticks span:last-child { justify-self: end; }
.ticks .scroll { color: var(--muted); }
@media (max-width: 900px) {
  .hero { padding-top: 76px; }
  .hero-top { grid-template-columns: 1fr; padding: 18px 0; }
  .hero-top .h1 { grid-column: 1; }
  .hero-top .side { justify-self: start; }
  .hero-top .spacer { display: none; }
  .stage { height: 64svh; min-height: 420px; }
  .stage .chip.r { display: none; }
  .ticks span:nth-child(2), .ticks span:nth-child(4) { display: none; }
  .ticks { grid-template-columns: 1fr auto 1fr; }
}

/* ---------------------------------------------------------------- sections */
.sec { padding: clamp(110px, 14vw, 200px) 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 84px); }
.sec-head .lede { justify-self: end; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; } .sec-head .lede { justify-self: start; } }

/* big statement whose words light up with the scroll */
.statement { font-size: clamp(32px, 4.9vw, 78px); line-height: 1.06; letter-spacing: -.035em; font-weight: 500; margin: 0; max-width: 1240px; }
.statement .w { color: var(--dim); transition: color .25s linear; }
.statement .w.on { color: var(--text); }
.statement .w.f.on { color: var(--fluo); }

/* how it works: a horizontal track driven by vertical scroll */
.track-wrap { position: relative; }
.track-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.track { display: flex; gap: 18px; padding: 0 var(--pad); will-change: transform; }
.step { flex: 0 0 min(460px, 82vw); height: min(560px, 62svh); border-radius: var(--r); background: var(--card); padding: 30px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.step .n { font-size: 15px; font-weight: 600; color: var(--muted); }
.step .big { font-size: clamp(90px, 9vw, 150px); line-height: .85; font-weight: 500; letter-spacing: -.06em; color: var(--card-3); position: absolute; right: 22px; top: 18px; }
.step h3 { font-size: 34px; line-height: 1.05; letter-spacing: -.025em; font-weight: 500; margin: 0 0 14px; }
.step p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.45; max-width: 360px; }
.step.fluo { background: var(--fluo); color: var(--on-fluo); }
.step.fluo p, .step.fluo .n { color: rgba(10,10,11,.72); } .step.fluo .big { color: rgba(10,10,11,.12); }
.step.pink { background: var(--pink); color: var(--on-fluo); }
.step.pink p, .step.pink .n { color: rgba(10,10,11,.72); } .step.pink .big { color: rgba(10,10,11,.12); }
.track-head { padding: 0 var(--pad) 40px; max-width: var(--max); width: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.track-bar { height: 2px; background: var(--line); margin: 34px var(--pad) 0; border-radius: 2px; overflow: hidden; }
.track-bar i { display: block; height: 100%; width: 0; background: var(--fluo); }

/* fee split */
.split { display: grid; grid-template-columns: 50fr 20fr 23fr 7fr; gap: 8px; }
.split .seg { border-radius: var(--r-sm); min-height: 300px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; transform-origin: bottom; }
.split .seg .p { font-size: clamp(44px, 6vw, 108px); line-height: .9; letter-spacing: -.05em; font-weight: 500; }
.split .seg .p small { font-size: .42em; letter-spacing: 0; vertical-align: top; margin-left: 2px; }
.split .seg b { display: block; font-size: 17px; font-weight: 600; }
.split .seg span { display: block; font-size: 14px; line-height: 1.35; opacity: .72; margin-top: 4px; }
.split .creator { background: var(--card-2); }
.split .seat { background: var(--fluo); color: var(--on-fluo); }
.split .treasury { background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.split .burn { background: var(--pink); color: var(--on-fluo); padding: 22px 14px; }
.split .burn .p { font-size: clamp(36px, 3.2vw, 56px); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split .seg { min-height: 190px; }
}

/* hall preview */
.hallcard { border-radius: var(--r); background: var(--card); padding: clamp(20px, 3vw, 40px); display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: center; }
.hallcard canvas { width: 100%; aspect-ratio: 1.55; display: block; }
.hallcard .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; margin: 30px 0 34px; }
.hallcard .facts .v { font-size: 40px; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.hallcard .facts .k { color: var(--muted); font-size: 14px; margin-top: 8px; }
@media (max-width: 900px) { .hallcard { grid-template-columns: 1fr; } }

/* $CURA */
.cura { border-radius: var(--r); background: var(--fluo); color: var(--on-fluo); padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; overflow: hidden; position: relative; }
.cura .tick { font-size: clamp(80px, 13vw, 220px); line-height: .8; font-weight: 700; letter-spacing: -.06em; margin: 0; }
.cura p { font-size: 20px; line-height: 1.4; margin: 26px 0 0; max-width: 520px; color: rgba(10,10,11,.78); }
.cura ul { list-style: none; margin: 0; padding: 0; }
.cura li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid rgba(10,10,11,.18); font-size: 16px; font-weight: 600; }
.cura li span:last-child { font-variant-numeric: tabular-nums; }
.cura .ca { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.cura .ca code { font-size: 13px; background: rgba(10,10,11,.1); padding: 0 14px; height: 40px; display: inline-flex; align-items: center; border-radius: 999px; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cura .pill { background: var(--on-fluo); color: var(--text); }
@media (max-width: 900px) { .cura { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-size: clamp(19px, 1.6vw, 24px); font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: 0 0 auto; background: linear-gradient(var(--text), var(--text)) center / 12px 2px no-repeat, linear-gradient(var(--text), var(--text)) center / 2px 12px no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: -6px 0 26px; color: var(--muted); max-width: 760px; font-size: 17px; line-height: 1.55; }

/* closing + footer */
.closing { padding: clamp(110px, 12vw, 180px) 0 clamp(60px, 7vw, 100px); text-align: center; }
.closing .h2 { max-width: 900px; margin: 0 auto 36px; }
.closing .ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.foot { padding: 60px 0 22px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot h4 { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.foot a { display: block; color: var(--muted); padding: 4px 0; transition: color .3s; } .foot a:hover { color: var(--text); }
.foot p { color: var(--muted); max-width: 320px; margin: 14px 0 0; }
.foot .giant { font-size: clamp(64px, 17.5vw, 290px); line-height: .8; font-weight: 700; letter-spacing: -.055em; text-align: center; margin: 40px 0 10px; color: var(--card-2); user-select: none; }
.foot .fine { display: flex; justify-content: space-between; color: var(--dim); font-size: 13px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* reveal */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* toast */
.toast { position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--card-2); color: var(--text); padding: 12px 18px; border-radius: 999px; font-size: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.5), inset 0 0 0 1px var(--line); transition: all .4s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 600px) {
  .hdr { padding: 14px 16px; }
  .brand { font-size: 16px; gap: 8px; } .brand .logo { width: 24px; height: 24px; }
  .hdr .act { gap: 6px; }
  .hdr .pill { height: 36px; padding: 0 13px; font-size: 12px; }
  .hdr .pill .dot, .hdr .pill .dots { display: none; }
  .hdr .pill.fluo .full { display: none; }
}
