/* BYOB marketing homepage — brand tokens from blog.ilovebyob.com and App Store creatives */
:root {
  --brand: #f03800;
  --brand-dark: #c92e00;
  --brand-soft: #fff1eb;
  --ink: #15171a;
  --text: #333333;
  --muted: #6b6b6b;
  --line: #ead9d1;
  --cream: #fff8f3;
  --cream-2: #ffefe6;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(240, 56, 0, 0.08);
  --font: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --radius: 20px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1.12; margin: 0; }
p { margin: 0; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

/* Banner */
.bfcm-banner {
  background: var(--ink);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  padding: 0.7rem 1.25rem;
}
.bfcm-banner a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.bfcm-banner a:hover { color: #ffd7c8; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(234, 217, 209, 0.7);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}
.logo img { height: 40px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.nav a { color: var(--ink); white-space: nowrap; }
.nav a:hover { color: var(--brand); }
.header-cta { display: flex; align-items: center; gap: 0.75rem; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  border-radius: 2px;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none !important;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brand);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(240, 56, 0, 0.22);
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary {
  background: #fff;
  color: var(--ink) !important;
  border-color: var(--line);
}
.btn-secondary:hover { border-color: #d9c3b8; color: var(--brand) !important; }
.btn-lg { padding: 1rem 1.55rem; font-size: 1rem; }

.nav a.nav-cta { display: none; }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 80% 0%, rgba(240, 56, 0, 0.08), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, #fff 78%);
  padding: 4.5rem 0 3rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}
.eyebrow span { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 700; }
.hero h1 { font-size: clamp(2.35rem, 5vw, 3.7rem); max-width: 16ch; }
.hero .lede {
  margin-top: 1.15rem;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.75rem; }
.hero-note { margin-top: 0.9rem; color: var(--muted); font-size: 0.92rem; }
.hero-visual {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(240, 56, 0, 0.08);
  background: #fff;
}
.hero-visual img { width: 100%; }

/* Proof */
.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 1.35rem 0;
}
.proof ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.proof strong { display: block; color: var(--ink); font-size: 1.15rem; font-weight: 800; }
.proof span { color: var(--muted); font-size: 0.88rem; }

/* Sections */
section[id] { scroll-margin-top: 5.25rem; }
.section { padding: 5rem 0; }
.section.cream {
  background:
    linear-gradient(180deg, #fff 0%, var(--cream) 18%, var(--cream) 82%, #fff 100%);
}
.section-head { max-width: 38rem; margin-bottom: 2.4rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.section-head p { margin-top: 0.8rem; color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: 0 8px 24px rgba(21, 23, 26, 0.03);
}
.card h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.icon-dot {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.use {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 1.2rem;
  font-weight: 800;
  color: var(--ink);
}
.use span { display: block; margin-top: 0.35rem; font-weight: 600; color: var(--muted); font-size: 0.92rem; }

.shot-block { margin-top: 0.5rem; }
.shot-block img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.review { display: flex; flex-direction: column; gap: 1rem; }
.review blockquote {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink);
  flex: 1;
}
.review footer { color: var(--muted); font-size: 0.88rem; font-weight: 700; }
.stars { color: var(--brand); letter-spacing: 0.08em; font-size: 0.95rem; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: var(--brand);
  box-shadow: 0 14px 36px rgba(240, 56, 0, 0.12);
  position: relative;
}
.plan .tag {
  position: absolute;
  top: -12px;
  left: 1.1rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.plan h3 { font-size: 1.05rem; }
.price { margin: 0.7rem 0 0.35rem; color: var(--ink); }
.price strong { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.price span { font-size: 0.95rem; font-weight: 700; color: var(--muted); }
.annual { color: var(--muted); font-size: 0.85rem; margin-bottom: 1rem; }
.plan ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  flex: 1;
  font-size: 0.92rem;
}
.plan li::before { content: "✓ "; color: var(--brand); font-weight: 800; }
.pricing-foot { margin-top: 1.25rem; color: var(--muted); font-size: 0.9rem; text-align: center; }

/* CTA */
.final-cta {
  background: var(--ink);
  color: #fff;
  padding: 4.5rem 0;
  text-align: center;
}
.final-cta h2 { color: #fff; font-size: clamp(1.9rem, 3.5vw, 2.7rem); }
.final-cta p { color: rgba(255,255,255,0.78); margin: 0.9rem auto 0; max-width: 36rem; }
.final-cta .hero-actions { justify-content: center; }

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
.site-footer h4 { color: var(--ink); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--brand); }
.footer-brand img { height: 34px; margin-bottom: 0.8rem; }
.legal { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Focus */
:focus-visible { outline: 3px solid rgba(240, 56, 0, 0.45); outline-offset: 3px; }

@media (max-width: 960px) {
  .cards, .reviews, .uses { grid-template-columns: 1fr 1fr; }
  .pricing, .proof ul, .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Nav labels and header buttons collide below 1000px. */
@media (max-width: 1000px) {
  .nav { display: none; }
  .header-cta .btn { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .header-inner { position: relative; }
  body.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem 20px 1.35rem;
    gap: 0.9rem;
    z-index: 50;
  }
  body.nav-open .nav a.nav-cta { display: inline-flex; width: 100%; }
}
@media (max-width: 800px) {
  .hero { padding-top: 2.5rem; }
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cards, .reviews, .uses, .pricing, .footer-grid { grid-template-columns: 1fr; }
  .proof ul { grid-template-columns: 1fr 1fr; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .section { padding: 3.5rem 0; }
  .bfcm-banner { font-size: 0.85rem; padding: 0.65rem 1rem; }
}
