/* UlamHub marketing site — palette, type scale and radii ported 1:1 from the
   mobile app's design tokens (mobile/src/theme/theme.ts) so the site reads as
   the same product, not a separate brand. Single warm theme, same as the app
   (it has no dark mode of its own), so the page doesn't invent one either. */

:root {
  --cream-deep: #E7E5DE;
  --cream: #F4F2EC;
  --ink: #17302D;
  --ink-soft: #24423E;

  --green: #295B53;
  --green-light: #326F65;

  --teal: #3FA696;
  --teal-dark: #429487;
  --mint: #DFECEA;
  --mint-text: #295B53;

  --sage: #7C8A6E;
  --sage-muted: #6D7A62;
  --sage-text: #5C6B52;
  --text-secondary: #5C6B52;
  --text-tertiary: #7C8369;

  --border: rgba(35, 51, 28, 0.13);
  --divider: rgba(35, 51, 28, 0.08);

  --gold-bg: #F7ECD9;
  --gold-deep: #F3E2C4;
  --gold-chip: #E9C888;
  --gold-text: #8A6319;

  --coral: #E85C43;
  --coral-bg: #F5E4E4;

  --white: #FFFFFF;
  --shadow-color: #23331C;

  --r-sm: 9px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 22px;
  --r-xxl: 26px;
  --r-pill: 999px;

  --font-heading: "Fredoka", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  --max-width: 1180px;
  --nav-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

:focus-visible {
  outline: 2.5px solid var(--teal-dark);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--r-md);
  z-index: 200;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Eyebrow / pill chips ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mint);
  color: var(--mint-text);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  letter-spacing: 0.01em;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  box-shadow: 0 3px 12px rgba(35,51,28,0.06);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15.5px;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(41,91,83,0.28);
}
.btn-primary:hover { background: var(--green-light); }
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--green); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(244, 242, 236, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-nav.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px rgba(35,51,28,0.06);
}
.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
}
.nav-brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover { color: var(--green); border-color: var(--teal); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--cream);
  z-index: 99;
  padding: 28px 24px;
  overflow-y: auto;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid var(--divider);
}
.mobile-menu .btn { margin-top: 24px; width: 100%; }

/* ---------- Phone mockup ---------- */
.phone {
  position: relative;
  width: 260px;
  border-radius: 38px;
  background: var(--ink);
  padding: 10px;
  box-shadow: 0 30px 60px -18px rgba(23,48,45,0.45), 0 10px 20px -8px rgba(23,48,45,0.25);
  flex-shrink: 0;
}
.phone::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 18px;
  background: var(--ink);
  border-radius: var(--r-pill);
  z-index: 2;
}
.phone-screen {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 260 / 563;
  background: var(--cream);
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone-lg { width: 300px; }
.phone-sm { width: 210px; }

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 110px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.04;
  margin: 18px 0 20px;
}
.hero-copy p.lede {
  font-size: 18px;
  color: var(--sage-text);
  max-width: 48ch;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}
.hero-blob {
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle at 30% 30%, var(--mint), transparent 70%),
              radial-gradient(circle at 70% 75%, var(--gold-bg), transparent 65%);
  filter: blur(6px);
  border-radius: 50%;
  z-index: 0;
}
.hero-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 6s ease-in-out infinite;
}
.hero-float.f1 { top: 6%; left: -4%; animation-delay: 0.2s; }
.hero-float.f2 { bottom: 10%; right: -6%; animation-delay: 1.4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-float { animation: none; }
}
.hero-visual .phone { position: relative; z-index: 1; }

/* ---------- Section headers ---------- */
.section-head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head.align-left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); margin: 16px 0 14px; }
.section-head p { color: var(--sage-text); font-size: 17px; line-height: 1.6; }

.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 64px 0; }

.bg-deep { background: var(--cream-deep); }
.bg-ink { background: var(--ink); color: var(--cream); }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--white); }

/* ---------- What is UlamHub ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-copy p { font-size: 17.5px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 28px; }
.value-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.about-collage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 460px;
}
.about-collage .phone:nth-child(1) { position: absolute; left: 6%; top: 0; transform: rotate(-6deg); z-index: 1; }
.about-collage .phone:nth-child(2) { position: relative; z-index: 2; }
.about-collage .phone:nth-child(3) { position: absolute; right: 2%; bottom: 0; transform: rotate(7deg); z-index: 1; }

/* ---------- How it works (numbered steps) ---------- */
.steps-list { display: flex; flex-direction: column; gap: 0; }
.step-row {
  display: grid;
  grid-template-columns: 76px 1fr 180px;
  gap: 28px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--divider);
}
.step-row:first-child { padding-top: 0; }
.step-row:last-child { border-bottom: none; padding-bottom: 0; }
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-text h3 { font-size: 21px; margin-bottom: 8px; }
.step-text p { color: var(--sage-text); font-size: 15.5px; line-height: 1.6; }
.step-thumb {
  width: 120px;
  height: 120px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(35,51,28,0.14);
  justify-self: end;
  border: 6px solid var(--white);
}
.step-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 26px 24px 0;
  box-shadow: 0 6px 20px rgba(35,51,28,0.055);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(35,51,28,0.12); }
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 6px; }
.feature-kicker { font-size: 14px; font-weight: 700; color: var(--green); margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--sage-text); line-height: 1.6; margin-bottom: 18px; }
.feature-shot {
  margin-top: auto;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 300/230;
  background: var(--cream-deep);
}
.feature-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ---------- Shared Kitchen spotlight ---------- */
.spotlight {
  background: linear-gradient(135deg, var(--gold-bg) 0%, var(--white) 70%);
  border: 1.5px solid var(--gold-chip);
  border-radius: var(--r-xxl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.spotlight-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.spotlight h2 { font-size: clamp(28px, 3.2vw, 36px); margin-bottom: 14px; }
.spotlight p.spotlight-lede { font-size: 16.5px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 24px; }
.spotlight-points { display: flex; flex-direction: column; gap: 14px; }
.spotlight-point { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.spotlight-point svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; color: var(--gold-text); }
.spotlight-visual { display: flex; justify-content: center; }

/* ---------- Recipe deep dive ---------- */
.deepdive-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.deepdive-phones {
  display: flex;
  justify-content: center;
  gap: -20px;
  position: relative;
  height: 600px;
}
.deepdive-phones .phone:nth-child(1) { position: absolute; left: 50%; transform: translateX(-108%) rotate(-5deg); z-index: 1; }
.deepdive-phones .phone:nth-child(2) { position: relative; z-index: 3; }
.deepdive-phones .phone:nth-child(3) { position: absolute; left: 50%; transform: translateX(8%) rotate(5deg); z-index: 1; }
.deepdive-list { display: flex; flex-direction: column; gap: 22px; margin: 28px 0 32px; }
.deepdive-item { display: flex; gap: 16px; align-items: flex-start; }
.deepdive-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal); margin-top: 8px; flex-shrink: 0;
}
.deepdive-item h4 { font-size: 16.5px; margin-bottom: 4px; }
.deepdive-item p { font-size: 14.5px; color: var(--sage-text); line-height: 1.55; }

.cookmode-banner {
  margin-top: 54px;
  background: var(--ink);
  border-radius: var(--r-xxl);
  padding: 44px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
}
.cookmode-banner h3 { color: var(--white); font-size: 24px; margin-bottom: 12px; }
.cookmode-banner p { color: rgba(244,242,236,0.75); font-size: 15.5px; line-height: 1.6; }
.cookmode-banner .phone { margin: 0 auto; }

/* ---------- Tutorials ---------- */
.tutorial {
  margin-bottom: 86px;
}
.tutorial:last-child { margin-bottom: 0; }
.tutorial-head { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; }
.tutorial-badge {
  font-family: var(--font-heading);
  font-size: 15px;
  background: var(--gold-chip);
  color: var(--gold-text);
  width: 38px; height: 38px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
}
.tutorial-head h3 { font-size: 24px; }
.tutorial-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tutorial.steps-2 .tutorial-steps { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.tutorial-step {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 20px 20px 0;
  box-shadow: 0 6px 18px rgba(35,51,28,0.06);
  display: flex;
  flex-direction: column;
}
.tutorial-step-num {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--teal-dark);
  margin-bottom: 8px;
}
.tutorial-step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 18px; min-height: 66px; }
.tutorial-shot {
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 300/340;
  background: var(--cream-deep);
}
.tutorial-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ---------- Film strip ---------- */
.filmstrip-wrap { overflow: hidden; }
.filmstrip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 24px 28px;
  margin: 0 -24px;
  -webkit-overflow-scrolling: touch;
}
.filmstrip::-webkit-scrollbar { height: 8px; }
.filmstrip::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--r-pill); }
.film-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 200px;
}
.film-shot {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 300/430;
  box-shadow: 0 10px 24px rgba(35,51,28,0.1);
  margin-bottom: 12px;
}
.film-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.film-card .film-label { font-weight: 800; font-size: 14px; }
.film-card .film-sub { font-size: 13px; color: var(--text-secondary); }

/* ---------- Benefits ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-card {
  background: var(--cream-deep);
  border-radius: var(--r-xl);
  padding: 30px 26px;
}
.benefit-icon { font-size: 26px; margin-bottom: 16px; display: block; }
.benefit-card h3 { font-size: 18.5px; margin-bottom: 8px; }
.benefit-card p { font-size: 14.5px; color: var(--sage-text); line-height: 1.6; }

/* ---------- Personalization ---------- */
.personal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.personal-phones { display: flex; gap: 24px; justify-content: center; }
.quiz-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.quiz-tag {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 8px 15px;
  font-size: 13.5px;
  font-weight: 700;
}

/* ---------- Filipino identity ---------- */
.identity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.cuisine-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.cuisine-pill {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 700;
  background: var(--gold-bg);
  color: var(--gold-text);
}
.cuisine-pill.root { background: var(--green); color: var(--white); }

/* ---------- Download CTA ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  border-radius: var(--r-xxl);
  padding: 72px 56px;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.82); font-size: 17px; margin-bottom: 36px; }
.store-badges { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 13px 22px;
  border-radius: var(--r-lg);
  cursor: default;
  user-select: none;
}
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .store-label { text-align: left; line-height: 1.25; }
.store-badge .store-sub { font-size: 11px; opacity: 0.75; display: block; }
.store-badge .store-main { font-size: 15.5px; font-weight: 800; display: block; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16.5px;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-plus {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--mint-text);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 17px;
  transition: transform 0.2s ease;
}
.faq-item[open] summary .faq-plus { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--sage-text);
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(244,242,236,0.82); padding: 76px 0 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(244,242,236,0.12);
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 20px; color: var(--white); margin-bottom: 14px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-col h4 { color: var(--white); font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; font-family: var(--font-body); font-weight: 800; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--white); }
.footer-tagline { font-size: 14.5px; max-width: 32ch; color: rgba(244,242,236,0.65); line-height: 1.6; }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(244,242,236,0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-cta .btn-secondary,
  .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy p.lede { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 20px; }
  .about-grid, .deepdive-grid, .personal-grid, .identity-grid, .spotlight { grid-template-columns: 1fr; }
  .spotlight { padding: 36px 28px; text-align: center; }
  .spotlight-visual { order: -1; margin-bottom: 10px; }
  .spotlight-points { text-align: left; }
  .about-collage { order: -1; height: 380px; margin-bottom: 10px; }
  .deepdive-phones { order: -1; height: 460px; margin-bottom: 10px; }
  .step-row { grid-template-columns: 56px 1fr; }
  .step-thumb { display: none; }
  .cookmode-banner { grid-template-columns: 1fr; text-align: center; padding: 36px 28px; }
  .cookmode-banner .phone { order: -1; margin-bottom: 20px; }
  .tutorial-steps { grid-template-columns: 1fr !important; max-width: 420px !important; margin: 0 auto; }
  .personal-phones { gap: 14px; }
}

@media (max-width: 680px) {
  .container { padding: 0 18px; }
  .section-pad { padding: 72px 0; }
  .section-pad-sm { padding: 48px 0; }
  .feature-grid, .benefits-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 48px 24px; border-radius: var(--r-xl); }
  .hero { padding: 36px 0 70px; }
  .phone-lg { width: 230px; }
  .hero-float { display: none; }
  .deepdive-phones .phone:nth-child(1),
  .deepdive-phones .phone:nth-child(3),
  .about-collage .phone:nth-child(1),
  .about-collage .phone:nth-child(3) { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Legal pages (privacy.html / terms.html) ---------- */
.legal-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(244, 242, 236, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.legal-nav .nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 600; font-size: 20px; color: var(--ink); }
.legal-nav .nav-brand img { width: 34px; height: 34px; border-radius: 9px; }
.legal-main { padding: 64px 0 100px; }
.legal-header { max-width: 680px; margin: 0 auto 48px; }
.legal-header a.back-link { font-weight: 700; font-size: 14px; color: var(--green); display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; }
.legal-header h1 { font-size: clamp(32px, 4.2vw, 48px); margin-bottom: 12px; }
.legal-header p { color: var(--text-secondary); font-size: 14.5px; font-weight: 700; }
.legal-body { max-width: 680px; margin: 0 auto; }
.legal-section { padding: 26px 0; border-bottom: 1px solid var(--divider); }
.legal-section:last-child { border-bottom: none; }
.legal-section h2 { font-size: 19px; margin-bottom: 10px; }
.legal-section p { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }
.legal-section a { color: var(--green); font-weight: 700; }
