/* ==========================================================================
   Health & Health Marketing — site stylesheet
   Hand-written, no framework, no build step. Edit this file directly.
   Sections: 1 Tokens · 2 Reset · 3 Layout · 4 Header · 5 Hero · 6 Sections
             7 Cards & lists · 8 Table · 9 Testimonials · 10 Form
             11 Payment · 12 Footer · 13 One Plus / company blocks
             14 Responsive
   ========================================================================== */

/* 1. Design tokens ========================================================= */

:root {
  --brand: #ffa200;
  --brand-dark: #aa6500; /* was #e08600 (2.77:1 on white, AA-fail). Fixes links, .fact__label, sim numbers in one token — verified 4.59:1 */
  --brand-soft: #fff8ea;
  --brand-border: #ffedc6;

  --ink: #141110; /* warm near-black (was cold #111) — pairs better with the amber brand than a blue-black would */
  --ink-800: #1c1c1c;
  --ink-700: #262626;

  --heading: #1a1a1a;
  --text: #4f4f4f;
  --muted: #757575; /* was #7c7c7c (4.17:1, AA-fail at 18px regular). Verified 4.61:1 */
  --border: #e6e6e6;
  --bg-soft: #fafafa;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 14px 34px rgba(0, 0, 0, 0.13);

  --container: 1200px;
  --topbar-height: 36px;
  --nav-height: 108px;
  --header-height: 144px; /* topbar + nav row — used for scroll offsets */

  /* Layered dark surfaces — depth without relying on shadows, which read
     poorly on a near-black background. Each step is a touch lighter/warmer. */
  --surface-1: #1c1712;
  --surface-2: #241d16;
  --surface-border: rgba(255, 255, 255, 0.09);

  /* Spotlight glow used behind hero/eyebrow content, and the two-tone
     headline treatment — both borrowed from the reference template but
     recoloured to the site's own amber instead of its blue. */
  --glow-amber: rgba(255, 162, 0, 0.28);
  --glow-amber-soft: rgba(255, 162, 0, 0.12);

  /* 8pt spacing scale. New components below are built on this; existing
     component paddings were left as-is except where a fix was already
     touching that line (see the WCAG patches above) — a full site-wide
     re-grid was judged too high-risk this late for a cosmetic-only gain. */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 40px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 80px;
  --sp-10: 96px;

  /* One easing curve, used everywhere new so the whole page feels like one
     hand drew it: a soft overshoot-free deceleration. */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.2s;
  --dur: 0.5s;
  --dur-slow: 0.9s;

  --font: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --font-heading: "Outfit", "Avenir Next", "Segoe UI", var(--font);

  /* Type scale — every font-size on the site resolves to one of these.
     Static steps (12/14/16/18/20px) cover UI text, body copy and card
     headings. Fluid steps use clamp() so display headings scale smoothly
     between mobile and desktop instead of jumping at breakpoints. */
  --fs-xs: 0.75rem;    /* 12px — fine print, eyebrow labels, small badges */
  --fs-sm: 0.875rem;   /* 14px — captions, form labels, secondary meta */
  --fs-base: 1rem;     /* 16px — body copy (also set on <body>) */
  --fs-md: 1.125rem;   /* 18px — lead text, h4, card sub-headings */
  --fs-lg: 1.25rem;    /* 20px — h3, emphasized card/plan headings */
  --fs-xl: 1.5rem;     /* 24px — reserved for larger emphasis text */

  --fs-h1: clamp(2.1rem, 5vw, 3.6rem);       /* page h1 */
  --fs-h1-sm: clamp(1.9rem, 4vw, 2.9rem);    /* secondary-page h1 (intro-band) */
  --fs-h2: clamp(1.7rem, 3.4vw, 2.4rem);     /* page h2 */
  --fs-h2-lg: clamp(1.8rem, 4.4vw, 3rem);    /* .emphasis section heading */
  --fs-h2-sm: clamp(1.3rem, 2.6vw, 1.85rem); /* .cta-band heading */
  --fs-lead: clamp(1.05rem, 2vw, 1.3rem);    /* hero lead paragraph */
  --fs-display: clamp(2rem, 6vw, 3rem);      /* simulator result number */
}

/* 2. Reset ================================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--heading);
  line-height: 1.25;
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-lg);
}
h4 {
  font-size: var(--fs-md);
}

p + p {
  margin-top: 1.1em;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  padding: 0;
  list-style: none;
}

sup {
  font-size: 0.55em;
  vertical-align: super;
}

table {
  border-collapse: collapse;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

::selection {
  background: var(--brand);
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

/* 3. Layout =============================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding: 80px 0;
}

.section--tight {
  padding: 56px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--dark {
  background: var(--ink);
  color: #d6d6d6;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #ffffff;
}

/* Sections with a photographic background + readability scrim. */
.section--image {
  position: relative;
  isolation: isolate;
  background-size: cover;
  background-position: center;
  color: #d6d6d6;
}

.section--image h2,
.section--image h3,
.section--image h4 {
  color: #ffffff;
}

.section--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(17, 17, 17, 0.8);
}

.section--image.is-light-scrim::before {
  background: rgba(17, 17, 17, 0.68);
}

.grid {
  display: grid;
  gap: 28px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Wraps to as many equal columns as fit — used where the item count is odd. */
.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Image beside copy. */
.split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
}

/* Grid items default to min-width: auto, which stops an image track from
   shrinking below the image's intrinsic size — that's what was pushing the
   page wider than the viewport once .split collapses to one column. */
.split > * {
  min-width: 0;
}

.split--wide-text {
  grid-template-columns: 7fr 5fr;
}

.split__media img {
  margin-inline: auto;
}

/* Vision/mission callout — image beside the two combined motto lines. */
.split--motto {
  grid-template-columns: 2fr 3fr;
}

.img-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, var(--surface-2), var(--surface-1));
  color: rgba(255, 255, 255, 0.32);
}

.motto-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.motto--lead {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1.45;
  color: #ffffff;
}

.motto {
  font-size: var(--fs-md);
  line-height: 1.75;
}

.stack-lg {
  margin-top: 56px;
}

.stack-md {
  margin-top: 36px;
}

.stack-sm {
  margin-top: 20px;
}

/* 4. Header =============================================================== */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(17, 17, 17, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--nav-height);
}

/* Utility bar — language selection only, right aligned. */
.topbar {
  background: rgba(0, 0, 0, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: var(--topbar-height);
}

.logo img {
  height: 88px;
  width: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  display: block;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--brand);
  text-decoration: none;
}

.nav__link--cta {
  margin-left: 8px;
  background: var(--brand);
  color: var(--ink);
  font-weight: 600;
}

.nav__link--cta:hover {
  background: #ffb733;
  color: var(--ink);
}

/* Language switcher — EN / 中文 / BM. */
.lang-switch {
  display: flex;
  align-items: center;
}

.lang-switch a {
  display: block;
  padding: 4px 14px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.2s;
}

.lang-switch a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.lang-switch a:last-child {
  padding-right: 0;
}

.lang-switch a:hover {
  color: #ffffff;
  text-decoration: none;
}

.lang-switch a[aria-current="page"] {
  color: var(--brand);
}

/* Menu button — pure CSS toggle, no JavaScript. */
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-btn {
  display: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  cursor: pointer;
}

.nav-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle:focus-visible ~ .nav-toggle-btn {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* 5. Heroes =============================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: calc(var(--header-height) + 64px) 0 96px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(17, 17, 17, 0.65),
    rgba(17, 17, 17, 0.4) 45%,
    rgba(17, 17, 17, 0.75)
  );
}

.hero__caption {
  max-width: 640px;
}

.hero__caption--right {
  margin-left: auto;
  text-align: right;
}

.hero__caption--center {
  margin-inline: auto;
  text-align: center;
}

.hero__title {
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero__text {
  margin-top: 18px;
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero__product {
  width: min(300px, 62vw);
  margin-bottom: 32px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
}

.hero__caption--center .hero__product,
.hero__caption--right .hero__product {
  margin-inline: auto;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  translate: -50% 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.hero__scroll:hover {
  background: rgba(255, 255, 255, 0.26);
}

/* --- Home slider: radio inputs drive the slides, no JavaScript --------- */

.slider {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  overflow: hidden;
}

.slider__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.slider__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center;
  padding: calc(var(--header-height) + 64px) 0 110px;
}

/* Scrim sits above the slide photo but below the caption. Positive z-index
   values only — the slide itself does not form a stacking context. */
.slider__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(17, 17, 17, 0.62),
    rgba(17, 17, 17, 0.32) 45%,
    rgba(17, 17, 17, 0.72)
  );
}

.slider__slide > .container {
  position: relative;
  z-index: 2;
}

#slide-1:checked ~ .slider__slides .slider__slide:nth-child(1),
#slide-2:checked ~ .slider__slides .slider__slide:nth-child(2),
#slide-3:checked ~ .slider__slides .slider__slide:nth-child(3) {
  opacity: 1;
  visibility: visible;
}

.slider__slides {
  position: absolute;
  inset: 0;
}

.slider__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.slider__dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider__dot {
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.slider__dot:hover {
  transform: scale(1.15);
}

#slide-1:checked ~ .slider__controls .slider__dot:nth-child(1),
#slide-2:checked ~ .slider__controls .slider__dot:nth-child(2),
#slide-3:checked ~ .slider__controls .slider__dot:nth-child(3) {
  background: var(--brand);
  border-color: var(--brand);
}

/* the cert carousel above reuses .carousel__dots — its active state is set via .is-active by js/animations.js */
.carousel__dots a.is-active::before { background: var(--brand); transform: scale(1.15); }

.slider__input:focus-visible ~ .slider__controls .slider__dots {
  outline: 2px solid var(--brand);
  outline-offset: 6px;
  border-radius: var(--radius-pill);
}

/* 6. Section headings ===================================================== */

.heading {
  max-width: 760px;
}

.heading--center {
  margin-inline: auto;
  text-align: center;
}

.heading__sub {
  margin-top: 14px;
  font-size: var(--fs-md);
  color: var(--muted);
}

.section--dark .heading__sub,
.section--image .heading__sub {
  color: #c2c2c2;
}

.heading__rule {
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 22px;
  border-radius: var(--radius-pill);
  background: var(--brand);
}

.heading--center .heading__rule {
  margin-inline: auto;
}

.accent {
  color: var(--brand-dark); /* AA-safe on light backgrounds (4.59:1); was var(--brand) at 2.02:1 */
}

.section--dark .accent,
.section--image .accent,
.intro-band .accent,
.hero__caption .accent {
  color: var(--brand); /* full-brightness amber reads fine on dark/photo backgrounds (9.18:1) */
}

.lead {
  font-size: var(--fs-md);
}

.emphasis {
  padding: 120px 0;
  text-align: center;
}

.emphasis h2 {
  color: var(--brand);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: var(--fs-h2-lg);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

/* Call-us band. */
.cta-band {
  padding: 64px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: var(--fs-h2-sm);
  line-height: 1.5;
}

.cta-band__number {
  font-size: 150%;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}

.cta-band a {
  color: var(--brand);
}

.cta-band p {
  margin-top: 18px;
}

/* 7. Cards, features and lists =========================================== */

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card__body {
  padding: 24px;
  font-size: var(--fs-base);
  line-height: 1.75;
}

.card__title {
  margin-bottom: 12px;
}

.card__subtitle {
  display: block;
  margin-top: 4px;
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--brand-dark);
}

/* Dark translucent card, used on photo backgrounds. */
.card--glass {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #d6d6d6;
  box-shadow: none;
}

.card--glass:hover {
  border-color: rgba(255, 162, 0, 0.5);
  box-shadow: none;
}

/* Auto-adapt plain .card to glass treatment on dark/photo sections,
   matching the .fact / .pillar / .ing-card convention. */
.section--dark .card,
.section--image .card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.section--dark .card__body p,
.section--image .card__body p {
  color: #c9c9c9;
}

.section--dark .card__subtitle,
.section--image .card__subtitle {
  color: var(--brand);
}

/* Product tiles with the caption laid over the photo. */
.tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-800);
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s;
}

.tile:hover {
  transform: translateY(-4px);
  text-decoration: none;
}

.tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: scale 0.5s;
}

.tile:hover img {
  scale: 1.06;
}

.tile__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0));
}

.tile__caption h3 {
  color: #ffffff;
}

/* Ingredient tiles with the description over the photo. */
.tile--text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 290px;
}

.tile--text img {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: auto;
}

.tile--text .tile__caption {
  position: relative;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.96),
    rgba(17, 17, 17, 0.82) 60%,
    rgba(17, 17, 17, 0.15)
  );
}

.tile__text {
  margin-top: 8px;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: #d0d0d0;
}

/* Icon feature block. */
.feature {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
  align-items: center;
  gap: 16px;
  transition: background-color 0.25s, border-color 0.25s;
}

.feature:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 162, 0, 0.5);
}

.feature--left {
  text-align: left;
  align-items: flex-start;
}

.feature h3 {
  font-size: var(--fs-md);
  font-weight: 500;
}

.feature p {
  font-size: var(--fs-base);
  color: #c9c9c9;
}

.icon-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--brand);
  color: var(--brand);
}

.icon-badge--solid {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--ink);
  font-weight: 600;
}

/* Ingredient card with a framed photo. */
.ingredient {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.ingredient__media {
  padding: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.ingredient__media img {
  width: 100%;
  border-radius: var(--radius-sm);
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.ingredient__body {
  padding: 26px;
}

.ingredient__body p {
  font-size: var(--fs-base);
  color: #d0d0d0;
}

.ingredient__body h3 {
  margin-bottom: 14px;
  font-size: var(--fs-lg);
}

/* Team member. */
.member {
  height: 100%;
  padding: 32px 26px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.member img {
  width: 128px;
  height: 128px;
  margin: 0 auto 22px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 5px var(--brand-border);
}

.member h3 {
  letter-spacing: 0.02em;
}

.member p {
  margin-top: 14px;
  font-size: var(--fs-base);
}

/* Vision / mission quote. */
.statement {
  height: 100%;
  padding: 30px 32px;
  background: var(--bg-soft);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  font-size: var(--fs-md);
  font-weight: 500;
  color: #333333;
}

/* Certificate. */
.certificate {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.certificate img {
  width: 100%;
  margin: 20px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.certificate figcaption {
  font-size: var(--fs-sm);
  color: var(--text);
  margin-top: auto;
}

.badge-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
  font-weight: 600;
}

/* Functions panel. */
.panel {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 44px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.panel__aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 26px;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel__aside p {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel__aside img {
  margin-top: 20px;
  border-radius: var(--radius-sm);
}

/* Lists. */
.list-check {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 32px;
  margin-top: 30px;
}

.list-check li {
  position: relative;
  padding-left: 26px;
  font-size: var(--fs-base);
  line-height: 1.6;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  background: var(--brand);
  clip-path: polygon(42% 0, 58% 0, 58% 42%, 100% 42%, 100% 58%, 58% 58%, 58% 100%, 42% 100%, 42% 58%, 0 58%, 0 42%, 42% 42%);
}

.list-bullet {
  margin-top: 16px;
  padding-left: 20px;
  list-style: disc;
}

.list-bullet li {
  margin-bottom: 8px;
  font-size: var(--fs-base);
  line-height: 1.7;
}

/* "Do you..." lead-in sits against the symptom list on wide screens. The
   descendant selector is needed to outrank `.section--image h2`. */
.do-you {
  text-align: right;
}

.section--image .do-you,
.section--dark .do-you {
  color: var(--brand);
}

.list-symptoms li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: var(--fs-base);
}

.list-symptoms li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

/* Affiliate plan card. */
.plan {
  height: 100%;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.plan img {
  width: 100%;
  border-radius: var(--radius-sm);
}

.plan h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 16px;
  font-size: var(--fs-lg);
}

.plan h4 {
  margin-top: 24px;
  font-size: var(--fs-base);
}

.plan p,
.plan li {
  font-size: var(--fs-base);
  color: #c9c9c9;
}

.plan .highlight {
  font-weight: 600;
  color: var(--brand);
}

.plan-note {
  font-size: var(--fs-xs);
  font-weight: 400;
  color: #c9c9c9;
}

/* 8. Table ================================================================ */

.table-wrap {
  margin-top: 36px;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.table {
  width: 100%;
  min-width: 620px;
  text-align: left;
  font-size: var(--fs-base);
}

.table th,
.table td {
  padding: 15px 20px;
}

.table thead th {
  background: var(--brand);
  color: var(--ink);
  font-size: var(--fs-base);
  font-weight: 700;
}

.table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.05);
}

.table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.1);
}

.table tbody th {
  color: #ffffff;
  font-weight: 600;
}

.table tbody td {
  color: #d6d6d6;
  font-variant-numeric: tabular-nums;
}

/* 9. Testimonials ========================================================= */

.quote {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.quote__mark {
  color: var(--brand);
}

.quote blockquote {
  flex: 1;
  margin: 16px 0 0;
  font-size: var(--fs-base);
  line-height: 1.75;
  color: #d0d0d0;
}

.quote figcaption {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.quote__name {
  display: block;
  font-weight: 600;
  color: #ffffff;
}

.quote__place {
  display: block;
  font-size: var(--fs-sm);
  color: var(--brand);
}

/* 10. Contact form ======================================================== */

.form-card {
  margin-top: 48px;
  padding: 40px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.form-note {
  margin-top: 8px;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.field--wide {
  grid-column: span 2;
}

.field--full {
  grid-column: 1 / -1;
}

.label {
  display: block;
  margin-bottom: 7px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: #333333;
}

.label span {
  color: var(--brand-dark);
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-size: var(--fs-base);
  color: var(--heading);
  background: #ffffff;
  border: 1px solid #d4d4d4;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.textarea {
  min-height: 150px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 162, 0, 0.22);
}

.button {
  display: inline-block;
  padding: 12px 32px;
  font: inherit;
  font-weight: 600;
  color: #ffffff;
  background: var(--ink);
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out),
    box-shadow .25s var(--ease-out), transform .15s var(--ease-out);
  will-change: transform;
}

.button:active {
  transform: scale(.97);
}

.button:hover {
  background: var(--brand);
  color: var(--ink);
  text-decoration: none;
}

/* 11. Payment ============================================================= */

.payment-card {
  padding: 34px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.payment-card img {
  margin: 0 auto;
  max-width: min(340px, 100%);
}

.payment-card dl {
  margin-top: 28px;
}

.payment-card dt {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.payment-card dd {
  margin: 2px 0 18px;
  font-weight: 700;
  color: var(--brand-dark);
}

.payment-card dd.is-large {
  font-size: var(--fs-lg);
  font-variant-numeric: tabular-nums;
}

.payment-note {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--ink-800);
  color: #cfcfcf;
}

.payment-note strong {
  color: #ffffff;
}

.payment-note a {
  color: var(--brand);
}

/* 12. Footer ============================================================== */

.footer {
  background: var(--ink);
  color: #9d9d9d;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 44px;
  padding: 56px 0;
}

.footer h3 {
  margin-bottom: 16px;
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer img {
  height: 40px;
  width: auto;
}

.footer p {
  margin-top: 20px;
  max-width: 440px;
  font-size: var(--fs-base);
}

.footer li {
  margin-bottom: 10px;
  font-size: var(--fs-base);
}

.footer a {
  color: inherit;
}

.footer a:hover {
  color: var(--brand);
  text-decoration: none;
}

.footer__bottom {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: var(--fs-sm);
}

.footer__links {
  margin-top: 8px;
}

.footer__links span {
  padding: 0 6px;
  color: #5a5a5a;
}

.to-top {
  display: inline-block;
  margin-top: 14px;
  font-size: var(--fs-sm);
}

/* 13. One Plus / company blocks =========================================== */

/* Full-bleed designed artwork used as the home hero. The artwork carries its
   own typography, so nothing is overlaid on it. */
.banner-hero {
  position: relative;
  margin-top: calc(var(--header-height) - 24px);
  background: var(--ink);
}

.banner-hero img {
  width: 100%;
  height: auto;
}

.banner-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(20, 17, 16, 0) 0%, var(--ink) 80%);
  pointer-events: none;
  z-index: 1;
}

.banner-hero .btn-row {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  z-index: 2;
  margin-top: 0;
  padding: 0 24px;
}

/* Below 700px the banner zooms into the product and crops the left/right
   overflow via overflow:hidden on the container, instead of showing the
   full image at a smaller size. */
@media (max-width: 700px) {
  .banner-hero::after {
    display: none;
  }

  .banner-hero {
    display: flex;
    flex-direction: column; /* Stacks image wrapper on top, buttons on bottom */
    width: 100%;
    overflow: hidden;
  }

  /* Crops overflowing left/right edges while keeping the product centered */
  .banner-hero img {
    width: 250vw; /* Adjust width percentage to enlarge/zoom center product */
    max-width: none;
    height: auto;
    display: block;
    margin-left: 50%;
    transform: translateX(-50%); /* Keeps large desktop image centered relative to viewport */
  }

  .banner-hero .btn-row {
    position: static;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgb(15, 49, 36);
  }
}

.button--gold {
  background: var(--brand);
  color: var(--ink);
}

.button--gold:hover {
  background: #ffffff;
  color: var(--ink);
}

/* Equal width regardless of label length, at every breakpoint. */
.banner-hero .btn-row .button--gold {
  width: 300px;
  max-width: 90%;
  text-align: center;
}

.intro-band {
  padding: 44px 0 52px;
  text-align: center;
  background: var(--ink);
  color: #cfcfcf;
}

.intro-band h1 {
  color: #fff;
  font-size: var(--fs-h1-sm);
}

.intro-band p {
  max-width: 720px;
  margin: 18px auto 0;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
}

.badge {
  padding: 7px 16px;
  border: 1px solid var(--brand);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--brand);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.button--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.button--ghost:hover {
  background: var(--brand);
  color: var(--ink);
  box-shadow: none;
}

/* Numbered / labelled fact card. */
.fact {
  height: 100%;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.section--dark .fact,
.section--image .fact {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.fact h3 {
  font-size: var(--fs-md);
  margin-bottom: 10px;
}

.fact p {
  font-size: var(--fs-base);
}

.section--dark .fact p,
.section--image .fact p {
  color: #c9c9c9;
}

.fact__label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.section--dark .fact__label,
.section--image .fact__label {
  color: var(--brand);
}

/* Ingredient chip. */
.chip {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.chip h3 {
  font-size: var(--fs-base);
  color: var(--brand);
}

.chip p {
  margin-top: 8px;
  font-size: var(--fs-sm);
  color: #c9c9c9;
}

/* Benefit list with a tick. */
.list-tick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  margin-top: 30px;
}

.list-tick li {
  position: relative;
  padding-left: 30px;
  font-size: var(--fs-base);
  line-height: 1.6;
}

.list-tick li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand);
  clip-path: polygon(14% 46%, 8% 54%, 40% 84%, 92% 30%, 84% 22%, 40% 68%);
  transform: scale(1.6);
  transform-origin: left center;
}

/* Full-width designed artwork inside a section. */
.plate {
  margin-top: 36px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink);
}

.plate img {
  width: 100%;
}

.plate--light {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.plate figcaption {
  padding: 14px 20px;
  font-size: var(--fs-sm);
  color: #bdbdbd;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.plate--light figcaption {
  color: var(--text);
  border-top-color: var(--border);
  background: #fff;
}

/* Disclaimer / note. */
.note {
  margin-top: 32px;
  padding: 18px 22px;
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  background: rgba(255, 162, 0, 0.1);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.section--dark .note,
.section--image .note {
  color: #d6d6d6;
}

/* Company values. */
.value {
  text-align: center;
}

.value h3 {
  margin-top: 14px;
  font-size: var(--fs-base);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.value p {
  margin-top: 6px;
  font-size: var(--fs-base);
}

/* Address / phone list. */
.info-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  font-size: var(--fs-base);
  line-height: 1.7;
}

.info-list .icon-badge {
  width: 38px;
  height: 38px;
}

/* Team member photo cropped out of the shared leadership artwork. */
.member__photo {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  border-radius: 50%;
  background-image: url("../Images/oneplus/team-leadership.jpg");
  background-repeat: no-repeat;
  box-shadow: 0 0 0 5px var(--brand-border);
}

.member__photo--jeffry {
  background-size: 380%;
  background-position: 67% 33%;
}

.member__photo--salamiah {
  background-size: 380%;
  background-position: 86% 14%;
}

.member__role {
  display: block;
  margin-top: 4px;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

/* Video testimonials — the source clips are portrait 9:16. */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 760px;
  margin: 44px auto 0;
}

.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #000;
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
}

.video-card figcaption {
  padding: 14px 18px;
  font-size: var(--fs-sm);
  color: #cfcfcf;
  background: rgba(255, 255, 255, 0.06);
}

/* 14. Responsive ========================================================== */

@media (max-width: 1023px) {
  :root {
    --nav-height: 82px;
    --header-height: 118px;
  }

  .logo img {
    height: 62px;
  }

  .nav-toggle-btn {
    display: block;
  }

  .nav {
    display: none;
    flex-basis: 100%;
    padding-bottom: 12px;
  }

  .nav-toggle:checked ~ .nav {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav__link {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .nav__link--cta {
    margin: 8px 0 0;
    text-align: center;
  }



  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .split--wide-text,
  .split--motto {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split__media img {
    max-width: min(420px, 100%);
  }

  .img-placeholder {
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
  }

  .panel {
    grid-template-columns: 1fr;
  }

  .hero__caption--right {
    text-align: left;
    margin-left: 0;
  }

  .do-you {
    text-align: left;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 60px 0;
  }

  .emphasis {
    padding: 84px 0;
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .form {
    grid-template-columns: repeat(2, 1fr);
  }

  .field--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .list-check,
  .list-tick {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .form-card,
  .panel {
    padding: 26px;
  }

  .slider,
  .hero {
    min-height: 520px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   14. v2 build — ingredient grid · cert carousel · plan tabs · simulator
   ========================================================================== */

.pillars { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.pillar { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border);
  background: #fff; box-shadow: var(--shadow); text-align: center; }
.pillar h3 { margin-top: 14px; font-size: var(--fs-md); }
.pillar p { margin-top: 8px; font-size: var(--fs-sm); }
.section--dark .pillar, .section--image .pillar {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); box-shadow: none; color: #cfcfcf; }

/* --- 4-column ingredient grid ------------------------------------------- */
.ing-grid { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.ing-card { display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); }
.ing-card__head { position: relative; isolation: isolate; min-height: 150px; display: flex;
  align-items: center; justify-content: center; padding: 20px; text-align: center; color: #fff;
  background-color: var(--ing, #4b7f52); background-size: cover; background-position: center; }
.ing-card__head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 10, 10, 0.4); }
.ing-card__head h3 { color: #fff; font-size: var(--fs-md); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); }
.ing-card__body { flex: 1; padding: 20px; }
.ing-card__body li { position: relative; padding-left: 22px; margin-bottom: 9px; font-size: var(--fs-sm); line-height: 1.55; }
.ing-card__body li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px;
  border-radius: 50%; background: var(--ing, #4b7f52); }
.ing-cabbage { --ing: #4b7f52; }
.ing-lettuce { --ing: #5a8134; } /* was #6c9a3f, 3.32:1 with white text — now 4.54:1 */
.ing-sprout  { --ing: #9d6c2b; } /* was #a9752f, 3.98:1 with white text — now 4.55:1 */
.ing-garlic  { --ing: #6f5091; }

.ing-cabbage .ing-card__head { background-image: url('../Images/ingredients/cabbage.svg'); }
.ing-lettuce .ing-card__head { background-image: url('../Images/ingredients/lettuce.svg'); }
.ing-sprout  .ing-card__head { background-image: url('../Images/ingredients/sprout.svg'); }
.ing-garlic  .ing-card__head { background-image: url('../Images/ingredients/garlic.svg'); }

/* --- certificate carousel (CSS scroll-snap, swipeable) ------------------- */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 10px; scrollbar-width: thin; }
.carousel--compact .carousel__track { grid-auto-columns: minmax(230px, 1fr); scroll-snap-type: x proximity; }
.carousel__slide { scroll-snap-align: center; }
.cert { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 26px; align-items: center;
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); }
.cert img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.cert dl { margin-top: 14px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: var(--fs-sm); }
.cert dt { color: var(--muted); }
.cert dd { margin: 0; font-weight: 600; color: var(--heading); }
.cert__status { display: inline-block; margin-top: 14px; padding: 5px 13px; border-radius: var(--radius-pill);
  font-size: var(--fs-xs); font-weight: 700; background: #e7f4ea; color: #2c6b39; }
.cert__status--renew { background: #fdf0dc; color: #8a5a12; }
.carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.carousel__dots a { position: relative; width: 24px; height: 24px; padding: 0; background: none; }
.carousel__dots a::before { content: ""; position: absolute; inset: 0; margin: auto; width: 11px; height: 11px;
  border-radius: 50%; background: #d2d2d2; transition: background-color .2s var(--ease-out), transform .2s var(--ease-out); }
.carousel__dots a:hover::before { transform: scale(1.2); }
.carousel__dots a:hover { background: var(--brand); }
.cert-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cert-strip figure { padding: 14px; border-radius: var(--radius-sm); background: #fff;
  border: 1px solid var(--border); text-align: center; font-size: var(--fs-xs); }
.cert-strip img { width: 100%; border-radius: 6px; margin-bottom: 8px; }

/* --- plan tabs (CSS :target, hash-addressable) --------------------------- */
.tabs__list { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px; }
.tabs__tab { flex: none; padding: 10px 18px; border-radius: var(--radius-pill); font-size: var(--fs-sm);
  font-weight: 600; background: rgba(255,255,255,.08); color: rgba(255,255,255,.78); white-space: nowrap; }
.tabs__tab:hover { background: rgba(255,255,255,.16); color: #fff; text-decoration: none; }
.tabs__panel { display: none; }
.tabs__panel:target { display: block; }
.tabs:not(:has(.tabs__panel:target)) .tabs__panel--default { display: block; }
.tabs__panel:target ~ .tabs__panel { display: none; }
.tabs__panel h3 { margin-bottom: 14px; }

/* --- FAQ ----------------------------------------------------------------- */
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; margin-bottom: 12px; }
.faq summary { padding: 16px 20px; font-weight: 600; color: var(--heading); cursor: pointer; }
.faq summary::marker { color: var(--brand); }
.faq div { padding: 0 20px 18px; font-size: var(--fs-base); }

/* --- income simulator ---------------------------------------------------- */
.sim { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.sim__panel { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border);
  background: #fff; box-shadow: var(--shadow); }
.sim__field { margin-bottom: 20px; }
.sim__field > label, .sim__legend { display: block; margin-bottom: 8px; font-size: var(--fs-sm);
  font-weight: 600; color: var(--heading); }
.sim__radios { display: flex; flex-wrap: wrap; gap: 8px; }
.sim__radios label { padding: 7px 14px; border-radius: var(--radius-pill); border: 1px solid var(--border);
  font-size: var(--fs-sm); cursor: pointer; }
.sim__radios input { position: absolute; opacity: 0; pointer-events: none; }
.sim__radios input:checked + span { color: var(--ink); }
.sim__radios label:has(input:checked) { background: var(--brand); border-color: var(--brand); font-weight: 700; }
.sim__field input[type=range] { width: 100%; accent-color: var(--brand); }
.sim__val { float: right; font-variant-numeric: tabular-nums; color: var(--brand-dark); font-weight: 700; }
.sim__out { text-align: center; padding: 22px; border-radius: var(--radius); background: var(--brand-soft);
  border: 1px solid var(--brand-border); }
.sim__big { font-size: var(--fs-display); font-weight: 700; color: var(--brand-dark);
  font-variant-numeric: tabular-nums; line-height: 1.1; }
.sim__rows { margin-top: 18px; font-size: var(--fs-base); }
.sim__rows div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.sim__rows b { font-variant-numeric: tabular-nums; }
.sim__chart { display: flex; align-items: flex-end; gap: 5px; height: 130px; margin-top: 20px; }
.sim__chart span { flex: 1; background: var(--brand); border-radius: 3px 3px 0 0; min-height: 2px; }
.sim__warn { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: #fdf0dc; color: #8a5a12; font-size: var(--fs-sm); font-weight: 600; }
.sim__warn[hidden] { display: none; }
.disclaimer { margin-bottom: 22px; padding: 16px 20px; border-radius: var(--radius-sm);
  border-left: 4px solid var(--brand); background: var(--brand-soft); font-size: var(--fs-sm); color: #6b4a12; }
.gate { max-width: 620px; margin-inline: auto; }
.gate__note { margin-top: 16px; font-size: var(--fs-sm); color: var(--muted); }

@media (max-width: 1023px) {
  .pillars, .ing-grid { grid-template-columns: repeat(2, 1fr); }
  .cert { grid-template-columns: 1fr; }
  .cert-strip { grid-template-columns: repeat(3, 1fr); }
  .sim { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .pillars, .ing-grid, .cert-strip { grid-template-columns: 1fr; }
}

/* ==========================================================================
   16. Redesign pass — hero glow, stat band, header scroll state, reveal
   system, magnetic buttons. Visual language borrowed from a dark SaaS
   landing template (badge → gradient headline → glow → stat band), rebuilt
   here in plain CSS + vanilla JS (see js/animations.js) with the site's own
   amber brand instead of the reference's blue, and using the existing
   .badge/.button/.pillar/.card components rather than new one-off styles
   wherever those already fit.
   ========================================================================== */

/* --- Google Fonts (Outfit for display, Rubik for body) are loaded via
   <link> in <head>, not @import here, to avoid the extra serial round-trip
   @import causes. This file only ever references them through the
   --font / --font-heading tokens set in :root. */

/* --- eyebrow badge (hero, above the H1) --------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 12px;
  border: 1px solid rgba(255, 162, 0, 0.35);
  border-radius: var(--radius-pill);
  background: rgba(255, 162, 0, 0.08);
  color: var(--brand);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 162, 0, 0.25);
}

.js .eyebrow__dot {
  animation: pulse-dot 2.4s var(--ease-out) infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 162, 0, 0.25); }
  50%      { box-shadow: 0 0 0 6px rgba(255, 162, 0, 0.08); }
}

/* --- hero spotlight glow -------------------------------------------------- */
/* An absolutely-positioned radial gradient sitting behind hero content.
   Pure decoration — aria-hidden in the markup, no semantic weight. */
.hero-glow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-glow::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 50% 30%, var(--glow-amber), transparent 70%),
    radial-gradient(40% 40% at 50% 15%, var(--glow-amber-soft), transparent 70%);
  pointer-events: none;
}

/* --- gradient headline text ---------------------------------------------- */
.gradient-text {
  background: linear-gradient(180deg, #ffffff 0%, #ffd9a3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- stat band ------------------------------------------------------------ */
/* Every figure here is drawn from the site's own real, verifiable content
   (certificate count, ingredient count, languages shipped, package tiers) —
   never invented traffic/usage numbers, unlike the reference template's
   placeholder "50K+ users" metrics, which have no truthful equivalent for
   this business. */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  padding: var(--sp-6) 0;
}

.stat {
  text-align: center;
}

.stat__num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat__label {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-sm);
  color: #a8a29a;
}

/* --- header: compact + more opaque once the page has scrolled ------------ */
/* .header--scrolled is toggled by js/animations.js; both states are valid
   CSS on their own, so a visitor without JS simply keeps the original
   (already-fine) header the whole time. */
.header {
  transition: background-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.header--scrolled {
  background: rgba(20, 17, 16, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 24px -12px rgba(0, 0, 0, 0.5);
}

/* --- active section indicator on the primary nav -------------------------- */
.nav__link {
  position: relative;
}

.nav__link.is-active {
  color: var(--brand);
}

/* --- component hover physics, unified under --ease-out -------------------- */
.pillar, .ing-card, .quote, .fact, .value, .member {
  transition: transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
}

.pillar:hover, .ing-card:hover {
  transform: translateY(-4px);
}

.section--dark .pillar:hover, .section--image .pillar:hover,
.ing-card:hover {
  border-color: rgba(255, 162, 0, 0.35);
}

.quote {
  transition: transform var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
}

.quote:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 162, 0, 0.3);
}

/* --- magnetic buttons ------------------------------------------------------ */
/* js/animations.js writes --mx/--my (a small px offset) on mousemove and
   clears them on mouseleave; this transition is what makes the return-to-rest
   feel springy rather than snapping back instantly. No JS = the custom
   properties are simply unset and the button never moves on hover, which is
   still a complete, correct button. */
.button {
  --mx: 0px;
  --my: 0px;
  transform: translate3d(var(--mx), var(--my), 0);
}

.button:active {
  transform: translate3d(var(--mx), var(--my), 0) scale(0.97);
}

/* --- scroll reveal, applied entirely from JS ------------------------------ */
/* js/animations.js adds [data-reveal] + a stagger delay to known repeating
   items (cards, stats, testimonials) at runtime, then adds .is-visible when
   each one scrolls into view. Because the attribute only ever appears via
   JS, a no-JS visitor never has anything hidden — there is no static
   "hidden by default" state anywhere in the HTML itself. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1023px) {
  .stat-band {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
  }
}

@media (max-width: 620px) {
  .stat-band {
    grid-template-columns: 1fr 1fr;
  }
  .stat__num {
    font-size: 1.9rem;
  }
}

/* --- floating WhatsApp button --------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

@media (max-width: 700px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
}

/* 15. Motion enhancements ================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--brand);
  z-index: 300;
  pointer-events: none;
}

@keyframes rulePulse {
  0%   { width: 64px;  box-shadow: 0 0 0 0 rgba(255, 162, 0, 0); }
  45%  { width: 104px; box-shadow: 0 0 18px 2px var(--glow-amber); }
  100% { width: 64px;  box-shadow: 0 0 0 0 rgba(255, 162, 0, 0); }
}

.heading__rule.is-pulsing {
  animation: rulePulse 0.8s var(--ease-out);
}
