/* ============================================================
   BakeMate Landing Page — restored 1:1 from Ardot design (1440)
   Brand: #FFC940 honey / #E89A1B amber / #6B240F brand brown
   ============================================================ */

:root {
  --honey: #FFC940;
  --amber: #E89A1B;
  --brand-brown: #6B240F;
  --ink: #1F1E1B;
  --title: #3B1A08;
  --title-2: #3A1A08;
  --body: #59503B;
  --body-2: #5A4A3B;
  --body-3: #594A3B;
  --body-4: #5C5A55;
  --cream: #FFF5D6;
  --cream-2: #FFF4D6;
  --cream-border: #EAD9B5;
  --cream-border-2: #EBD9B5;
  --page-bg: #FAF6EE;
  --cream-panel: #FAF5ED;
  --bento-bg: #F5F0E3;
  --sage: #87A878;
  --sage-deep: #5C8050;
  --icon-peach: #F5E0D4;
  --icon-sand: #F2E3D1;
  --icon-sage: #DEE5D6;
  --icon-brown: #A87F4E;
  --old-gray: #9B958A;
  --divider-warm: #F0DBD1;
  /* responsive side padding: 120px at 1440+, fluid below, never tighter than 20px */
  --pad-x: max(20px, calc((100vw - 1200px) / 2));
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', 'PingFang SC', sans-serif;
  background: var(--page-bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { text-decoration: none; color: inherit; }

/* ---------- Header (76px) — smart hide on scroll down, reveal on scroll up ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 76px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--cream-border);
  display: flex;
  align-items: center;
  transform: translateY(0);
  transition: transform .3s ease, box-shadow .25s ease, background-color .25s ease;
}
/* scrolled state: translucent + blur */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 8px 24px -12px rgba(59, 26, 8, 0.22);
}
/* hidden state: slides up out of view while user scrolls down */
.site-header.nav-hidden {
  transform: translateY(-100%);
  box-shadow: none;
}
/* fixed header is out of flow — reserve its space */
body { padding-top: 76px; }
/* anchor targets clear the fixed 76px bar */
section[id] { scroll-margin-top: 76px; }
.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 40px; height: 40px; border-radius: 8px; }
.brand-name {
  margin-left: 12px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--ink);
  line-height: 1;
}
.brand-name .brand-mate { color: var(--amber); }
.main-nav {
  display: flex;
  gap: 36px;
}
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
}
.main-nav a:hover { color: var(--amber); }
.main-nav a.active { color: var(--amber); font-weight: 600; }

/* hamburger toggle — hidden on desktop, shown on tablet/mobile */
.nav-toggle {
  display: none;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--cream-border);
  border-radius: 12px;
  background: #FFFFFF;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease;
}
.nav-toggle:hover { background: var(--cream-panel); }

/* ---------- Language switch (EN / 中 pill) ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 3px;
  border: 1px solid var(--cream-border);
  border-radius: 50px;
  background: #FFFFFF;
}
.lang-switch button {
  height: 28px;
  padding: 0 12px;
  border: none;
  border-radius: 50px;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--body);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.lang-switch button:hover { color: var(--amber); }
.lang-switch button.active {
  background: var(--honey);
  color: var(--title);
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
}
.btn-pill-sm {
  width: 129px;
  height: 39px;
  background: var(--honey);
  font-size: 15px;
  font-weight: 600;
  color: var(--title);
  box-shadow: 0 6px 18px -4px rgba(255, 201, 64, 0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-pill-sm:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -4px rgba(255,201,64,.45); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px var(--pad-x) 96px;
}
.glow { position: absolute; border-radius: 50%; pointer-events: none; }
.glow-honey {
  width: 520px; height: 520px; left: -200px; top: -160px;
  background: radial-gradient(circle, rgba(255,201,64,.20) 0%, rgba(255,201,64,.04) 60%, rgba(255,201,64,0) 100%);
}
.glow-amber {
  width: 540px; height: 540px; left: 860px; top: 360px;
  background: radial-gradient(circle, rgba(232,154,27,.18) 0%, rgba(232,154,27,.04) 60%, rgba(232,154,27,0) 100%);
}
.glow-sage {
  width: 360px; height: 360px; left: -80px; top: 560px;
  background: radial-gradient(circle, rgba(135,168,120,.14) 0%, rgba(135,168,120,.03) 60%, rgba(135,168,120,0) 100%);
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  flex: 0 1 620px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hero-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 8px 16px;
  background: #FFFFFF;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--body);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--honey); }

.hero h1 {
  font-size: 64px;
  line-height: 70px;
  letter-spacing: -1.5px;
  font-weight: 600;
  color: var(--ink);
}
.hero h1 .accent { color: var(--amber); font-size: 0.68em; }

.hero-sub {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: var(--body);
}

.hero-ctas { display: flex; gap: 16px; }
.btn-primary {
  width: 179px; height: 53px;
  background: var(--honey);
  font-size: 17px; font-weight: 600;
  color: var(--title);
  box-shadow: 0 10px 24px -6px rgba(255, 201, 64, 0.4);
  transition: transform .15s ease;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary {
  width: 209px; height: 53px;
  background: #FFFFFF;
  gap: 8px;
  font-size: 17px; font-weight: 500;
  color: var(--title);
  transition: transform .15s ease;
}
.btn-secondary:hover { transform: translateY(-2px); }

.trust-row { display: flex; align-items: center; gap: 10px; }
.stars { display: flex; }
.stars svg { margin-right: 3.4px; }
.stars svg:last-child { margin-right: 0; }
.trust-text { font-size: 14px; color: var(--body-4); }

/* ---------- Hero visual: app download panel ---------- */
.hero-visual {
  position: relative;
  width: 460px;
  height: auto;
  display: flex;
  justify-content: center;
}
.phone {
  position: relative;
  width: 380px; height: 770px;
  background: #FFFFFF;
  border: 1px solid var(--cream-border);
  border-radius: 56px;
  box-shadow: 0 40px 80px -20px rgba(59, 26, 8, 0.16), 0 8px 24px -4px rgba(59, 26, 8, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.phone-screen {
  flex: 1;
  background: var(--page-bg);
  padding: 48px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* ---------- Onboarding carousel (fills phone screen) ---------- */
.carousel {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 16px;
  pointer-events: none;
  -webkit-user-drag: none;
}
.carousel-dots {
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}
.carousel-dot {
  pointer-events: auto;
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(58, 26, 8, 0.28);
  cursor: pointer;
  transition: background-color .25s ease, width .25s ease;
}
.carousel-dot.is-active {
  background: var(--amber);
  width: 16px;
  border-radius: 4px;
}

/* floating chips */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 10px 14px;
  border-radius: 50px;
  background: #FFFFFF;
  font-size: 12px; font-weight: 600;
  color: var(--ink);
  box-shadow: 0 12px 28px -8px rgba(59, 26, 8, 0.18);
}
.chip-order  { left: 44px; top: 670px; }    /* x=-28 within column + phone offset 72 */

/* ---------- App download panel (hero) ---------- */
.download-card {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--cream-border);
  border-radius: 32px;
  box-shadow: 0 40px 80px -20px rgba(59, 26, 8, 0.16), 0 8px 24px -4px rgba(59, 26, 8, 0.08);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.dl-app-row { display: flex; align-items: center; gap: 16px; }
.dl-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  border: 1px solid var(--cream-border);
  box-shadow: 0 10px 24px -8px rgba(59, 26, 8, 0.25);
  flex: none;
}
.dl-app-meta { min-width: 0; }
.dl-app-name { font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.2px; }
.dl-app-tag { font-size: 13px; color: var(--body); margin-top: 3px; }
.dl-rating { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.dl-rating .trust-text { font-size: 13px; }

.dl-buttons { display: flex; flex-direction: column; gap: 12px; }
.store-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 62px;
  padding: 0 22px;
  background: #211F1C;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 14px 28px -12px rgba(31, 30, 27, 0.5);
  transition: transform .15s ease, box-shadow .15s ease;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -12px rgba(31, 30, 27, 0.55); }
.store-btn svg { flex: none; }
.store-btn-text {
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.dl-official {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--page-bg);
  border: 1px solid var(--cream-border);
  border-radius: 18px;
  padding: 14px 16px;
}
#qr-box {
  width: 96px; height: 96px;
  flex: none;
  background: #FFFFFF;
  border: 1px solid var(--cream-border);
  border-radius: 12px;
  padding: 7px;
}
#qr-box svg { width: 100%; height: 100%; display: block; }
.dl-official-info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.dl-official-title {
  display: flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 600; color: var(--ink);
}
.dl-official-sub { font-size: 12.5px; line-height: 1.55; color: var(--body-4); }
.dl-apk {
  align-self: flex-start;
  font-size: 13px; font-weight: 600;
  color: var(--amber);
  text-decoration: none;
}
.dl-apk:hover { text-decoration: underline; }
.dl-caption { font-size: 13px; color: var(--body-4); text-align: center; }

/* ---------- shared section header ---------- */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.kicker {
  font-size: 13px; font-weight: 600;
  letter-spacing: 2px;
  color: var(--amber);
}
.kicker-ls15 { letter-spacing: 1.5px; }
.section-header h2 {
  font-size: 44px; font-weight: 600;
  line-height: 52px;
  letter-spacing: -1px;
  color: var(--title);
}
.section-sub {
  font-size: 18px; line-height: 28px;
  color: var(--body-3);
}

/* ---------- Problem section ---------- */
.problem {
  background: #FFFFFF;
  padding: 104px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.comparison-row {
  display: flex;
  gap: 24px;
}
.panel {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.panel-old { background: var(--cream-panel); }
.panel-new { background: var(--brand-brown); }
.panel-title { font-size: 18px; font-weight: 600; }
.panel-title-old { color: var(--old-gray); }
.panel-title-new { color: #F5EFE3; }
.panel-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.row-icon { flex: none; width: 22px; height: 22px; }
.panel-text-old { font-size: 15px; line-height: 22px; color: var(--body-4); }
.panel-text-new { font-size: 15px; line-height: 22px; color: #DDD5C6; }

/* ---------- How it works ---------- */
.how-it-works {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hiw-header { display: flex; flex-direction: column; gap: 12px; }
.hiw-header h3 {
  font-size: 32px; font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.steps-row {
  display: flex;
  align-items: flex-start;
}
.step {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 28px;
}
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step-divider {
  width: 1px; height: 96px;
  margin-top: 33px;
  background: var(--divider-warm);
  flex: none;
}
.step-number { font-size: 52px; font-weight: 700; letter-spacing: -1px; line-height: 1; }
.num-amber { color: var(--amber); }
.num-honey { color: var(--honey); }
.num-sage { color: var(--sage); }
.step-title { font-size: 19px; font-weight: 600; color: var(--ink); }
.step-desc { font-size: 15px; line-height: 22px; color: var(--body-4); }

/* ---------- Bento ---------- */
.bento {
  background: var(--bento-bg);
  padding: 96px var(--pad-x) 104px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.bento-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.bento-card {
  background: #FFFFFF;
  border: 1px solid var(--cream-border-2);
  border-radius: 28px;
  padding: 36px;
  min-width: 0;
}
.card-wide {
  flex: 744 1 0;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.card-tall {
  flex: 432 1 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bento-info {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bento-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bento-title {
  font-size: 24px; font-weight: 600;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.bento-desc { font-size: 15px; line-height: 22px; color: var(--body-4); }
.bento-mock {
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.bento-mock svg { max-width: 100%; height: auto; }
.mock-cream { background: var(--cream-panel); padding: 16px; flex: 1; }
.mock-tall { background: var(--cream-panel); width: 100%; max-width: 360px; height: 220px; }
.mock-sage-bg { background: #F5F7ED; width: 100%; max-width: 360px; height: 200px; padding: 18px; }
.icon-bg-peach { background: var(--icon-peach); }
.icon-bg-sand { background: var(--icon-sand); }
.icon-bg-sage { background: var(--icon-sage); }

/* ---------- Secondary grid ---------- */
.secondary {
  background: #FFFFFF;
  padding: 96px var(--pad-x) 104px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.mini-card {
  background: var(--cream);
  border-radius: 22px;
  padding: 28px;
  min-height: 197px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mini-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-title { font-size: 18px; font-weight: 600; color: var(--ink); }
.mini-desc { font-size: 14px; line-height: 21px; color: var(--body-4); }

/* ---------- Social proof ---------- */
.social-proof {
  background: var(--bento-bg);
  padding: 104px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.stats-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.stat-number {
  font-size: 56px; font-weight: 600;
  letter-spacing: -2px;
  line-height: 60px;
  color: var(--title);
}
.stat-accent { color: var(--amber); }
.stat-label { font-size: 14px; font-weight: 600; color: var(--title); }
.stat-note { font-size: 12px; color: var(--body-3); }
.stat-divider { width: 1px; height: 56px; background: var(--cream-border-2); }

.testimonials-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.featured-quote {
  flex: 744 1 0;
  min-width: 0;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.stars-lg svg { margin-right: 3.4px; }
.featured-text {
  font-size: 22px; font-weight: 500;
  line-height: 32px;
  color: var(--title);
}
.featured-divider { width: 100%; height: 1px; background: var(--cream-border-2); }
.author-row { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px; font-weight: 600;
  color: var(--title);
  flex: none;
}
.avatar-honey { background: var(--honey); }
.avatar-sage { background: var(--sage); color: #FFFFFF; }
.avatar-sm { width: 40px; height: 40px; font-size: 14px; }
.avatar-md { width: 44px; height: 44px; font-size: 14px; }
.author-name { font-size: 16px; font-weight: 600; color: var(--ink); }
.author-role { font-size: 13px; color: var(--body-4); }
.author-name-sm { font-size: 15px; font-weight: 600; color: var(--title); }
.author-role-sm { font-size: 13px; color: var(--body-3); }

.testimonials-side {
  flex: 432 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.stars-sm svg { margin-right: 2.9px; }
.testimonial-text {
  font-size: 16px; font-weight: 500;
  line-height: 25px;
  color: var(--title);
}

/* ---------- About ---------- */
.about {
  background: #FFFFFF;
  padding: 104px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 88px;
}
.about-inner {
  display: flex;
  gap: 64px;
  align-items: center;
}
.about-left {
  flex: 0 1 720px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
}
.about-heading {
  font-size: 44px; font-weight: 600;
  line-height: 112%;
  color: var(--title);
}
.about-para {
  font-size: 17px; font-weight: 500;
  line-height: 165%;
  color: var(--body-3);
}
.founder-name { font-size: 15px; font-weight: 600; color: #221E1B; }
.founder-role { font-size: 13px; color: #8A7E70; }

/* founder photo cards (About) */
.founder-grid { display: flex; flex-wrap: wrap; gap: 28px 40px; }
.founder-card {
  flex: 1 1 300px;
  min-width: 0;
  max-width: 348px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.founder-top { display: flex; align-items: center; gap: 16px; }
.founder-photo {
  width: 88px; height: 88px;
  padding: 0;
  overflow: hidden;
  border: 2.5px solid var(--honey);
  box-shadow: 0 12px 24px -8px rgba(59, 26, 8, 0.3);
  flex: none;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-grid .founder-name { font-size: 17px; }
.founder-grid .founder-role { font-size: 14px; }
.founder-bio {
  font-size: 14px; font-weight: 500;
  line-height: 158%;
  color: var(--body-3);
}

/* ---------- Our story — video promo ---------- */
.story-video-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: #2A1A0E;
  box-shadow: 0 30px 60px -22px rgba(59, 26, 8, 0.35);
}
.video-frame video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.video-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--honey);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.45);
  transition: transform .18s ease, box-shadow .18s ease;
  z-index: 2;
}
.video-play svg { margin-left: 5px; }
.video-play:hover { transform: translate(-50%, -50%) scale(1.07); box-shadow: 0 20px 44px -8px rgba(0, 0, 0, 0.5); }
.video-play::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 201, 64, 0.5);
  animation: video-pulse 2.4s ease-out infinite;
}
@keyframes video-pulse {
  0%   { transform: scale(0.9); opacity: 0.9; }
  70%  { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}
.video-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 56px 32px 26px;
  background: linear-gradient(to top, rgba(28, 14, 4, 0.82) 0%, rgba(28, 14, 4, 0.45) 45%, rgba(28, 14, 4, 0) 100%);
  pointer-events: none;
  z-index: 1;
}
.video-overlay-title {
  font-size: 28px; font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.3px;
}
.video-overlay-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 5px;
}
.video-frame.is-playing .video-play,
.video-frame.is-playing .video-overlay { display: none; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: #FFFFFF;
  padding: 96px var(--pad-x) 104px;
}
.cta-panel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 447px;
  background: var(--brand-brown);
  border-radius: 36px;
  padding: 88px clamp(24px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}
.cta-eyebrow {
  font-size: 13px; font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--honey);
}
.cta-heading {
  font-size: 44px; font-weight: 600;
  line-height: 115%;
  color: var(--page-bg);
}
.cta-sub {
  font-size: 17px; font-weight: 400;
  line-height: 160%;
  color: #BFB5A8;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}
.btn-rect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 16px 22px;
  border-radius: 14px;
  font-size: 16px; font-weight: 600;
}
.btn-rect-primary {
  background: var(--honey);
  color: var(--title);
  box-shadow: 0 8px 20px -4px rgba(255, 201, 64, 0.4);
}
.btn-rect-secondary {
  border: 1px solid var(--cream-panel);
  color: var(--page-bg);
}
.cta-caption {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.6px;
  color: #BFB5A8;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-brown);
  padding: 80px var(--pad-x) 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-brand {
  flex: 0 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo-row img { width: 36px; height: 36px; border-radius: 8px; display: block; }
.footer-logo-text { font-size: 32px; font-weight: 400; color: #FDFDFD; }
.footer-tagline {
  font-size: 14px; line-height: 155%;
  color: #BFB6A8;
}
.social-row { display: flex; gap: 10px; margin-top: 4px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.social-btn:hover { background: rgba(255,255,255,.12); }
.social-x {
  background: var(--honey);
  border-color: var(--honey);
}
.social-x:hover { background: #FFD466; }

.footer-links {
  display: flex;
  gap: 56px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-col-label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.6px;
  color: #8A7E70;
}
.footer-col a {
  font-size: 14px; font-weight: 500;
  color: #E8DFD2;
}
.footer-col a:hover { color: var(--honey); }

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
}
.copyright-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mini-logo { width: 16px; height: 16px; border-radius: 4px; display: block; }
.copyright { font-size: 13px; color: #BFB6A8; }
.legal-links { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: #BFB6A8; }
.legal-links a { color: inherit; text-decoration: none; }
.legal-links a:hover { color: #F2C14E; }

/* ============================================================
   Responsive — tablet & mobile adaptation
   Desktop (>=1240) stays pixel-true to the 1440 design
   ============================================================ */

/* ---------- Small laptop / large tablet landscape (<=1240) ---------- */
@media (max-width: 1240px) {
  .hero-content { flex-direction: column; align-items: stretch; gap: 48px; }
  .hero-copy { flex-basis: auto; }
  .hero-visual { margin: 0 auto; flex: none; max-width: 100%; }
  .hero h1 { font-size: 48px; line-height: 56px; letter-spacing: -1px; }
  .section-header h2, .about-heading, .cta-heading { font-size: 36px; line-height: 44px; }
}

/* ---------- Tablet (<=1024): hamburger menu, stacked layouts ---------- */
@media (max-width: 1024px) {
  /* header: inline nav collapses into a dropdown */
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 4px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--cream-border);
    box-shadow: 0 24px 48px -24px rgba(59, 26, 8, 0.25);
    padding: 16px 20px 24px;
  }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav a {
    font-size: 16px;
    padding: 12px 8px;
    border-radius: 10px;
  }
  .main-nav a:hover { background: var(--cream-panel); }
  .main-nav a.active { background: var(--cream-panel); }

  /* steps stack vertically */
  .steps-row { flex-direction: column; gap: 28px; }
  .step { padding: 0; }
  .step:first-child { padding-left: 0; }
  .step-divider { display: none; }

  /* bento rows stack, wide cards become vertical */
  .bento-row { flex-direction: column; }
  .card-wide, .card-tall { flex: none; }
  .card-wide { flex-direction: column; gap: 24px; }
  .bento-info { flex-basis: auto; }

  /* 2-col secondary grid */
  .secondary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* stats band wraps, dividers hidden */
  .stats-band { flex-wrap: wrap; gap: 32px 48px; justify-content: center; }
  .stat-divider { display: none; }

  /* testimonials stack */
  .testimonials-row { flex-direction: column; }
  .featured-quote, .testimonials-side { flex: none; }

  /* about + story stack */
  .about-inner { flex-direction: column; gap: 48px; }
  .about-left { flex-basis: auto; max-width: none; }

  .cta-panel { padding: 64px clamp(24px, 6vw, 80px); }
  .cta-buttons { flex-wrap: wrap; justify-content: center; }
}

/* ---------- Mobile (<=767): single column ---------- */
@media (max-width: 767px) {
  body { padding-top: 68px; }
  .site-header { height: 68px; }
  section[id] { scroll-margin-top: 68px; }
  .main-nav { top: 68px; }

  /* header: brand + lang + hamburger only */
  .header-inner > .btn-pill-sm { display: none; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 19px; margin-left: 10px; }
  .lang-switch { height: 34px; }
  .lang-switch button { height: 26px; padding: 0 10px; font-size: 12px; }

  /* hero */
  .hero { padding-top: 44px; padding-bottom: 72px; }
  .hero-content { gap: 40px; }
  .hero-badge { font-size: 12px; height: 30px; padding: 6px 14px; }
  .hero h1 { font-size: 36px; line-height: 44px; }
  .hero-sub { font-size: 16px; line-height: 26px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-primary, .btn-secondary { width: 100%; height: 52px; font-size: 16px; }
  .trust-row { flex-wrap: wrap; gap: 8px; }

  /* download panel scales down */
  .hero-visual { width: 100%; height: auto; }
  .download-card { max-width: 460px; padding: 26px 22px 24px; }

  /* section rhythm */
  .problem, .social-proof, .about { padding-top: 72px; padding-bottom: 72px; gap: 40px; }
  .bento, .secondary { padding-top: 64px; padding-bottom: 72px; gap: 32px; }
  .final-cta { padding-top: 64px; padding-bottom: 72px; }
  .section-header h2, .about-heading, .cta-heading { font-size: 28px; line-height: 36px; }
  .kicker { font-size: 12px; }
  .section-sub { font-size: 16px; line-height: 25px; }

  /* comparison panels stack */
  .comparison-row { flex-direction: column; gap: 16px; }
  .panel { padding: 24px; gap: 16px; }

  /* bento */
  .bento-card { padding: 24px; border-radius: 24px; }
  .bento-title { font-size: 20px; }
  .card-wide { gap: 20px; }
  .bento-info { gap: 14px; }
  .bento-icon { width: 48px; height: 48px; border-radius: 15px; }
  .bento-icon svg { width: 24px; height: 24px; }

  /* secondary 1-col, auto height */
  .secondary-grid { grid-template-columns: 1fr; gap: 16px; }
  .mini-card { min-height: 0; padding: 24px; gap: 12px; }

  /* stats column */
  .social-proof { gap: 48px; }
  .stats-band { flex-direction: column; gap: 32px; }
  .stat-number { font-size: 42px; line-height: 46px; letter-spacing: -1px; }

  /* testimonials */
  .featured-quote { padding: 26px; gap: 18px; }
  .featured-text { font-size: 18px; line-height: 27px; }
  .testimonial-card { padding: 24px; }

  /* about */
  .about { gap: 56px; }
  .about-para { font-size: 16px; }
  .story-video-block { gap: 14px; }
  .video-frame { border-radius: 18px; }
  .video-play { width: 68px; height: 68px; }
  .video-play svg { width: 24px; height: 24px; }
  .video-overlay { padding: 40px 20px 18px; }
  .video-overlay-title { font-size: 21px; }
  .video-overlay-sub { font-size: 13px; }

  /* CTA */
  .cta-panel { min-height: 0; padding: 52px 22px; border-radius: 28px; }
  .cta-heading { font-size: 27px; }
  .cta-sub { font-size: 15px; }
  .cta-buttons { flex-direction: column; align-items: stretch; margin-top: 8px; }
  .btn-rect { width: 100%; }

  /* footer */
  .site-footer { padding-top: 56px; padding-bottom: 32px; gap: 40px; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-brand { flex-basis: auto; }
  .footer-links { flex-wrap: wrap; gap: 32px 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 24px; }
}

/* ---------- Very small phones (<=400) ---------- */
@media (max-width: 400px) {
  .hero h1 { font-size: 31px; line-height: 39px; }
  .download-card { padding: 22px 18px 20px; gap: 18px; }
  .store-btn { height: 56px; padding: 0 18px; }
  .founder-grid { gap: 20px; }
  .founder-card { flex-basis: 100%; max-width: none; }
  .founder-top { gap: 14px; }
  .founder-photo { width: 76px; height: 76px; }
  .founder-bio { font-size: 13px; }
  .brand-name { font-size: 18px; margin-left: 8px; }
}
