:root {
  --ink: #16101d;
  --purple: #7236c6;
  --purple-dark: #3d176d;
  --accent: #ff6b45;
  --cream: #f4efe5;
  --muted: #a9a0b3;
  --line: rgba(22, 16, 29, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "DM Mono", monospace; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .055; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E"); }

.nav { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 12px; letter-spacing: .08em; }
.brand { font-family: "Archivo Black", sans-serif; font-size: 22px; letter-spacing: -.03em; display: flex; align-items: center; gap: 9px; }
.dot { width: 13px; height: 13px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 4px rgba(114,54,198,.16); }
nav { display: flex; gap: 34px; }
nav a { transition: color .2s; }
nav a:hover { color: var(--purple); }
.pill { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--ink); padding: 0 24px; border-radius: 2px; font-weight: 500; font-size: 12px; letter-spacing: .06em; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.pill:hover { transform: translate(-3px,-3px); box-shadow: 5px 5px 0 var(--ink); }
.pill.small { min-height: 40px; padding: 0 16px; }
.pill.primary { background: var(--accent); color: var(--ink); }
.pill.ghost { background: transparent; }

.hero { min-height: 720px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; padding-block: 64px 74px; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .14em; margin: 0 0 25px; }
.eyebrow span { color: var(--purple); margin-right: 8px; }
h1,h2,h3 { font-family: "Archivo Black", sans-serif; margin: 0; text-transform: uppercase; }
h1 { font-size: clamp(56px, 7.8vw, 106px); line-height: .84; letter-spacing: -.075em; }
h1 em { color: var(--purple); font-style: normal; }
.lede { max-width: 540px; font-size: 16px; line-height: 1.65; margin: 30px 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.bean-stage { position: relative; min-height: 570px; display: flex; align-items: flex-end; justify-content: center; isolation: isolate; }
.bean-stage::before { content: ""; position: absolute; width: 410px; height: 410px; border: 1px solid rgba(22,16,29,.22); border-radius: 50%; top: 70px; z-index: -2; }
.bean-stage::after { content: ""; position: absolute; width: 330px; height: 28px; background: rgba(22,16,29,.25); filter: blur(15px); border-radius: 50%; bottom: 6px; z-index: -1; }
.bean-stage img { width: min(450px, 100%); height: 550px; object-fit: contain; object-position: bottom; filter: drop-shadow(22px 20px 0 rgba(67, 24, 111, .14)); animation: float 4s ease-in-out infinite; }
.glow { position: absolute; width: 370px; height: 370px; border-radius: 50%; background: var(--accent); top: 88px; z-index: -1; }
.thought { position: absolute; font-size: 11px; border: 1px solid var(--ink); background: var(--cream); padding: 8px 10px; transform: rotate(-5deg); }
.thought-a { top: 110px; right: 4%; }
.thought-b { top: 230px; left: 1%; font-size: 22px; padding: 8px 15px; transform: rotate(9deg); }
.thought-c { bottom: 105px; right: -2%; transform: rotate(5deg); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }

.ticker { overflow: hidden; background: var(--ink); color: var(--accent); transform: rotate(-1.2deg) scale(1.02); border-block: 2px solid var(--ink); }
.ticker-track { display: flex; width: max-content; gap: 30px; align-items: center; padding: 18px 0; font-family: "Archivo Black", sans-serif; font-size: 23px; animation: ticker 20s linear infinite; }
.ticker-track i { font-style: normal; color: var(--purple); }
@keyframes ticker { to { transform: translateX(-50%); } }

.deco-bean { position: absolute; z-index: 0; pointer-events: none; user-select: none; object-fit: contain; filter: drop-shadow(12px 14px 0 rgba(22,16,29,.1)); animation: bean-bob 5s ease-in-out infinite; }
.deco-bean:nth-of-type(even) { animation-delay: -2.3s; }
@keyframes bean-bob { 0%,100% { translate: 0 0; rotate: var(--bean-tilt, 0deg); } 50% { translate: 0 -12px; rotate: calc(var(--bean-tilt, 0deg) + 2deg); } }

.about { position: relative; padding-block: 145px 130px; }
.about > :not(.deco-bean), .how > :not(.deco-bean), .contract > :not(.deco-bean) { position: relative; z-index: 1; }
.bean-about-left { --bean-tilt: 9deg; width: 180px; left: -150px; top: 265px; }
.bean-about-right { --bean-tilt: -8deg; width: 155px; right: -105px; bottom: 95px; }
.section-label { border-top: 1px solid var(--line); padding-top: 16px; font-size: 11px; letter-spacing: .12em; margin-bottom: 64px; }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; }
h2 { font-size: clamp(44px, 6vw, 78px); line-height: .92; letter-spacing: -.055em; }
.about-copy { font-size: 16px; line-height: 1.7; max-width: 480px; }
.about-copy p:first-child { color: var(--purple); font-weight: 500; }
.scribble { display: inline-block; background: var(--accent); padding: 5px 9px; transform: rotate(-3deg); color: var(--ink)!important; }
.stats { margin-top: 100px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); }
.stats article { min-height: 210px; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; }
.stats article + article { border-left: 1px solid var(--ink); }
.stats span,.stats small { font-size: 11px; letter-spacing: .1em; }
.stats strong { font-family: "Archivo Black", sans-serif; font-size: clamp(48px, 7vw, 82px); color: var(--purple); letter-spacing: -.06em; }
.stats .fee-stat strong { font-size: clamp(30px, 3.4vw, 48px); line-height: .95; }
.fee-stat small { color: var(--purple); }

.how { position: relative; width: 100%; max-width: none; padding: 120px max(20px, calc((100vw - 1180px)/2)); background: var(--purple-dark); color: var(--cream); overflow: hidden; }
.bean-how-tall { --bean-tilt: -7deg; width: 290px; height: 590px; right: -54px; top: 150px; opacity: .38; filter: saturate(.85) drop-shadow(15px 18px 0 rgba(0,0,0,.12)); }
.bean-how-small { --bean-tilt: 11deg; width: 150px; left: -48px; bottom: -26px; opacity: .72; }
.section-label.light { border-color: rgba(244,239,229,.25); }
.how-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.how-head p { line-height: 1.7; color: #c6b8d8; }
.steps { list-style: none; padding: 0; margin: 75px 0 0; border-top: 1px solid rgba(244,239,229,.32); }
.steps li { display: grid; grid-template-columns: 100px 1fr; gap: 30px; padding: 36px 0; border-bottom: 1px solid rgba(244,239,229,.32); transition: padding-left .2s, background .2s; }
.steps li:hover { padding-left: 20px; background: rgba(255,107,69,.08); }
.steps li > span { color: var(--accent); font-size: 12px; }
.steps h3 { font-size: 25px; margin-bottom: 9px; }
.steps p { margin: 0; color: #c6b8d8; line-height: 1.6; }

.contract { position: relative; padding-block: 140px; text-align: center; }
.bean-contract-left { --bean-tilt: -12deg; width: 145px; left: -95px; top: 75px; }
.bean-contract-right { --bean-tilt: 8deg; width: 185px; right: -135px; bottom: 35px; }
.contract h2 { color: var(--purple); margin-bottom: 50px; }
.ca { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; background: var(--ink); color: var(--cream); border: 0; cursor: pointer; text-align: left; }
.ca code { font-family: "DM Mono"; font-size: clamp(12px, 2vw, 20px); overflow-wrap: anywhere; }
.copy-label { flex: 0 0 auto; background: var(--accent); color: var(--ink); padding: 12px 16px; font-size: 11px; font-weight: 500; }
.warning { color: #756d7a; font-size: 11px; margin-top: 17px; }

footer { background: var(--accent); border-top: 2px solid var(--ink); }
.footer-inner { min-height: 230px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 60px; }
.footer-bean { font-family: "Archivo Black"; font-size: 44px; letter-spacing: -.06em; }
.footer-inner p { font-size: 10px; line-height: 1.6; }
.socials { display: flex; flex-direction: column; gap: 15px; font-weight: 500; font-size: 12px; }
.socials a:hover { text-decoration: underline; }
.legal { text-align: right; }
.toast { position: fixed; z-index: 50; bottom: 24px; left: 50%; transform: translate(-50%, 120px); background: var(--ink); color: var(--accent); padding: 16px 22px; font-size: 11px; letter-spacing: .08em; box-shadow: 5px 5px 0 var(--purple); transition: transform .3s; }
.toast.show { transform: translate(-50%, 0); }

@media (max-width: 820px) {
  .nav nav { display: none; }
  .nav .pill { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 60px; }
  .hero-copy { z-index: 2; min-width: 0; }
  .bean-stage { min-height: 480px; margin-top: -30px; }
  .bean-stage img { height: 460px; }
  .bean-stage::before,.glow { width: 330px; height: 330px; }
  .about-grid { grid-template-columns: 1fr; gap: 35px; }
  .bean-about-left { width: 125px; left: -108px; top: 315px; opacity: .65; }
  .bean-about-right { width: 115px; right: -55px; bottom: 50px; }
  .stats { grid-template-columns: 1fr; }
  .stats article + article { border-left: 0; border-top: 1px solid var(--ink); }
  .stats article { min-height: 170px; }
  .how-head { display: block; }
  .bean-how-tall { width: 210px; height: 460px; right: -75px; top: 180px; opacity: .24; }
  .bean-how-small { width: 110px; left: -35px; }
  .steps li { grid-template-columns: 48px 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 25px; padding-block: 50px; }
  .legal { text-align: left; }
  .bean-contract-left { width: 105px; left: -50px; top: 105px; opacity: .65; }
  .bean-contract-right { width: 125px; right: -75px; bottom: 10px; }
}

@media (min-width: 821px) and (max-width: 1050px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats article:nth-child(3) { border-left: 0; border-top: 1px solid var(--ink); }
  .stats article:nth-child(4) { border-top: 1px solid var(--ink); }
}

@media (max-width: 500px) {
  .shell { width: min(calc(100% - 28px), 1180px); }
  .hero { min-height: auto; }
  h1 { font-size: clamp(38px, 10.8vw, 42px); line-height: .88; }
  .lede { font-size: 14px; }
  .actions { flex-direction: column; align-items: stretch; }
  .bean-stage { min-height: 420px; }
  .bean-stage img { height: 420px; width: 340px; }
  .bean-stage::before,.glow { width: 275px; height: 275px; top: 90px; }
  .thought-c { right: 0; }
  .about { padding-block: 100px; }
  .bean-about-left { width: 110px; left: -96px; top: 270px; }
  .bean-about-right { display: none; }
  .bean-how-tall { right: -110px; opacity: .18; }
  .bean-contract-left { left: -65px; }
  .ca { padding: 18px; align-items: stretch; flex-direction: column; }
  .copy-label { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; }
}
