/* LarpBuster landing on the "Andy on BNB" template, rebuilt from its measured layout (1440 × 900 reference).
   Template lime → Buster red, template green → black, template yellow → bordeaux (picked 19/10) with cream details. */
:root {
  --field: #5C0D1D;           /* page field (was the template yellow) */
  --hl: #F3E3C8;              /* cream details on dark cards */
  --on-field: rgba(255, 255, 255, .84);
  --accent: #E8231A;          /* buttons, back tape */
  --accent-shade: rgba(0, 0, 0, .35);
  --tape: #141414;            /* front tape, scrolled nav */
  --ink: #3D3A3B;
  --dark: #0F0B18;
  --white: #fff;
  --display: 'Archivo Black', sans-serif;
  --body: 'Poppins', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--field); color: var(--white); font-family: var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul { margin: 0; }
img { display: block; max-width: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Topographic contour texture behind sections (the template's own pattern). */
.contours { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.contours::before { content: ''; position: absolute; left: 50%; top: 150px; width: 3472px; height: 3472px; margin-left: -1736px; border-radius: 50%; background: url(/img/contours.svg) center/cover no-repeat; opacity: .12; }

/* ---------- Button: cut corners and an offset shade, like the template ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 66px; padding: 0 24px; font: 600 24px/33.6px var(--body); letter-spacing: -.5px; color: #fff; isolation: isolate; cursor: pointer; border: 0; background: none; white-space: nowrap; }
.btn::before, .btn::after { content: ''; position: absolute; inset: 0; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); z-index: -1; transition: transform .25s ease; }
.btn::before { background: var(--accent-shade); transform: translate(5px, 5px); }
.btn::after { background: var(--accent); }
.btn:hover::after { transform: translate(2px, 2px); }
.btn span { display: inline-flex; align-items: center; gap: 8px; }
.btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.btn-wide { width: 308px; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 106px; padding: 20px 30px; transition: background .3s, backdrop-filter .3s; }
.nav.scrolled { background: rgba(14, 14, 14, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-in { max-width: 1170px; height: 66px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { width: 56px; height: 56px; border-radius: 50%; }
.nav-menu { display: flex; gap: 40px; }
.nav-menu a { font: 500 20px/30px var(--body); color: #fff; transition: opacity .2s; }
.nav-menu a:hover { opacity: .75; }
.btn-nav { width: 200px; }
.burger { display: none; position: relative; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
.burger i { position: absolute; left: 8px; right: 8px; height: 2px; background: #fff; transition: transform .3s, top .3s; }
.burger i:first-child { top: 15px; } .burger i:last-child { top: 23px; }
.burger[aria-expanded="true"] i:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 19px; transform: rotate(-45deg); }
.mmenu { display: flex; flex-direction: column; gap: 18px; padding: 24px 30px 30px; background: rgba(20, 20, 20, .92); backdrop-filter: blur(10px); }
.mmenu[hidden] { display: none; }
.mmenu a { font: 600 22px/30px var(--body); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 1180px; padding: 140px 0 180px; overflow: hidden; }
.hero-in { position: relative; z-index: 1; max-width: 1140px; height: 860px; margin: 0 auto; }
.hero h1 { font: 400 120px/1 var(--display); letter-spacing: -7px; text-align: center; text-transform: uppercase; color: #fff; padding-top: 30px; }
.hero-sub { margin-top: 18px; text-align: center; font: 600 28px/36px var(--body); letter-spacing: -.5px; color: #fff; }
.hero-img { position: absolute; left: 50%; top: 212px; width: 420px; margin-left: -210px; }
.hero-cta { position: absolute; left: 50%; top: 480px; width: 1140px; margin-left: -570px; padding: 38px 70px 34px; border: 2px solid rgba(255, 255, 255, .85); border-radius: 28px; display: flex; flex-direction: column; align-items: stretch; gap: 22px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-cta .paste { width: 100%; margin-top: 0; }
.hero-note { font: 400 19px/28px var(--body); color: rgba(255, 255, 255, .88); text-align: center; }
.hero-line { font: 400 36px/40px var(--display); text-transform: uppercase; letter-spacing: -.3px; color: #fff; text-align: center; }
.hero-line .word { display: inline-block; white-space: nowrap; }
.hero-line .ch { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(6px); transition: opacity .5s, filter .5s, transform .5s; }
.hero-line .ch.on { opacity: 1; filter: blur(0); transform: none; }

/* ---------- Ticker tapes ---------- */
.ticker { position: relative; height: 292px; overflow: hidden; z-index: 2; }
.tape { position: absolute; left: -109px; right: -109px; top: 50%; height: 78px; margin-top: -39px; display: flex; align-items: center; overflow: hidden; }
.tape-back { background: var(--accent); transform: rotate(-5deg); }
.tape-front { background: var(--tape); transform: rotate(5deg); }
.tape-run { display: flex; gap: 46px; white-space: nowrap; will-change: transform; }
.tape-run span { font: 400 36px/39.6px var(--display); letter-spacing: -1px; text-transform: uppercase; }
.tape-back span { color: var(--field); }
.tape-front span { color: #fff; }

/* ---------- Numbers (the template's tokenomics) ---------- */
.numbers { position: relative; padding: 120px 30px; display: flex; flex-direction: column; align-items: center; gap: 72px; }
.title-wrap { width: 100%; max-width: 1170px; display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.title-wrap h2 { font: 400 116px/116px var(--display); letter-spacing: -2.51px; text-transform: uppercase; color: #fff; }
.title-wrap p { font: 400 28px/42px var(--body); color: #fff; }
.numbers-grid { width: 100%; max-width: 1170px; height: 1027px; display: grid; grid-template-columns: 369px minmax(0, 1fr) 369px; gap: 32px; align-items: center; }
.numbers-grid .col { display: flex; flex-direction: column; gap: 120px; }
.blob { width: 369px; height: 369px; padding: 24px; background: rgba(255, 255, 255, .05); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.blob-l { border-radius: 200px 200px 0 200px; } .blob-l2 { border-radius: 200px; }
.blob-r { border-radius: 200px 200px 200px 0; } .blob-r2 { border-radius: 200px; }
.blob h3 { font: 400 64px/70.4px var(--display); letter-spacing: -1px; color: #fff; }
.blob p { font: 400 36px/54px var(--body); color: #fff; max-width: 321px; }
.numbers-img { justify-self: center; width: 560px; margin: 0 -96px; position: relative; z-index: 1; }

/* ---------- How it works (the template's buy section) ---------- */
.how { position: relative; padding: 150px 30px 260px; }
/* The white cap of a huge circle rising into the FAQ: a strip with a radial gradient, so nothing extends the page. */
.how::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 140px; background: radial-gradient(circle 120vw at 50% calc(120vw + 1px), #fff 99.8%, transparent 100%); z-index: 0; }
.how-in { position: relative; z-index: 1; max-width: 1170px; margin: 0 auto; display: flex; flex-direction: column; gap: 140px; }
.how-top { position: relative; padding-top: 180px; }
.how-img { position: absolute; left: 50%; top: -260px; width: 600px; margin-left: -150px; z-index: 0; }
.how-card { position: relative; z-index: 1; height: 286px; padding: 36px 52px 40px; border-radius: 18px; background: linear-gradient(118deg, #111315 0%, #1e2125 100%); display: flex; flex-direction: column; justify-content: center; gap: 24px; overflow: hidden; }
.gold-bar { position: absolute; left: 52px; top: 20px; width: 84px; height: 4px; border-radius: 4px; background: var(--hl); }
.eyebrow { font: 700 12px/14.4px Inter, sans-serif; letter-spacing: 1.6px; color: var(--hl); }
.how-card h2 { font: 400 86px/81.7px var(--display); letter-spacing: -2px; color: #f5f5f5; }
.accent { position: absolute; right: 52px; top: 22px; width: 138px; height: 138px; }
.accent svg { width: 100%; height: 100%; }
.how-btn { display: flex; justify-content: flex-end; margin-top: -40px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { position: relative; height: 259px; padding: 72px 30px 30px; border-radius: 20px; background: rgba(255, 255, 255, .12); text-align: center; }
.step .num { position: absolute; left: 28px; top: -16px; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; font: 400 24px/33.6px var(--display); color: #fff; }
.step h4 { font: 700 28px/42px var(--body); text-transform: uppercase; color: #fff; }
.step p { margin-top: 12px; font: 400 24px/33.6px var(--body); letter-spacing: -.5px; color: #fff; }
.paste { align-self: center; width: 1000px; max-width: 100%; height: 106px; margin-top: -76px; padding: 20px 20px 20px 48px; border-radius: 30px 6px; background: linear-gradient(135deg, #10151a 0%, #22272d 100%); display: flex; align-items: center; gap: 20px; box-shadow: 0 8px 0 rgba(0, 0, 0, .25); }
.paste input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #f5f5f5; font: 600 27px/32.4px Inter, sans-serif; letter-spacing: .2px; }
.paste input::placeholder { color: rgba(245, 245, 245, .55); }
.btn-copy { width: 183px; flex: none; }
.socials { display: flex; justify-content: center; gap: 24px; margin-top: -100px; }
.social { position: relative; width: 79px; height: 65px; display: grid; place-items: center; isolation: isolate; }
.social::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .25); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); transition: background .2s; }
.social:hover::before { background: rgba(255, 255, 255, .4); }
.social svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- FAQ ---------- */
.faq { position: relative; background: #fff; padding: 50px 30px 0; display: flex; flex-direction: column; align-items: center; gap: 56px; }
.faq .title-wrap { align-items: flex-start; text-align: left; }
.faq .title-wrap h2 { color: var(--dark); }
.faq .title-wrap p { color: var(--ink); }
.faqs { width: 100%; max-width: 1170px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.faq-col { display: flex; flex-direction: column; gap: 32px; }
.qa { border: 1px solid var(--field); border-radius: 8px; overflow: hidden; }
.qa h4 { padding: 24px 25px; background: var(--field); font: 400 24px/33.6px var(--display); text-transform: uppercase; color: #fff; }
.qa p { min-height: 150px; padding: 30px 25px; font: 400 20px/30px var(--body); color: var(--ink); }
.hill { position: relative; width: 100%; height: 830px; }
.hill-img { position: absolute; left: 50%; top: -20px; width: 500px; margin-left: -300px; z-index: 2; }

/* ---------- Roadmap ---------- */
.roadmap { position: relative; padding: 50px 30px 0; }
/* The bordeaux hill rising into the white FAQ area (top cap of a huge circle). */
.roadmap::before { content: ''; position: absolute; left: 0; right: 0; top: -350px; height: 351px; background: radial-gradient(circle 120vw at 50% 120vw, var(--field) 99.8%, transparent 100%); z-index: 0; }
.contours-road::before { top: -350px; }
.road-in { position: relative; z-index: 1; max-width: 1170px; height: 1222px; margin: 0 auto; }
.road-title { position: absolute; left: 66px; top: 710px; rotate: -90deg; transform-origin: left top; font: 400 116px/116px var(--display); letter-spacing: -2.51px; color: #fff; white-space: nowrap; }
.road-line { position: absolute; left: 245px; top: 40px; height: 760px; border-left: 2px dashed rgba(255, 255, 255, .55); }
.phases { position: absolute; left: 385px; top: 0; width: 700px; display: flex; flex-direction: column; gap: 32px; }
.phase { width: 470px; padding: 24px 20px; border-radius: 20px; background: rgba(255, 255, 255, .12); }
.phase-r { margin-left: 150px; }
.phase h3 { font: 400 36px/39.6px var(--display); letter-spacing: -1px; color: #fff; }
.phase ul { list-style: none; padding: 0; margin-top: 16px; display: flex; gap: 32px; }
.phase li { position: relative; padding-left: 20px; font: 400 20px/30px var(--body); color: #fff; }
.phase li::before { content: ''; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.road-run { position: absolute; left: 28px; top: 700px; width: 400px; }
.road-leap { position: absolute; right: -40px; top: -360px; width: 460px; z-index: 3; }

/* ---------- CTA ---------- */
.cta { position: relative; z-index: 2; padding: 50px 30px 550px; }
.contours-cta::before { top: 0; }
.cta-in { max-width: 1170px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 56px; }
/* The character is anchored to the section (not the inner column) so it ends just above the footer bar. */
.cta-in > :not(.cta-img) { position: relative; z-index: 1; }
.cta-logo { width: 135px; height: 135px; border-radius: 50%; }
.ticket { width: 1000px; max-width: 100%; height: 106px; padding: 20px 20px 20px 48px; border-radius: 28px 8px; background: linear-gradient(135deg, #10151a 0%, #22272d 100%); display: flex; align-items: center; justify-content: space-between; gap: 18px; box-shadow: 0 8px 0 rgba(0, 0, 0, .25); }
.ticket p { font: 600 18px/21.6px Inter, sans-serif; letter-spacing: .2px; color: #f5f5f5; }
.cta-img { position: absolute; left: 50%; top: auto; bottom: -434px; width: 560px; margin-left: -260px; }

/* ---------- Footer ---------- */
.foot { position: relative; background: var(--field); padding-top: 474px; }
.foot-in { height: 80px; padding: 0 135px; background: rgba(255, 255, 255, .1); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.foot-in p { font: 400 20px/30px var(--body); color: #fff; }
.foot-in img { width: 50px; height: 50px; border-radius: 50%; }
.foot-r { text-align: right; }
.foot-r a:hover { text-decoration: underline; }

/* ---------- Motion ---------- */
.pop { opacity: 0; transform: scale(.5); transition: opacity .6s ease, transform .8s cubic-bezier(.34, 1.56, .64, 1); }
.pop.in { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.float.in { animation: float 4.5s linear infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: -11px 22px; } }
@media (prefers-reduced-motion: reduce) { .pop, .reveal { opacity: 1; transform: none; transition: none; } .float.in { animation: none; } }

/* ---------- Tablet (810–1199), measured on the template at 1024 ---------- */
@media (max-width: 1199px) {
  .nav-menu { gap: 24px; } .nav-menu a { font-size: 16px; }
  .btn { font-size: 20px; height: 58px; } .btn-nav { width: 170px; }
  .hero { height: 1060px; padding: 130px 0 130px; }
  .hero-in { max-width: 964px; height: 800px; }
  .hero h1 { font-size: 90px; letter-spacing: -5px; padding-top: 20px; }
  .hero-sub { font-size: 24px; line-height: 32px; }
  .hero-img { top: 180px; width: 380px; margin-left: -190px; }
  .hero-cta { top: 440px; width: calc(100vw - 40px); margin-left: calc(-50vw + 20px); padding: 36px 40px; }
  .hero-line { font-size: 32px; line-height: 34px; }
  .ticker { height: 172px; } .tape { height: 62px; margin-top: -31px; } .tape-run span { font-size: 28px; }
  .numbers { padding: 120px 30px; gap: 56px; }
  .title-wrap h2 { font-size: 80px; line-height: 80px; } .title-wrap p { font-size: 24px; line-height: 36px; }
  .numbers-grid { height: 700px; grid-template-columns: 260px minmax(0, 1fr) 260px; }
  .numbers-grid .col { gap: 80px; }
  .blob { width: 260px; height: 260px; } .blob h3 { font-size: 48px; line-height: 52.8px; } .blob p { font-size: 22px; line-height: 32px; }
  .numbers-img { width: 380px; margin: 0 -40px; }
  .how { padding: 120px 30px 150px; }
  .how-in { gap: 100px; }
  .how-top { padding-top: 150px; } .how-img { top: -190px; width: 420px; margin-left: -40px; }
  .how-card { height: 280px; padding: 36px 40px; } .how-card h2 { font-size: 72px; line-height: 70px; }
  .accent { width: 110px; height: 110px; right: 40px; } .gold-bar { left: 40px; }
  .steps { gap: 24px; } .step { height: 220px; padding: 60px 22px 22px; }
  .step h4 { font-size: 22px; line-height: 32px; } .step p { font-size: 18px; line-height: 26px; }
  .paste { height: 102px; margin-top: -60px; } .paste input { font-size: 22px; }
  .socials { margin-top: -70px; }
  .faq { gap: 48px; } .faqs { grid-template-columns: 1fr; gap: 36px; } .faq-col { gap: 36px; }
  .qa h4 { font-size: 22px; line-height: 30.8px; }
  .hill { height: 709px; } .hill-img { width: 400px; margin-left: -200px; top: 0; }
  .road-in { height: auto; display: flex; flex-direction: column; align-items: center; gap: 48px; padding-bottom: 460px; }
  .road-title { position: static; rotate: 0deg; font-size: 80px; line-height: 80px; }
  .road-line { display: none; }
  .phases { position: static; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .phase { width: auto; } .phase-r { margin-left: 0; }
  .road-run { left: 50%; top: auto; bottom: 0; width: 300px; margin-left: -150px; }
  .road-leap { width: 360px; top: -300px; right: -60px; }
  .cta { padding: 50px 30px 480px; } .cta-img { width: 440px; margin-left: -200px; bottom: -360px; }
  .foot { padding-top: 400px; } .foot-in { padding: 0 30px; } .foot-in p { font-size: 16px; }
}

/* ---------- Phone (< 810), measured on the template at 390 ---------- */
@media (max-width: 809px) {
  .nav { height: 86px; padding: 15px 20px; }
  .nav-in { height: 56px; }
  .nav-menu, .btn-nav { display: none; }
  .burger { display: block; }
  .mmenu { margin: 15px -20px 0; }
  .hero { height: auto; padding: 110px 0 60px; }
  .hero-in { height: auto; padding: 0 20px; }
  .hero h1 { font-size: 54px; line-height: 54px; letter-spacing: -3px; padding-top: 0; }
  .hero-sub { margin-top: 12px; font-size: 18px; line-height: 25px; }
  .hero-img { position: relative; left: auto; top: auto; width: 260px; margin: 14px auto -30px; }
  .hero-cta { position: relative; left: auto; top: auto; width: auto; margin: 0; padding: 26px 18px; gap: 16px; }
  .hero-cta .paste { margin-top: 0; }
  .hero-note { font-size: 15px; line-height: 22px; }
  .hero-line { font-size: 22px; line-height: 26px; }
  .ticker { height: 140px; } .tape { height: 46px; margin-top: -23px; } .tape-run { gap: 26px; } .tape-run span { font-size: 20px; }
  .numbers { padding: 60px 20px; gap: 36px; }
  .title-wrap { gap: 16px; } .title-wrap h2 { font-size: 36px; line-height: 36px; letter-spacing: -2px; } .title-wrap p { font-size: 20px; line-height: 30px; }
  .numbers-grid { height: auto; grid-template-columns: 1fr 1fr; gap: 16px; }
  .numbers-grid .col { display: contents; }
  .numbers-img { display: none; }
  .blob { width: auto; height: auto; aspect-ratio: 1; padding: 14px; gap: 6px; }
  .blob h3 { font-size: 36px; line-height: 39.6px; } .blob p { font-size: 15px; line-height: 21px; }
  .how { padding: 60px 20px 120px; }
  .how-in { gap: 60px; }
  .how-top { padding-top: 110px; } .how-img { top: -40px; width: 250px; margin-left: -60px; }
  .how-card { height: auto; padding: 36px 16px 28px; gap: 16px; }
  .how-card h2 { font-size: 40px; line-height: 40px; letter-spacing: -1.5px; }
  .gold-bar { left: 16px; } .accent { display: none; }
  .how-btn { margin-top: 0; justify-content: flex-start; } .btn-wide { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .step { height: auto; padding: 54px 20px 26px; }
  .step h4 { font-size: 20px; line-height: 30px; } .step p { font-size: 18px; line-height: 25.2px; }
  .paste { height: auto; margin-top: -20px; padding: 20px; border-radius: 26px 6px; flex-direction: column; align-items: stretch; gap: 18px; }
  .paste input { font-size: 18px; text-align: center; }
  .btn-copy { width: 100%; }
  .socials { margin-top: -30px; }
  .faq { padding: 30px 20px 0; gap: 32px; }
  .faqs, .faq-col { gap: 24px; }
  .qa h4 { padding: 20px; font-size: 20px; line-height: 28px; } .qa p { min-height: 0; padding: 22px 20px; font-size: 18px; line-height: 27px; }
  .hill { height: 340px; } .hill-img { width: 190px; margin-left: -95px; top: -9px; }
  .roadmap { padding: 0 20px; }
  .roadmap::before { top: -150px; height: 151px; }
  .road-in { gap: 32px; padding-bottom: 360px; }
  .road-title { font-size: 36px; line-height: 36px; letter-spacing: -2px; }
  .phases { grid-template-columns: 1fr; gap: 24px; }
  .phase h3 { font-size: 28px; line-height: 32px; }
  .phase ul { flex-direction: column; gap: 6px; }
  .road-run { width: 238px; margin-left: -119px; }
  .road-leap { display: none; }
  .cta { padding: 40px 20px 380px; }
  .cta-in { gap: 32px; }
  .cta-logo { width: 96px; height: 96px; }
  .ticket { height: auto; padding: 20px; flex-direction: column; text-align: center; border-radius: 26px 6px; }
  .ticket .btn { width: 100%; }
  .cta-img { width: 260px; margin-left: -120px; bottom: -220px; }
  .foot { padding-top: 260px; }
  .foot-in { height: auto; padding: 18px 20px; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 8px; }
  .foot-r { text-align: center; }
}
