/*
Theme Name: Slumber Sleep Bundle
Theme URI: https://slumbercbn.com/products/full-spectrum-sleep-bundle
Author: Slumber Affiliate
Description: A premium, single-page affiliate landing page theme for the Slumber Full Spectrum Sleep Bundle. Activating this theme replaces your homepage (and every other page) with the landing page — it is built as one standalone page, not a multi-page blog theme.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: slumber-sleep-bundle
*/

  :root{
    --bg-base:#EAE4D6;
    --bg-dark:#1A2E22;
    --bg-card:#F7F3EB;
    --text-primary:#1A2E22;
    --text-light:#F7F3EB;
    --text-muted:#5A6B5E;
    --accent-cta:#B8732A;
    --accent-cta-hover:#a1631f;
    --accent-sage:#7A9E82;
    --accent-gold:#C9A96E;
    --border-light:#D4C9B0;
    --body-color:#3A3A3A;
    --text-muted-dark:#9CB3A0;
  }

  *,*::before,*::after{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; overflow-x:hidden; }
  body{
    margin:0;
    font-family:'Inter',sans-serif;
    background:var(--bg-base);
    color:var(--body-color);
    font-size:17px;
    line-height:1.8;
    -webkit-font-smoothing:antialiased;
    max-width:100vw;
    overflow-x:hidden;
  }
  h1,h2,h3{ font-family:'Lora',serif; margin:0; }
  p{ margin:0; }
  a{ text-decoration:none; color:inherit; }
  img{ max-width:100%; display:block; }
  .wrap{ max-width:1160px; margin:0 auto; padding-left:60px; padding-right:60px; }
  .prose{ max-width:680px; }
  ul{ margin:0; padding:0; list-style:none; }

  button:focus-visible, a:focus-visible{
    outline:3px solid var(--accent-gold);
    outline-offset:3px;
  }

  /* ---------- CTA Button ---------- */
  .cta-btn{
    display:inline-block;
    background:var(--accent-cta);
    color:var(--text-light);
    font-family:'Inter',sans-serif;
    font-weight:600;
    font-size:18px;
    line-height:1.35;
    padding:18px 42px;
    border-radius:6px;
    border:none;
    cursor:pointer;
    box-shadow:0 4px 18px rgba(184,115,42,0.30);
    transition:background 200ms ease, box-shadow 200ms ease;
    text-align:center;
  }
  .cta-btn:hover{
    background:var(--accent-cta-hover);
    box-shadow:0 6px 22px rgba(184,115,42,0.40);
  }
  .cta-fullwidth{ width:100%; }

  /* ---------- In-section CTA (one per section) ---------- */
  .section-cta{
    text-align:center;
    margin-top:40px;
  }
  .section-cta .cta-btn{
    font-size:16px;
    padding:15px 34px;
  }
  .highlight-quote .section-cta,
  .final-cta .section-cta{ margin-top:36px; }

  /* Sections that end with a CTA button need less bottom padding —
     otherwise the button sits with a big empty gap before the next
     section starts. */
  .section:has(.section-cta:last-child),
  .social-proof:has(.section-cta:last-child){
    padding-bottom:56px;
  }

  @media (max-width:1024px){
    .cta-btn{ font-size:15px; padding:13px 28px; }
    .section-cta .cta-btn{ font-size:13.5px; padding:10px 22px; }
  }

  .fade-in{
    opacity:1;
    transform:translateY(0);
  }
  .fade-in.animate-ready{
    transform:translateY(12px);
    transition:transform 400ms ease;
  }
  .fade-in.animate-ready.is-visible{ transform:translateY(0); }

  @media (prefers-reduced-motion: reduce){
    .fade-in{ opacity:1; transform:none; transition:none; }
    html{ scroll-behavior:auto; }
  }

  /* ---------- Section 1: Announcement bar ---------- */
  .announce-bar{
    position:sticky;
    top:0;
    z-index:999;
    background:var(--bg-dark);
    color:var(--text-light);
    font-size:13px;
    text-align:center;
    padding:10px 16px;
  }

  /* ---------- Section 2: Hero ---------- */
  .hero{
    background:var(--bg-dark);
    min-height:92vh;
    display:flex;
    align-items:flex-start;
    padding:80px 60px;
  }
  .hero-grid{
    display:grid;
    grid-template-columns:55% 45%;
    gap:64px;
    align-items:start;
    max-width:1160px;
    margin:0 auto;
    width:100%;
  }
  .hero-label{
    color:var(--accent-sage);
    font-size:13px;
    font-weight:600;
    margin-bottom:18px;
  }
  .hero-headline{
    font-size:56px;
    font-weight:700;
    line-height:1.15;
    color:var(--text-light);
    margin-bottom:22px;
  }
  .hero-sub{
    font-size:20px;
    font-weight:400;
    line-height:1.6;
    color:#A8BCA8;
    max-width:520px;
    margin-bottom:28px;
  }
  .hero-stats{
    display:flex;
    flex-wrap:wrap;
    gap:10px 18px;
    color:var(--text-light);
    font-size:14px;
    margin-bottom:32px;
  }
  .hero-stats .stars{ color:var(--accent-gold); }
  .hero-below-cta{
    color:var(--text-muted-dark);
    font-size:13px;
    margin-top:12px;
  }
  .trust-strip{
    display:flex;
    flex-wrap:wrap;
    gap:20px 28px;
    margin-top:44px;
    color:var(--text-muted-dark);
    font-size:14px;
  }

  /* Hero product visual (real product photography) */
  .product-visual{
    background:#223B2A;
    border-radius:16px;
    padding:32px;
    position:relative;
    display:flex;
    flex-direction:column;
    gap:16px;
    overflow:visible;
    margin-top:20px;
  }
  .hero-gallery{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
  }
  .hero-gallery img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:10px;
    display:block;
    position:relative;
    transition:transform 320ms ease;
  }
  .hero-gallery img:hover{ transform:scale(1.04); z-index:2; }
  .hero-gallery .span-2{ grid-column:1 / -1; }
  .hero-gallery .h-tall{ aspect-ratio:16/11; }
  .hero-gallery .h-square{ aspect-ratio:1/1; }
  .badge-save{
    position:absolute;
    top:-16px;
    right:-12px;
    background:var(--accent-gold);
    color:var(--bg-dark);
    font-weight:700;
    font-size:14px;
    padding:10px 18px;
    border-radius:30px;
    box-shadow:0 4px 14px rgba(0,0,0,0.25);
  }

  /* ---------- Section 3: Social proof bar ---------- */
  .social-proof{
    background:var(--accent-sage);
    padding:44px 60px;
  }
  .social-proof-grid{
    max-width:1160px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
    text-align:center;
    width:100%;
  }
  .sp-number{
    font-family:'Lora',serif;
    font-weight:700;
    font-size:34px;
    color:#F4CE7E;
  }
  .sp-number-rating{
    white-space:nowrap;
  }
  .sp-label{
    font-size:13px;
    font-weight:600;
    color:var(--bg-dark);
    margin-top:6px;
  }

  /* ---------- Generic section paddings ---------- */
  .section{ padding:96px 60px; }
  .section-narrow{ max-width:860px; margin:0 auto; text-align:center; }
  .section-headline{
    font-size:38px;
    font-weight:700;
    line-height:1.25;
    color:var(--text-primary);
    margin-bottom:24px;
  }
  .section-sub{
    font-size:22px;
    font-weight:400;
    line-height:1.5;
    color:var(--text-muted);
  }

  /* ---------- Section 4: Problem agitation ---------- */
  .pain-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
    margin-top:56px;
    text-align:left;
    width:100%;
  }
  .pain-card{
    background:var(--bg-card);
    border-left:3px solid var(--accent-sage);
    border-radius:10px;
    padding:32px;
    min-width:0;
    transition:transform 240ms ease, box-shadow 240ms ease;
  }
  .pain-card:hover{
    transform:translateY(-6px);
    box-shadow:0 16px 32px rgba(26,46,34,0.15);
  }
  .pain-card h3{
    font-size:20px;
    font-weight:700;
    margin-bottom:14px;
    line-height:1.35;
  }
  .pain-card p{ font-size:16px; line-height:1.7; }

  /* ---------- Section 5: Solution bridge ---------- */
  .bridge{
    background:var(--bg-dark);
    text-align:center;
  }
  .bridge .prose{ margin:0 auto; }
  .bridge-label{
    color:var(--accent-sage);
    font-size:13px;
    font-weight:600;
    margin-bottom:18px;
  }
  .bridge h2{
    font-size:40px;
    color:var(--text-light);
    margin-bottom:24px;
  }
  .bridge p.body{
    font-size:18px;
    color:#A8BCA8;
    line-height:1.7;
    margin-bottom:40px;
  }

  /* ---------- Section 6: Product breakdown ---------- */
  .product-list{
    display:flex;
    flex-direction:column;
    gap:28px;
    margin-top:56px;
  }
  .product-card{
    background:var(--bg-card);
    border-radius:10px;
    padding:40px 48px;
    text-align:left;
    display:flex;
    flex-direction:column;
    align-items:center;
    transition:transform 240ms ease, box-shadow 240ms ease;
  }
  .product-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(26,46,34,0.16);
  }
  .product-photo{
    width:100%;
    max-width:420px;
    height:300px;
    object-fit:cover;
    border-radius:12px;
    box-shadow:0 12px 32px rgba(26,46,34,0.20);
    margin-bottom:28px;
    transition:transform 320ms ease;
  }
  .product-card:hover .product-photo{
    transform:scale(1.02);
  }
  .product-card-body{ min-width:0; width:100%; text-align:left; }
  .time-tag{
    display:inline-block;
    background:var(--accent-sage);
    color:#fff;
    font-size:13px;
    font-weight:600;
    padding:5px 14px;
    border-radius:4px;
    margin-bottom:18px;
  }
  .product-card h3{
    font-size:26px;
    font-weight:700;
    margin-bottom:12px;
  }
  .formula-line{
    font-weight:600;
    color:var(--text-muted);
    font-size:16px;
    margin-bottom:18px;
  }
  .product-card .desc{
    font-size:17px;
    line-height:1.8;
    max-width:680px;
    margin-bottom:22px;
  }
  .callout{
    border-left:3px solid var(--accent-sage);
    padding-left:18px;
    font-style:italic;
    font-size:16px;
    color:var(--text-primary);
    max-width:600px;
  }
  .callout.bold{ font-style:normal; font-weight:600; }
  .product-card-cta{ margin-top:26px; }
  .product-card-cta .cta-btn{ font-size:14.5px; padding:11px 26px; }
  @media (max-width:1024px){
    .product-card-cta .cta-btn{ font-size:13px; padding:10px 22px; }
  }
  @media (max-width:768px){
    .product-card-cta{ margin-top:20px; }
    .product-card-cta .cta-btn{ width:auto; font-size:12.5px; padding:9px 20px; }
  }

  /* ---------- Section 7: Entourage effect ---------- */
  .entourage{
    background:#223B2A;
    color:var(--text-light);
  }
  .entourage .prose{ margin:0 auto; text-align:left; }
  .entourage h2{
    font-size:36px;
    color:var(--text-light);
    text-align:center;
    margin-bottom:56px;
  }
  .compound-row{
    padding:28px 0;
    border-top:1px solid rgba(247,243,235,0.12);
  }
  .compound-row:first-of-type{ border-top:none; }
  .compound-label{
    font-weight:600;
    font-size:16px;
    margin-bottom:10px;
  }
  .compound-row p{
    font-size:16px;
    line-height:1.75;
    color:#C9D6CC;
  }
  .entourage-note{
    font-size:14px;
    color:#6B8B73;
    font-style:italic;
    margin-top:40px;
    text-align:center;
  }

  /* ---------- Section 8: Clinical proof ---------- */
  .stat-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:32px;
    margin:56px 0 40px;
    width:100%;
  }
  .stat-block{
    background:var(--bg-card);
    border-radius:10px;
    padding:36px 24px;
    text-align:center;
    min-width:0;
    transition:transform 240ms ease, box-shadow 240ms ease;
  }
  .stat-block:hover{
    transform:translateY(-6px);
    box-shadow:0 16px 32px rgba(26,46,34,0.15);
  }
  .stat-number{
    font-family:'Lora',serif;
    font-weight:700;
    font-size:44px;
    color:var(--text-primary);
    margin-bottom:10px;
  }
  .stat-label{
    font-size:15px;
    color:var(--text-muted);
  }
  .source-line{
    font-size:13px;
    color:var(--text-muted);
  }

  /* ---------- Section 9: Expert endorsement ---------- */
  .expert{
    background:var(--bg-dark);
    text-align:center;
  }
  .expert-photo{
    width:88px;
    height:88px;
    border-radius:50%;
    object-fit:cover;
    margin:0 auto 28px;
  }
  .expert blockquote{
    font-family:'Lora',serif;
    font-style:italic;
    font-size:22px;
    line-height:1.6;
    color:var(--text-light);
    margin:0 0 28px;
  }
  .expert-name{
    font-weight:600;
    color:var(--accent-sage);
    margin-bottom:8px;
  }
  .expert-sub{
    font-size:14px;
    color:var(--text-muted-dark);
    line-height:1.6;
  }

  /* ---------- Section 10: Reviews ---------- */
  .reviews-rating{
    margin-bottom:56px;
    display:flex;
    flex-direction:column;
    gap:10px;
    align-items:center;
  }
  .reviews-rating .rating-line{
    font-size:19px;
    font-weight:700;
    color:var(--text-primary);
  }
  .reviews-rating .stars{ color:var(--accent-gold); letter-spacing:2px; }
  .reviews-rating .reorder-line{
    font-size:16px;
    font-weight:600;
    color:var(--accent-sage);
  }
  .review-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
    text-align:left;
    width:100%;
  }
  .review-card{
    background:var(--bg-card);
    border-radius:10px;
    padding:32px;
    border-top:3px solid var(--accent-gold);
    min-width:0;
    transition:transform 240ms ease, box-shadow 240ms ease;
  }
  .review-card:hover{
    transform:translateY(-6px);
    box-shadow:0 16px 32px rgba(26,46,34,0.15);
  }
  .review-card .stars{ color:var(--accent-gold); font-size:15px; margin-bottom:14px; }
  .review-card h3{ font-size:19px; font-weight:700; margin-bottom:12px; }
  .review-card p.body{ font-size:16px; line-height:1.75; margin-bottom:18px; }
  .review-name{ font-weight:600; font-size:14px; margin-bottom:10px; }
  .review-tag{
    display:inline-block;
    background:var(--accent-sage);
    color:#fff;
    font-size:12px;
    font-weight:600;
    padding:4px 12px;
    border-radius:4px;
  }
  .press-strip{
    margin-top:64px;
    text-align:center;
  }
  .press-strip .label{
    font-size:13px;
    color:var(--text-muted);
    margin-bottom:22px;
  }
  .press-logos{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:40px;
    font-family:'Inter',sans-serif;
    font-weight:700;
    font-size:22px;
    color:#888;
  }
  .press-logos span{
    transition:color 220ms ease, transform 220ms ease;
    display:inline-block;
  }
  .press-logos span:hover{
    color:var(--accent-sage);
    transform:translateY(-2px);
  }

  /* ---------- Section 11: Trust & transparency ---------- */
  .trust-section{ background:var(--bg-card); }
  .trust-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    max-width:960px;
    margin:56px auto 0;
  }
  .trust-block{
    padding:36px;
    border:1px solid var(--border-light);
    margin:-1px 0 0 -1px;
    text-align:left;
    min-width:0;
    position:relative;
    z-index:1;
    transition:box-shadow 240ms ease, transform 240ms ease;
  }
  .trust-block:hover{
    transform:translateY(-4px);
    box-shadow:0 16px 32px rgba(26,46,34,0.14);
    z-index:2;
  }
  .trust-block .icon{
    display:block;
    color:var(--accent-sage);
    margin-bottom:16px;
  }
  .trust-block .icon svg{ width:28px; height:28px; }
  .trust-block h3{ font-size:19px; font-weight:700; margin-bottom:12px; }
  .trust-block p{ font-size:15px; line-height:1.75; color:var(--body-color); }

  /* ---------- FAQ section ---------- */
  .faq-section{ background:var(--bg-base); }
  .faq-list{
    max-width:760px;
    margin:48px auto 0;
    display:flex;
    flex-direction:column;
    gap:14px;
  }
  .faq-item{
    background:var(--bg-card);
    border:1px solid var(--border-light);
    border-radius:10px;
    padding:6px 28px;
    transition:box-shadow 220ms ease, transform 220ms ease;
  }
  .faq-item:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 26px rgba(26,46,34,0.12);
  }
  .faq-item summary{
    cursor:pointer;
    list-style:none;
    padding:22px 0;
    font-weight:700;
    font-size:17px;
    color:var(--text-primary);
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
  }
  .faq-item summary::-webkit-details-marker{ display:none; }
  .faq-item summary .faq-icon{
    flex-shrink:0;
    width:24px;
    height:24px;
    border-radius:50%;
    background:var(--accent-sage);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    font-weight:700;
    transition:transform 220ms ease;
  }
  .faq-item[open] summary .faq-icon{ transform:rotate(45deg); }
  .faq-item p{
    font-size:15.5px;
    line-height:1.75;
    color:var(--body-color);
    padding-bottom:24px;
  }

  /* ---------- Highlighted testimonial ---------- */
  .highlight-quote-section{ background:var(--bg-card); padding:80px 60px; }
  .highlight-quote{
    max-width:760px;
    margin:0 auto;
    text-align:center;
  }
  .highlight-quote .stars{ color:var(--accent-gold); font-size:18px; margin-bottom:20px; letter-spacing:2px; }
  .highlight-quote blockquote{
    font-family:'Lora',serif;
    font-style:italic;
    font-size:28px;
    line-height:1.5;
    color:var(--text-primary);
    margin:0 0 24px;
  }
  .highlight-quote .hq-name{
    font-weight:700;
    font-size:16px;
    margin-bottom:6px;
  }
  .highlight-quote .hq-tag{
    display:inline-block;
    background:var(--accent-sage);
    color:#fff;
    font-size:12px;
    font-weight:600;
    padding:4px 12px;
    border-radius:4px;
  }

  /* ---------- Urgency note ---------- */
  .urgency-note{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:rgba(184,115,42,0.10);
    border:1px solid rgba(184,115,42,0.35);
    color:var(--accent-cta-hover);
    font-size:13px;
    font-weight:600;
    padding:8px 16px;
    border-radius:20px;
    margin-top:18px;
  }
  .urgency-note .dot{
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--accent-cta);
    animation:pulse-dot 1.6s ease-in-out infinite;
  }
  @keyframes pulse-dot{
    0%,100%{ opacity:1; }
    50%{ opacity:0.35; }
  }
  .final-cta .urgency-note{
    background:rgba(247,243,235,0.08);
    border-color:rgba(247,243,235,0.25);
    color:var(--text-muted-dark);
  }
  .final-cta .urgency-note .dot{ background:var(--accent-gold); }
  @media (prefers-reduced-motion: reduce){
    .urgency-note .dot{ animation:none; }
  }

  /* ---------- Section 12: Final CTA ---------- */
  .final-cta{
    background:var(--bg-dark);
    text-align:center;
  }
  .final-cta .prose{ margin:0 auto; }
  .final-cta h2{
    font-size:44px;
    color:var(--text-light);
    margin-bottom:20px;
  }
  .final-cta .sub{
    font-size:20px;
    color:#A8BCA8;
    line-height:1.6;
    margin-bottom:40px;
  }
  .price-block{ margin-bottom:40px; }
  .price-regular{
    color:var(--text-muted-dark);
    text-decoration:line-through;
    font-size:16px;
    margin-bottom:8px;
  }
  .price-bundle{
    font-family:'Lora',serif;
    font-weight:700;
    font-size:32px;
    color:var(--accent-gold);
    margin-bottom:8px;
  }
  .price-save{
    font-weight:600;
    color:var(--accent-sage);
    font-size:16px;
  }
  .final-cta .below{
    font-size:13px;
    color:var(--text-muted-dark);
    margin-top:20px;
  }

  /* ---------- Section 13: Footer ---------- */
  footer{
    background:#111E15;
    color:#6B8B73;
    padding:56px 60px;
  }
  .footer-grid{
    max-width:1160px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:48px;
    font-size:13px;
    line-height:1.8;
  }

  /* ---------- Responsive ---------- */
  @media (max-width:768px){
    .wrap{ padding-left:20px; padding-right:20px; }
    .hero{ padding:48px 20px; }
    .hero-grid{ grid-template-columns:1fr; gap:40px; }
    .hero-headline{ font-size:38px; }
    .product-visual{ order:2; padding:32px; }
    .section{ padding:48px 20px; }
    .section-headline{ font-size:28px; }
    .social-proof{ padding:36px 20px; }
    .social-proof-grid{ grid-template-columns:repeat(2,1fr); gap:32px 12px; }
    .sp-number{ font-size:26px; }
    .pain-grid{ grid-template-columns:1fr; }
    .stat-grid{ grid-template-columns:repeat(2,1fr); gap:16px; }
    .review-grid{ grid-template-columns:1fr; }
    .product-photo{ height:220px; }
    .hero-gallery{ gap:8px; }
    .trust-grid{ grid-template-columns:1fr; }
    .footer-grid{ grid-template-columns:1fr; }
    .badge-save{ top:-10px; right:-6px; font-size:12px; padding:8px 14px; }
    .press-logos{
      display:grid;
      grid-template-columns:repeat(2,1fr);
      gap:24px 16px;
      font-size:18px;
    }
    .cta-btn{ width:100%; font-size:14px; padding:13px 20px; }
    .section-cta{ margin-top:26px; }
    .section:has(.section-cta:last-child),
    .social-proof:has(.section-cta:last-child){ padding-bottom:40px; }
    .section-cta .cta-btn{ width:auto; max-width:85%; font-size:12.5px; padding:9px 18px; }
    .trust-strip{ flex-direction:column; gap:12px; }
    .bridge h2, .final-cta h2{ font-size:30px; }
    .entourage h2{ font-size:28px; }
    .highlight-quote-section{ padding:56px 24px; }
    .highlight-quote blockquote{ font-size:22px; }
    .faq-item{ padding:4px 18px; }
    .faq-item summary{ font-size:15.5px; padding:18px 0; }
  }
