/* Ginger Bean — gingerbean.ae
   Plain CSS, no build step. Brand tokens are at the top. */

:root {
  --orange: #F06013;        /* wordmark orange */
  --orange-bright: #F9700E; /* bean orange, used on dark backgrounds */
  --orange-text: #C4480A;   /* darker orange that passes contrast for small text */
  --ink: #202B34;           /* headings, buttons, footer */
  --body: #3E4852;
  --muted: #5F6B76;
  --line: #E6E8EB;
  --line-soft: #EEF0F2;
  --tint: #FFF6EF;          /* pale orange section background */
  --tint-line: #F3E4D8;
  --white: #FFFFFF;
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-card: 20px;
  --radius-input: 12px;
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-text); }
a:hover { color: var(--orange); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
@media (max-width: 640px) {
  .container { padding-left: 20px; padding-right: 20px; }
}

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 31px; object-fit: contain; }
.brand-word { font-family: var(--font-head); font-weight: 600; font-size: 24px; line-height: 1; letter-spacing: -0.01em; }
.brand-word .g { color: var(--orange); }
.brand-word .b { color: var(--ink); }
.site-footer .brand-word .g { color: var(--orange-bright); }
.site-footer .brand-word .b { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  font-family: var(--font-head); font-weight: 500; font-size: 15px;
  color: var(--ink); text-decoration: none; padding: 10px 0; display: inline-block;
}
.nav-links a:not(.btn):hover { color: var(--orange-text); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); cursor: pointer;
}
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 8px; }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; font-size: 17px; }
  .nav-links .btn { margin-top: 8px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 500; font-size: 16px; line-height: 1.2;
  text-decoration: none; padding: 14px 26px; min-height: 50px;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #0F171E; color: #fff; transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--ink); border-color: #CBD2D9; }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-small { padding: 11px 20px; min-height: 44px; font-size: 15px; }
.btn svg { flex-shrink: 0; }

/* ---------- Type helpers ---------- */
.eyebrow {
  margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-text);
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; color: var(--ink); margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 5.2vw, 60px); line-height: 1.08; }
h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; }
h3 { font-size: 22px; line-height: 1.3; }
.lead { font-size: 20px; line-height: 1.6; margin: 0; }
.muted { color: var(--muted); }
p { margin: 0; }

.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.stack { display: flex; flex-direction: column; }
.stack-20 { gap: 20px; }
.stack-24 { gap: 24px; }

/* ---------- Sections ---------- */
.section { padding-top: 96px; padding-bottom: 96px; }
.section-tint { background: var(--tint); }
.section-line { border-top: 1px solid var(--line-soft); }
@media (max-width: 760px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
}

.split { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.split > * { min-width: 0; }
.split-text { flex: 1 1 480px; }
.split-visual { flex: 1 1 320px; display: flex; justify-content: center; }

/* Hero */
.hero { padding-top: 88px; padding-bottom: 80px; }
.hero .split-text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 24px; }
.hero .lead { max-width: 560px; color: var(--body); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hero-visual { flex: 1 1 360px; }
.bean-tile {
  width: 100%; max-width: 460px; aspect-ratio: 1 / 1; border-radius: 40px;
  background: var(--tint); display: flex; align-items: center; justify-content: center; padding: 56px;
}
.bean-tile img { width: 100%; max-width: 360px; }
@media (max-width: 760px) {
  .hero { padding-top: 56px; padding-bottom: 56px; }
  .bean-tile { max-width: 340px; padding: 40px; border-radius: 32px; }
}

/* Cards */
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  flex: 1 1 300px; min-width: 0;
  border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 32px; background: #fff; display: flex; flex-direction: column; gap: 16px;
}
.card p { font-size: 16px; line-height: 1.65; }
.icon-tile {
  width: 52px; height: 52px; border-radius: 16px; background: var(--tint);
  display: flex; align-items: center; justify-content: center; color: var(--orange); flex-shrink: 0;
}
.icon-tile-sm { width: 44px; height: 44px; border-radius: 12px; }
.icon-tile-xs { width: 40px; height: 40px; border-radius: 12px; }

/* Product */
.product-sub { font-size: 20px; line-height: 1.5; color: var(--ink); font-weight: 500; }
.product-body { max-width: 560px; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--ink); padding: 11px 18px; border-radius: 999px; min-height: 44px;
}
.text-link {
  font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--orange-text);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 0;
}
.text-link:hover { color: var(--orange); }

/* Pick Ur Boozer brand panel — uses the P.U.B brand (green #1E4A38, cream, orange #F08507, Quicksand) */
.pub-panel {
  position: relative; overflow: hidden; width: 100%; max-width: 480px;
  border-radius: 28px; background: #1E4A38; color: #F6F3EE;
  box-shadow: 0 30px 60px rgba(30, 74, 56, 0.22);
}
.pub-pattern { position: absolute; inset: 0; opacity: 0.1; background: url("/pub/pattern.svg") 0 0 / 260px 260px repeat; }
.pub-inner { position: relative; padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.pub-logo { width: 180px; height: auto; }
.pub-pour { font-family: "Quicksand", var(--font-head), sans-serif; font-weight: 700; font-size: 20px; line-height: 1.3; color: #CFE2D8; }
.pub-head { font-family: "Quicksand", var(--font-head), sans-serif; font-weight: 700; font-size: clamp(30px, 3vw, 38px); line-height: 1.06; letter-spacing: -0.02em; color: #F6F3EE; }
.pub-dot, .pub-tag { color: #F08507; }
.pub-soon { font-family: "Quicksand", var(--font-head), sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #CFE2D8; }
.pub-socials { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.pub-socials a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(246, 243, 238, 0.12);
  display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s ease;
}
.pub-socials a:hover { background: #F08507; }
.pub-socials img { width: 18px; height: 18px; filter: invert(1); }
@media (max-width: 640px) { .pub-inner { padding: 28px; } }

/* About */
.facts { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.fact {
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; background: #fff;
}
.fact-title { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--ink); }
.fact-sub { font-size: 15px; color: var(--muted); }

/* Contact */
.contact-lines { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.contact-line {
  display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none;
  font-family: var(--font-head); font-weight: 500; font-size: 17px; padding: 6px 0;
}
a.contact-line:hover { color: var(--orange-text); }
.form-card {
  flex: 1 1 440px; min-width: 0;
  border: 1px solid var(--line); border-radius: 24px; padding: 36px; background: #fff;
  display: flex; flex-direction: column; gap: 18px;
}
@media (max-width: 640px) { .form-card { padding: 24px; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: 14px; color: var(--ink); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid #CBD2D9; border-radius: var(--radius-input);
  background: #fff; width: 100%; min-height: 50px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgba(240, 96, 19, 0.18); }
.form-card .btn { align-self: flex-start; }
.form-note { font-size: 14px; color: var(--muted); }
.hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--tint); border-bottom: 1px solid var(--tint-line); padding-top: 72px; padding-bottom: 56px; }
.page-hero h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.1; }
.page-hero .stack { gap: 14px; }
.page-main { padding-top: 64px; padding-bottom: 96px; }
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 36px; }
.prose section { display: flex; flex-direction: column; gap: 12px; }
.prose h2 { font-size: 24px; line-height: 1.3; }
.prose h3 { font-size: 19px; }
.prose .intro { font-size: 19px; line-height: 1.6; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.notice {
  border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; background: #fff;
  display: flex; gap: 16px; align-items: flex-start;
}
.faq { display: flex; flex-direction: column; gap: 16px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; background: #fff; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0;
  font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--orange-text); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; }

/* 404 */
.center-page { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.center-page .stack { align-items: center; gap: 20px; width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #E8ECEF; margin-top: auto; }
.footer-inner { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; }
.footer-brand { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { font-size: 15px; line-height: 1.6; color: #AAB4BD; max-width: 320px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.footer-col a { color: #E8ECEF; text-decoration: none; font-size: 15px; padding: 4px 0; }
.footer-col a:hover { color: var(--orange-bright); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  font-size: 14px; color: #AAB4BD;
}

body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
