/* ============================================================================
   Boo — Landing (static). Extracted from the React/TanStack source.
   Pure CSS, no Tailwind. oklch tokens carried over from the original styles.css.
   ============================================================================ */

:root {
  --radius: 1rem;
  --lime:  oklch(0.88 0.22 135);
  --brand500: #99E46B;          /* SubOops/mobile brand500 — hero bg */
  --brand50:  #EDF4E6;          /* lightest brand tint — pricing card */
  --olive: oklch(0.66 0.11 122);
  --cream: oklch(0.97 0.02 95);
  --coral: oklch(0.74 0.18 25);
  --sky:   oklch(0.78 0.13 230);
  --ink:   oklch(0.16 0.01 120);

  --background: #fff;
  --foreground: var(--ink);
  --card: oklch(1 0 0);
  --surface: #F0F2F0;           /* neutral card fill — reusable */
  --muted: oklch(0.96 0.01 120);
  --muted-foreground: oklch(0.45 0.01 120);
  --border: oklch(0.9 0.01 120);

  /* --- Typography tokens — ported from SubOops (suboops-landing/tokens.css).
     Inter, single family (per SubOops spec §3). Sizes rem/clamp, lh unitless, ls em. */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font-sans);   /* one family — no separate display face */

  --type-display-1-size: clamp(3.3rem, 2.567rem + 3.26vw, 5.5rem);    /* 88/52.8 */
  --type-display-2-size: clamp(2.55rem, 1.983rem + 2.52vw, 4.25rem);  /* 68/40.8 */
  --type-price-size:     clamp(5.625rem, 4.375rem + 5.56vw, 9.375rem);/* 150/90  */
  --type-sub-size:        1.5rem;     /* 24 */
  --type-headline-3-size: 1.75rem;    /* 28 */
  --type-body-size:       1.0625rem;  /* 17 */
  --type-microcopy-size:  1.25rem;    /* 20 */
  --type-qa-question-size: 1.75rem;   /* 28 */
  --type-qa-answer-size:   1.5rem;    /* 24 */

  --lh-tight: 1;     /* display-1/2, price */
  --lh-snug:  1.2;   /* headline-3, qa, numeric */
  --lh-sub:   1.333; /* sub */
  --lh-body:  1.41;  /* body */

  --ls-tight: -0.06em;  /* general */
  --ls-price: -0.07em;  /* price figure */

  --fw-medium:   500;
  --fw-semibold: 600;
}

*, *::before, *::after { box-sizing: border-box; }
* { border-color: var(--border); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: var(--type-body-size);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-tight);
  font-weight: var(--fw-medium);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); letter-spacing: var(--ls-tight); font-weight: var(--fw-medium); }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }

.text-balance { text-wrap: balance; }
.text-pretty  { text-wrap: pretty; }

/* --- Layout --------------------------------------------------------- */
.container { max-width: 80rem; margin-inline: auto; padding-inline: 1.5rem; }
.section { padding-block: 6rem; }
@media (min-width: 768px) { .section { padding-block: 8rem; } }

.eyebrow { font-size: .875rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted-foreground); }

/* --- Buttons / pills ------------------------------------------------ */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 9999px; padding: 0 3rem; height: 4rem;       /* spec: hero + primary */
  font-size: 1.375rem; font-weight: 500; transition: background-color .2s, color .2s, opacity .2s;
}
.pill--ink { background: #1D370C; color: #fff; }   /* same as Price CTA */
.pill--ink:hover,
.price-card__cta:hover { background: #0D2603; }    /* primary hover — darker green */
.pill--lime { background: var(--lime); color: var(--ink); }
.pill--outline { border: 2px solid color-mix(in oklch, var(--ink) 70%, transparent); color: var(--ink); }
.pill--outline:hover { background: color-mix(in oklch, var(--ink) 5%, transparent); }
.pill--sm { padding: 0.875rem 1.5rem; height: auto; font-size: 1rem; }   /* nav stays compact */

/* --- Nav ------------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding:0.5rem 0;
  backdrop-filter: blur(12px);
  background: color-mix(in oklch, var(--background) 70%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.nav__brand { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; }
.nav__brand img { height: 1.75rem; width: auto; }
.nav__links { display: none; align-items: center; gap: 2rem; font-size: .875rem; color: var(--muted-foreground); }
.nav__links a:hover { color: var(--foreground); }
@media (min-width: 768px) { .nav__links { display: flex; } }

/* --- Hero ----------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--brand500); }
.hero__grid {
  position: relative; z-index: 1; display: grid; gap: 2.5rem; align-items: center;  /* above .hero__blob */
  padding-block: 4rem 6rem;
}
@media (min-width: 768px) {
  .hero__grid { grid-template-columns: 7fr 5fr; padding-block: 6rem 8rem; }
}
.hero__copy { position: relative; z-index: 10; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: 9999px; border: 1px solid color-mix(in oklch, var(--ink) 20%, transparent);
  background: color-mix(in oklch, var(--cream) 60%, transparent);
  padding: .25rem .75rem; font-size: .75rem; font-weight: 500;
  color: color-mix(in oklch, var(--ink) 80%, transparent);
}
.dot { width: .375rem; height: .375rem; border-radius: 9999px; }
.hero h1 {
  margin-top: 1.5rem; color: var(--ink);
  font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: .95; letter-spacing: -0.04em;
}
.hero h1 .italic { font-style: italic; font-weight: 500; }
.hero__lead { margin-top: 2rem; max-width: 36rem; font-size: 1.125rem; color: color-mix(in oklch, var(--ink) 75%, transparent); }  /* heading → sub: 32px */
@media (min-width: 768px) { .hero__lead { font-size: 1.25rem; } }
.hero__cta { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: .75rem; }  /* sub → buttons: 48px */
.stats { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 28rem; }
.stats dt { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
@media (min-width: 768px) { .stats dt { font-size: 1.175rem; } }
.stats dd { margin-top: .25rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: color-mix(in oklch, var(--ink) 60%, transparent); }

.hero__art { position: relative; }
.hero__phone { position: relative; margin-inline: auto; width: 280px; }
@media (min-width: 768px) { .hero__phone { width: 340px; } }
.hero__blob { position: absolute; right: 0; bottom: 0; width: 50%; height: auto; pointer-events: none; z-index: 0; }   /* vector, bottom-right, behind content */

/* phone frame */
.phone { position: relative; border-radius: 2.5rem; padding: .5rem; background: var(--ink); box-shadow: 0 25px 50px -12px rgb(0 0 0 / .35); }
.phone__screen { border-radius: 2rem; overflow: hidden; background: #fff; }

/* floating icons */
.float { position: absolute; width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: var(--surface); box-shadow: 0 10px 15px -3px rgb(0 0 0 / .2); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; animation: floaty 6s ease-in-out infinite; }
.float__icon { width: 55%; height: 55%; object-fit: contain; }
@media (min-width: 768px) { .float { width: 4rem; height: 4rem; font-size: 1.875rem; } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(var(--r,0deg)); } 50% { transform: translateY(-12px) rotate(var(--r,0deg)); } }

/* --- Marquee -------------------------------------------------------- */
.marquee { border-block: 1px solid color-mix(in oklch, var(--border) 60%, transparent); padding-block: 3rem; overflow: hidden }
.marquee__row { display: flex; width: max-content; white-space: nowrap; animation: marquee 40s linear infinite; }
.marquee__item { margin-inline: 1.5rem; display: inline-flex; align-items: center; }
.marquee__logo { height: 2.75rem; width: auto; border-radius: .75rem; display: block; }
@media (min-width: 768px) { .marquee__logo { height: 3.25rem; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__row, .float { animation: none; } }

/* --- Story ---------------------------------------------------------- */
.story__head { max-width: 48rem; }
.story h2 { margin-top: 1rem; font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .story h2 { font-size: 3.75rem; } }
.story h2 .muted { color: var(--muted-foreground); }
.story__list { margin-top: 4rem; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .story__list { grid-template-columns: repeat(3, 1fr); } }
.story__card { border-radius: 1.5rem; background: var(--surface); min-height: 16rem; padding: 2.5rem; display: flex; flex-direction: column; }
.story__num { width: 2.5rem; height: 3.5rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.story__bug { width: 6.5rem; height: auto; order: 1; margin-top: auto; }   /* sits below the title */
.story__card h3 { margin-top: 0; order: 0; font-family: var(--font-display); font-size: 1.5rem; }
.story__card p { margin-top: .75rem; color: var(--muted-foreground); }

/* --- Features (bento) ----------------------------------------------- */
.features { background: #fff; }
.features__head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .features__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.features__head h2 { margin-top: 1rem; font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .features__head h2 { font-size: 3.75rem; } }
.features__head .lead { color: var(--muted-foreground); max-width: 28rem; }
.bento { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(12, 1fr); } }
.card { border-radius: 1.5rem; overflow: hidden; display: flex; flex-direction: column; }
@media (min-width: 768px) { .card { flex-direction: row; } .span-5 { grid-column: span 5; } .span-7 { grid-column: span 7; } .span-12 { grid-column: span 12; } }
.card__body { padding: 2rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 340px; }
@media (min-width: 768px) { .card__body { padding: 3rem; } }
.card__eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .18em; opacity: .7; }
.card h3 { margin-top: 1rem; font-family: var(--font-display); font-size: 1.875rem; line-height: 1.15; }
@media (min-width: 768px) { .card h3 { font-size: 2.25rem; } }
.card__text { margin-top: 1.5rem; font-size: 1rem; opacity: .85; max-width: 28rem; }
@media (min-width: 768px) { .card__text { font-size: 1.125rem; } }
.card__media { flex: 1; min-height: 16rem; overflow: hidden; }   /* fill: full width × height */
.card__media img, .card__media .slice { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- Features responsive (below the 1200 desktop; desktop >=1200 untouched).
   Stack each card, drop the 340px body min-height, tighten the title->text gap
   to 2rem, and give every slice the SAME proportion as cards 1 & 4 (898x870) so
   the portrait slices in cards 2 & 3 don't make those cards too tall. The square
   slices (span-7) fill via cover; the portrait slices (span-5) scale down whole
   (contain) inside the matched box. --- */
@media (max-width: 1199.98px) {
  .bento { align-items: start; }   /* don't stretch cards to the grid-row height */
  .card { flex-direction: column; }
  .card__body { min-height: 0; flex: 0 0 auto; justify-content: flex-start; }
  .card__text { margin-top: 2rem; }
  .card__media { flex: 0 0 auto; min-height: 0; aspect-ratio: 898 / 870; }
  .card.span-5 .card__media img { object-fit: contain; }
}

/* --- Showcase ------------------------------------------------------- */
.showcase { background: var(--ink); color: var(--cream); overflow: hidden; }
.showcase__grid { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 768px) { .showcase__grid { grid-template-columns: 1fr 1fr; } }
.showcase .eyebrow { color: var(--lime); }
.showcase h2 { margin-top: 1rem; font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .showcase h2 { font-size: 3.75rem; } }
.showcase__lead { margin-top: 1.5rem; font-size: 1.125rem; opacity: .75; max-width: 28rem; }
.showcase__list { margin-top: 2rem; display: grid; gap: .75rem; font-size: 1rem; }
.showcase__list li { display: flex; align-items: center; gap: .75rem; }
.showcase__list .dot { background: var(--lime); }
.showcase__phone { margin-inline: auto; width: 300px; }
@media (min-width: 768px) { .showcase__phone { width: 360px; } }

/* --- Pricing (dark section · centered brand50 card) ------------------ */
.pricing { background: var(--brand500); }
.pricing__inner { max-width: 64rem; margin-inline: auto; text-align: center; }
.pricing .eyebrow { color: color-mix(in oklch, var(--ink) 60%, transparent); }
.pricing h2 { margin-top: 1rem; color: var(--ink); font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .pricing h2 { font-size: 3.75rem; } }
.pricing__lead { margin-top: 1.25rem; font-size: 1.125rem; color: color-mix(in oklch, var(--ink) 70%, transparent); max-width: 36rem; margin-inline: auto; }

.price-card {
  margin-top: 3rem; background: #fff; color: var(--ink);
  max-width: 34.25rem; margin-inline: auto;        /* 548px, centered */
  border-radius: 2rem; padding: 2.5rem; display: grid; gap: 2.5rem; text-align: left;
}
@media (min-width: 768px) { .price-card { gap: 2.5rem; padding: 3.5rem; } }   /* single column */
.price-card__badge { display: inline-block; background: var(--brand500); color: var(--ink); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; padding: .45rem 1rem; border-radius: 9999px; }
.price-card__amt { margin-top: 1.5rem; font-family: var(--font-display); font-size: clamp(4.5rem, 13vw, 10rem); line-height: 1; letter-spacing: -0.04em; color: #1D370C; }
.price-card__note { margin-top: 1.5rem; font-size: 1.0625rem; color: color-mix(in oklch, var(--ink) 70%, transparent); max-width: 24rem; }
.price-feat { display: grid; gap: 1.1rem; }
.price-feat li { display: flex; align-items: center; gap: .75rem; font-size: 1.0625rem; }
.price-feat .check { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 9999px; background: var(--brand500); color: var(--ink); display: grid; place-items: center; font-size: .85rem; font-weight: 600; }
.price-card__cta { margin-top: 2rem; width: 100%; background: #1D370C; color: #fff; }   /* solid dark */

/* --- FAQ ------------------------------------------------------------ */
#faq { background: var(--brand500); }
.faq__inner { max-width: 56rem; margin-inline: auto; }
.faq .eyebrow { text-align: center; }
.faq h2 { margin-top: 1rem; text-align: center; font-size: 2.25rem; }
@media (min-width: 768px) { .faq h2 { font-size: 3rem; } }
.faq__list { margin-top: 3rem; display: grid; gap: .75rem; }
.faq__item { background: #fff; border-radius: 1rem; padding: 2rem; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0; background: transparent; border: 0; text-align: left; }
.faq__q span:first-child { font-family: var(--font-display); font-size: 1.25rem; }
@media (min-width: 768px) { .faq__q span:first-child { font-size: 1.5rem; } }
.faq__icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }   /* no circle */
.faq__icon img { width: 1.5rem; height: auto; }
.faq__icon .chev-up { display: none; }
.faq__item[data-open] .faq__icon .chev-down { display: none; }
.faq__item[data-open] .faq__icon .chev-up { display: block; }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq__a p { padding: 1rem 2rem 0 0; color: var(--muted-foreground); }

/* --- Footer --------------------------------------------------------- */
.footer { background: #143904; color: var(--cream); padding-block: 4rem 2.5rem; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer__logo img { height: 3rem; width: auto; }
.footer__menu { display: flex; flex-wrap: wrap; gap: 2rem; font-size: .9375rem; }
.footer__menu a { opacity: .85; }
.footer__menu a:hover { opacity: 1; text-decoration: underline; }
.footer__divider { height: 1px; background: rgb(255 255 255 / .15); margin-block: 2rem; }
.footer__copy { font-size: .8125rem; opacity: .6; }

/* --- Slice placeholder (real product images: assets/sliceN.png) ------ */
.slice {
  aspect-ratio: 9 / 19; width: 100%;
  display: grid; place-items: center;
  border-radius: 1.25rem; border: 1px dashed color-mix(in oklch, var(--ink) 25%, transparent);
  background: repeating-linear-gradient(45deg, rgb(0 0 0 / .03) 0 10px, transparent 10px 20px);
  color: color-mix(in oklch, var(--ink) 55%, transparent); font-size: .8rem; text-align: center;
}
.card__media .slice { aspect-ratio: auto; }   /* fill media, no fixed ratio */
.slice::after { content: "⏳ " attr(data-slice); }

/* ============================================================================
   Typography role map — SubOops tokens applied to Boo text (text-only).
   Placed last so it overrides earlier per-element sizes + md breakpoints
   (equal specificity → later source wins). Colors/layout untouched.
   ============================================================================ */

/* Hero headline + closing footer statement → type/display-1 */
.hero h1
.footer h2 { font-size: var(--type-display-2-size); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); }

/* Section titles → type/display-2 */
.story h2,
.features__head h2,
.showcase h2,
.pricing h2,
.faq h2 { font-size: var(--type-display-2-size); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); }

/* Card / plan titles → type/headline-3 */
.story__card h3,
.card h3,
.price__top h3 { font-size: var(--type-headline-3-size); line-height: var(--lh-snug); letter-spacing: var(--ls-tight); font-weight: var(--fw-medium); }

/* Price figure → type/display-2 size with price letter-spacing */
.price__fig .amt { font-size: var(--type-display-2-size); line-height: var(--lh-tight); letter-spacing: var(--ls-price); }

/* Sub-lead "whisper" lines → type/sub */
.hero__lead,
.showcase__lead,
.features__head .lead,
.pricing__lead { font-size: var(--type-sub-size); line-height: var(--lh-sub); letter-spacing: var(--ls-tight); }

/* Supporting body copy → type/body */
.card__text,
.story__card p { font-size: var(--type-body-size); line-height: var(--lh-body); letter-spacing: var(--ls-tight); }

/* FAQ → type/qa-question + type/qa-answer */
.faq__q span:first-child { font-size: var(--type-qa-question-size); line-height: var(--lh-snug); letter-spacing: var(--ls-tight); }
.faq__a p { font-size: var(--type-qa-answer-size); line-height: var(--lh-snug); letter-spacing: var(--ls-tight); }

/* Numeric display + marquee → type/headline-3 */
.stats dt,
.marquee__item { font-size: var(--type-headline-3-size); line-height: var(--lh-snug); letter-spacing: var(--ls-tight); }

/* Nav links + CTA labels: keep their own sizes, unify tracking + weight */
.nav__links { font-size: var(--type-body-size); letter-spacing: var(--ls-tight); }
.pill { letter-spacing: var(--ls-tight); font-weight: var(--fw-semibold); }
