/* =========================================================
   HUMAN+ IV Landing Pages — styles.css
   Reproduces the LEFT (real page) column of the Medifly
   IV Master Template: a single cohesive, centered, max-width
   contained dark "page" (.doc) holding a vertical stack of
   dark .sec sections that read as one continuous rounded card.
   Component rules (.pg-*) are copied verbatim from the mockup;
   the 2-column annotation scaffolding (.row/.note*/toolbar/etc.)
   is dropped and .doc/.sec are adapted to a single column.
   Mobile-first, self-hosted Manrope.
   ========================================================= */

/* ---- Self-hosted Manrope (latin subset, font-display:swap) ---- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/manrope-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/manrope-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/manrope-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/manrope-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Design tokens (from mockup :root) ---- */
:root {
  --canvas:  #e9e3d4;
  --pg-bg:   #0c0f13;
  --pg-bg2:  #12161b;
  --pg-bg3:  #191f26;
  --txt:     #f3f5f7;
  --mut:     #9aa3ad;
  --mut2:    #717a84;
  --line-d:  rgba(255,255,255,.09);
  --gold:    #c9a24a;
  --gold-soft: rgba(201,162,74,.16);
  --wa:      #25d366;
  --star:    #e0b659;
  --maxw:    1200px;
}

/* ---- Reset ---- */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--txt);
  font-family: 'Manrope', -apple-system, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* On mobile: leave room for the sticky CTA bar */
@media (max-width: 759px) {
  body { padding-bottom: 76px; }
}

a { color: var(--gold); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Gold accent line at the very top (mockup .topbar) */
.topbar { height: 5px; background: linear-gradient(90deg, var(--gold), #8a6a25); }

/* ---- The contained page: centered max-width doc holding a stack of .sec ---- */
.doc {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px clamp(16px, 3.2vw, 44px) 56px;
}
/* The stacked dark sections read as one card floating on the cream canvas */
.doc > .sec:first-child { box-shadow: 0 -1px 0 rgba(0,0,0,.04); }
.doc { filter: drop-shadow(0 24px 60px rgba(20,16,8,.22)); }

/* Each stacked section reads as one continuous rounded card:
   consistent internal padding, tight rhythm, first rounded top,
   last rounded bottom. (Adapted from mockup .sec + .row rules,
   single column.) */
.sec {
  background: var(--pg-bg);
  color: var(--txt);
  padding: 24px 26px;
  position: relative;
}
.sec:first-child { border-radius: 14px 14px 0 0; padding-top: 10px; }
.sec:last-child  { border-radius: 0 0 14px 14px; }

@media (max-width: 759px) {
  .sec { padding: 20px 18px; }
}

/* ---- Header (mockup 01) ---- */
.chrome { display: flex; gap: 6px; padding: 10px 0 16px; }
.chrome i { width: 10px; height: 10px; border-radius: 50%; background: #2b333c; display: block; }

.pg-head { display: flex; align-items: center; justify-content: space-between; }

.pg-logo { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.pg-logo .p { color: var(--gold); }

/* ---- WhatsApp CTA button ---- */
.pg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 11px;
  background: var(--wa);
  color: #04210f;
  line-height: 1;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: filter .15s;
}
.pg-btn:hover { filter: brightness(1.08); }
.pg-btn.sm { padding: 9px 15px; font-size: 13px; border-radius: 9px; }
.pg-btn.lg { padding: 15px 26px; font-size: 16px; }
.wa-ic { width: 17px; height: 17px; flex: 0 0 auto; }

/* ---- Hero (mockup 02, single-column copy — no image) ---- */
.pg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.pg-eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--gold); flex: 0 0 auto; }

.pg-h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 13px;
}
.pg-h1 .hl { color: var(--gold); }

.pg-sub { font-size: 17px; color: #dfe4e9; max-width: 520px; margin: 0 0 20px; }

.pg-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--mut);
  font-weight: 600;
}
.pg-trust .stars { color: var(--star); letter-spacing: 1px; }
.pg-trust b { color: var(--txt); }
.pg-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--mut2); display: inline-block; }

.pg-price { display: flex; align-items: baseline; gap: 9px; margin: 0 0 20px; flex-wrap: wrap; }
.pg-price .from {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mut2);
  font-weight: 700;
}
.pg-price .amt { font-size: 24px; font-weight: 800; }
.pg-price .vat {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mut2);
  font-weight: 700;
}

.pg-btnsub { display: block; font-size: 13px; color: var(--mut); margin-top: 11px; }
.pg-btnsub b { color: var(--txt); font-weight: 600; }

/* ---- Section headings (mockup) ---- */
.pg-skick {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 11px;
}
.pg-h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; }
.pg-lead { font-size: 15px; color: var(--mut); margin: 0 0 20px; }

/* ---- Proof / ratebar (mockup 03 — ratebar only, real 4.9) ---- */
.pg-ratebar {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  background: var(--pg-bg2);
  border: 1px solid var(--line-d);
  border-radius: 13px;
  padding: 14px 18px;
  margin-bottom: 13px;
}
.pg-ratebar .big { font-size: 30px; font-weight: 800; color: var(--gold); line-height: 1; }
.pg-ratebar .stars { color: var(--star); font-size: 16px; letter-spacing: 2px; }
.pg-ratebar .meta { font-size: 13px; color: var(--mut); font-weight: 600; }

/* ---- Drip (mockup 04) ---- */
.pg-drip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-d);
  border: 1px solid var(--line-d);
  border-radius: 13px;
  overflow: hidden;
}
@media (min-width: 760px) {
  .pg-drip { grid-template-columns: 1fr 1fr; }
}
.pg-drip .r { background: var(--pg-bg2); padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.pg-drip .ic {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.pg-drip .dt { font-weight: 700; font-size: 14.5px; }
.pg-drip .dd { font-size: 12.5px; color: var(--mut); }

.pg-dripnote { font-size: 13px; color: var(--mut); margin: 13px 0 0; display: flex; flex-wrap: wrap; gap: 7px 15px; }
.pg-dripnote .ck { color: var(--wa); }

/* ---- Add-ons (mockup 05 — text seed, chips only, no device photos) ---- */
.pg-addon {
  background: var(--pg-bg2);
  border: 1px solid var(--line-d);
  border-radius: 14px;
  padding: 18px 20px;
}
.pg-addon .ah { font-weight: 700; font-size: 17px; margin: 0 0 3px; }
.pg-addon .as { font-size: 13px; color: var(--mut); margin: 0 0 14px; }
.pg-addon .askline { font-size: 12.5px; color: var(--gold); font-weight: 600; margin: 14px 0 0; }

.pg-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.pg-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--pg-bg3);
  border: 1px solid var(--line-d);
  border-radius: 10px;
  padding: 11px 15px;
  font-size: 13.5px;
  font-weight: 600;
}
.pg-chip .ci {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex: 0 0 auto;
}
.pg-chip .cx { display: flex; flex-direction: column; }
.pg-chip .cx .cn { font-weight: 700; }
.pg-chip .cx .cb { font-size: 11.5px; color: var(--mut); font-weight: 500; }

/* ---- HUMAN+ difference (mockup 06 — real ownable points) ---- */
.pg-difflist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.pg-difflist li { font-size: 13.5px; color: var(--mut); line-height: 1.5; padding-left: 18px; position: relative; }
.pg-difflist li::before { content: "+"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.pg-difflist li b { color: var(--txt); }

/* ---- How it works (mockup 07) ---- */
.pg-steps { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) {
  .pg-steps { grid-template-columns: 1fr 1fr 1fr; }
}
.pg-stp {
  background: var(--pg-bg2);
  border: 1px solid var(--line-d);
  border-radius: 12px;
  padding: 17px 18px;
}
.pg-stp .n { font-size: 12px; font-weight: 800; color: var(--gold); letter-spacing: .1em; margin-bottom: 6px; }
.pg-stp h3 { font-size: 15.5px; font-weight: 700; margin: 0 0 4px; }
.pg-stp p { font-size: 13px; color: var(--mut); margin: 0; }

/* ---- FAQ (mockup 08) ---- */
.pg-faq details {
  background: var(--pg-bg2);
  border: 1px solid var(--line-d);
  border-radius: 11px;
  margin-bottom: 9px;
  overflow: hidden;
}
.pg-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 17px;
  font-weight: 700;
  font-size: 14.5px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  user-select: none;
}
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary .pm { color: var(--gold); font-size: 18px; font-weight: 400; transition: transform .2s; flex: 0 0 auto; }
.pg-faq details[open] summary .pm { transform: rotate(45deg); }
.pg-faq .a { padding: 0 17px 15px; color: var(--mut); font-size: 13.5px; line-height: 1.55; }

/* ---- CTA band (mockup 09) ---- */
.pg-ctaband {
  text-align: center;
  background: radial-gradient(120% 120% at 50% 0%, rgba(201,162,74,.12), transparent 60%), var(--pg-bg2);
  border: 1px solid var(--line-d);
  border-radius: 16px;
  padding: 34px 22px;
}
.pg-ctaband .pg-price { justify-content: center; margin: 16px 0 20px; }

.pg-seed {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--gold);
  margin: 0 0 14px;
  font-weight: 600;
}
.pg-seed::before { content: "+"; font-weight: 800; }

/* ---- Footer (mockup 10) ---- */
.pg-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  color: var(--mut2);
  font-size: 13px;
}
.pg-foot a { color: var(--mut); }
.pg-foot a:hover { color: var(--txt); }
.pg-foot .pg-logo { font-size: 17px; }
.pg-footaddr { flex-basis: 100%; color: var(--mut2); font-size: 12.5px; margin: 4px 0 0; }
.pg-footlinks { display: flex; gap: 14px; }
.pg-disc { flex-basis: 100%; font-size: 12px; color: var(--mut2); line-height: 1.55; margin: 8px 0 0; }

/* ---- Sticky mobile CTA ---- */
.pg-sticky { display: none; }
@media (max-width: 759px) {
  .pg-sticky {
    display: flex;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 16px 12px;
    background: linear-gradient(to top, rgba(8,11,14,1) 60%, rgba(8,11,14,0));
    z-index: 50;
  }
  .pg-sticky .pg-btn.lg { width: 100%; max-width: 480px; justify-content: center; }
}

/* ---- Legal pages ---- */
main.legal { min-height: 100vh; padding: 48px 0 64px; }
main.legal .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 3.2vw, 44px); }
main.legal h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 24px 0 8px;
  color: var(--txt);
}
main.legal h2 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; margin: 32px 0 8px; color: var(--txt); }
main.legal h3 { font-size: 15px; font-weight: 700; margin: 20px 0 6px; color: var(--txt); }
main.legal p { color: #cfd5db; font-size: 15px; line-height: 1.7; margin: 0 0 12px; }
main.legal ul { color: #cfd5db; font-size: 15px; line-height: 1.7; padding-left: 1.25rem; margin: 0 0 1rem; }
main.legal ul li { margin-bottom: .35rem; }
main.legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
main.legal a:hover { color: var(--txt); }
main.legal strong { color: var(--txt); font-weight: 700; }
main.legal em { color: var(--mut); font-style: italic; }
.legal-hr { border: none; border-top: 1px solid var(--line-d); margin: 40px 0 32px; }

/* ---- Focus-visible styles ---- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.pg-btn:focus-visible,
.consent-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---- Consent banner ---- */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--pg-bg2);
  border-top: 1px solid var(--line-d);
  padding: 14px clamp(16px, 4vw, 32px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}
.consent[hidden] { display: none; }
.consent p { flex: 1 1 260px; margin: 0; font-size: 13px; color: var(--mut); line-height: 1.5; }
.consent p a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: flex; gap: 8px; flex-shrink: 0; }
.consent-btn {
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 9px;
  background: var(--gold);
  color: #0c0f13;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: filter .15s;
}
.consent-btn:hover { filter: brightness(1.1); }
.consent-btn.ghost { background: transparent; color: var(--mut); border: 1px solid var(--line-d); }
.consent-btn.ghost:hover { color: var(--txt); border-color: var(--mut2); filter: none; }

/* ---- Transition suppression (prefers-reduced-motion) ---- */
@media (prefers-reduced-motion: reduce) {
  .pg-btn,
  .pg-faq summary .pm,
  .consent-btn {
    transition: none;
  }
}
