/* =========================================================
   BIKE CASHCATE — stylesheet
   Palette sampled from the source photo:
   sky blue, warm cream cat fur, tan coat, asphalt road, ink black bike
   ========================================================= */

:root{
  --ink:#15110d;
  --ink-2:#221b14;
  --cream:#f7ecd9;
  --cream-2:#efe0bf;
  --paper:#fbf5e8;
  --sky:#a7c6df;
  --sky-deep:#4d6f92;
  --sky-ink:#233246;
  --tan:#c9a876;
  --road:#3a332c;
  --road-2:#2a2521;
  --gold:#e3a73b;
  --gold-2:#ffce66;
  --line: rgba(21,17,13,0.14);
  --shadow: 0 18px 40px -14px rgba(20,15,8,0.45);
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --ff-display: "Anton", "Arial Narrow", sans-serif;
  --ff-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{
  scroll-behavior:smooth;
  scroll-padding-top:88px;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--ff-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
body.no-scroll{ overflow:hidden; }

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3{ margin:0; font-family:var(--ff-display); font-weight:400; letter-spacing:0.01em; text-transform:uppercase; }
p{ margin:0 0 1em; }
p:last-child{ margin-bottom:0; }
svg{ width:1em; height:1em; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }

.accent{ color:var(--gold); }
.section-dark .accent, .final-cta .accent{ color:var(--gold-2); }

/* =========== layout helpers =========== */
.section{ position:relative; padding:120px 0; overflow:hidden; }
.section-inner{ max-width:var(--container); margin:0 auto; padding:0 28px; position:relative; z-index:2; }
.section-cream{ background:var(--paper); }
.section-dark{ background:var(--ink); color:var(--cream); }
.bg-layer{
  position:absolute; inset:-6% -6%; background-size:cover; background-position:center;
  z-index:0; will-change:transform;
}
.section-dark .bg-layer{ opacity:0.55; filter:saturate(1.05); }
.section-dark::after{
  content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(21,17,13,0.55), rgba(21,17,13,0.88) 60%, var(--ink) 100%);
  z-index:1;
}
.eyebrow{
  display:inline-block; font-family:var(--ff-body); font-weight:700; letter-spacing:0.22em; text-transform:uppercase;
  font-size:12.5px; color:var(--gold); margin-bottom:14px;
}
.section-title{ font-size:clamp(34px,5.2vw,58px); line-height:1.02; margin-bottom:18px; }
.section-title.big{ font-size:clamp(44px,8vw,88px); text-align:center; }
.section-head{ max-width:640px; margin-bottom:56px; }

/* =========== reveal-on-scroll (JS/GSAP hook, CSS fallback) =========== */
[data-reveal]{
  opacity:0; transform:translateY(36px);
  transition:opacity 0.8s cubic-bezier(.16,.8,.3,1), transform 0.8s cubic-bezier(.16,.8,.3,1);
}
[data-reveal].is-visible{ opacity:1; transform:translateY(0); }

/* =========== buttons =========== */
.btn{
  display:inline-flex; align-items:center; gap:9px; justify-content:center;
  font-family:var(--ff-body); font-weight:700; letter-spacing:0.02em;
  padding:15px 26px; border-radius:999px; border:2px solid transparent;
  cursor:pointer; white-space:nowrap; transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  font-size:15px;
}
.btn-ic{ width:1.15em; height:1.15em; }
.btn-ic path{ fill:currentColor; stroke:none; }
.btn-primary{
  background:linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #c9861f);
  color:var(--ink); box-shadow:0 12px 26px -10px rgba(227,167,59,0.65), inset 0 1px 0 rgba(255,255,255,0.5);
}
.btn-primary:hover{ transform:translateY(-3px) scale(1.02); box-shadow:0 18px 32px -10px rgba(227,167,59,0.8); }
.btn-outline{
  background:rgba(255,255,255,0.04); color:inherit; border-color:currentColor;
}
.section-cream .btn-outline, .hero-content .btn-outline{ border-color:var(--ink); color:var(--ink); background:rgba(21,17,13,0.04); }
.btn-outline:hover{ background:var(--ink); color:var(--cream); transform:translateY(-3px); }
.btn-lg{ padding:18px 34px; font-size:16px; }
.btn-sm{ padding:10px 18px; font-size:13px; }

.icon-btn{
  display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:50%; border:2px solid var(--ink);
  color:var(--ink); background:transparent; transition:transform .25s ease, background .25s ease, color .25s ease;
}
.icon-btn svg{ width:18px; height:18px; }
.icon-btn svg path{ fill:currentColor; stroke:none; }
.icon-btn:hover{ background:var(--ink); color:var(--cream); transform:translateY(-2px) rotate(-6deg); }

/* CA copy pill */
.ca-pill{
  display:inline-flex; align-items:center; gap:12px; padding:10px 10px 10px 18px;
  background:rgba(15,12,9,0.55); border:1.5px solid rgba(255,255,255,0.35); border-radius:999px;
  color:var(--cream); font-family:"Space Grotesk", monospace; cursor:pointer; backdrop-filter:blur(6px);
  transition:border-color .2s ease, transform .2s ease; max-width:100%;
}
.ca-pill:hover{ border-color:var(--gold-2); transform:translateY(-2px); }
.ca-pill:active{ transform:translateY(0) scale(.98); }
.ca-label{ font-family:var(--ff-body); font-weight:700; font-size:11px; letter-spacing:0.15em; color:var(--gold-2); }
.ca-value{
  font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:180px;
}
.ca-icon{ width:16px; height:16px; padding:8px; box-sizing:content-box; background:var(--gold); border-radius:50%; color:var(--ink); flex:none; }
.ca-icon rect,.ca-icon path{ stroke-width:2; }
.ca-pill-light{ background:rgba(21,17,13,0.06); border-color:var(--line); color:var(--ink); }
.ca-pill-light .ca-label{ color:#a5751a; }
.ca-pill.copied .ca-icon{ background:#3fae5c; }

/* =========== loader =========== */
#loader{
  position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center;
  background:var(--ink); transition:opacity .7s ease, visibility .7s ease;
}
#loader.hidden{ opacity:0; visibility:hidden; pointer-events:none; }
.loader-bg{
  position:absolute; inset:0; background-size:cover; background-position:center;
  filter:saturate(1.05) brightness(0.55); transform:scale(1.08);
}
.loader-veil{ position:absolute; inset:0; background:radial-gradient(circle at 50% 45%, rgba(21,17,13,0.35), rgba(21,17,13,0.92) 75%); }
.loader-content{ position:relative; z-index:2; display:flex; flex-direction:column; align-items:center; color:var(--cream); }
.wheel-spinner{ width:96px; height:96px; margin-bottom:22px; }
.wheel-spinner svg{ width:100%; height:100%; animation:spin 1.1s linear infinite; }
.wheel-track{ fill:none; stroke:rgba(255,255,255,0.18); stroke-width:5; }
.wheel-fill{
  fill:none; stroke:var(--gold-2); stroke-width:5; stroke-linecap:round;
  stroke-dasharray:314; stroke-dashoffset:230; transform-origin:60px 60px;
}
.wheel-spokes line{ stroke:rgba(255,255,255,0.35); stroke-width:2; }
@keyframes spin{ to{ transform:rotate(360deg); } }
.loader-word{ font-family:var(--ff-display); font-size:clamp(26px,5vw,36px); letter-spacing:0.04em; margin-bottom:18px; }
.loader-word span{ color:var(--gold-2); }
.loader-bar{ width:min(70vw,260px); height:6px; border-radius:999px; background:rgba(255,255,255,0.15); overflow:hidden; }
.loader-bar span{ display:block; height:100%; width:0%; background:linear-gradient(90deg,var(--gold),var(--gold-2)); transition:width .25s ease; }
.loader-pct{ margin-top:10px; font-size:12px; letter-spacing:0.15em; color:rgba(247,236,217,0.7); }

/* =========== scroll progress =========== */
#scrollProgress{
  position:fixed; top:0; left:0; height:3px; width:0%; z-index:1001;
  background:linear-gradient(90deg,var(--gold),var(--gold-2)); transition:width .1s linear;
}

/* =========== header =========== */
#siteHeader{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:16px 0; transition:background .35s ease, padding .35s ease, box-shadow .35s ease;
}
#siteHeader.scrolled{
  padding:10px 0; background:rgba(21,17,13,0.82); backdrop-filter:blur(14px) saturate(1.2);
  box-shadow:0 10px 30px -14px rgba(0,0,0,0.5);
}
.header-inner{
  max-width:var(--container); margin:0 auto; padding:0 24px;
  display:flex; align-items:center; gap:20px;
}
.brand{ display:flex; align-items:center; gap:10px; margin-right:auto; }
.brand-mark{ width:40px; height:40px; border-radius:50%; }
.brand-word{
  font-family:var(--ff-display); font-size:16px; letter-spacing:0.03em; color:var(--cream);
  text-shadow:0 2px 10px rgba(0,0,0,0.5);
}
#siteHeader:not(.scrolled) .brand-word{ color:var(--ink); text-shadow:none; }
.brand-word span{ color:var(--gold); }

.main-nav{ display:flex; align-items:center; gap:28px; flex:1; }
.main-nav-links{ display:flex; gap:28px; }
.main-nav a{
  font-weight:600; font-size:14px; letter-spacing:0.02em; color:var(--cream);
  position:relative; padding:4px 0;
}
@media (min-width:801px){
  #siteHeader:not(.scrolled) .main-nav a{ color:var(--ink); }
}
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0; background:var(--gold);
  transition:width .25s ease;
}
.main-nav a:hover::after{ width:100%; }

.header-actions{ display:flex; align-items:center; gap:10px; margin-left:auto; }
@media (min-width:801px){
  #siteHeader:not(.scrolled) .icon-btn{ border-color:var(--ink); color:var(--ink); }
}

#navToggle{
  display:none; flex-direction:column; justify-content:center; gap:5px; width:40px; height:40px;
  background:transparent; border:none; cursor:pointer; padding:0;
}
#navToggle span{ display:block; height:2.5px; background:var(--ink); border-radius:2px; transition:transform .3s ease, opacity .3s ease, background .3s ease; }
#siteHeader.scrolled #navToggle span{ background:var(--cream); }
#navToggle.open span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); }
#navToggle.open span:nth-child(2){ opacity:0; }
#navToggle.open span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); }

/* =========== hero =========== */
#hero{
  position:relative; min-height:100svh; display:flex; align-items:flex-end;
  overflow:hidden; padding-bottom:110px;
}
.hero-parallax{ position:absolute; inset:0; z-index:0; }
.hero-bg{
  position:absolute; inset:-10%; background-size:cover; background-position:center 30%;
  will-change:transform;
}
.hero-gradient{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(21,17,13,0.15) 0%, rgba(21,17,13,0.15) 40%, rgba(21,17,13,0.92) 92%); }
.hero-vignette{ position:absolute; inset:0; box-shadow:inset 0 0 180px 40px rgba(0,0,0,0.55); pointer-events:none; }

.hero-speedlines{ position:absolute; inset:0; z-index:1; pointer-events:none; mix-blend-mode:screen; opacity:0.5; }
.hero-speedlines span{
  position:absolute; height:1px; left:-20%; width:60%; background:linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  animation:speed 3.2s linear infinite;
}
.hero-speedlines span:nth-child(1){ top:18%; animation-delay:0s; }
.hero-speedlines span:nth-child(2){ top:34%; animation-delay:.5s; width:40%; }
.hero-speedlines span:nth-child(3){ top:52%; animation-delay:1s; }
.hero-speedlines span:nth-child(4){ top:66%; animation-delay:1.6s; width:35%; }
.hero-speedlines span:nth-child(5){ top:80%; animation-delay:2.1s; }
@keyframes speed{ 0%{ transform:translateX(0); opacity:0; } 10%{opacity:1;} 90%{opacity:1;} 100%{ transform:translateX(220%); opacity:0; } }

.hero-content{ position:relative; z-index:2; max-width:var(--container); margin:0 auto; padding:0 28px; width:100%; color:var(--cream); }
.hero-ticker-pill{
  display:inline-block; padding:8px 18px; border-radius:999px; background:rgba(247,236,217,0.12);
  border:1px solid rgba(247,236,217,0.4); font-weight:700; font-size:12.5px; letter-spacing:0.2em; margin-bottom:20px;
}
.hero-title{ font-size:clamp(56px,12vw,140px); line-height:0.88; margin-bottom:18px; }
.hero-title .line{ display:block; }
.hero-title .accent{ -webkit-text-stroke:2px var(--gold-2); color:transparent; }
.hero-tag{ font-size:clamp(16px,2.2vw,22px); max-width:520px; color:var(--cream-2); margin-bottom:34px; font-weight:500; }
.hero-cta-row{ display:flex; flex-wrap:wrap; gap:16px; margin-bottom:26px; }
.hero-cta-row.center{ justify-content:center; }
.hero-content .ca-pill{ margin-top:4px; }

.scroll-cue{
  position:absolute; right:32px; bottom:36px; z-index:2; display:flex; flex-direction:column; align-items:center; gap:8px;
  color:var(--cream); font-size:11px; letter-spacing:0.2em; text-transform:uppercase; cursor:pointer;
  animation:bob 2.2s ease-in-out infinite;
}
.scroll-cue svg{ width:18px; height:18px; }
@keyframes bob{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(8px); } }

/* marquee */
.marquee{
  background:var(--ink); color:var(--gold-2); overflow:hidden; padding:14px 0;
  border-top:1px solid rgba(255,255,255,0.08); border-bottom:1px solid rgba(255,255,255,0.08);
}
.marquee-track{
  display:flex; gap:22px; white-space:nowrap; width:max-content;
  font-family:var(--ff-display); font-size:15px; letter-spacing:0.08em;
  animation:marquee 22s linear infinite;
}
.marquee-track span{ opacity:0.9; }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* =========== lore =========== */
.lore-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; align-items:center; }
.lore-media{ position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); transform-style:preserve-3d; }
.lore-media img{ width:100%; height:100%; object-fit:cover; aspect-ratio:1/1; }
.media-frame{ position:absolute; inset:14px; border:1.5px solid rgba(255,206,102,0.5); border-radius:calc(var(--radius-lg) - 10px); pointer-events:none; }
.lore-copy p{ color:var(--cream-2); font-size:17px; max-width:520px; }
.lore-badges{ display:flex; flex-wrap:wrap; gap:10px; margin-top:26px; }
.badge{
  padding:9px 16px; border-radius:999px; background:rgba(247,236,217,0.08); border:1px solid rgba(247,236,217,0.25);
  font-weight:700; font-size:12.5px; letter-spacing:0.04em;
}

/* =========== chart =========== */
.chart-frame{ background:var(--ink); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); border:1px solid rgba(255,255,255,0.08); }
.chart-toolbar{ display:flex; align-items:center; gap:12px; padding:16px 20px; color:var(--cream); }
.chart-dot{ width:9px; height:9px; border-radius:50%; background:#3fae5c; box-shadow:0 0 0 4px rgba(63,174,92,0.25); }
.chart-ticker{ font-weight:700; letter-spacing:0.04em; margin-right:auto; font-family:var(--ff-display); font-size:14px; }
.chart-embed-wrap{ position:relative; width:100%; aspect-ratio:16/10; background:#0b0906; }
.chart-embed-wrap iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
#chart .btn-outline{ border-color:rgba(247,236,217,0.5); color:var(--cream); }
#chart .btn-outline:hover{ background:var(--cream); color:var(--ink); }

/* =========== how to buy =========== */
.steps-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.step-card{
  background:var(--cream); border:1.5px solid var(--line); border-radius:var(--radius-md);
  padding:30px 24px; position:relative; transform-style:preserve-3d; transition:box-shadow .3s ease, border-color .3s ease;
}
.step-card:hover{ box-shadow:var(--shadow); border-color:var(--gold); }
.step-num{ position:absolute; top:18px; right:20px; font-family:var(--ff-display); font-size:26px; color:var(--line); }
.step-ic{
  width:52px; height:52px; border-radius:14px; background:var(--ink); color:var(--gold-2);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.step-ic svg{ width:24px; height:24px; }
.step-card h3{ font-size:19px; margin-bottom:10px; text-transform:none; letter-spacing:0; }
.step-card p{ font-size:14.5px; color:#4a4030; }
.verify-ca{
  margin-top:48px; display:flex; flex-wrap:wrap; align-items:center; gap:16px; justify-content:center;
  text-align:center; font-size:14px; color:#5c5140;
}

/* =========== roadmap =========== */
.gear-track{ position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.gear-line{ position:absolute; top:34px; left:5%; right:5%; height:2px; background:repeating-linear-gradient(90deg, rgba(255,206,102,0.5) 0 10px, transparent 10px 20px); z-index:0; }
.gear-card{
  position:relative; z-index:1; background:rgba(247,236,217,0.05); border:1px solid rgba(247,236,217,0.18);
  border-radius:var(--radius-md); padding:28px 22px; backdrop-filter:blur(4px); transform-style:preserve-3d;
  transition:border-color .3s ease, background .3s ease;
}
.gear-card:hover{ border-color:var(--gold-2); background:rgba(247,236,217,0.1); }
.gear-icon{
  width:56px; height:56px; border-radius:50%; background:var(--gold); color:var(--ink);
  display:flex; align-items:center; justify-content:center; font-size:24px; margin-bottom:18px; position:relative;
}
.gear-icon span{
  position:absolute; bottom:-6px; right:-6px; width:22px; height:22px; border-radius:50%; background:var(--ink);
  color:var(--gold-2); font-family:var(--ff-body); font-size:12px; font-weight:700; display:flex; align-items:center; justify-content:center;
  border:2px solid var(--ink);
}
.gear-card h3{ font-size:16px; text-transform:none; letter-spacing:0; margin-bottom:10px; }
.gear-card p{ font-size:14px; color:var(--cream-2); }

/* =========== final CTA =========== */
.final-cta{ text-align:center; padding:140px 0; }
.final-cta .bg-layer{ background-attachment:scroll; filter:brightness(0.5) saturate(1.1); }
.final-cta::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, var(--ink), rgba(21,17,13,0.75) 40%, var(--ink)); z-index:1; }
.final-cta-inner{ color:var(--cream); }
.final-cta-inner .section-title{ margin-bottom:36px; }

/* =========== footer =========== */
#siteFooter{ background:var(--ink); color:var(--cream); padding:70px 0 30px; position:relative; }
.footer-inner{ max-width:var(--container); margin:0 auto; padding:0 28px; display:flex; flex-direction:column; align-items:center; gap:34px; text-align:center; }
.footer-brand .brand-word{ color:var(--cream); font-size:20px; }
.footer-jump{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
.footer-jump a{
  display:flex; align-items:center; gap:8px; padding:10px 18px; border-radius:999px;
  border:1px solid rgba(247,236,217,0.22); font-weight:600; font-size:13.5px; transition:border-color .25s ease, background .25s ease, transform .25s ease;
}
.footer-jump a:hover{ border-color:var(--gold-2); background:rgba(255,206,102,0.08); transform:translateY(-2px); }
.jump-num{ font-family:var(--ff-display); color:var(--gold-2); font-size:12px; }
.footer-socials{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
#siteFooter .icon-btn, #siteFooter .btn-outline{ border-color:rgba(247,236,217,0.4); color:var(--cream); }
#siteFooter .btn-outline:hover{ background:var(--cream); color:var(--ink); }
.disclaimer{ font-size:12px; color:rgba(247,236,217,0.45); max-width:520px; }

.toast{
  position:fixed; left:50%; bottom:30px; transform:translate(-50%,20px); z-index:1200;
  background:var(--ink); color:var(--cream); padding:12px 22px; border-radius:999px; font-size:13.5px; font-weight:600;
  opacity:0; pointer-events:none; transition:opacity .3s ease, transform .3s ease; box-shadow:var(--shadow);
  border:1px solid rgba(255,206,102,0.4);
}
.toast.show{ opacity:1; transform:translate(-50%,0); }

.back-to-top{
  position:fixed; right:22px; bottom:22px; z-index:900; width:48px; height:48px; border-radius:50%;
  background:var(--ink); color:var(--gold-2); border:1.5px solid rgba(255,206,102,0.5); cursor:pointer;
  display:flex; align-items:center; justify-content:center; opacity:0; transform:translateY(16px) scale(.9);
  transition:opacity .3s ease, transform .3s ease; box-shadow:var(--shadow);
}
.back-to-top.show{ opacity:1; transform:translateY(0) scale(1); }
.back-to-top svg{ width:18px; height:18px; }

/* =========== responsive =========== */
@media (max-width:980px){
  .lore-grid{ grid-template-columns:1fr; gap:40px; }
  .steps-grid{ grid-template-columns:repeat(2,1fr); }
  .gear-track{ grid-template-columns:repeat(2,1fr); }
  .gear-line{ display:none; }
}
@media (max-width:800px){
  .main-nav{
    position:fixed; top:0; right:0; height:100svh; width:min(82vw,340px);
    background:rgba(21,17,13,0.97); backdrop-filter:blur(14px);
    flex-direction:column; justify-content:center; align-items:flex-start; gap:36px; padding:40px;
    transform:translateX(100%); transition:transform .4s cubic-bezier(.16,.8,.3,1); z-index:998;
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav-links{ flex-direction:column; gap:22px; }
  .main-nav a{ color:var(--cream); font-size:22px; }
  .header-actions{ margin-left:0; flex-wrap:wrap; gap:14px; }
  .header-actions .icon-btn{ border-color:rgba(247,236,217,0.5); color:var(--cream); }
  #navToggle{ display:flex; position:relative; z-index:999; }
}
@media (max-width:640px){
  .section{ padding:84px 0; }
  .steps-grid{ grid-template-columns:1fr; }
  .gear-track{ grid-template-columns:1fr; }
  .hero-cta-row{ flex-direction:column; align-items:stretch; }
  .hero-cta-row .btn{ width:100%; }
  .ca-value{ max-width:130px; }
  #hero{ padding-bottom:80px; }
  .scroll-cue{ right:50%; transform:translateX(50%); bottom:20px; }
}
