/* lipozbliss.com  ui/portal.css
   Palette: Harbor Ink & Tangerine. Properties inside a rule are alphabetical. */

:root {
  --paper: #f4f6fb;
  --panel: #ffffff;
  --band: #e9eef8;
  --ink: #14203a;
  --body: #4c5872;
  --line: #dde4f0;
  --tan: #f4621f;
  --tan-dk: #d24d0e;
  --teal: #0e7d74;
  --teal-tint: #e3f3f1;
  --gold: #f2a516;
  --crimson: #cf1d3f;
  --radius: 22px;
  --shadow: 0 12px 28px rgba(20, 32, 58, .08);
  --display: 'Crete Round', Georgia, serif;
  --text: 'Varela Round', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--body);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.72;
  margin: 0;
  overflow-x: hidden;
}
body.has-offerbar { padding-bottom: 92px; }
img { height: auto; max-width: 100%; }
a { color: var(--teal); overflow-wrap: anywhere; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--tan); outline-offset: 2px; }
h1, h2, h3 { color: var(--ink); font-family: var(--display); font-weight: 400; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25rem; }
li { margin-bottom: .5em; }
strong { color: var(--ink); }
sup.ref { color: var(--teal); font-size: .68em; padding-left: 1px; }

.wrap { margin: 0 auto; max-width: 1120px; padding: 0 20px; width: 100%; }
.narrow { max-width: 780px; }
.skip {
  background: var(--ink); border-radius: 0 0 10px 0; clip-path: inset(50%); color: #fff;
  left: 0; padding: 12px 18px; position: absolute; top: 0; z-index: 60;
}
.skip:focus { clip-path: none; }

/* strips + masthead */
.ribbon { background: var(--ink); color: #cfd9ec; }
.ribbon p { font-size: .82rem; letter-spacing: .02em; margin: 0; padding: 9px 20px; text-align: center; }
.promo { background: var(--teal-tint); border-bottom: 1px solid #c8e3df; }
.promo p { color: #0b5f58; font-size: .8rem; margin: 0; padding: 8px 20px; text-align: center; }
.mast { background: var(--panel); box-shadow: 0 2px 14px rgba(20, 32, 58, .06); position: sticky; top: 0; z-index: 50; }
.mastbar { align-items: center; display: flex; gap: 18px; justify-content: space-between; padding-bottom: 12px; padding-top: 12px; position: relative; }
.mark { display: block; text-decoration: none; }
.mark-house { color: var(--teal); display: block; font-size: .62rem; letter-spacing: .18em; }
.mark-name { color: var(--ink); display: block; font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.mark-name sup { font-size: .5em; }
.menu ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.menu a { color: var(--ink); font-size: .95rem; text-decoration: none; }
.menu a:hover, .menu a[aria-current] { color: var(--tan-dk); text-decoration: underline; }
.menu { align-items: center; display: flex; gap: 22px; }
.burger { background: none; border: 0; cursor: pointer; display: none; height: 42px; padding: 8px; width: 44px; }
.burger span { background: var(--ink); border-radius: 2px; display: block; height: 3px; margin: 4px 0; width: 26px; }

/* buttons */
.pill {
  background: var(--tan); border: 0; border-radius: 999px; box-shadow: 0 6px 0 var(--tan-dk); color: #fff;
  display: inline-block; font-family: var(--text); font-size: 1.02rem; padding: 15px 30px;
  text-align: center; text-decoration: none;
}
.pill:hover { background: var(--tan-dk); box-shadow: 0 4px 0 #a93b06; }
.pill-sm { font-size: .88rem; padding: 10px 20px; }
.pill-lg { font-size: 1.1rem; padding: 18px 40px; }
.pill-ghost { background: transparent; border: 2px solid var(--ink); box-shadow: none; color: var(--ink); }
.pill-ghost:hover { background: var(--ink); color: #fff; }

/* breadcrumb */
.trail { background: var(--band); font-size: .82rem; }
.trail ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 10px 0; }
.trail li + li::before { content: "›"; padding-right: 8px; }
.trail a { color: var(--body); }

/* hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); padding: 46px 0 30px; }
.hero-in { align-items: center; display: grid; gap: 34px; grid-template-columns: 1.15fr .85fr; }
.hero-eyebrow { color: var(--teal); font-size: .78rem; letter-spacing: .16em; margin-bottom: 10px; text-transform: uppercase; }
.hero-copy { min-width: 0; }
.hero-art { text-align: center; }
.hero-art img { filter: drop-shadow(0 18px 30px rgba(20, 32, 58, .18)); }
.canon { background: var(--panel); border-left: 6px solid var(--tan); border-radius: 0 16px 16px 0; box-shadow: var(--shadow); color: var(--ink); font-size: 1.02rem; margin: 0 0 16px; padding: 18px 20px; }
.portalline { color: var(--body); font-size: .95rem; margin-bottom: 20px; }
.hero-cta { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-note { font-size: .85rem; margin: 0; }
.hero-stats { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 26px; margin-top: 22px; padding-top: 18px; }
.stat-n { color: var(--ink); display: block; font-family: var(--display); font-size: 1.6rem; line-height: 1.1; }
.stat-l { display: block; font-size: .78rem; }

/* generic sections */
.section { padding: 46px 0; }
.band-bg { background: var(--band); }
.panel-bg { background: var(--panel); }
.lede { font-size: 1.08rem; }
.eyebrow { color: var(--teal); font-size: .78rem; letter-spacing: .16em; margin-bottom: 8px; text-transform: uppercase; }
.grid2 { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid3 { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.stamp { color: #7d8798; font-size: .8rem; margin-bottom: 1.4em; }
.byline { background: var(--teal-tint); border-radius: 14px; color: #0b5f58; font-size: .86rem; margin-bottom: 1.4em; padding: 12px 16px; }

/* tl;dr + key facts */
.tldr { background: var(--ink); border-radius: var(--radius); color: #d8e1f2; padding: 26px 28px; }
.tldr h2 { color: #fff; font-size: 1.35rem; }
.tldr p:last-child { margin-bottom: 0; }
.facts { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts h2 { background: var(--gold); color: #3a2600; font-size: 1.15rem; margin: 0; padding: 14px 22px; }
.facts dl { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); margin: 0; }
.facts dt { border-top: 1px solid var(--line); color: var(--ink); padding: 11px 22px; }
.facts dd { border-top: 1px solid var(--line); margin: 0; padding: 11px 22px; }

/* pillars + dosing */
.pillar { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.pillar-n { color: var(--tan); font-family: var(--display); font-size: 2rem; line-height: 1; }
.plain { list-style: none; padding-left: 0; }
.plain li { padding-left: 26px; position: relative; }
.plain li::before { color: var(--teal); content: "\2713"; left: 0; position: absolute; }

/* tables */
.tablewrap { overflow-x: auto; }
table.data { background: var(--panel); border-collapse: collapse; border-radius: 14px; min-width: 560px; overflow: hidden; width: 100%; }
table.data caption { caption-side: bottom; font-size: .8rem; padding-top: 10px; text-align: left; }
table.data th, table.data td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
table.data thead th { background: var(--ink); color: #fff; font-weight: 400; }
table.data tbody th { color: var(--ink); font-weight: 400; width: 34%; }
.yes { color: var(--teal); }
.no { color: var(--crimson); }

/* price cards */
.packs { align-items: start; display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pack { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.pack.lead { border: 3px solid var(--tan); box-shadow: var(--shadow); }
.pack-flag { background: var(--tan); border-radius: 999px; color: #fff; display: inline-block; font-size: .74rem; letter-spacing: .08em; margin-bottom: 10px; padding: 5px 14px; text-transform: uppercase; }
.pack-name { color: var(--ink); font-family: var(--display); font-size: 1.3rem; margin-bottom: 2px; }
.pack-supply { display: block; font-size: .82rem; margin-bottom: 12px; }
.pack-art { margin: 0 auto 12px; }
.pack-per { color: var(--ink); font-family: var(--display); font-size: 2.6rem; line-height: 1; }
.pack-unit { display: block; font-size: .78rem; margin-bottom: 8px; }
.save { background: #fde7ec; border-radius: 999px; color: var(--crimson); display: inline-block; font-size: .84rem; margin-bottom: 10px; padding: 4px 14px; }
.pack-total { font-size: .92rem; margin-bottom: 14px; }
.pack-total s { color: #98a2b3; }
.pack-ship { display: block; font-size: .78rem; margin-top: 10px; }
.savebanner { color: var(--ink); font-family: var(--display); font-size: 1.5rem; margin-bottom: 8px; text-align: center; }
.shipnote { font-size: .85rem; margin-top: 18px; text-align: center; }
.paycard { color: #8a94a6; font-size: .76rem; margin-top: 6px; text-align: center; }

/* lot record */
.lot { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px 20px; }
.lot h3 { margin-top: 18px; }
.lotgrid { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.lotgrid dt { border-top: 1px solid var(--line); color: var(--ink); padding: 10px 0; }
.lotgrid dd { border-top: 1px solid var(--line); margin: 0; padding: 10px 0; text-align: right; }

/* reviews */
.stars { color: var(--gold); letter-spacing: .08em; }
.bigrate { align-items: center; display: flex; flex-wrap: wrap; gap: 26px; }
.bigrate-n { color: var(--ink); font-family: var(--display); font-size: 4rem; line-height: 1; }
.snapshot { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.snap { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-align: center; }
.snap-n { color: var(--tan); display: block; font-family: var(--display); font-size: 1.8rem; line-height: 1.1; }
.snap-l { display: block; font-size: .78rem; }
.bars { display: grid; gap: 10px; }
.bar { align-items: center; display: grid; gap: 12px; grid-template-columns: 74px minmax(0, 1fr) 52px; }
.bar-l { font-size: .84rem; }
.bar-track { background: var(--band); border-radius: 999px; height: 12px; overflow: hidden; }
.bar-fill { background: var(--teal); border-radius: 999px; display: block; height: 12px; }
.bar-v { font-size: .84rem; text-align: right; }
.quote { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.quote.crit { border-left: 5px solid var(--crimson); }
.quote-name { color: var(--ink); display: block; font-family: var(--display); }
.quote-meta { display: block; font-size: .78rem; margin-bottom: 10px; }
.verified { background: var(--teal-tint); border-radius: 999px; color: #0b5f58; font-size: .7rem; padding: 3px 10px; }

/* q&a + faq */
.qa { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; padding: 22px 24px; }
.qa h3 { margin-bottom: .35em; }
.qa p:last-child { margin-bottom: 0; }
details.ask { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; padding: 4px 20px; }
details.ask summary { color: var(--ink); cursor: pointer; font-family: var(--display); padding: 14px 0; }
details.ask[open] summary { border-bottom: 1px solid var(--line); }
details.ask p { padding-top: 12px; }

/* steps */
.steps { counter-reset: s; list-style: none; padding-left: 0; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; counter-increment: s; margin-bottom: 12px; padding: 18px 20px 18px 66px; position: relative; }
.steps li::before { background: var(--ink); border-radius: 50%; color: #fff; content: counter(s); height: 30px; left: 20px; line-height: 30px; position: absolute; text-align: center; top: 18px; width: 30px; }
.steps b { color: var(--ink); display: block; }

/* advisors */
.adv { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.adv-ini { background: var(--ink); border-radius: 50%; color: #fff; display: grid; font-family: var(--display); height: 54px; margin-bottom: 12px; place-items: center; width: 54px; }
.adv-name { color: var(--ink); display: block; font-family: var(--display); font-size: 1.1rem; }
.adv-cred { display: block; font-size: .8rem; margin-bottom: 10px; }

/* takeaway + final cta */
.takeaway { background: var(--teal); border-radius: var(--radius); color: #e6f6f4; padding: 28px 30px; }
.takeaway h2 { color: #fff; }
.takeaway li { margin-bottom: .7em; }
.takeaway strong { color: #fff; }
.finalcta { background: var(--ink); color: #d8e1f2; padding: 52px 0; text-align: center; }
.finalcta h2 { color: #fff; }
.finalcta .pill { margin: 10px 6px; }
.trustrow { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 22px; }
.trust { background: rgba(255, 255, 255, .08); border-radius: 999px; font-size: .8rem; padding: 8px 16px; }

/* sources + notes */
.sources { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 22px; }
.reflist { list-style: none; padding-left: 0; }
.reflist li { display: grid; gap: 12px; grid-template-columns: 30px minmax(0, 1fr); }
.refnum { background: var(--band); border-radius: 50%; color: var(--ink); display: block; font-size: .8rem; height: 26px; line-height: 26px; text-align: center; width: 26px; }
.refbody { display: block; font-size: .88rem; overflow-wrap: anywhere; }
.mednote { background: #fff6ec; border-radius: 14px; font-size: .86rem; margin-top: 18px; padding: 14px 18px; }
.note { background: var(--band); border-radius: 16px; padding: 18px 20px; }

/* contact */
.form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.field { display: block; margin-bottom: 14px; }
.field span { color: var(--ink); display: block; font-size: .85rem; margin-bottom: 4px; }
.field input, .field textarea, .field select {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; font-family: var(--text);
  font-size: 1rem; padding: 12px 14px; width: 100%;
}

/* offer bar */
.offerbar { background: var(--panel); border-top: 3px solid var(--tan); bottom: 0; box-shadow: 0 -8px 24px rgba(20, 32, 58, .12); left: 0; position: fixed; right: 0; z-index: 45; }
.offerbar-in { align-items: center; display: flex; gap: 12px; justify-content: space-between; padding-bottom: 12px; padding-top: 12px; }
.offerbar-link { align-items: center; color: var(--ink); display: flex; flex: 1; flex-wrap: wrap; gap: 12px; text-decoration: none; }
.offerbar-name { font-family: var(--display); font-size: 1.05rem; }
.offerbar-chip { animation: nudge 2.6s ease-in-out infinite; background: var(--crimson); border-radius: 999px; color: #fff; font-size: .82rem; padding: 4px 12px; }
.offerbar-msg { font-size: .86rem; }
.offerbar-go { background: var(--tan); border-radius: 999px; color: #fff; font-size: .88rem; margin-left: auto; padding: 10px 22px; }
.offerbar-x { background: none; border: 0; color: #8a94a6; cursor: pointer; font-size: 1.4rem; line-height: 1; padding: 6px 10px; }
@keyframes nudge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .offerbar-chip { animation: none; } }

/* footer */
.base { background: var(--ink); color: #aebbd4; padding: 48px 0 30px; }
.base a { color: #cfe6e3; }
.base-grid { display: grid; gap: 30px; grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.base-brand { min-width: 0; }
.base-name { color: #fff; font-family: var(--display); font-size: 1.4rem; margin-bottom: .4em; }
.base-addr { font-size: .86rem; }
.base-col ul { list-style: none; padding-left: 0; }
.base-col li { margin-bottom: .35em; }
.base-h { color: #fff; font-size: 1rem; }
.base-portal, .base-note, .base-fda, .base-legal { font-size: .8rem; }
.base-portal { border-top: 1px solid #2c3a56; color: #cfe6e3; margin-top: 30px; padding-top: 18px; }
.base-note, .base-fda { color: #8b99b4; }
.base-legal { border-top: 1px solid #2c3a56; color: #8b99b4; margin-bottom: 0; padding-top: 14px; }

@media (max-width: 960px) {
  .hero-in, .grid2, .grid3, .packs, .base-grid, .snapshot, .facts dl, .lotgrid { grid-template-columns: minmax(0, 1fr); }
  .facts dt { border-top: 1px solid var(--line); padding-bottom: 0; }
  .facts dd { border-top: 0; padding-top: 2px; }
  .lotgrid dd { border-top: 0; padding-top: 0; text-align: left; }
  .lotgrid dt { padding-bottom: 0; }
  .burger { display: block; }
  .menu {
    background: var(--panel); border-top: 1px solid var(--line); box-shadow: var(--shadow);
    display: block; left: 0; opacity: 0; padding: 16px 20px 22px; position: absolute; right: 0;
    top: 100%; transition: opacity .2s ease, visibility 0s linear .2s; visibility: hidden;
  }
  .menu.open { opacity: 1; transition: opacity .2s ease, visibility 0s; visibility: visible; }
  .menu ul { display: block; }
  .menu li { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .menu .pill { display: block; margin-top: 14px; }
  .offerbar-msg { display: none; }
  .base-grid { gap: 22px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .offerbar-go { margin-left: 0; }
  .bar { grid-template-columns: 62px minmax(0, 1fr) 44px; }
  .snapshot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
