/* ===== Design tokens ===== */
:root {
  color-scheme: light;
  --background: oklch(0.99 0.002 240);
  --foreground: oklch(0.22 0.02 200);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.22 0.02 200);
  --primary: oklch(0.58 0.09 185);
  --primary-foreground: oklch(0.99 0.005 185);
  --secondary: oklch(0.96 0.01 190);
  --muted: oklch(0.965 0.006 200);
  --muted-foreground: oklch(0.5 0.02 200);
  --accent: oklch(0.95 0.03 185);
  --destructive: oklch(0.58 0.2 22);
  --border: oklch(0.91 0.01 200);
  --ring: oklch(0.58 0.09 185);
  --radius: 0.625rem;

  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-50: #fffbeb;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --star: #fbbf24;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Geist", system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { display: block; max-width: 100%; height: auto; }

strong { color: var(--foreground); font-weight: 600; }

/* ===== Layout helpers ===== */
.container { width: 100%; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.container--narrow { max-width: 56rem; }   /* max-w-4xl */
.container { max-width: 64rem; }            /* max-w-5xl default */
.container--faq { max-width: 48rem; }       /* max-w-3xl */

.section { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .section { padding-top: 4rem; padding-bottom: 4rem; } }

.band { background-color: color-mix(in oklab, var(--muted) 60%, transparent); }
.band--soft { background-color: color-mix(in oklab, var(--muted) 40%, transparent); }

.scroll-mt { scroll-margin-top: 5rem; }
.scroll-mt-sm { scroll-margin-top: 1rem; }

.center { text-align: center; }

/* ===== Typography ===== */
.h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.2; text-wrap: balance; }
@media (min-width: 768px) { .h2 { font-size: 1.875rem; } }
.center-title { text-align: center; }

.h3 { font-size: 1.125rem; font-weight: 600; margin-top: 1rem; }
.h4 { font-size: 1rem; font-weight: 600; }

.eyebrow {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--primary);
}

.muted { color: var(--muted-foreground); }
.strong-fg { font-weight: 600; color: var(--foreground); }
.accent-text { color: var(--primary); }
.primary-text { color: var(--primary); }
.destructive-text { color: var(--destructive); }
.amber-text { color: var(--amber-500); }

.lead {
  margin-top: 1rem; max-width: 42rem; font-size: 1rem;
  line-height: 1.625; color: var(--muted-foreground);
}
.center-lead { margin-left: auto; margin-right: auto; text-align: center; }

.prose { display: flex; flex-direction: column; gap: 1.25rem; font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); }
.prose--gap { margin-top: 1.5rem; }

/* ===== Icons ===== */
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon--sm { width: 0.875rem; height: 0.875rem; }
.icon--lg { width: 1.75rem; height: 1.75rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 9999px; padding: 0.875rem 1.75rem;
  font-size: 1rem; font-weight: 600; line-height: 1.625; text-align: center;
  text-decoration: none; cursor: pointer; border: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: filter 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
.btn span { text-wrap: balance; }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(0.25rem); }

.btn--primary { background-color: var(--primary); color: var(--primary-foreground); }
.btn--primary:hover { filter: brightness(1.05); }
.btn--destructive { background-color: var(--destructive); color: #fff; }
.btn--destructive:hover { filter: brightness(1.05); }
.btn--large { padding: 1.25rem 2.25rem; font-size: 1.125rem; }
@media (min-width: 768px) { .btn--large { font-size: 1.25rem; } }
.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn--block { width: 100%; }
.uppercase { text-transform: uppercase; letter-spacing: 0.025em; }

.cta-mt { margin-top: 0.5rem; }
.cta-mt-lg { margin-top: 2.5rem; }
.cta-mt-xl { margin-top: 3rem; }

/* ===== Cards ===== */
.card {
  background-color: var(--card); border: 1px solid var(--border);
  border-radius: 1rem; box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* ===== Grids ===== */
.grid { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 768px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }

.two-col { display: grid; gap: 2rem; margin-top: 2rem; align-items: center; }
@media (min-width: 768px) { .two-col { grid-template-columns: repeat(2, 1fr); } }
.two-col--top { align-items: start; }

/* ===== Announcement ===== */
.announcement { width: 100%; background-color: var(--destructive); color: #fff; }
.announcement__inner {
  max-width: 56rem; margin: 0 auto; padding: 0.625rem 1rem;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  text-align: center; font-size: 0.875rem; font-weight: 500;
}
.announcement .icon { width: 1rem; height: 1rem; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50; display: none;
  border-bottom: 1px solid var(--border);
  background-color: color-mix(in oklab, var(--card) 95%, transparent);
  backdrop-filter: blur(8px);
}
@media (min-width: 768px) { .nav { display: block; } }
.nav__inner {
  max-width: 64rem; margin: 0 auto; padding: 0.75rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav__logo { font-size: 1.125rem; font-weight: 700; color: var(--foreground); text-decoration: none; }
.nav__links { display: flex; align-items: center; gap: 1.5rem; list-style: none; font-size: 0.875rem; font-weight: 500; }
.nav__links a { color: var(--foreground); text-decoration: none; transition: color 0.2s; }
.nav__links a:hover { color: var(--primary); }

/* ===== Hero ===== */
.hero { background-color: var(--card); }
.hero .container { padding-top: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .hero .container { padding-top: 3.5rem; padding-bottom: 3.5rem; } }
.hero__title {
  margin-top: 0.75rem; font-size: 1.875rem; font-weight: 700;
  line-height: 1.15; text-wrap: pretty; color: var(--foreground);
}
@media (min-width: 768px) { .hero__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 3rem; } }

.author-row { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.author-row__avatar { width: 3.5rem; height: 3.5rem; border-radius: 9999px; object-fit: cover; box-shadow: 0 0 0 2px color-mix(in oklab, var(--primary) 20%, transparent); }
.author-row__text { font-size: 0.875rem; }
.author-row__name { font-weight: 600; color: var(--foreground); }

.hero__grid { margin-top: 2rem; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .hero__grid { grid-template-columns: repeat(2, 1fr); } }
.hero__copy { display: flex; flex-direction: column; gap: 1.25rem; font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); }
.hero__media { order: -1; }
@media (min-width: 768px) { .hero__media { order: 1; } }

.media-frame { overflow: hidden; border-radius: 1.5rem; border: 1px solid var(--border); }
.media-frame--soft { background-color: color-mix(in oklab, var(--secondary) 40%, transparent); }
.media-frame img { width: 100%; object-fit: cover; }

/* ===== Check list ===== */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.625rem; color: var(--foreground); line-height: 1.625; }
.check-list__icon {
  margin-top: 0.125rem; width: 1.25rem; height: 1.25rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; border-radius: 9999px;
  background-color: color-mix(in oklab, var(--primary) 15%, transparent); color: var(--primary);
}

/* ===== Steps ===== */
.step-card { padding: 1.5rem; }
.step-num {
  display: flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center;
  border-radius: 9999px; background-color: var(--primary); color: var(--primary-foreground);
  font-size: 1.125rem; font-weight: 700;
}
.step-card .muted { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; }

/* ===== Benefits ===== */
.benefit-card { display: flex; gap: 1rem; padding: 1.5rem; border-color: color-mix(in oklab, var(--primary) 30%, var(--border)); }
.benefit-icon {
  margin-top: 0.125rem; width: 2rem; height: 2rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; border-radius: 9999px;
  background-color: var(--primary); color: var(--primary-foreground);
}
.benefit-icon .icon { width: 1.25rem; height: 1.25rem; }
.benefit-card .muted { margin-top: 0.375rem; font-size: 0.875rem; line-height: 1.625; }

/* ===== Ingredients ===== */
.ingredient-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.ingredient-list li { border-bottom: 1px solid var(--border); padding-bottom: 1rem; }
.ingredient-list li:last-child { border-bottom: 0; }
.ingredient-list__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 0.75rem; }
.ingredient-list__name { font-weight: 600; color: var(--foreground); }
.dose {
  border-radius: 9999px; padding: 0.125rem 0.625rem; font-size: 0.875rem; font-weight: 600;
  background-color: color-mix(in oklab, var(--primary) 10%, transparent); color: var(--primary);
}
.ingredient-list .muted { margin-top: 0.375rem; font-size: 0.875rem; line-height: 1.625; }
.sticky-media { position: static; }
@media (min-width: 768px) { .sticky-media { position: sticky; top: 1.5rem; } }
.media-pad { padding: 0.75rem; border-radius: 1rem; }
.contain { object-fit: contain; }

/* ===== Stars / ratings ===== */
.stars { display: inline-flex; align-items: center; gap: 0.125rem; }
.star { color: var(--star); width: 1.25rem; height: 1.25rem; }
.stars--sm .star { width: 1rem; height: 1rem; }
.rating-row { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.875rem; }
.center .h2.center-title { margin-top: 1rem; }
@media (min-width: 768px) { .center .h2.center-title { font-size: 2.25rem; } }
.center > .muted { margin-top: 0.75rem; }

/* ===== Reviews ===== */
.reviews { gap: 1.25rem; }
.review { display: flex; flex-direction: column; padding: 1.25rem; }
.review__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.review__person { display: flex; align-items: center; gap: 0.75rem; }
.review__person img { width: 3rem; height: 3rem; border-radius: 9999px; object-fit: cover; }
.review__name { font-weight: 600; color: var(--foreground); }
.review__loc { font-size: 0.75rem; color: var(--muted-foreground); }
.review blockquote { margin-top: 1rem; flex: 1; font-size: 0.875rem; line-height: 1.625; color: var(--foreground); }
.verified { margin-top: 1rem; display: flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--primary); }

/* ===== Notice boxes ===== */
.notice {
  margin-top: 1.5rem; display: flex; gap: 0.75rem; border-radius: 1rem; padding: 1.25rem;
  border: 1px solid var(--amber-300); background-color: var(--amber-50);
}
.notice p { font-size: 0.875rem; line-height: 1.625; color: var(--amber-900); }
.notice strong { color: var(--amber-900); }
.notice--amber .icon { color: var(--amber-600); }
.notice--strong { border-width: 2px; border-color: var(--amber-400); align-items: flex-start; }
.notice__title { font-weight: 700; color: var(--amber-900); }
.notice--strong p:not(.notice__title) { margin-top: 0.25rem; color: var(--amber-800); }

/* ===== Fraud ===== */
.fraud {
  border-radius: 1.5rem; border: 2px solid color-mix(in oklab, var(--destructive) 40%, transparent);
  background-color: color-mix(in oklab, var(--destructive) 5%, transparent); padding: 1.5rem;
}
@media (min-width: 768px) { .fraud { padding: 2rem; } }
.fraud__head { display: flex; align-items: center; gap: 0.75rem; }

/* ===== Pricing ===== */
.plans { gap: 1.5rem; align-items: start; margin-top: 2.5rem; }
.plan { position: relative; display: flex; flex-direction: column; padding: 1.5rem; border-radius: 1.5rem; }
.plan--highlight { border: 2px solid var(--destructive); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
@media (min-width: 768px) { .plan--highlight { margin-top: -1rem; margin-bottom: 1rem; } }
.plan__ribbon {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.25rem;
  border-radius: 9999px; background-color: var(--destructive); padding: 0.25rem 1rem;
}
.plan__ribbon .star { width: 0.75rem; height: 0.75rem; color: #fff; }
.badge { align-self: flex-start; border-radius: 9999px; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.025em; }
.badge--primary { background-color: color-mix(in oklab, var(--primary) 10%, transparent); color: var(--primary); }
.badge--destructive { background-color: color-mix(in oklab, var(--destructive) 10%, transparent); color: var(--destructive); }
.plan__media { margin: 0.5rem auto; height: 10rem; width: 100%; display: flex; align-items: center; justify-content: center; }
.plan__media img { height: 100%; width: auto; object-fit: contain; }
.plan h3 { margin-top: 0; font-size: 1.25rem; font-weight: 700; color: var(--foreground); }
.plan__price { margin-top: 1rem; display: flex; align-items: baseline; gap: 0.25rem; }
.plan__amount { font-size: 1.875rem; font-weight: 700; color: var(--foreground); }
.plan__old { margin-top: 0.25rem; font-size: 1rem; font-weight: 500; color: var(--muted-foreground); text-decoration: line-through; }
.plan__total { margin-top: 0.25rem; font-size: 0.875rem; }
.plan__details { margin-top: 1rem; flex: 1; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.plan__cta { margin-top: 1.5rem; }
.save {
  margin-top: 0.75rem; display: inline-flex; width: fit-content; align-items: center; gap: 0.375rem;
  border-radius: 9999px; padding: 0.25rem 0.75rem; font-size: 0.875rem; font-weight: 600;
  background-color: color-mix(in oklab, var(--primary) 15%, transparent); color: var(--primary);
}
.trust-row {
  margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  column-gap: 2rem; row-gap: 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground);
}
.trust-row span { display: flex; align-items: center; gap: 0.5rem; }

/* ===== FAQ ===== */
.faq { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.faq__item { overflow: hidden; border-radius: 1rem; border: 1px solid var(--border); background-color: var(--card); }
.faq__button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem; text-align: left; background: none; border: none; cursor: pointer;
  font-size: 1rem; font-weight: 600; color: var(--foreground);
}
.faq__chevron { color: var(--primary); transition: transform 0.3s; }
.faq__button[aria-expanded="true"] .faq__chevron { transform: rotate(180deg); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s; }
.faq__button[aria-expanded="true"] + .faq__panel { grid-template-rows: 1fr; }
.faq__panel > p { overflow: hidden; padding: 0 1.25rem 0; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); transition: padding 0.3s; }
.faq__button[aria-expanded="true"] + .faq__panel > p { padding-bottom: 1.25rem; }

/* ===== Author box ===== */
.author-box { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; border-radius: 1rem; border: 1px solid var(--border); background-color: var(--card); padding: 1.25rem; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.author-box__avatar { width: 4rem; height: 4rem; border-radius: 9999px; object-fit: cover; box-shadow: 0 0 0 2px color-mix(in oklab, var(--primary) 20%, transparent); }
.author-box__name { font-family: "Geist Mono", ui-monospace, monospace; font-size: 1.5rem; font-style: italic; color: var(--primary); }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); background-color: var(--card); }
.footer .container { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.footer__logo { font-size: 1.125rem; font-weight: 700; color: var(--foreground); }
.footer__disclaimer { margin: 1rem auto 0; max-width: 42rem; font-size: 0.75rem; line-height: 1.625; color: var(--muted-foreground); }
.footer__copy { margin-top: 1.5rem; font-size: 0.75rem; color: var(--muted-foreground); }
