@charset "UTF-8";
/* =============================================================
   Orderbook.ph — Landing Page Styles
   Brand tokens mirror CLAUDE.md §11.
   Mobile-first; layered media queries for tablet/desktop.
   ============================================================= */

/* ----------- Tokens ----------- */
:root {
  --navy: #1A3A5C;
  --navy-dark: #0D2640;
  --navy-deep: #06182B;
  --mustard: #C9920A;
  --mustard-light: #F5C842;
  --mustard-bg: #FFF8E1;
  --teal: #0F6E56;
  --teal-light: #E8F5E9;
  --cream: #FDF8EF;
  --cream-2: #FAF1DD;
  --dark: #1C1C1C;
  --mid: #555555;
  --soft: #7A7A7A;
  --border: #E8E2D4;
  --border-strong: #D8D0BD;
  --red: #C0392B;
  --white: #FFFFFF;

  --shadow-sm: 0 1px 2px rgba(15, 30, 60, 0.06), 0 2px 6px rgba(15, 30, 60, 0.04);
  --shadow-md: 0 4px 14px rgba(15, 30, 60, 0.08), 0 12px 32px rgba(15, 30, 60, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 30, 60, 0.14), 0 30px 80px rgba(15, 30, 60, 0.12);
  --shadow-screen: 0 30px 60px rgba(13, 38, 64, 0.18), 0 8px 20px rgba(13, 38, 64, 0.12);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --header-h: 64px;
  --container: 1200px;
}

/* ----------- Reset / Base ----------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ----------- Eyebrow / Section Title ----------- */
.eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mustard);
  margin: 0 0 14px;
}
.eyebrow--mustard { color: var(--mustard); }
.eyebrow--on-dark { color: var(--mustard-light); }

.section-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.02em;
}
.section-title--dark { color: var(--navy-dark); }
.section-sub {
  font-size: 17px;
  color: var(--mid);
  margin-top: 14px;
  max-width: 56ch;
  line-height: 1.6;
}
.section-sub--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head { margin-bottom: 36px; }
.section-head--center { text-align: center; }
.section-head--center .section-title { margin-left: auto; margin-right: auto; }

.accent { color: var(--mustard); }
.accent-light { color: var(--mustard-light); }

/* ----------- Google Play button -----------
   The asset is a black-bordered rounded pill with white interior, drawn on a
   transparent canvas — the four corners outside the border curve are alpha 0.
   Anything we paint on the wrapper (background, border-radius clip, box-shadow)
   would extend past those transparent corners and leak as a visible halo. So
   the wrapper is fully transparent; depth + hover glow live on the img element
   via `filter: drop-shadow(...)`, which follows the alpha and naturally hugs
   the button's actual rounded shape. */
.gp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0;
  background: transparent;
  transition: transform 0.2s ease;
}
.gp-btn img {
  height: 56px;
  width: auto;
  display: block;
  filter:
    drop-shadow(0 1px 2px rgba(15, 30, 60, 0.10))
    drop-shadow(0 4px 12px rgba(15, 30, 60, 0.14));
  transition: filter 0.3s ease;
}
.gp-btn:hover { transform: translateY(-2px); }
.gp-btn:hover img {
  filter:
    drop-shadow(0 0 8px rgba(245, 200, 66, 0.95))
    drop-shadow(0 0 22px rgba(245, 200, 66, 0.7))
    drop-shadow(0 0 40px rgba(245, 200, 66, 0.40));
}
.gp-btn:active { transform: translateY(0); }
.gp-btn--sm { height: 44px; }
.gp-btn--sm img { height: 44px; }
.gp-btn--lg { height: 64px; }
.gp-btn--lg img { height: 64px; }
/* Left-aligned in the mobile nav so the button sits flush with the link list,
   not centered in the column. The 4px left margin matches the regular links'
   internal `padding: 12px 4px` so text and button share the same left edge. */
.gp-btn--full { align-self: flex-start; margin-left: 4px; }
.gp-btn--inline { margin-top: 39px; }

/* ============================================================
   Header (fixed)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253, 248, 239, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(216, 208, 189, 0.4);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  background: rgba(253, 248, 239, 0.95);
  box-shadow: 0 4px 16px rgba(13, 38, 64, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--navy-dark);
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}
.brand-wordmark { line-height: 1; }
.brand-dot { color: var(--mustard); }

.primary-nav { display: none; gap: 28px; }
.primary-nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--navy-dark);
  opacity: 0.78;
  transition: opacity 0.15s ease;
}
.primary-nav a:hover { opacity: 1; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .gp-btn { display: none; }

.nav-toggle {
  width: 40px; height: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
  background: rgba(26, 58, 92, 0.06);
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--navy-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav[hidden] { display: none; }
.mobile-nav {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav a {
  font-weight: 600;
  font-size: 17px;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(216, 208, 189, 0.4);
  color: var(--navy-dark);
}
.mobile-nav a.gp-btn { border-bottom: 0; padding: 12px 0 4px; margin-top: 5px; }

@media (min-width: 900px) {
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
  .header-cta .gp-btn { display: inline-flex; }
  .mobile-nav { display: none !important; }
}

/* offset for fixed header */
main { padding-top: var(--header-h); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at top right, rgba(245, 200, 66, 0.18), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(15, 110, 86, 0.10), transparent 50%),
    var(--cream);
  padding: 56px 0 60px;
  overflow: hidden;
}
/* Leche-flan photo behind everything in the hero. Sized large and offset past
   the right edge so it reads as decorative atmosphere, not a hero shot. The
   conversation image sits in front (z-index 2 via .hero-inner).

   - The horizontal mask fades the left edge to transparent so the flan doesn't
     compete with the hero copy on the left half of the section.
   - The vertical mask fades the top + bottom edges so the plate doesn't end
     in a hard line that reads as a contrast band against the hero bg.
   - The drop-shadow uses the site's navy-tinted screen shadow tokens, layered
     with a wider/softer second pass so the shadow reaches all the way to the
     trust strip below without an abrupt cutoff.

   `mask-composite: intersect` AND-combines the horizontal and vertical masks
   so a pixel is visible only where BOTH masks are opaque (Webkit prefers
   `source-in` for the same intersection semantics). */
.hero-flan {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  top: 50%;
  right: -28%;
  transform: translateY(-50%);
  width: 110%;
  max-width: 1100px;
  opacity: 0.95;
  filter:
    drop-shadow(0 30px 60px rgba(13, 38, 64, 0.22))
    drop-shadow(0 80px 140px rgba(13, 38, 64, 0.14));
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 22%, black 45%, black 100%),
    linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
          mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 22%, black 45%, black 100%),
    linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
/* Soft fade at the very bottom of the hero — extends the shadow effect to
   the cream→navy boundary so the flan's drop-shadow doesn't visibly "end"
   partway down. Sits above the flan (z-index 1) but behind hero-inner (2). */
.hero::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(13, 38, 64, 0.05) 60%,
    rgba(13, 38, 64, 0.10) 100%
  );
  pointer-events: none;
}
@media (max-width: 899px) {
  /* Mobile: hero stacks single-column. Pull the flan toward the lower half
     of the section where the conversation image sits, and slim it slightly so
     it doesn't dominate the screen. Opacity stays near 1 because the flan
     can't overlap the text on mobile (text is above, flan is below). */
  .hero-flan {
    top: auto;
    bottom: 0;
    transform: none;
    right: -30%;
    width: 130%;
    max-width: 700px;
    opacity: 0.92;
  }
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.hero-copy { max-width: 600px; }
.hero-title {
  font-size: clamp(34px, 7vw, 60px);
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.hero-sub {
  font-size: 18px;
  color: var(--mid);
  margin-top: 20px;
  line-height: 1.6;
  max-width: 56ch;
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.hero-fineprint { font-size: 14px; color: var(--soft); }

.hero-trust {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 14px;
  color: var(--mid);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--mustard { background: var(--mustard); }
.dot--teal { background: var(--teal); }
.dot--navy { background: var(--navy); }

.hero-shot {
  position: relative;
  /* `isolation: isolate` creates a local stacking context so the inner glow
     (z-index: -1) renders behind the conversation image but stays in front of
     the flan in the hero background. Without it, z-index: -1 could leak below
     the hero's own flan layer. */
  isolation: isolate;
  /* Mobile: text column sits above the image, so these margins create the
     breathing room above (between text + image) and below (between image +
     trust strip). Desktop overrides both because the image is in the right
     column instead of stacked. */
  margin-top: 31px;
  margin-bottom: 20px;
  /* 15px on each side narrows the image by 30px on mobile (10px more than the
     previous version). At desktop the image hits its max-width before the
     wrapper width, so this padding has no visible effect there. */
  padding: 0 15px;
}
/* Hero asset is a Messenger conversation: chat bubbles + avatar on a transparent
   canvas. No background/border-radius/box-shadow on the wrapper — those would draw a
   white card and a drop-shadow around the empty space between bubbles. The depth comes
   from `filter: drop-shadow(...)` which follows the image's alpha channel, so each
   bubble + the avatar cast their own shadow and the transparent canvas stays clean. */
.hero-shot-img {
  width: 100%;
  max-width: 370px;
  margin: 0 auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  filter:
    drop-shadow(0 14px 28px rgba(13, 38, 64, 0.22))
    drop-shadow(0 4px 8px rgba(13, 38, 64, 0.12));
}
/* Shading + depth layer: sits between the flan photo and the conversation.
   Layered radial gradients build dimensionality —
     1. A small dark navy core directly behind the bubbles, giving the
        conversation a "lifted" cushion of depth against the warm flan.
     2. A cream wash that dims the flan immediately behind the bubbles so
        the chat reads with contrast.
     3. Mustard top-right + teal bottom-left for ambient atmosphere.
   All blurred together so the layers blend rather than read as discrete
   shapes. */
.hero-shot-glow {
  position: absolute;
  inset: -28% -18%;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(13, 38, 64, 0.26) 0%, rgba(13, 38, 64, 0.10) 30%, transparent 60%),
    radial-gradient(ellipse at 50% 55%, rgba(253, 248, 239, 0.85) 0%, rgba(253, 248, 239, 0.45) 35%, transparent 70%),
    radial-gradient(ellipse at 70% 25%, rgba(245, 200, 66, 0.72), transparent 60%),
    radial-gradient(ellipse at 22% 82%, rgba(15, 110, 86, 0.40), transparent 55%);
  z-index: -1;
  filter: blur(55px);
  pointer-events: none;
}

@media (min-width: 900px) {
  .hero { padding: 88px 0 90px; }
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    /* Image is shorter than the text column — anchor it to the top of the cell
       so it sits roughly level with the H1 instead of floating mid-paragraph. */
    align-items: start;
  }
  /* Reset mobile vertical margins; desktop puts the image in the right column. */
  .hero-shot { margin-top: 40px; margin-bottom: 0; }
  .hero-shot-img { max-width: 370px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 20px; }
  .hero-fineprint { max-width: 220px; }
}

/* ============================================================
   Trust strip
   ============================================================ */
.trust-strip {
  background: var(--navy-dark);
  color: var(--white);
  border-bottom: 2px solid var(--mustard-light);
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 28px 20px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.trust-item:nth-child(2n) { border-right: 0; }
.trust-item strong {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--mustard-light);
  letter-spacing: -0.01em;
}
.trust-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}
@media (min-width: 768px) {
  .trust-strip-inner { grid-template-columns: repeat(4, 1fr); padding: 36px 32px; }
  .trust-item { border-right: 1px solid rgba(255, 255, 255, 0.12); }
  .trust-item:last-child { border-right: 0; }
  .trust-item:nth-child(2n) { border-right: 1px solid rgba(255, 255, 255, 0.12); }
  .trust-item:last-child { border-right: 0; }
  .trust-item strong { font-size: 32px; }
}

/* ============================================================
   Messenger Feature (THE BIG ONE)
   ============================================================ */
.messenger-feature {
  position: relative;
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 146, 10, 0.18), transparent 50%),
    linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 72px 0 80px;
  overflow: hidden;
}
.messenger-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 90%, rgba(15, 110, 86, 0.20), transparent 40%);
  pointer-events: none;
}
.messenger-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.messenger-feature .section-title { color: var(--white); }
.messenger-feature .section-sub { color: rgba(255, 255, 255, 0.82); max-width: 56ch; }

.check-list {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}
.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}
.check-list svg {
  width: 28px; height: 28px;
  background: rgba(245, 200, 66, 0.18);
  border-radius: 8px;
  padding: 5px;
  fill: var(--mustard-light);
  flex-shrink: 0;
}
.check-list strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 4px;
}
.check-list span {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.messenger-cta {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.messenger-cta-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}
.messenger-cta-note strong { color: var(--mustard-light); }

.messenger-shot {
  position: relative;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.messenger-shot img {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-screen);
  background: var(--white);
  display: block;
  image-rendering: -webkit-optimize-contrast;
}
.messenger-shot-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mustard);
  color: var(--navy-deep);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.pulse {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  position: relative;
}
.pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.4;
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

@media (min-width: 900px) {
  .messenger-feature { padding: 120px 0 120px; }
  .messenger-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
  }
  .messenger-shot img { max-width: 460px; }
  .messenger-cta { flex-direction: row; align-items: center; gap: 24px; }
}

/* ============================================================
   Generic Feature blocks
   ============================================================ */
.feature {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}
.feature--cream { background: var(--cream); }
.feature--mustard-bg { background: var(--mustard-bg); }
.feature--teal-bg {
  background: linear-gradient(160deg, var(--teal) 0%, #0a523f 100%);
  color: var(--white);
}
.feature--photo {
  background-image: var(--photo-bg);
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 38, 64, 0.88) 0%, rgba(13, 38, 64, 0.72) 60%, rgba(6, 24, 43, 0.88) 100%);
  pointer-events: none;
}
.photo-overlay--warm {
  background: linear-gradient(135deg, rgba(13, 38, 64, 0.78) 0%, rgba(201, 146, 10, 0.35) 100%),
              linear-gradient(0deg, rgba(13, 38, 64, 0.55), rgba(13, 38, 64, 0.55));
}

.feature-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.feature-copy { max-width: 540px; }
.feature--photo .section-title,
.feature--teal-bg .section-title { color: var(--white); }
.feature--photo .section-sub,
.feature--teal-bg .section-sub { color: rgba(255, 255, 255, 0.82); }
.feature-copy--on-photo,
.feature-copy--on-dark { color: var(--white); }
/* Photo-feature copy reads slightly low next to the screenshot card on desktop —
   the image's visual mass and the food background's focal point pull perceived
   center downward. A small upward translate restores the perceived alignment
   without disturbing the grid's layout math. */
@media (min-width: 900px) {
  .feature-copy--on-photo { transform: translateY(-10px); }
}

.feature-shot--card {
  padding: 0;
  border-radius: var(--radius-lg);
}
.feature-shot--card img {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-screen);
  background: var(--white);
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

.mini-list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.mini-list li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--mid);
}
.mini-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--mustard);
  background-image: linear-gradient(135deg, var(--mustard-light), var(--mustard));
  box-shadow: 0 2px 6px rgba(201, 146, 10, 0.4);
}
.mini-list li::after {
  content: '';
  position: absolute;
  left: 4px; top: 12px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}
.mini-list--on-dark li { color: rgba(255, 255, 255, 0.86); }

@media (min-width: 900px) {
  .feature { padding: 120px 0; }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  .feature-grid--reverse > .feature-shot { order: -1; }
  .feature-shot--card img { max-width: 460px; }
}

/* ============================================================
   Made in PH section
   ============================================================ */
.ph-section {
  background: var(--mustard-bg);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ph-section::before, .ph-section::after {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}
.ph-section::before { background: rgba(245, 200, 66, 0.6); top: -160px; left: -100px; }
.ph-section::after { background: rgba(15, 110, 86, 0.25); bottom: -160px; right: -100px; }
.ph-inner { position: relative; max-width: 760px; margin: 0 auto; }
.ph-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.ph-body {
  font-size: 17px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 28px;
}
.ph-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.ph-tags span {
  background: rgba(26, 58, 92, 0.06);
  color: var(--navy-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials {
  background: var(--cream);
  padding: 80px 0;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testimonial:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stars {
  color: var(--mustard);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.testimonial-quote {
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark);
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testimonial-author strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy-dark);
}
.testimonial-author span {
  display: block;
  font-size: 13px;
  color: var(--soft);
  margin-top: 2px;
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.avatar--mustard { background: linear-gradient(135deg, var(--mustard-light), var(--mustard)); color: var(--navy-dark); }
.avatar--teal { background: linear-gradient(135deg, #2BA084, var(--teal)); }
.avatar--navy { background: linear-gradient(135deg, #4D6E91, var(--navy)); }

@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   Pricing
   ============================================================ */
.pricing {
  background: var(--cream-2);
  padding: 80px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.price-card--pro {
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  border: 1px solid var(--navy);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(-4px);
}
.price-eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  /* Flex row + min-height keeps the Free 'FREE' text and the Pro 'PRO + pill' row
     at the same vertical footprint, so ₱0 and ₱149 land at the same Y. */
  display: flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 32px;
}
/* Pro card: 'PRO' text on the left, 'MOST POPULAR' pill on the right of the row. */
.price-eyebrow--pro {
  gap: 12px;
}
.price-card--pro .price-eyebrow { color: rgba(255, 255, 255, 0.78); }
.price-pill {
  display: inline-block;
  background: var(--mustard);
  color: var(--navy-dark);
  padding: 6px 12px;
  border-radius: 999px;
  /* font properties inherited from .price-eyebrow */
}
.price-amount {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 52px;
  line-height: 1;
  color: var(--navy-dark);
  letter-spacing: -0.02em;
}
.price-card--pro .price-amount { color: var(--white); }
.price-amount span {
  font-size: 16px;
  font-weight: 500;
  color: var(--soft);
  margin-left: 6px;
}
.price-card--pro .price-amount span { color: rgba(255, 255, 255, 0.7); }
.price-tagline {
  font-size: 15px;
  color: var(--mid);
  margin-top: 8px;
  margin-bottom: 28px;
}
.price-card--pro .price-tagline { color: rgba(255, 255, 255, 0.78); }
.price-list {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}
.price-list li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--mid);
  position: relative;
  padding-left: 26px;
}
.price-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.price-list--pro li { color: rgba(255, 255, 255, 0.86); }
.price-list--pro li::before {
  background: var(--mustard);
  color: var(--navy-dark);
}
.price-fineprint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 14px;
  text-align: center;
}

.pricing-referral {
  margin: 32px auto 0;
  max-width: 580px;
  text-align: center;
  font-size: 15px;
  line-height: 1.55;
  color: var(--mid);
}
.pricing-referral strong { color: var(--navy-dark); }

@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pricing-referral { margin-top: 40px; font-size: 16px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--cream);
  padding: 80px 0;
}
.faq-inner { max-width: 820px; margin: 0 auto; }
.faq-list { margin-top: 36px; display: grid; gap: 12px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-dark);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--mustard-bg);
  position: relative;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--mustard);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--mustard); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--white); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-body {
  padding: 0 24px 24px;
  color: var(--mid);
  line-height: 1.65;
  font-size: 16px;
}
.faq-body strong { color: var(--navy-dark); }

/* ============================================================
   Final CTA with Girl w Food
   ============================================================ */
.final-cta {
  padding: 60px 0 60px;
  background: var(--cream);
  position: relative;
}
.final-cta-inner { position: relative; }
.final-cta-card {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 70%, var(--navy-deep) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 56px 28px 56px;
  overflow: visible;
  box-shadow: var(--shadow-lg);
}
.final-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 30%, rgba(245, 200, 66, 0.25), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(15, 110, 86, 0.20), transparent 45%);
  pointer-events: none;
}
.final-cta-copy { position: relative; max-width: 540px; }
.final-cta-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--white);
  line-height: 1.1;
}
.final-cta-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
  line-height: 1.6;
}
.final-cta-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 16px;
}

/* Mobile: image absolute-positioned to card bottom (figure is just a wrapper).
   padding-bottom must exceed the image height so text content can't extend down
   into the image's vertical band — the difference becomes the gap between the
   bottom of the text and the top of the girl's head. */
.final-cta-card { padding-bottom: 470px; }
.final-cta-figure {
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;                /* anchored to card bottom edge, full width */
  height: 470px;
  margin: 0;
  pointer-events: none;
}
.final-cta-figure img {
  position: absolute;
  top: auto;
  bottom: 0;                /* image bottom = card bottom (flush) */
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 440px;            /* fits inside padding-bottom (470) → 30px head clearance */
  filter: drop-shadow(-6px 8px 16px rgba(0, 0, 0, 0.32));
}

@media (min-width: 768px) {
  .final-cta { padding: 100px 0 120px; }
  .final-cta-card {
    padding: 80px 64px 80px;
    min-height: 380px;
  }
  /* Reserve right column inside the card for the figure */
  .final-cta-card { padding-right: 44%; }
  .final-cta-copy { max-width: none; }
  .final-cta-figure {
    position: absolute;
    inset: auto 0 0 auto;     /* anchored to card bottom-right */
    width: 50%;
    height: 100%;
    margin-top: 0;
  }
  .final-cta-figure img {
    bottom: 0;                /* image bottom = card bottom */
    left: auto;
    right: 6%;
    transform: none;
    height: 130%;             /* taller than card -> head pops above */
    max-height: 560px;
  }
}
@media (min-width: 1024px) {
  .final-cta-card { padding: 96px 88px; padding-right: 46%; }
  .final-cta-figure img {
    right: 8%;
    height: 132%;
    max-height: 620px;
  }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.footer-brand { max-width: 360px; }
.brand--footer { color: var(--white); }
.footer-tagline {
  margin: 14px 0 20px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
}
.footer-col h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mustard-light);
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 768px) {
  /* Middle column gets extra width so its content (long email) sits visibly inset
     from Legal — without it Get-in-touch reads as drifting toward the right side. */
  .footer-cols { grid-template-columns: 1fr 1.5fr 1fr; }
}
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 1.2fr 1.5fr; gap: 60px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ============================================================
   Footer email + social
   ============================================================ */
.footer-email {
  font-size: 15px;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.01em;
  user-select: text;
  word-break: break-all;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  cursor: default;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.footer-social img {
  width: 20px;
  height: 20px;
  display: block;
  filter: invert(100%);
  opacity: 0.85;
}

/* ============================================================
   Entrance reveal animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Staggered children: cards inside a grid reveal in sequence */
.reveal-stagger > .reveal { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 400ms; }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Legal article (Terms of Service, Privacy Policy)

   Renders the long-form Markdown body in a single comfortable column.
   Tighter than marketing pages — heading sizes step down, line length
   capped near 72ch, and the table in Privacy §6 picks up borders that
   match the rest of the design system. ALL-CAPS disclaimer paragraphs
   in the Terms (sections 10–11, 15) are rendered as written; we don't
   add boxes or colour shifts that would amount to stylising them away.
   ============================================================ */
.legal-main {
  background: var(--cream);
  padding-bottom: 0;
}
.legal-article {
  max-width: 760px;
  padding-top: 56px;
  padding-bottom: 64px;
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}
.legal-article h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -0.02em;
  color: var(--navy-dark);
  line-height: 1.15;
  margin-bottom: 12px;
}
.legal-article h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--navy-dark);
  letter-spacing: -0.01em;
  margin-top: 56px;
  margin-bottom: 14px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.legal-article h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 19px;
  color: var(--navy-dark);
  margin-top: 32px;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.legal-article p {
  color: var(--dark);
  margin: 0 0 16px;
  max-width: 72ch;
}
.legal-article p:first-of-type {
  /* Effective Date / Last Updated line directly under H1 */
  color: var(--mid);
  font-size: 15px;
  margin-bottom: 32px;
}
.legal-article a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.legal-article a:hover {
  color: var(--navy-dark);
}
.legal-article strong { color: var(--navy-dark); font-weight: 700; }
.legal-article em { font-style: italic; }
.legal-article ul,
.legal-article ol {
  margin: 0 0 20px;
  padding-left: 22px;
  max-width: 72ch;
}
.legal-article li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.legal-article ul { list-style: disc; }
.legal-article ol { list-style: decimal; }

/* Sub-processor table in Privacy §6, plus any future tabular content. */
.legal-article table {
  width: 100%;
  margin: 24px 0 28px;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.legal-article thead {
  background: var(--mustard-bg);
}
.legal-article th,
.legal-article td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.legal-article th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-dark);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.legal-article tbody tr:last-child td { border-bottom: 0; }

/* Inline code (rare, kept for completeness). */
.legal-article code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: rgba(26, 58, 92, 0.06);
  padding: 1px 6px;
  border-radius: 4px;
}

/* Mobile: tighten padding so legal documents stay readable on a 4G phone. */
@media (max-width: 767px) {
  .legal-article {
    padding-top: 40px;
    padding-bottom: 48px;
    font-size: 16px;
  }
  .legal-article h2 { margin-top: 44px; }
  .legal-article table { font-size: 14px; }
  .legal-article th,
  .legal-article td { padding: 10px 12px; }
}

