/* ============================================================
   freshwellnesstoday.com — "Minimal Airy" · Off-white / Graphite / Mint
   Fonts: Lexend (display) + Inter (body)
   Variant: horizontal numbered-dotted timeline · light footer
   ============================================================ */

:root {
  --bg: #FAFAF7;
  --bg-2: #F0F3EF;
  --card: #FFFFFF;
  --ink: #1F201D;
  --muted: #686D66;
  --accent: #9CC5B0;
  --accent-deep: #5F9781;
  --line: rgba(31, 32, 29, 0.12);
  --line-strong: rgba(31, 32, 29, 0.26);
  --font-display: 'Lexend', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

::selection { background: rgba(156, 197, 176, 0.45); }

:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 18px;
  border-radius: 999px; font-size: 0.85rem; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink);
  color: #DCE7E0;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 9px 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 66px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 300; font-size: 1.1rem; letter-spacing: 0;
  text-decoration: none; white-space: nowrap;
}
.logo-dot { color: var(--accent-deep); font-weight: 600; }
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: var(--muted); transition: color 0.2s;
}
.main-nav a:hover { color: var(--accent-deep); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative; display: inline-flex; padding: 9px;
  background: none; border: 1px solid transparent; border-radius: 50%;
  color: var(--ink); cursor: pointer; transition: border-color 0.2s;
}
.cart-btn:hover { border-color: var(--line-strong); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -3px; right: -5px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--accent-deep); color: #FFFFFF;
  border-radius: 999px; font-size: 0.62rem; font-weight: 600;
  display: grid; place-items: center;
}
.nav-toggle {
  display: none; padding: 8px; border-radius: 10px;
  background: none; border: 1px solid var(--line-strong);
  color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; display: block; }
.mobile-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 6px 0 16px; box-shadow: 0 18px 30px rgba(31, 32, 29, 0.07);
}
.mobile-nav.open { display: grid; }
.mobile-nav a {
  padding: 13px 28px; text-decoration: none;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.mobile-nav a:hover { background: var(--bg-2); }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 400; color: var(--accent-deep); margin-bottom: 18px;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 300; line-height: 1.1; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -0.015em; }

.sec-head { text-align: center; max-width: 62ch; margin: 0 auto 56px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 10px; padding: 15px 30px;
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 400; letter-spacing: 0.03em;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: var(--accent-deep); color: #FFFFFF; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--accent-deep); color: var(--accent-deep); background: rgba(156, 197, 176, 0.12); }
.btn-outline.added { border-color: var(--accent-deep); color: var(--accent-deep); background: rgba(156, 197, 176, 0.2); }

.text-link {
  font-size: 0.92rem; font-weight: 500; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.text-link:hover { color: var(--accent-deep); border-color: var(--accent-deep); }
.text-link span { display: inline-block; transition: transform 0.2s; }
.text-link:hover span { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: clamp(76px, 10vw, 128px) 0 clamp(64px, 8vw, 100px);
  background:
    radial-gradient(56% 88% at 50% -12%, rgba(156, 197, 176, 0.22), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: clamp(2.8rem, 6.4vw, 4.9rem);
  letter-spacing: -0.02em; line-height: 1.06;
  max-width: 16ch; margin: 0 auto;
}
.hero .sub {
  color: var(--muted); font-size: 1.08rem;
  max-width: 56ch; margin: 24px auto 36px;
}
.hero-cta { display: flex; justify-content: center; align-items: center; gap: 26px; flex-wrap: wrap; }
.trust {
  margin-top: 30px; font-size: 0.74rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}

/* ---------- Products ---------- */
.products { padding: clamp(80px, 9vw, 108px) 0 30px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 20px 24px; display: flex; flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(156, 197, 176, 0.75);
  box-shadow: 0 24px 48px rgba(31, 32, 29, 0.07);
}
.card figure {
  aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px;
  background: var(--bg-2); margin-bottom: 22px;
}
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover img { transform: scale(1.04); }
.card h3 { font-size: 1.3rem; font-weight: 400; }
.card .one { color: var(--muted); font-size: 0.93rem; margin: 8px 0 14px; }
.stars { display: flex; align-items: center; gap: 3px; margin-bottom: 16px; }
.stars svg { width: 14px; height: 14px; fill: var(--accent-deep); }
.stars svg.star-half { opacity: 0.35; }
.stars .rating { margin-left: 8px; font-size: 0.8rem; color: var(--muted); }
.buy-row {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding-top: 18px; border-top: 1px solid var(--line);
}
.price { font-size: 1.15rem; font-weight: 500; }
.buy-row .btn { padding: 11px 22px; font-size: 0.84rem; }

/* ---------- Categories ---------- */
.categories { padding: clamp(70px, 8vw, 96px) 0 40px; }
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tile {
  display: flex; flex-direction: column; gap: 16px;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 32px 26px; text-decoration: none; background: var(--card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.tile svg { width: 36px; height: 36px; color: var(--accent-deep); transition: color 0.25s; }
.tile span { font-family: var(--font-display); font-size: 0.94rem; font-weight: 400; }
.tile:hover { transform: translateY(-3px); border-color: var(--accent); }
.tile:hover svg { color: var(--ink); }

/* ---------- Wide banner ---------- */
.banner-sec { padding: 40px 0; }
.banner {
  position: relative; border-radius: 14px; overflow: hidden;
  aspect-ratio: 16 / 6.2; border: 1px solid var(--line);
}
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner figcaption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start; justify-content: center;
  padding: 0 clamp(28px, 6vw, 72px);
  color: #FFFFFF; text-align: left;
  background: linear-gradient(90deg, rgba(24, 26, 23, 0.62) 0%, rgba(24, 26, 23, 0.12) 60%, transparent 100%);
}
.cap-eyebrow { font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: #BCDFCD; }
.cap-line { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 300; }
.banner figcaption a {
  margin-top: 10px; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #FFFFFF; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.55); padding-bottom: 3px;
}
.banner figcaption a:hover { border-color: #FFFFFF; }

/* ---------- Editorial ---------- */
.editorial { padding: clamp(70px, 8vw, 100px) 0; }
.editorial-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.editorial-grid figure {
  border-radius: 12px; overflow: hidden; aspect-ratio: 5 / 4.6;
  border: 1px solid var(--line); background: var(--bg-2);
}
.editorial-grid img { width: 100%; height: 100%; object-fit: cover; }
.editorial-copy h2 { margin-bottom: 18px; }
.editorial-copy p { color: var(--muted); max-width: 52ch; margin-bottom: 26px; }

/* ---------- How-to: horizontal numbered-dotted timeline ---------- */
.howto {
  padding: clamp(70px, 8vw, 100px) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.steps-h { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.steps-h li { position: relative; padding-top: 46px; }
.steps-h .step-num {
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #DCEDE3;
  font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.04em;
}
.steps-h li:not(:last-child)::after {
  content: ''; position: absolute; top: 14px; left: 42px; right: -30px;
  border-top: 2px dotted rgba(95, 151, 129, 0.5);
}
.steps-h h3 { font-size: 1.4rem; font-weight: 400; margin-bottom: 10px; }
.steps-h p { color: var(--muted); font-size: 0.96rem; max-width: 34ch; }

/* ---------- Reviews ---------- */
.reviews { padding: clamp(70px, 8vw, 100px) 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.review { padding: 8px 36px; border-left: 1px solid var(--line); }
.review:first-child { border-left: 0; padding-left: 0; }
.review:last-child { padding-right: 0; }
.quote { font-size: 1.1rem; line-height: 1.62; margin-bottom: 20px; }
.who { font-family: var(--font-display); font-size: 0.9rem; font-weight: 500; }
.tag { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 clamp(80px, 9vw, 110px); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 22px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 22px 4px; color: var(--ink);
  font-family: var(--font-display); font-size: 1.04rem; font-weight: 400;
}
.faq-q:hover { color: var(--accent-deep); }
.f-i { position: relative; width: 16px; height: 16px; flex: none; }
.f-i::before, .f-i::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  background: var(--accent-deep); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.f-i::before { width: 16px; height: 1.6px; transform: translate(-50%, -50%); }
.f-i::after { width: 1.6px; height: 16px; transform: translate(-50%, -50%); }
.faq-item.open .f-i::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 40px 24px 4px; color: var(--muted); max-width: 62ch; }

/* ---------- Newsletter ---------- */
.newsletter { border-top: 1px solid var(--line); padding: clamp(70px, 8vw, 100px) 0; }
.news-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 80px); align-items: center;
}
.news-copy h2 { margin-bottom: 14px; }
.news-copy > p { color: var(--muted); max-width: 46ch; margin-bottom: 30px; }
.news-form { display: flex; gap: 12px; max-width: 480px; }
.news-form input {
  flex: 1; min-width: 0; padding: 14px 20px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--card); font-family: var(--font-body); font-size: 0.94rem; color: var(--ink);
}
.news-form input::placeholder { color: var(--muted); }
.news-form input:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(156, 197, 176, 0.3); }
.form-success { color: var(--accent-deep); font-weight: 600; font-size: 1rem; }
.news-img { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); background: var(--bg-2); }
.news-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; padding: 42px 0;
}
.foot-brand { display: flex; flex-direction: column; gap: 10px; }
.foot-blurb { color: var(--muted); font-size: 0.92rem; max-width: 36ch; }
.foot-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line-strong); border-radius: 8px;
  padding: 9px 20px; font-size: 0.84rem; font-weight: 500;
  text-decoration: none; transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--accent-deep); background: var(--accent); color: #1F201D; }
.foot-bottom {
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; padding: 20px 0 28px;
  font-size: 0.8rem; color: var(--muted);
}
.pay { display: flex; gap: 8px; }
.pay span {
  border: 1px solid var(--line-strong); border-radius: 6px;
  padding: 4px 9px; font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.policies { display: flex; gap: 20px; }
.policies a { text-decoration: none; color: var(--muted); }
.policies a:hover { color: var(--ink); }
.copyright { letter-spacing: 0.03em; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 90;
  transform: translate(-50%, 14px); opacity: 0;
  background: var(--ink); color: var(--bg);
  padding: 13px 26px; border-radius: 10px;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.03em;
  box-shadow: 0 14px 34px rgba(31, 32, 29, 0.22);
  pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-grid figure { order: -1; aspect-ratio: 16 / 10; }
  .steps-h { grid-template-columns: 1fr; gap: 40px; max-width: 560px; margin: 0 auto; }
  .steps-h li:not(:last-child)::after {
    top: 44px; left: 14px; right: auto; bottom: -32px;
    border-top: 0; border-left: 2px dotted rgba(95, 151, 129, 0.5);
  }
  .reviews-grid { grid-template-columns: 1fr; gap: 34px; max-width: 560px; margin: 0 auto; }
  .review { border-left: 0; padding: 0; }
  .news-grid { grid-template-columns: 1fr; }
  .news-img { order: -1; }
  .banner { aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .product-grid { grid-template-columns: 1fr; }
  .card { padding: 16px 16px 20px; }
  .hero-cta { flex-direction: column; gap: 16px; }
  .news-form { flex-direction: column; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .banner figcaption { padding: 0 22px; }
  .faq-a p { padding-right: 8px; }
}
