body { background: var(--bg); }
.nav { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 28px; background: rgba(245,241,232,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .links { display: flex; gap: 6px; align-items: center; }
.nav a.logo { color: var(--ink); }
.sec { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 64px 28px 72px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 12px; text-decoration: none; }
.kicker .dot { animation: pulse 1.6s ease-in-out infinite; }
.hero h1 { font-size: clamp(46px, 7.4vw, 104px); line-height: .98; letter-spacing: -0.03em; font-weight: 800; padding-bottom: .1em; }
.hero h1 .hl { position: relative; white-space: nowrap; color: var(--orange); }
.hero h1 .hl svg { position: absolute; left: 0; bottom: -0.06em; width: 96%; height: .16em; color: var(--orange); opacity: .3; }
.hero p { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--muted); margin: 0; max-width: 560px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; }
.cta .btn { min-height: 54px; padding: 0 26px; font-size: 16px; }

.join-card { background: var(--dark); color: var(--dark-text); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 50px 80px -50px rgba(27,23,18,.7); position: relative; overflow: hidden; }
.join-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,90,31,.35), transparent 70%); pointer-events: none; }
.join-card .eyebrow { font-size: 13px; }
.join-card h2 { font-size: 30px; }
.join-card p { margin: 0; color: var(--dark-muted); font-size: 15px; line-height: 1.5; }
.codejoin { display: flex; flex-direction: column; gap: 10px; }
.codejoin input { min-height: 68px; text-align: center; font: 700 34px var(--display); letter-spacing: .18em; background: var(--dark-2); color: var(--dark-text); border-color: var(--dark-line); border-radius: 18px; }
.codejoin input::placeholder { color: #5d5547; }
.codejoin input:focus { border-color: var(--orange); }
.codejoin .btn { min-height: 56px; font-size: 16px; }
.codejoin .error { color: #ff9a76; text-align: center; min-height: 0; }
.mini-bars { display: flex; align-items: flex-end; gap: 8px; height: 56px; margin-top: 4px; }
.mini-bars span { flex: 1; border-radius: 8px 8px 3px 3px; background: var(--dark-3); animation: grow 3.2s ease-in-out infinite alternate; transform-origin: bottom; }
.mini-bars span:nth-child(3) { background: var(--orange); }
.mini-bars span:nth-child(1) { height: 45%; animation-delay: -.4s; } .mini-bars span:nth-child(2) { height: 70%; animation-delay: -1.2s; }
.mini-bars span:nth-child(3) { height: 100%; animation-delay: -2s; } .mini-bars span:nth-child(4) { height: 35%; animation-delay: -.8s; } .mini-bars span:nth-child(5) { height: 58%; animation-delay: -1.6s; }
@keyframes grow { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* demo */
.demo { padding: 56px 0 104px; scroll-margin-top: 72px; }
.live { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.live .dot { animation: pulse 1.6s ease-in-out infinite; }
.tabs { display: inline-flex; gap: 4px; background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; flex-wrap: wrap; }
.tabs button { min-height: 40px; padding: 0 18px; border-radius: 999px; border: none; background: transparent; font: 500 14px var(--body); color: var(--muted); cursor: pointer; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { background: var(--ink); color: var(--card); }
.demo-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: 36px; }
.demo-head .txt { display: flex; flex-direction: column; gap: 14px; max-width: 780px; }
.demo-head h2 { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -0.03em; }
.demo-head p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.5; }
.stagewrap { position: relative; }
.vote-card { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 360px; background: var(--card); border: 1.5px solid var(--line); border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 50px 90px -40px rgba(27,23,18,.55), 0 10px 30px -18px rgba(27,23,18,.3); }
.vc-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.vc-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); background: var(--blue-soft); border-radius: 999px; padding: 5px 12px; }
.vc-badge .dot { width: 8px; height: 8px; animation: pulse 1.6s ease-in-out infinite; }
.vc-body { display: flex; flex-direction: column; gap: 14px; min-height: 300px; }
.vc-body h3 { font-size: 22px; line-height: 1.2; }
.vc-body .opt { min-height: 52px; font-size: 16px; }
.vc-body .scale-btns button { min-height: 52px; }
.hint { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }
.screen { margin-right: 200px; min-height: 580px; background: var(--dark); color: var(--dark-text); border-radius: 32px; padding: 32px 236px 28px 44px; box-shadow: 0 40px 70px -40px rgba(27,23,18,.6); display: flex; flex-direction: column; gap: 24px; }
.screen-top { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.screen-top .join { display: flex; align-items: center; gap: 14px; background: var(--dark-2); border-radius: 18px; padding: 8px 8px 8px 18px; }
.screen-top .join small { display: block; font-size: 13px; color: var(--dark-muted); }
.screen-top .join b { font: 700 26px var(--display); letter-spacing: .12em; }
.screen .qr { width: 64px; height: 64px; padding: 4px; border-radius: 10px; }
.screen h2 { font-size: clamp(26px, 3.2vw, 42px); }
.screen .stage-in { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 30px; min-height: 330px; }
.screen .bar .lbl { font-size: 18px; flex-basis: 200px; }
.screen .bar .track { height: 40px; }
.screen .bar .pct { font-size: 22px; flex-basis: 70px; }
.screen .cols { height: 220px; }
.screen .cloud { min-height: 220px; }
.screen .empty { font-size: 18px; }
.screen .foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--dark-muted); font-size: 14px; border-top: 1px solid var(--dark-line); padding: 14px 0 0; max-width: none; margin: 0; }
.screen .foot strong { color: var(--dark-text); }

/* steps */
.how { padding: 24px 0 96px; }
.sec-title { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -0.03em; margin-bottom: 44px; max-width: 760px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.step { padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 12px; }
.step + .step { padding-left: 28px; border-left: 1.5px solid var(--line); }
.step .n { font: 800 64px/1 var(--display); letter-spacing: -0.04em; color: var(--orange); }
.step h3 { font-size: 24px; }
.step p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 16px; }

/* features */
.feat { padding: 0 0 104px; }
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.f { background: var(--card); border: 1.5px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, border-color .2s; }
.f:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.f .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: var(--card); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.f:nth-child(3n+2) .ic { background: var(--orange); color: #fff; }
.f h3 { font-size: 21px; }
.f p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* band */
.band-wrap { padding: 0 28px 96px; }
.band { max-width: 1200px; margin: 0 auto; background: var(--ink); color: var(--dark-text); border-radius: 36px; padding: 80px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; left: 50%; bottom: -220px; width: 640px; height: 360px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,90,31,.45), transparent); pointer-events: none; }
.band h2 { font-size: clamp(36px, 5.4vw, 72px); max-width: 860px; letter-spacing: -0.035em; position: relative; }
.band p { margin: 0; color: var(--dark-muted); font-size: 18px; position: relative; }
.band .btn { min-height: 56px; padding: 0 30px; font-size: 16px; position: relative; }

.foot { border-top: 1.5px solid var(--line); padding: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; color: var(--muted); font-size: 14px; max-width: 1200px; margin: 0 auto; }
.foot nav { display: flex; gap: 18px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .logo { color: var(--ink); }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .stagewrap { display: flex; flex-direction: column; }
  .vote-card { order: 0; position: relative; z-index: 2; top: auto; right: auto; transform: none; width: calc(100% - 24px); max-width: 420px; margin: 0 12px -28px; align-self: center; }
  .vc-body { min-height: 0; }
  .screen { order: 1; margin-right: 0; padding: 56px 20px 24px; min-height: 0; }
  .screen .stage-in { min-height: 0; }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav { padding: 12px 16px; }
  .sec { padding-left: 16px; padding-right: 16px; }
  .demo { padding-bottom: 72px; }
  .how, .feat { padding-bottom: 72px; }
  .f { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; row-gap: 4px; padding: 20px; }
  .f .ic { grid-row: span 2; margin: 0; }
  .hero { padding: 32px 16px 48px; }
  .hero h1 .hl { white-space: normal; }
  .join-card { padding: 22px; border-radius: 24px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 22px 0; border-left: 0; }
  .step + .step { border-top: 1.5px solid var(--line); }
  .step .n { font-size: 48px; }
  .fgrid { grid-template-columns: 1fr; }
  .band-wrap { padding: 0 12px 64px; }
  .band { padding: 56px 20px; border-radius: 28px; }
  .screen .bar { flex-wrap: wrap; gap: 6px 12px; }
  .screen .bar .lbl { flex: 1 1 auto; font-size: 16px; }
  .screen .bar .pct { flex: 0 0 auto; font-size: 18px; }
  .screen .bar .track { order: 3; flex: 1 1 100%; height: 28px; }
  .screen-top .join small { display: none; }
  .screen { padding: 52px 18px 20px; border-radius: 24px; }
}
@media (max-width: 520px) { .hide-sm { display: none; } }

/* blog */
.blog-head { padding: 72px 0 36px; display: flex; flex-direction: column; gap: 14px; }
.blog-head h1 { font-size: clamp(44px, 6vw, 80px); letter-spacing: -0.035em; }
.blog-head p { margin: 0; color: var(--muted); font-size: 19px; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; padding-bottom: 96px; }
.post-card { display: flex; flex-direction: column; gap: 12px; background: var(--card); border: 1.5px solid var(--line); border-radius: 24px; padding: 28px; color: var(--ink); text-decoration: none; transition: transform .2s, border-color .2s; }
.post-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.post-card h2 { font-size: 24px; }
.post-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.post-card time, .article time { font-size: 14px; color: var(--muted); }
.article { max-width: 720px; margin: 0 auto; padding: 64px 24px 88px; }
.article h1 { font-size: clamp(38px, 5.4vw, 60px); margin: 14px 0 22px; letter-spacing: -0.03em; }
.article .lead { font-size: 21px; color: var(--muted); line-height: 1.55; margin: 0 0 36px; }
.prose { font-size: 18px; line-height: 1.75; }
.prose h2 { font-size: 30px; margin: 44px 0 12px; }
.prose h3 { font-size: 23px; margin: 30px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--ink); text-decoration-color: var(--orange); }
.prose blockquote { margin: 26px 0; padding: 4px 22px; border-left: 4px solid var(--orange); color: var(--muted); }
.prose code { background: var(--blue-soft); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.article-cta { margin-top: 52px; background: var(--ink); color: var(--dark-text); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.article-cta p { color: var(--dark-muted); }
