/* Ripcard landing, BNB look: cold navy-black, one flat gold accent, Instrument Sans + JetBrains Mono,
   a real photographed stage in the hero with the packs standing in its light. */
body.bn { background: var(--bg); color: var(--text); font-family: var(--sans); display: flex; flex-direction: column; min-height: 100vh; }
body.bn main { flex: 1; }
.bn h1, .bn h2, .bn h3 { font-family: var(--sans); letter-spacing: -0.035em; font-weight: 600; margin: 0; }

/* header */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 max(28px, calc((100vw - 1280px) / 2)); transition: background 0.3s; }
.nav.sc { background: rgba(7, 9, 13, 0.86); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand > span:last-child { transform: translateY(-1px); }
.bm svg { width: 26px; height: 26px; display: block; color: #fff; }
.nav nav { display: flex; gap: 30px; font-size: 14.5px; color: var(--mute); }
.nav nav a:hover { color: var(--text); }
.nav > .btn { justify-self: end; }

/* hero */
.hero { position: relative; height: max(760px, min(100vh, 1000px)); overflow: hidden; display: flex; flex-direction: column; align-items: center; }
.hbg { position: absolute; inset: -30px; background: url("/img/hero.jpg") center 62% / cover no-repeat; filter: brightness(0.92); will-change: transform; }
.hin { position: relative; z-index: 3; text-align: center; padding: 118px 24px 0; max-width: 860px; }
.hero h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 600; }
.hero .hin > p { margin: 18px auto 0; max-width: 620px; color: rgba(238, 240, 243, 0.72); font-size: 18px; line-height: 1.55; }
.ctas { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.ca { margin-top: 18px; display: flex; justify-content: center; }
.plate { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(7, 9, 13, 0.55); backdrop-filter: blur(8px); font: 500 13px var(--mono); color: var(--mute); }
.plate b { font-family: var(--sans); font-weight: 600; font-size: 12.5px; color: #0b0b0d; background: var(--gold); padding: 4px 10px; border-radius: 999px; }
button.plate { cursor: pointer; } button.plate:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }
.stagep { position: absolute; z-index: 2; left: 50%; bottom: 2.5%; width: 0; height: 0; }
.stagep .hp { position: absolute; left: 0; bottom: 0; height: clamp(210px, 26vh, 320px); width: auto; opacity: 0; will-change: transform; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.55)); }
.stagep .p1 { --r: -9deg; margin-left: -170px; }
.stagep .p3 { --r: 9deg; margin-left: 170px; }
.stagep .p2 { --r: 0deg; height: clamp(236px, 29vh, 360px); bottom: 12px; z-index: 2; }

/* tape */
.tape { position: relative; z-index: 3; height: 56px; overflow: hidden; background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tape-in { display: flex; gap: 44px; width: max-content; height: 100%; align-items: center; animation: tape 80s linear infinite; padding-left: 40px; }
.tape-in span { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; white-space: nowrap; }
.tape-in i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--raise); color: #fff; } .tape-in i svg { width: 13px; height: 13px; }
.tape-in b { font-weight: 600; } .tape-in em { font-style: normal; color: var(--mute); font: 500 13px var(--mono); }
.tape-in .up, .tape-in .dn { font: 500 12.5px var(--mono); }
@keyframes tape { to { transform: translateX(-50%); } }

/* totals */
.stats { max-width: 1280px; width: calc(100% - 56px); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.stats > div { padding: 34px 28px 30px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats small { color: var(--mute); font-size: 13.5px; }
.stats b { display: block; margin-top: 8px; font: 500 30px var(--mono); letter-spacing: -0.03em; }
.stats b span { font-size: 15px; }

/* sections */
.sec { max-width: 1280px; width: calc(100% - 56px); margin: 0 auto; padding-top: 128px; }
.sec h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.02; }
.split-h { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.split-h p { margin: 0; color: var(--mute); font-size: 17px; line-height: 1.6; max-width: 560px; justify-self: end; }
h2.one { margin-bottom: 40px; }
h2.ctr { text-align: center; margin-bottom: 40px; }
.row-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }

.cardrow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; container-type: inline-size; }
.cardrow .gc { --w: calc((100cqw - 90px) / 6); }

.rtps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.rtps > div { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--rad); background: var(--card); border: 1px solid var(--line); }
.pk-ico { width: 40px; height: 56px; display: grid; place-items: center; flex: none; } .pk-ico img { height: 56px; width: auto; }
.rtps b { display: block; font-size: 19px; } .rtps small { color: var(--mute); font-size: 13px; }
.rtps .r { margin-left: auto; text-align: right; } .rtps .r b { font: 600 26px var(--mono); color: var(--gold); letter-spacing: -0.03em; }
.otable { border-radius: var(--rad); border: 1px solid var(--line); background: var(--card); overflow: auto; }
.otable table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 720px; }
.otable th { text-align: left; font-weight: 500; color: var(--mute); font-size: 13.5px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.otable td { padding: 17px 24px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 14px; }
.otable td:first-child { font-family: var(--sans); font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 12px; }
.otable td i { width: 10px; height: 10px; border-radius: 3px; }
.otable .c { text-align: right; }
.otable tr:last-child td { border-bottom: 0; }
.otable tr.jp td { color: var(--gold); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { border-radius: var(--rad); background: var(--card); border: 1px solid var(--line); padding: 14px 14px 26px; }
.sv { height: 168px; border-radius: calc(var(--rad) - 4px); background: var(--bg2); display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 22px; }
.sv-pack img { height: 150px; transform: rotate(-6deg); }
.sv-seed code { font: 500 13px var(--mono); color: var(--gold); padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(240, 185, 11, 0.3); background: rgba(240, 185, 11, 0.06); }
.sv-back { gap: 0; } .sv-back img { width: 84px; border-radius: 7px; margin: 0 -10px; border: 1px solid rgba(255, 255, 255, 0.12); }
.sv-back img:nth-child(1) { transform: rotate(-10deg) translateY(8px); } .sv-back img:nth-child(3) { transform: rotate(10deg) translateY(8px); position: relative; }
.sv-out { flex-direction: column; } .sv-out b { font: 600 54px var(--mono); color: var(--gold); letter-spacing: -0.04em; } .sv-out span { color: var(--mute); font-size: 14px; }
.step h3 { font-size: 19px; padding: 0 10px; } .step p { margin: 10px 0 0; padding: 0 10px; color: var(--mute); font-size: 15px; line-height: 1.6; }

.feed { border-radius: var(--rad); border: 1px solid var(--line); background: var(--card); }
.fi { display: grid; grid-template-columns: 14px 110px 1fr auto auto; gap: 16px; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.fi:last-child { border-bottom: 0; }
.fi .dot { width: 10px; height: 10px; border-radius: 3px; } .fi .w { color: var(--dim); font: 13px var(--mono); } .fi .r { font-family: var(--mono); text-align: right; }
.empty { padding: 40px; text-align: center; color: var(--mute); }
.up { color: var(--up); } .dn { color: var(--dn); }

.duo2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel { border-radius: var(--rad); background: var(--card); border: 1px solid var(--line); padding: 40px; display: flex; flex-direction: column; align-items: flex-start; }
.panel h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.08; max-width: 460px; }
.panel > p { margin: 16px 0 0; color: var(--mute); font-size: 16px; line-height: 1.6; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin: 30px 0; border-top: 1px solid var(--line); }
.nums > div { padding: 22px 16px 0 0; } .nums b { display: block; font: 600 38px var(--mono); color: var(--gold); letter-spacing: -0.04em; } .nums small { display: block; margin-top: 6px; color: var(--mute); font-size: 13.5px; line-height: 1.4; }
.burn { margin-top: auto; } .burn small { color: var(--mute); font-size: 13px; } .burn b { display: block; margin-top: 4px; font-size: 22px; } .burn b span { color: var(--mute); font: 500 14px var(--mono); }
.panel .btn { margin-top: auto; }

.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.trust > div { border-top: 1px solid var(--line2); padding-top: 26px; }
.trust h3 { font-size: 24px; } .trust p { margin: 12px 0 16px; color: var(--mute); font-size: 16px; line-height: 1.6; }
.trust a { color: var(--gold); font-weight: 500; font-size: 15px; }

.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa .q { width: 100%; text-align: left; padding: 24px 4px; border: 0; background: none; color: var(--text); font: 500 18px var(--sans); cursor: pointer; display: flex; justify-content: space-between; gap: 20px; }
.qa .q::after { content: "+"; color: var(--gold); font-weight: 400; font-size: 22px; line-height: 1; transition: transform 0.25s; }
.qa.open .q::after { transform: rotate(45deg); }
.qa .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.qa .a > p { overflow: hidden; margin: 0; padding: 0 4px; color: var(--mute); line-height: 1.65; font-size: 16px; }
.qa.open .a { grid-template-rows: 1fr; } .qa.open .a > p { padding-bottom: 24px; }

.last { position: relative; overflow: hidden; margin-top: 140px; padding: 150px 24px 170px; text-align: center; }
.lbg { position: absolute; inset: 0; background: url("/img/hero.jpg") center 30% / cover no-repeat; filter: brightness(0.75); -webkit-mask: linear-gradient(180deg, transparent, #000 22%); mask: linear-gradient(180deg, transparent, #000 22%); }
.last { padding-bottom: 300px !important; }
.last > *:not(.lbg) { position: relative; }
.last h2 { font-size: clamp(40px, 5vw, 72px); }
.last > p { margin: 14px 0 0; color: rgba(238, 240, 243, 0.72); font-size: 18px; }

/* footer */
.foot { background: #000; padding: 72px 28px 80px; }
.fin { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.fin p { color: var(--mute); font-size: 14px; margin: 14px 0 0; }
.fin h4 { margin: 0 0 12px; color: var(--mute); font-size: 13px; font-weight: 500; }
.fin a:not(.brand) { display: block; padding: 4px 0; font-size: 14.5px; }
.fine { max-width: 1280px; margin: 44px auto 0; color: var(--dim); font-size: 12.5px; }

/* demo period */
.demoline { display: none; }
body.demo .real { display: none; }
body.demo .demoline { display: block; margin: 14px auto 0; max-width: 560px; color: var(--gold); font-size: 14px; line-height: 1.55; }

@media (max-width: 1100px) {
  .nav nav { display: none; } .nav { grid-template-columns: 1fr auto; }
  .split-h, .duo2, .trust { grid-template-columns: 1fr; } .split-h p { justify-self: start; }
  .steps { grid-template-columns: 1fr 1fr; } .rtps { grid-template-columns: 1fr; }
  .cardrow { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cardrow .gc { --w: calc((100cqw - 36px) / 3); }
  .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .nav { padding: 0 16px; } .sec, .stats { width: calc(100% - 32px); } .sec { padding-top: 96px; }
  .hero { height: 720px; } .hin { padding-top: 108px; } .hero .hin > p { font-size: 16px; }
  .stagep { bottom: 0; } .stagep .hp { height: 170px; } .stagep .p2 { height: 192px; } .stagep .p1 { margin-left: -118px; } .stagep .p3 { margin-left: 118px; }
  .steps { grid-template-columns: 1fr; } .cardrow { grid-template-columns: 1fr 1fr; } .cardrow .gc { --w: calc((100cqw - 18px) / 2); }
  .stats > div { padding: 22px 12px 20px; } .stats b { font-size: 22px; }
  .panel { padding: 28px 22px; } .nums b { font-size: 28px; }
  .fi { grid-template-columns: 12px 1fr auto; } .fi .m, .fi .w { display: none; }
  .fin { grid-template-columns: 1fr 1fr; } .last { padding: 110px 16px 120px; }
}
