/* website.css — Brewly marketing site (desktop-first, hand-drawn language).
   Builds on brewly.css tokens. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

.site {
  font-family: 'Patrick Hand', cursive; color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(var(--dot) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  min-height: 100vh; overflow-x: hidden;
}
.site *::selection { background: var(--accent); color: var(--on-accent); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ============================================================
   Sticky nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,251,247,.86); backdrop-filter: blur(8px);
  border-bottom: 2.5px solid var(--ink);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 18px; }
.nav__brand { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.nav__brand span { font-family: 'Kalam', cursive; font-weight: 700; font-size: 26px; letter-spacing: .5px; }
.nav__tabs { display: flex; align-items: center; gap: 4px; }
.ntab {
  font-family: 'Patrick Hand', cursive; font-size: 19px; color: var(--ink);
  text-decoration: none; padding: 8px 15px; border-radius: var(--wob-sm);
  border: 2px solid transparent; cursor: pointer; position: relative; white-space: nowrap;
  transition: color .12s;
}
.ntab:hover { color: var(--accent); }
.ntab--cta {
  background: var(--accent); color: var(--on-accent);
  border: 2.5px solid var(--ink); border-radius: var(--wob-pill);
  box-shadow: 3px 3px 0 var(--shadow-ink); padding: 9px 20px; margin-left: 6px;
  transition: transform .1s, box-shadow .1s;
}
.ntab--cta:hover { color: var(--on-accent); transform: translate(1px,1px); box-shadow: 2px 2px 0 var(--shadow-ink); }
.nav__burger { display: none; }

/* ============================================================
   Section scaffolding
   ============================================================ */
section { padding: 92px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Patrick Hand', cursive; font-size: 17px; color: var(--ink-muted);
  border: 2px solid var(--ink); border-radius: var(--wob-pill);
  padding: 5px 15px; background: var(--surface); box-shadow: var(--sh-soft);
  transform: rotate(-1.5deg); margin-bottom: 22px;
}
h1.display {
  font-family: 'Kalam', cursive; font-weight: 700; font-size: clamp(44px, 6vw, 78px);
  line-height: 1.02; margin: 0; letter-spacing: .5px; text-wrap: balance;
}
h2.head {
  font-family: 'Kalam', cursive; font-weight: 700; font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.05; margin: 0 0 16px; text-wrap: balance;
}
.lead { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.5; color: var(--ink); max-width: 600px; }
.muted { color: var(--ink-muted); }
.accent { color: var(--accent); }
.scribble { position: relative; display: inline-block; }
.scribble::after {
  content: ""; position: absolute; left: -3%; right: -3%; bottom: -6px; height: 12px;
  background: no-repeat center/100% 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M2 7c20-8 40 5 60 1s40-7 56 2' fill='none' stroke='%23ff4d4d' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-top: 70px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero__cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.btn-xl {
  font-family: 'Patrick Hand', cursive; font-size: 21px; cursor: pointer;
  border: 3px solid var(--ink); border-radius: var(--wob-pill); padding: 13px 28px;
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  background: var(--surface); box-shadow: 4px 4px 0 var(--shadow-ink);
  transition: transform .1s, box-shadow .1s, background .1s, color .1s;
}
.btn-xl:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--shadow-ink); }
.btn-xl--accent { background: var(--accent); color: var(--on-accent); }
.btn-xl--accent:hover { color: var(--on-accent); }
.hero__stats { display: flex; gap: 30px; margin-top: 38px; flex-wrap: wrap; }
.hstat__n { font-family: 'Kalam', cursive; font-weight: 700; font-size: 34px; line-height: 1; }
.hstat__l { font-size: 16px; color: var(--ink-muted); margin-top: 3px; }

/* ============================================================
   Phone mockup
   ============================================================ */
.phone-wrap { display: flex; align-items: center; justify-content: center; position: relative; }
.phone {
  border-radius: 48px; overflow: hidden; border: 3px solid var(--ink);
  box-shadow: 12px 14px 0 var(--shadow-ink); background: var(--paper);
}
.phone-float { position: absolute; z-index: 3; }

/* ============================================================
   Feature / glossary cards
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-hd {
  background: var(--surface); border: 2.5px solid var(--ink); border-radius: var(--wob-md);
  box-shadow: 6px 6px 0 var(--shadow-ink); padding: 30px 28px;
}
.card-hd--tea { background: var(--postit); color: var(--postit-ink); }
.card-hd h3 { font-family: 'Kalam', cursive; font-weight: 700; font-size: 30px; margin: 14px 0 8px; }
.card-hd p { font-size: 18px; line-height: 1.45; margin: 0; }
.feat-icon {
  width: 60px; height: 60px; border-radius: var(--wob-blob); border: 2.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  background: var(--paper); box-shadow: var(--sh-soft);
}

.gcard {
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--wob-md);
  box-shadow: var(--sh-soft); padding: 22px 20px; transition: transform .12s, box-shadow .12s;
}
.gcard:hover { transform: translateY(-3px); box-shadow: 5px 7px 0 var(--shadow-ink); }
.gcard__term { font-family: 'Kalam', cursive; font-weight: 700; font-size: 24px; display: flex; align-items: center; gap: 9px; }
.gcard__def { font-size: 17px; line-height: 1.4; color: var(--ink-muted); margin: 8px 0 0; }

/* feeds split row */
.feeds-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.feed-col { display: flex; flex-direction: column; gap: 20px; }
.feed-panel { padding: 30px 28px; border: 2.5px solid var(--ink); border-radius: var(--wob-lg); box-shadow: 7px 7px 0 var(--shadow-ink); }
.feed-panel--wire { background: var(--surface); }
.feed-panel--tea { background: var(--postit); color: var(--postit-ink); }
.pill-tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: 15px;
  border: 2px solid var(--ink); border-radius: var(--wob-pill); padding: 3px 12px; background: var(--paper);
}

/* split feature (alternating) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split--rev .split__media { order: 2; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 13px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; line-height: 1.4; }
.checklist .ck {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  background: var(--accent); border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; margin-top: 1px;
}

/* CTA band */
.cta-band {
  border: 3px solid var(--ink); border-radius: var(--wob-lg);
  background: var(--accent); color: var(--on-accent);
  box-shadow: 10px 10px 0 var(--shadow-ink); padding: 56px 40px; text-align: center;
}
.cta-band h2 { color: var(--on-accent); }
.store-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 11px; cursor: pointer; text-decoration: none;
  background: var(--ink); color: var(--paper); border: 2.5px solid var(--ink);
  border-radius: var(--wob-md); padding: 12px 22px; box-shadow: 4px 4px 0 rgba(0,0,0,.25);
  transition: transform .1s;
}
.store-btn:hover { transform: translate(2px,2px); }
.store-btn small { display: block; font-size: 13px; opacity: .8; }
.store-btn b { font-family: 'Kalam', cursive; font-size: 19px; }

/* ============================================================
   Gen Z curation callout
   ============================================================ */
.genz {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: center;
  margin-top: 56px; padding: 40px; border: 2.5px solid var(--ink); border-radius: var(--wob-lg);
  background: var(--postit); color: var(--postit-ink); box-shadow: 8px 8px 0 var(--shadow-ink);
}
.genz__big { display: flex; align-items: center; justify-content: center; }
.genz__stat {
  font-family: 'Kalam', cursive; font-weight: 700; font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04; transform: rotate(-2deg); text-align: center;
}
.genz__h { font-family: 'Kalam', cursive; font-weight: 700; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; margin: 14px 0 14px; }
.genz__body .lead { color: var(--postit-ink); margin: 0 0 12px; }
.genz__body .lead:last-child { margin-bottom: 0; }

/* ============================================================
   Waitlist (coming soon)
   ============================================================ */
.wl { display: flex; gap: 10px; }
.wl__in {
  flex: 1 1 auto; min-width: 0; box-sizing: border-box; height: 56px;
  border: 2.5px solid var(--ink); border-radius: var(--wob-pill);
  background: var(--paper); color: var(--ink); padding: 0 22px;
  font-family: 'Patrick Hand', cursive; font-size: 19px; outline: none;
  box-shadow: 3px 3px 0 var(--shadow-ink); transition: box-shadow .12s;
}
.wl__in::placeholder { color: var(--ink-muted); }
.wl__in:focus { box-shadow: 0 0 0 4px rgba(45,93,161,.25), 3px 3px 0 var(--shadow-ink); }
.wl__btn {
  flex: 0 0 auto; box-sizing: border-box; height: 56px; white-space: nowrap;
  border: 2.5px solid var(--ink); border-radius: var(--wob-pill);
  background: var(--ink); color: var(--paper); padding: 0 26px; cursor: pointer;
  font-family: 'Patrick Hand', cursive; font-size: 19px; box-shadow: 3px 3px 0 var(--shadow-ink);
  transition: transform .1s, box-shadow .1s;
}
.wl__btn:hover:not(:disabled) { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--shadow-ink); }
.wl__btn:active:not(:disabled) { transform: translate(3px,3px); box-shadow: none; }
.wl__btn:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 480px) {
  .wl { flex-direction: column; }
  .wl__btn { width: 100%; }
}
.wl-done {
  display: flex; align-items: center; gap: 14px; justify-content: center; text-align: left;
  border: 2.5px solid var(--ink); border-radius: var(--wob-md); background: var(--paper); color: var(--ink);
  padding: 16px 22px; font-size: 18px; box-shadow: 4px 4px 0 var(--shadow-ink);
}
.soon-stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.soon-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--on-accent);
  border: 2px dashed var(--on-accent); border-radius: var(--wob-pill); padding: 7px 16px; opacity: .85;
}

/* ============================================================
   Footer
   ============================================================ */
.foot { border-top: 2.5px solid var(--ink); padding: 56px 0 40px; background: var(--surface); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { font-family: 'Kalam', cursive; font-weight: 700; font-size: 19px; margin: 0 0 14px; }
.foot a { display: block; color: var(--ink-muted); text-decoration: none; font-size: 17px; margin-bottom: 9px; cursor: pointer; }
.foot a:hover { color: var(--accent); }
.foot__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 44px; padding-top: 22px; border-top: 2px dashed var(--muted); flex-wrap: wrap;
}
.foot__copy { font-size: 16px; color: var(--ink-muted); }

/* ============================================================
   About page
   ============================================================ */
.story { max-width: 760px; margin: 0 auto; }
.story p { font-size: clamp(19px, 2.1vw, 22px); line-height: 1.6; margin: 0 0 22px; }
.story .drop::first-letter {
  font-family: 'Kalam', cursive; font-weight: 700; font-size: 64px; float: left;
  line-height: .8; padding: 6px 12px 4px 0; color: var(--accent);
}
.pullquote {
  border-left: 5px solid var(--accent); padding: 6px 0 6px 26px; margin: 34px 0;
  font-family: 'Kalam', cursive; font-weight: 700; font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25; transform: rotate(-1deg);
}

/* group-chat reenactment */
.chat {
  border: 2.5px solid var(--ink); border-radius: var(--wob-lg); background: var(--surface);
  box-shadow: 7px 7px 0 var(--shadow-ink); padding: 20px 22px; margin: 34px auto; max-width: 540px;
}
.chat__hd {
  display: flex; align-items: center; gap: 9px; font-size: 15px; color: var(--ink-muted);
  border-bottom: 2px dashed var(--muted); padding-bottom: 13px; margin-bottom: 16px;
}
.chat__dot { width: 9px; height: 9px; border-radius: 50%; background: #1f8a5b; box-shadow: 0 0 0 3px rgba(31,138,91,.22); flex: 0 0 auto; }
.cmsg { display: flex; flex-direction: column; margin-bottom: 14px; max-width: 82%; }
.cmsg:last-child { margin-bottom: 0; }
.cmsg--them { align-items: flex-start; margin-right: auto; }
.cmsg--me { align-items: flex-end; margin-left: auto; }
.cmsg__name { font-family: 'Kalam', cursive; font-weight: 700; font-size: 14px; color: var(--secondary); margin: 0 0 4px 8px; }
.cmsg--me .cmsg__name { color: var(--accent); margin: 0 8px 4px 0; }
.cmsg__bub { padding: 11px 16px; font-size: 18px; line-height: 1.38; border: 2px solid var(--ink); box-shadow: var(--sh-soft); }
.cmsg--them .cmsg__bub { background: var(--surface); border-radius: 19px 19px 19px 5px; }
.cmsg--me .cmsg__bub { background: var(--accent); color: var(--on-accent); border-radius: 19px 19px 5px 19px; }

/* founders — text only */
.founders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.founder {
  border: 2.5px solid var(--ink); border-radius: var(--wob-md); background: var(--surface);
  box-shadow: 6px 6px 0 var(--shadow-ink); padding: 30px 26px;
}
.founder__name { font-family: 'Kalam', cursive; font-weight: 700; font-size: 30px; line-height: 1; }
.founder__role {
  display: inline-block; color: var(--accent); font-size: 14.5px;
  border: 2px solid var(--accent); border-radius: var(--wob-pill); padding: 3px 13px; margin: 11px 0 14px;
}
.founder__tag { font-family: 'Kalam', cursive; font-weight: 700; font-size: 18px; color: var(--ink); margin: 0 0 10px; }
.founder__bio { font-size: 17px; line-height: 1.5; color: var(--ink-muted); margin: 0; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 14px; }

@media (max-width: 860px) {
  .founders, .values { grid-template-columns: 1fr; }
}

/* ============================================================
   Legal pages (Terms / Privacy)
   ============================================================ */
.legal { max-width: 840px; margin: 0 auto; padding: 0 28px 40px; }
.legal__head { text-align: center; padding: 60px 0 26px; }
.legal__updated { color: var(--ink-muted); font-size: 16px; margin-top: 12px; }
.legal__summary {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--postit); color: var(--postit-ink); border: 2.5px solid var(--ink);
  border-radius: var(--wob-md); box-shadow: 6px 6px 0 var(--shadow-ink);
  padding: 20px 22px; margin: 8px 0 14px; transform: rotate(-.6deg);
}
.legal__summary p { margin: 0; font-size: 17.5px; line-height: 1.5; }
.legal__toc {
  border: 2px dashed var(--ink-muted); border-radius: var(--wob-md); padding: 18px 22px; margin: 24px 0 8px;
}
.legal__toc h4 { font-family: 'Kalam', cursive; font-weight: 700; font-size: 17px; margin: 0 0 10px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 1px; }
.legal__toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 30px; }
.legal__toc a { color: var(--secondary); text-decoration: none; font-size: 16.5px; line-height: 1.9; }
.legal__toc a:hover { color: var(--accent); }
.legal h2 {
  font-family: 'Kalam', cursive; font-weight: 700; font-size: clamp(23px, 3vw, 29px);
  line-height: 1.2; margin: 42px 0 12px; display: flex; gap: 12px; align-items: baseline; scroll-margin-top: 96px;
}
.legal__num {
  flex: 0 0 auto; font-size: 18px; color: var(--on-accent); background: var(--accent);
  border: 2px solid var(--ink); border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  transform: rotate(-3deg); align-self: flex-start; margin-top: 2px;
}
.legal p, .legal li { font-size: 18px; line-height: 1.62; color: var(--ink); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 4px; list-style: none; }
.legal ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.legal ul li::before { content: "☕"; position: absolute; left: 0; top: 1px; font-size: 14px; }
.legal a.inline { color: var(--secondary); }
.legal__back {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 30px;
  font-size: 18px; color: var(--ink); text-decoration: none;
  border: 2.5px solid var(--ink); border-radius: var(--wob-pill); padding: 10px 20px;
  background: var(--surface); box-shadow: 3px 3px 0 var(--shadow-ink);
}
.legal__back:hover { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--shadow-ink); }
.legal-nav__links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
@media (max-width: 600px) { .legal__toc ol { columns: 1; } }

/* badges row */
.trust-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 16px;
  border: 2px solid var(--ink); border-radius: var(--wob-pill); padding: 8px 16px;
  background: var(--surface); box-shadow: var(--sh-soft);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .hero__grid, .grid-2, .feeds-row, .split, .foot__grid, .genz { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 2; }
  .phone-wrap { flex-wrap: wrap; }
  .nav__tabs { display: none; }
  .nav__tabs--open {
    display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column;
    background: var(--paper); border-bottom: 2.5px solid var(--ink); padding: 14px 28px; gap: 8px; align-items: stretch;
  }
  .nav__burger {
    display: flex; width: 48px; height: 48px; border: 2.5px solid var(--ink); border-radius: var(--wob-sm);
    background: var(--surface); box-shadow: var(--sh-soft); align-items: center; justify-content: center; cursor: pointer;
  }
  section { padding: 64px 0; }
  .hero__media { display: flex; justify-content: center; }
}
@media (max-width: 520px) {
  .grid-3 { grid-template-columns: 1fr; }
}
