/* ============================================================
   BeetEat — Public site (Privacy / Terms / Support)
   Design language mirrors the BeetEat mobile app:
   - Primary yellow #FACC15, secondary orange #FB923C
   - Nunito Sans typography
   - Warm, bright, rounded, light-mode only
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,600;0,6..12,700;0,6..12,800;0,6..12,900&display=swap');

:root {
  --primary: #facc15;
  --primary-soft: #fefce8;
  --secondary: #fb923c;
  --accent: #f97316;
  --success: #22c55e;

  --fg: #1e293b;
  --fg-muted: #64748b;
  --fg-subtle: #94a3b8;

  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tint: #f1f5f9;

  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --shadow-card: 0 10px 30px -12px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 4px 16px -8px rgba(15, 23, 42, 0.15);

  --maxw: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Sticky footer: main content grows to fill the viewport so the footer
   always sits at the bottom, even on short pages (desktop). */
main {
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* -------------------- Top navigation -------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 20px;
  color: var(--fg);
}

.brand:hover {
  text-decoration: none;
}

.brand__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__links a {
  color: var(--fg-muted);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav__links a:hover {
  background: var(--bg-tint);
  color: var(--fg);
  text-decoration: none;
}

.nav__links a[aria-current='page'] {
  background: var(--primary-soft);
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--primary);
}

/* -------------------- Hero -------------------- */
.hero {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(251, 146, 60, 0.14), transparent 55%),
    radial-gradient(120% 120% at 0% 0%, rgba(250, 204, 21, 0.18), transparent 55%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 20px 44px;
  text-align: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.hero h1 {
  margin: 18px 0 10px;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0 auto;
  max-width: 560px;
  color: var(--fg-muted);
  font-size: 16px;
  font-weight: 500;
}

.hero__dates {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.datepill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-muted);
  box-shadow: var(--shadow-soft);
}

.datepill strong {
  color: var(--fg);
}

/* -------------------- Document layout -------------------- */
.doc {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 20px 72px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-card);
}

.doc h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 40px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
  letter-spacing: -0.01em;
}

.doc h2:first-of-type {
  margin-top: 4px;
}

.doc h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--fg);
  margin: 24px 0 8px;
}

.doc p {
  margin: 0 0 14px;
  color: #334155;
  font-weight: 500;
}

.doc ul {
  margin: 0 0 16px;
  padding-left: 4px;
  list-style: none;
}

.doc li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 7px;
  color: #334155;
  font-weight: 500;
}

.doc li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary);
}

.doc strong {
  color: var(--fg);
  font-weight: 800;
}

.doc__intro {
  font-size: 16px;
  color: var(--fg-muted);
}

/* Callout — for emphasized statements (e.g. "We do not sell your data") */
.callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--primary-soft);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 18px 0;
  font-weight: 700;
  color: #713f12;
}

.callout svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.callout--warn {
  background: #fff7ed;
  border-color: var(--secondary);
  color: #7c2d12;
}

/* Contact block */
.contact-box {
  margin-top: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.contact-box p {
  margin: 0 0 4px;
}

/* -------------------- Support page specifics -------------------- */
.support-grid {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.faq {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-soft);
}

.faq h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
}

.faq p {
  margin: 0;
  color: #334155;
  font-weight: 500;
}

.support-cta {
  margin-top: 20px;
  text-align: center;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(250, 204, 21, 0.16), transparent 60%),
    var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}

.support-cta h2 {
  border: 0;
  padding: 0;
  margin: 0 0 8px;
  font-size: 22px;
}

.support-cta p {
  color: var(--fg-muted);
  margin: 0 0 20px;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #422006;
  font-weight: 800;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(250, 204, 21, 0.7);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* -------------------- Landing (index) -------------------- */
.landing-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 20px 40px;
  text-align: center;
}

.landing-hero .brand__logo {
  width: 116px;
  height: 116px;
  margin: 0 auto 16px;
}

.landing-hero h1 {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

.landing-hero p {
  color: var(--fg-muted);
  font-size: 18px;
  font-weight: 500;
  max-width: 520px;
  margin: 0 auto;
}

.link-cards {
  max-width: 720px;
  margin: 28px auto 0;
  padding: 0 20px 72px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.link-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.link-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.link-card__title {
  font-weight: 800;
  font-size: 17px;
  color: var(--fg);
  margin: 0 0 4px;
}

.link-card__desc {
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 500;
}

/* -------------------- Footer -------------------- */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--fg);
}

.footer__brand .brand__logo {
  width: 32px;
  height: 32px;
}

.footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__links a {
  color: var(--fg-muted);
  font-weight: 700;
  font-size: 14px;
}

.footer__note {
  width: 100%;
  color: var(--fg-subtle);
  font-size: 13px;
  font-weight: 500;
}

/* -------------------- Responsive -------------------- */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 30px;
  }

  .landing-hero h1 {
    font-size: 34px;
  }

  .card {
    padding: 26px 22px;
  }

  .nav__links a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .brand span {
    display: none;
  }
}
