/* ==========================================================================
   Artivorin — tryartivorin.com
   "Botanical Apothecary" theme — warm cream · botanical green · honey amber
   Serif display (Fraunces) + clean sans (DM Sans)
   Shared stylesheet · no build step
   ========================================================================== */

:root {
  /* ---- Palette ---- */
  --cream: #fbf6ec;
  --cream-deep: #f4ead9;
  --paper: #ffffff;
  --green: #1f4a37;
  --green-700: #2c5e47;
  --green-500: #3a7a5b;
  --green-900: #143226;
  --sage: #e8efe6;
  --sage-deep: #d6e3d4;
  --amber: #d98a2b;
  --amber-deep: #b16e17;
  --amber-soft: #f6e7cf;
  --clay: #bd5b34;
  --ink: #28281f;
  --ink-soft: #555047;
  --muted: #8c8576;
  --line: #e7ddc9;
  --line-soft: #efe7d6;
  --ok: #2f8f5b;

  --radius: 18px;
  --radius-sm: 11px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(31, 74, 55, .05), 0 10px 26px rgba(31, 74, 55, .07);
  --shadow-md: 0 18px 44px rgba(20, 50, 38, .13);
  --shadow-lg: 0 34px 80px rgba(20, 50, 38, .20);
  --maxw: 1160px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream);
  line-height: 1.68; font-size: 17px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--serif); color: var(--ink); margin: 0 0 .5em;
  font-weight: 600; line-height: 1.12; letter-spacing: -.01em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 560; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.32rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 86px 0; }
.bg-cream { background: var(--cream); }
.bg-deepcream { background: var(--cream-deep); }
.bg-sage { background: var(--sage); }
.bg-green { background: var(--green); color: #dce7df; }
.bg-green h2, .bg-green h3, .bg-green h4 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.22rem; color: var(--ink-soft); max-width: 720px; line-height: 1.6; }
.center .lead { margin-left: auto; margin-right: auto; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .22em;
  font-size: .72rem; font-weight: 700; color: var(--amber-deep); margin-bottom: 1.1rem;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--amber); display: inline-block; }
.bg-green .kicker { color: var(--amber); }
.center .kicker { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; padding: 14px 28px;
  border-radius: var(--radius-sm); font-family: var(--sans); font-weight: 700;
  font-size: 1rem; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease; line-height: 1;
}
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 22px rgba(20, 50, 38, .22); }
.btn-green:hover { color: #fff; text-decoration: none; transform: translateY(-2px); background: var(--green-700); }
.btn-amber { background: var(--amber); color: #3a2607; box-shadow: 0 10px 22px rgba(217, 138, 43, .30); }
.btn-amber:hover { color: #3a2607; text-decoration: none; transform: translateY(-2px); background: #e7972f; }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; text-decoration: none; }
.btn-paper { background: #fff; color: var(--green); }
.btn-paper:hover { color: var(--green-900); text-decoration: none; transform: translateY(-2px); }
.btn-lg { padding: 17px 36px; font-size: 1.07rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- Top ribbon + Header ---------- */
.ribbon {
  background: var(--green-900); color: #cfe0d4; text-align: center;
  font-size: .85rem; padding: 9px 16px; font-weight: 500; letter-spacing: .01em;
}
.ribbon strong { color: var(--amber); font-weight: 700; }

.site-head { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 236, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--green); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; display: grid; place-items: center; }
.brand-mark svg { width: 38px; height: 38px; }
.brand .reg { font-size: .5em; vertical-align: super; color: var(--amber-deep); font-family: var(--sans); font-weight: 700; }
.nav-menu { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: var(--ink-soft); font-weight: 500; font-size: .96rem; position: relative; padding: 4px 0; }
.nav-menu a:hover { color: var(--green); text-decoration: none; }
.nav-menu a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--amber); transition: width .2s ease; }
.nav-menu a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--green); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--cream); padding: 72px 0 84px; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -160px; top: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(217,138,43,.16), transparent 62%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: .3em; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero .lead { margin-bottom: 1.8rem; }
.hero-rating { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--ink-soft); margin-top: 1.7rem; }
.stars { color: var(--amber); letter-spacing: 2px; }
.eyebrow-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 1.4rem; }
.tag { display: inline-flex; align-items: center; gap: 7px; background: var(--sage); border: 1px solid var(--sage-deep); border-radius: 999px; padding: 6px 14px; font-size: .8rem; font-weight: 600; color: var(--green-700); }
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }

.hero-art { position: relative; display: grid; place-items: center; }
.hero-disc { position: relative; width: min(420px, 88%); aspect-ratio: 1; border-radius: 50%; background: linear-gradient(165deg, var(--sage) 0%, var(--cream-deep) 100%); display: grid; place-items: center; box-shadow: inset 0 0 0 12px rgba(255,255,255,.5), var(--shadow-md); }
.hero-disc::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1.5px dashed var(--sage-deep); }
.hero-disc img { width: 78%; filter: drop-shadow(0 26px 36px rgba(20,50,38,.28)); }
.hero-chip { position: absolute; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 11px 15px; box-shadow: var(--shadow-md); font-size: .82rem; font-weight: 600; color: var(--green); display: flex; align-items: center; gap: 9px; }
.hero-chip small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.hero-chip .ic { font-size: 1.25rem; }
.hero-chip--1 { top: 6%; left: -3%; }
.hero-chip--2 { bottom: 8%; right: -2%; }

/* ---------- Marquee value strip ---------- */
.value-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.value-strip .v { padding: 26px 22px; text-align: center; border-right: 1px solid var(--line-soft); }
.value-strip .v:last-child { border-right: 0; }
.value-strip .v .ic { font-size: 1.7rem; margin-bottom: 8px; }
.value-strip .v strong { display: block; font-size: .98rem; color: var(--ink); }
.value-strip .v span { font-size: .82rem; color: var(--muted); }

/* ---------- Generic grids / feature cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature h3 { margin-top: 0; }
.feature .badge-ico { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--amber); color: var(--amber-deep); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px; background: var(--amber-soft); }
.feature .num { font-family: var(--serif); font-size: 1.6rem; color: var(--amber); display: block; margin-bottom: 6px; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.frame { position: relative; background: var(--sage); border-radius: var(--radius-lg); padding: 38px; display: grid; place-items: center; }
.frame::before { content: ""; position: absolute; inset: 14px; border: 1.5px solid rgba(255,255,255,.6); border-radius: calc(var(--radius-lg) - 12px); pointer-events: none; }
.frame img { max-width: 320px; filter: drop-shadow(0 22px 30px rgba(20,50,38,.22)); }

.bullet-list { list-style: none; padding: 0; margin: 16px 0 0; }
.bullet-list li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 9px 0; align-items: start; }
.bullet-list .lf { color: var(--amber); font-size: 1.05rem; line-height: 1.4; }
.bg-green .bullet-list .lf { color: var(--amber); }
.bg-green .bullet-list li span:last-child { color: #cfe0d4; }

/* ---------- Ingredient list ---------- */
.ing-list { display: grid; gap: 0; }
.ing { display: grid; grid-template-columns: 70px 1fr; gap: 22px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.ing:last-child { border-bottom: 0; }
.ing .orb { width: 70px; height: 70px; border-radius: 50%; background: var(--sage); border: 1px solid var(--sage-deep); color: var(--green); display: grid; place-items: center; font-size: 1.9rem; }
.ing h3 { margin: 0 0 .25rem; }
.ing .tag-line { font-size: .74rem; color: var(--amber-deep); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; display: block; margin-bottom: .35rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stats .n { font-family: var(--serif); font-size: clamp(2.1rem, 4.2vw, 3rem); font-weight: 600; color: var(--amber); line-height: 1; }
.stats .l { font-size: .86rem; color: #b9ccbe; text-transform: uppercase; letter-spacing: .1em; margin-top: 8px; }

/* ---------- Reviews ---------- */
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); position: relative; }
.quote::before { content: "\201C"; position: absolute; top: 6px; right: 22px; font-family: var(--serif); font-size: 4.2rem; color: var(--sage-deep); line-height: 1; }
.quote .stars { font-size: 1rem; }
.quote p { font-size: 1.02rem; color: var(--ink-soft); margin: 12px 0 0; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote .av { width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--serif); }
.quote .name { font-weight: 700; font-size: .96rem; }
.quote .meta { font-size: .8rem; color: var(--muted); }
.verified { color: var(--ok); font-weight: 700; font-size: .76rem; }

/* ---------- Pricing ---------- */
.price-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative; }
.price-card.featured { border: 2px solid var(--amber); box-shadow: var(--shadow-lg); }
.price-card .cap { background: var(--green); color: #fff; padding: 22px 22px 20px; text-align: center; }
.price-card.featured .cap { background: var(--amber); color: #3a2607; }
.price-card .cap .tier { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; }
.price-card .cap .qty { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; margin-top: 4px; }
.price-card .cap .supply { font-size: .85rem; opacity: .9; }
.price-card .body { padding: 28px 24px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.price-card .shot { height: 122px; object-fit: contain; margin: 0 auto 14px; }
.price-card .per { font-family: var(--serif); font-size: 2.9rem; font-weight: 600; color: var(--green); line-height: 1; }
.price-card .per .cur { font-size: 1.3rem; vertical-align: super; }
.price-card .per small { font-family: var(--sans); font-size: .82rem; font-weight: 600; color: var(--muted); }
.price-card .save { display: inline-block; background: var(--amber-soft); color: var(--amber-deep); font-weight: 700; font-size: .82rem; padding: 6px 16px; border-radius: 999px; margin: 14px 0; }
.price-card .promise { font-size: .8rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.price-card .btn { width: 100%; justify-content: center; flex-direction: column; gap: 3px; padding: 13px; }
.price-card .btn small { font-weight: 500; font-size: .76rem; opacity: .9; }
.price-card .pay { display: flex; justify-content: center; gap: 6px; margin: 16px 0; flex-wrap: wrap; }
.price-card .pay span { font-size: .6rem; font-weight: 700; background: var(--cream); border: 1px solid var(--line); color: var(--ink-soft); border-radius: 4px; padding: 3px 6px; letter-spacing: .03em; }
.price-card .total { font-family: var(--serif); font-weight: 600; color: var(--green); font-size: 1.08rem; margin-top: auto; }
.price-card .total s { color: var(--muted); font-weight: 400; font-family: var(--sans); }
.price-card .ship { font-size: .8rem; font-weight: 700; color: var(--amber-deep); margin-top: 6px; }
.price-card .ship-free { background: var(--green); color: #fff; border-radius: 6px; padding: 5px; display: block; }

/* ---------- Steps (how it works) ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px 26px 84px; position: relative; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 26px; top: 24px; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--serif); font-weight: 600; display: grid; place-items: center; font-size: 1.15rem; }
.step h3 { margin: 0 0 .3rem; }

/* ---------- Table ---------- */
.table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line-soft); font-size: .95rem; }
.table th { background: var(--sage); color: var(--green); font-weight: 700; width: 42%; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 24px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--serif); font-weight: 600; font-size: 1.08rem; padding: 18px 0; list-style: none; position: relative; padding-right: 34px; color: var(--green); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 14px; font-size: 1.5rem; color: var(--amber-deep); font-family: var(--sans); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 18px; margin: 0; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--green); color: #dce7df; border-radius: var(--radius-lg); padding: 62px 46px; text-align: center; }
.cta::before { content: ""; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(217,138,43,.30), transparent 64%); }
.cta::after { content: ""; position: absolute; left: -70px; bottom: -100px; width: 280px; height: 280px; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.18); }
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta p { color: #c4d6c9; max-width: 600px; margin: 0 auto 1.7rem; }

/* ---------- Knowledge / prose blocks ---------- */
.knowledge { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 42px; box-shadow: var(--shadow-sm); }
.knowledge h3 { color: var(--green); margin-top: 1.5em; }
.knowledge h3:first-child { margin-top: 0; }
.knowledge p { color: var(--ink-soft); }

/* ---------- Inner page hero ---------- */
.page-head { background: var(--green); color: #cdded3; padding: 70px 0 56px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -120px; top: -80px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(217,138,43,.22), transparent 62%); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; }
.page-head .lead { color: #c4d6c9; }
.page-head .crumb { font-size: .82rem; color: #9fb8a8; margin-bottom: 14px; }
.page-head .crumb a { color: #9fb8a8; }
.page-head .kicker { color: var(--amber); }

/* ---------- Prose (legal/content) ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { margin-top: 1.9em; color: var(--green); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose .updated { color: var(--muted); font-size: .9rem; }

/* ---------- Note / disclaimer ---------- */
.note { background: var(--sage); border: 1px solid var(--sage-deep); border-radius: var(--radius-sm); padding: 18px 22px; font-size: .86rem; color: var(--green-700); }

/* ---------- Footer ---------- */
.site-foot { background: var(--green-900); color: #9bb3a4; padding: 64px 0 30px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 38px; margin-bottom: 44px; }
.site-foot h4 { color: #fff; font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-foot a { color: #9bb3a4; display: block; margin-bottom: 9px; }
.site-foot a:hover { color: var(--amber); text-decoration: none; }
.site-foot .brand { color: #fff; margin-bottom: 14px; }
.foot-contact p { margin: 0 0 6px; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; font-size: .8rem; color: #7e9789; line-height: 1.6; }
.foot-legal p { margin: 0 0 10px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 16px; color: #7e9789; }

/* ---------- Reveal on scroll (only when JS active) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; }
  .stats, .value-strip { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .price-row { grid-template-columns: 1fr; }
  .price-card.featured { order: -1; }
  .value-strip .v:nth-child(2) { border-right: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 76px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 20px 24px; gap: 16px; box-shadow: var(--shadow-md); }
}
@media (max-width: 540px) {
  .grid-2, .stats, .value-strip, .foot-grid { grid-template-columns: 1fr; }
  .value-strip .v { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .section { padding: 60px 0; }
  .ing { grid-template-columns: 1fr; }
  .knowledge { padding: 26px; }
  .cta { padding: 44px 24px; }
  .hero-chip { display: none; }
}
