/* =========================================================
   JuiceJr — design tokens
   A "juice bar menu board" concept: dark plum backdrop,
   citrus accents, commands presented as a drinks menu.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root{
  --bg:            #1c1229;
  --bg-deep:       #140c1e;
  --panel:         #251935;
  --panel-2:       #2d1f40;
  --line:          rgba(255,243,224,0.10);
  --line-strong:   rgba(255,243,224,0.20);
  --cream:         #fff3e0;
  --cream-dim:     #cdbfd6;
  --cream-faint:   #9a8ba8;

  --orange:        #ff8a3d;
  --orange-deep:   #e8672a;
  --lime:          #c4f042;
  --lime-deep:     #96c22a;
  --pink:          #ff5d8f;
  --yellow:        #ffd23d;
  --grape:         #9b5de5;
  --blood:         #ff4d4d;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --font-display: "Bricolage Grotesque", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --shadow-soft: 0 20px 60px -25px rgba(0,0,0,0.6);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal{ opacity: 1 !important; transform: none !important; }
}

/* ---------- intro splash (cup drains, then reveals the site) ---------- */
.intro-overlay{
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 12% -10%, rgba(196,240,66,0.08), transparent 60%),
    radial-gradient(ellipse 800px 600px at 90% 10%, rgba(255,138,61,0.10), transparent 55%),
    var(--bg-deep);
  transition: clip-path .85s cubic-bezier(.65,0,.35,1) .1s, opacity .4s ease .55s, visibility .95s;
  cursor: pointer;
}
.intro-overlay.hide{
  clip-path: inset(100% 0 0 0);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.intro-glass{ width: min(46vw, 190px); height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); }
.intro-drain{ fill: var(--bg-deep); animation: introDrainCover 2.3s cubic-bezier(.65,0,.35,1) .35s forwards; }
@keyframes introDrainCover{
  0%, 10%{ height: 0; }
  24%{ height: 118; }
  40%{ height: 118; }
  54%{ height: 224; }
  68%{ height: 224; }
  84%{ height: 330; }
  100%{ height: 330; }
}
.intro-word{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  opacity: 0;
  animation: introWordFade 2.7s ease .3s both;
}
@keyframes introWordFade{
  0%{ opacity: 0; transform: translateY(6px); }
  25%{ opacity: 1; transform: translateY(0); }
  85%{ opacity: 1; }
  100%{ opacity: 0; }
}

/* full-screen fizz: scattered bubbles that rise, so the whole screen reads as
   carbonated liquid — the clip-path reveal above then makes it look like this
   fizz is draining away down the page. */
.intro-fizz{
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}
.fizz-bubble{
  position: absolute;
  bottom: -10%;
  width: var(--fs, 10px);
  height: var(--fs, 10px);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,243,224,.85), rgba(255,243,224,.05) 70%);
  opacity: 0;
  animation: fizzRise var(--fd, 5s) ease-in infinite;
  animation-delay: var(--fdelay, 0s);
  left: var(--fx, 50%);
}
.fizz-bubble:nth-child(1){ --fx: 8%;  --fs: 9px;  --fd: 4.6s; --fdelay: 0s; }
.fizz-bubble:nth-child(2){ --fx: 20%; --fs: 6px;  --fd: 5.4s; --fdelay: .6s; }
.fizz-bubble:nth-child(3){ --fx: 34%; --fs: 11px; --fd: 4.2s; --fdelay: 1.4s; }
.fizz-bubble:nth-child(4){ --fx: 50%; --fs: 7px;  --fd: 5.8s; --fdelay: .3s; }
.fizz-bubble:nth-child(5){ --fx: 64%; --fs: 10px; --fd: 4.9s; --fdelay: 2s; }
.fizz-bubble:nth-child(6){ --fx: 77%; --fs: 6px;  --fd: 5.2s; --fdelay: 1s; }
.fizz-bubble:nth-child(7){ --fx: 88%; --fs: 9px;  --fd: 4.4s; --fdelay: 2.5s; }
.fizz-bubble:nth-child(8){ --fx: 96%; --fs: 5px;  --fd: 5.6s; --fdelay: 1.8s; }
@keyframes fizzRise{
  0%{ transform: translateY(0); opacity: 0; }
  12%{ opacity: .8; }
  90%{ opacity: 0; }
  100%{ transform: translateY(-100vh); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .intro-overlay{ display: none !important; }
}

/* ---------- ambient background bubbles (subtle, behind all content) ---------- */
.bg-bubbles{
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bg-bubble{
  position: absolute;
  bottom: -12%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,243,224,0.55), rgba(255,243,224,0.04) 70%);
  opacity: 0;
  animation: bgBubbleRise linear infinite;
}
@keyframes bgBubbleRise{
  0%{ transform: translate(0, 0); opacity: 0; }
  8%{ opacity: var(--bubble-opacity, .3); }
  92%{ opacity: var(--bubble-opacity, .3); }
  100%{ transform: translate(var(--drift, 0px), -115vh); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .bg-bubbles{ display: none; }
}

/* ---------- reveal-on-scroll ---------- */
.reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ---------- scroll progress bar ---------- */
.scroll-progress{
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--lime), var(--yellow), var(--orange));
  z-index: 80;
  transition: width .1s ease-out;
}

/* ---------- back to top ---------- */
.to-top{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 60;
  opacity: 0;
  transform: translateY(12px) scale(.9);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, border-color .2s ease, background .2s ease;
  box-shadow: var(--shadow-soft);
}
.to-top svg{ width: 18px; height: 18px; }
.to-top.show{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.to-top:hover{
  border-color: var(--lime);
  background: color-mix(in srgb, var(--lime) 16%, var(--panel-2));
  transform: translateY(-3px) scale(1);
}

/* ---------- toast ---------- */
.toast{
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 16px);
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.show{
  opacity: 1;
  transform: translate(-50%, 0);
}

body{
  margin: 0;
  background:
    radial-gradient(ellipse 900px 500px at 12% -10%, rgba(196,240,66,0.08), transparent 60%),
    radial-gradient(ellipse 800px 600px at 90% 10%, rgba(255,138,61,0.10), transparent 55%),
    radial-gradient(ellipse 1000px 700px at 50% 100%, rgba(155,93,229,0.10), transparent 60%),
    var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}

a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ margin: 0; font-family: var(--font-display); }
p{ margin: 0; }
img,svg{ display: block; max-width: 100%; }
button{ font: inherit; }

:focus-visible{
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before{
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px 2px rgba(196,240,66,0.7);
}

/* ---------- buttons ---------- */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.28), transparent 70%);
  transition: opacity .25s ease;
}
.btn:hover::after{ opacity: 1; }
.btn:active{ transform: translateY(1px) scale(0.99); }

.btn-primary{
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #241300;
  box-shadow: 0 12px 30px -10px rgba(255,138,61,0.55);
}
.btn-primary:hover{
  box-shadow: 0 16px 36px -8px rgba(255,138,61,0.7);
  transform: translateY(-2px);
}

.btn-ghost{
  background: rgba(255,243,224,0.04);
  border-color: var(--line-strong);
  color: var(--cream);
}
.btn-ghost:hover{
  border-color: var(--lime);
  color: var(--lime);
}

.btn-sm{ padding: 10px 18px; font-size: 13.5px; }

/* ---------- nav ---------- */

.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20,12,30,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px -20px rgba(0,0,0,0.55);
}
.nav .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.brand-mark{ width: 36px; height: 36px; flex-shrink: 0; }

.nav-links{
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a:not(.btn){
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--cream-dim);
  transition: color .15s ease, background .15s ease;
}
.nav-links a:not(.btn):hover{
  color: var(--cream);
  background: rgba(255,243,224,0.06);
}
.nav-links a.active{
  color: var(--bg-deep);
  background: var(--lime);
}
.nav-cta{ margin-left: 8px; }

.nav-icon-link{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--cream-dim);
  font-weight: 600;
  font-size: 14.5px;
  flex-shrink: 0;
  transition: color .15s ease, border-color .15s ease, background .15s ease, transform .15s ease;
}
.nav-icon-link svg{ width: 18px; height: 18px; }
.nav-icon-link:hover{
  color: var(--lime);
  border-color: var(--lime);
  background: rgba(196,240,66,0.08);
  transform: translateY(-1px);
}

.nav-toggle{
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 42px; height: 42px;
  color: var(--cream);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.nav-toggle svg{ transition: transform .25s ease; }
.nav-toggle.is-open{ border-color: var(--lime); color: var(--lime); }
.nav-toggle.is-open svg{ transform: rotate(90deg); }

/* =========================================================
   HERO
   ========================================================= */

.hero{
  padding: 76px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero .wrap{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1{
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 18px 0 20px;
  color: var(--cream);
}
.hero-copy h1 .accent{
  background: linear-gradient(100deg, var(--lime), var(--yellow) 55%, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p.lede{
  font-size: 17.5px;
  color: var(--cream-dim);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.hero-meta{
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cream-faint);
}
.hero-meta span{ color: var(--cream); font-weight: 600; }

.hero-support{
  font-size: 13.5px;
  color: var(--cream-faint);
  margin: -20px 0 34px;
}
.hero-support a{
  color: var(--cream-dim);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.hero-support a:hover{ color: var(--lime); text-decoration-color: var(--lime); }

/* glass illustration */
.glass-wrap{
  position: relative;
  display: flex;
  justify-content: center;
}
.glass-wrap{ perspective: 900px; }
.glass-wrap svg{
  width: min(100%, 360px);
  height: auto;
  transition: transform .25s ease-out;
  transform-style: preserve-3d;
}

.bubble{ animation: rise 4.5s ease-in infinite; transform-origin: center; }
.bubble:nth-child(2){ animation-delay: .8s; }
.bubble:nth-child(3){ animation-delay: 1.9s; }
.bubble:nth-child(4){ animation-delay: 2.7s; }
.bubble:nth-child(5){ animation-delay: 3.4s; }
@keyframes rise{
  0%{ transform: translateY(0); opacity: 0; }
  15%{ opacity: .9; }
  90%{ opacity: 0; }
  100%{ transform: translateY(-140px); opacity: 0; }
}
.surface{ animation: bob 3.6s ease-in-out infinite; }
@keyframes bob{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(3px); }
}
.float-slow{ animation: floaty 6s ease-in-out infinite; }
@keyframes floaty{
  0%, 100%{ transform: translateY(0) rotate(0deg); }
  50%{ transform: translateY(-8px) rotate(-2deg); }
}

/* =========================================================
   INGREDIENTS / STATS STRIP
   ========================================================= */

.label-strip{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}
.label-strip .wrap{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.label-item{
  padding: 26px 24px;
  border-left: 1px solid var(--line);
  text-align: center;
}
.label-item:first-child{ border-left: none; }
.label-item .num{
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--lime);
}
.label-item .cap{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-top: 4px;
}

/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.section{ padding: 92px 0; }
.section-head{
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head h2{
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 14px 0 12px;
  letter-spacing: -0.01em;
}
.section-head p{ color: var(--cream-dim); font-size: 16px; }
.section-head.left{ text-align: left; margin: 0 0 44px; }

/* =========================================================
   FLAVOR / FEATURE CARDS
   ========================================================= */

.flavor-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.flavor-card{
  background: linear-gradient(180deg, var(--panel), var(--panel) 60%, color-mix(in srgb, var(--panel) 88%, black));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 24px 24px;
  position: relative;
  overflow: hidden;
  transition: transform .28s cubic-bezier(.16,.8,.3,1), border-color .28s ease, box-shadow .28s ease;
}
.flavor-card::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--flavor, var(--orange));
  opacity: .85;
}
.flavor-card:hover{
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--flavor, var(--line-strong)) 45%, var(--line-strong));
  box-shadow: 0 26px 50px -28px color-mix(in srgb, var(--flavor, #000) 55%, transparent), var(--shadow-soft);
}
.flavor-cap{
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--flavor, var(--orange)) 22%, transparent);
  margin-bottom: 18px;
}
.flavor-cap span{
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--flavor, var(--orange));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--flavor, var(--orange)) 30%, transparent);
}
.flavor-card h3{
  font-size: 1.1rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.flavor-card p{
  color: var(--cream-dim);
  font-size: 14.5px;
  margin-bottom: 16px;
}
.flavor-card .tally{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cream-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}
.flavor-card a.card-link{
  position: absolute; inset: 0;
}

/* =========================================================
   STEPS
   ========================================================= */

.steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
}
.step .step-num{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--bg-deep);
  background: var(--lime);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 20px;
}
.step h3{ font-size: 1.05rem; margin-bottom: 8px; }
.step p{ color: var(--cream-dim); font-size: 14.5px; }

/* =========================================================
   FOOTER CTA BANNER
   ========================================================= */

.cta-banner{
  margin: 0 28px 92px;
  max-width: 1124px;
  margin-left: auto; margin-right: auto;
  background:
    radial-gradient(ellipse 500px 260px at 15% 20%, rgba(196,240,66,0.18), transparent 60%),
    radial-gradient(ellipse 500px 260px at 90% 90%, rgba(255,138,61,0.22), transparent 60%),
    var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
}
.cta-banner h2{
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}
.cta-banner p{ color: var(--cream-dim); margin-bottom: 30px; }
.cta-actions{
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer{
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
footer .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.foot-brand{
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700;
  color: var(--cream-dim);
}
.foot-brand svg{ width: 22px; height: 22px; }
.foot-links{ display: flex; gap: 22px; }
.foot-links a{
  font-size: 14px;
  color: var(--cream-faint);
  transition: color .15s ease;
}
.foot-links a:hover{ color: var(--lime); }
.foot-note{ font-size: 13px; color: var(--cream-faint); }

/* =========================================================
   COMMANDS PAGE
   ========================================================= */

.menu-header{ padding: 56px 0 36px; text-align: center; }
.menu-header .eyebrow{ justify-content: center; }
.menu-header h1{
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin: 16px 0 12px;
}
.menu-header p{ color: var(--cream-dim); max-width: 56ch; margin: 0 auto; }

.menu-controls{
  position: sticky;
  top: 76px;
  z-index: 40;
  background: rgba(20,12,30,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.search-row{
  display: flex;
  gap: 12px;
  align-items: center;
}
.search-box{
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 12px 18px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.search-box:focus-within{
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(196,240,66,0.12);
}
.search-box svg{ width: 17px; height: 17px; color: var(--cream-faint); flex-shrink: 0; }
.search-box input{
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 14.5px;
}
.search-box input::placeholder{ color: var(--cream-faint); }
.kbd-hint{
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cream-faint);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 2px 7px;
  flex-shrink: 0;
}
.search-box:focus-within .kbd-hint{ display: none; }
.search-count{
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--cream-faint);
  white-space: nowrap;
}

.chip-row{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.chip{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--cream-dim);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.chip span.dot{
  font-size: 12px;
  line-height: 1;
}
.chip span.dot:empty{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--flavor, var(--cream-faint));
  display: inline-block;
}
.chip:hover{ border-color: var(--line-strong); color: var(--cream); }
.chip.is-active{
  background: color-mix(in srgb, var(--flavor, var(--lime)) 22%, var(--panel));
  border-color: var(--flavor, var(--lime));
  color: var(--cream);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--flavor, var(--lime)) 18%, transparent);
}
.chip-action{
  border-style: dashed;
  color: var(--cream-faint);
}
.chip-action:hover{ border-color: var(--lime); color: var(--lime); }
.chip-action + .chip:not(.chip-action){ margin-left: 6px; }

.menu-body{ padding: 44px 0 100px; }

.category-block{
  margin-bottom: 46px;
  scroll-margin-top: 190px;
}
.category-head{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
  cursor: pointer;
  padding: 10px 12px;
  margin-left: -12px;
  margin-right: -12px;
  border-radius: 12px;
  transition: background .18s ease;
}
.category-head:hover{ background: rgba(255,243,224,0.045); }
.category-head .cap{
  width: 36px; height: 36px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--flavor, var(--orange)) 24%, transparent);
  border: 1px solid color-mix(in srgb, var(--flavor, var(--orange)) 40%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}
.category-head h2{
  font-size: 1.3rem;
  flex: 1;
}
.category-head .count{
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--cream-faint);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 999px;
}
.category-head .chevron{
  width: 18px; height: 18px;
  color: var(--cream-faint);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.category-block.collapsed .chevron{ transform: rotate(-90deg); }
.category-desc{
  color: var(--cream-dim);
  font-size: 14px;
  margin: 2px 0 18px 50px;
  max-width: 60ch;
}

.command-list{
  display: grid;
  gap: 10px;
  border-left: 2px solid var(--line);
  margin-left: 17px;
  padding-left: 30px;
  overflow: hidden;
  max-height: 4000px;
  opacity: 1;
  transition: max-height .38s cubic-bezier(.16,.8,.3,1), opacity .25s ease, margin .38s ease;
}
.category-desc{
  overflow: hidden;
  max-height: 60px;
  opacity: 1;
  transition: max-height .3s ease, opacity .2s ease, margin .3s ease;
}
.category-block.collapsed .command-list{
  max-height: 0;
  opacity: 0;
  margin-top: -10px;
}
.category-block.collapsed .category-desc{
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
}

.command-row{
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid color-mix(in srgb, var(--flavor, var(--line)) 55%, var(--line));
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: minmax(140px, auto) 1fr;
  gap: 6px 18px;
  align-items: baseline;
  transition: border-color .18s ease, transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.command-row:hover{
  border-color: var(--line-strong);
  border-left-color: var(--flavor, var(--line-strong));
  background: var(--panel-2);
  transform: translateX(3px);
  box-shadow: 0 10px 24px -18px color-mix(in srgb, var(--flavor, #000) 60%, transparent);
}
.command-row .cmd-name{
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--yellow);
  white-space: nowrap;
}
button.cmd-name{
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .15s ease;
}
button.cmd-name::after{
  content: "";
  width: 12px; height: 12px;
  flex-shrink: 0;
  opacity: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: opacity .15s ease;
}
button.cmd-name:hover{ color: var(--cream); }
button.cmd-name:hover::after{ opacity: .55; }
button.cmd-name.copied,
button.cmd-name.copied::after{ color: var(--lime); opacity: 1; }
.command-row .cmd-desc{
  font-size: 14px;
  color: var(--cream-dim);
}
.command-row .cmd-sub{
  grid-column: 1 / -1;
  margin-top: 8px;
  display: grid;
  gap: 7px;
}
.sub-row{
  display: grid;
  grid-template-columns: minmax(150px, auto) 1fr;
  gap: 6px 18px;
  padding: 9px 12px;
  background: var(--bg-deep);
  border-radius: 8px;
  align-items: baseline;
}
.sub-row .cmd-name{ font-size: 13px; color: var(--lime); }
.sub-row .cmd-desc{ font-size: 13px; }

.command-row.is-hidden,
.category-block.is-hidden{ display: none; }

.no-results{
  text-align: center;
  padding: 60px 20px;
  color: var(--cream-faint);
  display: none;
}
.no-results.show{ display: block; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px){
  .hero .wrap{ grid-template-columns: 1fr; }
  .glass-wrap{ order: -1; margin-bottom: 8px; }
  .glass-wrap svg{ width: min(70%, 280px); }
  .flavor-grid{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: 1fr; }
  .label-strip .wrap{ grid-template-columns: repeat(2, 1fr); }
  .label-item:nth-child(3){ border-left: none; }
}

@media (max-width: 720px){
  .nav-toggle{ display: flex; align-items: center; justify-content: center; }

  .nav-links{
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #1c1229;
    border-bottom: 1px solid var(--line-strong);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .32s cubic-bezier(.16,.8,.3,1), opacity .22s ease, padding .32s ease;
  }
  .nav-links a:not(.btn){ display: flex; }
  .nav-links.is-open{
    max-height: 360px;
    opacity: 1;
    padding: 12px 20px 20px;
  }
  .nav-cta{ margin-left: 0; margin-top: 6px; justify-content: center; }

  .nav-icon-link{
    width: auto;
    height: auto;
    border-radius: 999px;
    border: none;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 16px;
    color: var(--cream-dim);
    font-weight: 600;
    font-size: 14.5px;
  }
  .nav-icon-link:hover{ background: rgba(255,243,224,0.06); }

  .command-row, .sub-row{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .flavor-grid{ grid-template-columns: 1fr; }
  .label-strip .wrap{ grid-template-columns: 1fr 1fr; }
  .cta-banner{ padding: 42px 24px; margin-left: 16px; margin-right: 16px; }
  .search-row{ flex-wrap: wrap; }
  .search-count{ width: 100%; text-align: right; }
}

/* =========================================================
   LEGAL PAGES (privacy policy, terms of service)
   ========================================================= */

.legal-header{ padding: 56px 0 28px; text-align: center; }
.legal-header .eyebrow{ justify-content: center; }
.legal-header h1{
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin: 16px 0 10px;
}
.legal-header .legal-updated{
  color: var(--cream-faint);
  font-size: 13.5px;
  font-family: var(--font-mono);
}

.legal-body{ padding: 8px 0 80px; }
.legal-shell{
  display: grid;
  grid-template-columns: 240px minmax(0,1fr);
  gap: 48px;
  align-items: start;
}
.legal-toc{
  position: sticky;
  top: 96px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 20px 22px;
}
.legal-toc h2{
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-bottom: 12px;
}
.legal-toc ul{ display: flex; flex-direction: column; gap: 2px; }
.legal-toc a{
  display: block;
  padding: 7px 10px;
  margin: 0 -10px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--cream-dim);
  transition: color .15s ease, background .15s ease;
}
.legal-toc a:hover{ color: var(--cream); background: rgba(255,243,224,0.06); }

.legal-content{ max-width: 72ch; }
.legal-content > section{
  padding: 26px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.legal-content > section:first-child{ border-top: none; padding-top: 0; }
.legal-content h2{
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--cream);
}
.legal-content h3{
  font-size: 1.05rem;
  margin: 18px 0 8px;
  color: var(--cream);
}
.legal-content p{
  color: var(--cream-dim);
  margin-bottom: 12px;
}
.legal-content p:last-child{ margin-bottom: 0; }
.legal-content ul{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 12px 2px;
}
.legal-content li{
  color: var(--cream-dim);
  padding-left: 20px;
  position: relative;
}
.legal-content li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
.legal-content a{
  color: var(--lime);
  text-decoration: underline;
  text-decoration-color: rgba(196,240,66,0.35);
  text-underline-offset: 3px;
}
.legal-content a:hover{ text-decoration-color: var(--lime); }
.legal-content strong{ color: var(--cream); }
.legal-content code{
  font-family: var(--font-mono);
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 13.5px;
  color: var(--cream);
}
.legal-callout{
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--lime);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 14px 0;
  color: var(--cream-dim);
  font-size: 14.5px;
}

@media (max-width: 860px){
  .legal-shell{ grid-template-columns: 1fr; }
  .legal-toc{ position: static; }
}
