/* Drinky base: tokens, reset, type, buttons, shared bits */
:root {
  --bg: #000000;
  --surface: #111013;
  --surface-2: #19171C;
  --surface-3: #221F26;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #F6F3F1;
  --muted: #9B959A;
  --dim-text: #8F8990;   /* small secondary text: 4.7:1 or better on every surface */
  --dim-line: #625D63;   /* decorative strokes and dots only, never text */
  --y: #FACC52;
  --c: #FC554C;
  --p: #FA0649;
  --grad: linear-gradient(135deg, var(--y) 0%, var(--c) 52%, var(--p) 100%);
  --grad-h: linear-gradient(90deg, var(--y) 0%, var(--c) 52%, var(--p) 100%);
  --glow: rgba(252, 85, 76, .35);
  --ink: #0A0A0A;
  --ok: #FACC52;
  --r-lg: 32px;
  --r-md: 20px;
  --r-sm: 14px;
  --r-pill: 999px;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sec-pad: clamp(96px, 11vw, 160px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
::selection { background: rgba(252, 85, 76, .45); color: #fff; }

:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .tab:focus-visible { border-radius: var(--r-pill); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--text); color: var(--ink); padding: 10px 16px; border-radius: var(--r-pill);
  font-weight: 600; transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--sec-pad) 0; position: relative; }

/* Logo mark: source PNG has faint white corners, always round and clip */
.mark { border-radius: 22%; overflow: hidden; flex: none; object-fit: cover; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 22px; letter-spacing: -0.04em; }

/* Type */
.tt { font-weight: 500; letter-spacing: -0.03em; line-height: 1.02; }
.tt > span { display: block; text-wrap: balance; }
h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.nw { white-space: nowrap; }
.tt .m { color: var(--muted); }
.h1 { font-size: clamp(2.7rem, 6.4vw, 5.6rem); }
.h2 { font-size: clamp(2.2rem, 4.8vw, 4.1rem); }
.center { text-align: center; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.6; max-width: 40ch; }
.sec-head { max-width: 760px; display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head .lead { max-width: 54ch; }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.fine { color: var(--dim-text); font-size: 14px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Pills and chips */
.pill {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  padding: 7px 16px 7px 12px; border-radius: var(--r-pill);
  border: 1px solid rgba(252, 85, 76, .35); background: rgba(252, 85, 76, .07);
  font-size: 14px; color: var(--text);
}
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex: none;
  box-shadow: 0 0 10px 2px var(--glow);
}
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line); font-size: 12px; color: var(--muted); white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: var(--r-pill);
  font-weight: 500; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
.btn .i { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover .i { transform: translate(2px, -2px); }
.btn-primary { background: var(--grad); color: var(--ink); font-weight: 600; box-shadow: 0 12px 34px -12px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -10px rgba(252, 85, 76, .55), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .06); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-btn { color: var(--muted); text-align: left; transition: color .2s; }
.link-btn:hover { color: var(--text); }

/* Check list */
.checks { display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 32px; color: var(--muted); }
.checks li b { color: var(--text); font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* Step number badge */
.step-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad); color: var(--ink); font-weight: 700; font-size: 15px;
  box-shadow: 0 0 22px -4px var(--glow);
}

/* Tiny CSS glasses (menu icons) */
.gl { position: relative; flex: none; width: 22px; height: 28px; }
.gl::before { content: ""; position: absolute; inset: 0; border: 1.5px solid rgba(255, 255, 255, .55); border-top-color: rgba(255, 255, 255, .25); border-radius: 2px 2px 5px 5px; }
.gl::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: 3px; height: 55%; border-radius: 1px 1px 3px 3px; background: var(--grad); opacity: .9; }
.gl-rocks { width: 24px; height: 20px; margin-top: 8px; }
.gl-rocks::after { height: 50%; background: linear-gradient(180deg, #FACC52, #FC554C); }
.gl-high { width: 16px; height: 30px; }
.gl-high::after { height: 70%; background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(250, 204, 82, .45)); }
.gl-pint { width: 20px; height: 30px; }
.gl-pint::before { border-radius: 2px 2px 4px 4px; clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%); }
.gl-pint::after { height: 75%; left: 4px; right: 4px; background: linear-gradient(180deg, #fff8e0 0 18%, #FACC52 18%); }

/* QR-like squares (filled by util.js) */
.qr { aspect-ratio: 1; background: #fff; border-radius: 10px; padding: 8%; }
.qr svg { width: 100%; height: 100%; }
.scanline {
  position: absolute; left: 8%; right: 8%; height: 2px; top: 12%; background: var(--grad-h);
  box-shadow: 0 0 14px 2px var(--glow); border-radius: 2px; animation: scan 2.4s var(--ease) infinite alternate;
}
@keyframes scan { to { top: 86%; } }

/* Reveal on scroll. nav.js adds .reveal-ready to <html> only once its observer is running,
   so content never stays hidden if a script fails. The hero is never a .reveal. */
.reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-ready .reveal.in { opacity: 1; transform: none; }

@media (max-width: 899px) {
  :root { --gutter: 20px; --nav-h: 64px; }
  body { font-size: 16px; }
}
@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .btn-lg { height: 52px; padding: 0 22px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
  .scanline { top: 48%; }
}

/* Mouse-follow light on cards (glow.js sets --mx / --my) */
.how-card, .pro-step, .team-card, .ben { position: relative; isolation: isolate; }
.how-card::before, .pro-step::before, .team-card::before, .ben::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(252, 85, 76, .1), transparent 65%);
}
.how-card:hover::before, .pro-step:hover::before, .team-card:hover::before, .ben:hover::before { opacity: 1; }
