/* =====================================================================
   The Handyman's Cleaning Manual: site styles
   Colors are set once here and reused everywhere below.
   ===================================================================== */
:root {
  --navy: #1B2A4A;
  --navy-deep: #131E36;
  --teal: #1F5C63;
  --teal-soft: #E6EFEE;
  --rust: #B5562B;
  --rust-dark: #8F421F;
  --cream: #FAF6EE;
  --paper: #FFFDF8;
  --sand: #F2EADB;
  --line: #E2D7C3;
  --ink: #262A31;
  --muted: #5A5F68;
  --works: #2E7D4F;
  --partly: #9E6410;
  --myth: #A8322D;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(27, 42, 74, .08), 0 6px 18px rgba(27, 42, 74, .08);
  --head: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: "Lora", Georgia, "Times New Roman", serif;
  color-scheme: light;
}

/* Fonts are stored on this site (no outside requests) */
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/lora.woff2) format("woff2"); }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../fonts/lora-italic.woff2) format("woff2"); }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/oswald.woff2) format("woff2"); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.viewer-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.1875rem;          /* 19px: easy reading */
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--rust); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; }
h1 { color: var(--navy); font-weight: 700; font-size: clamp(2.1rem, 7.2vw, 3.6rem); letter-spacing: .2px; }
h2 { color: var(--teal); font-weight: 600; font-size: clamp(1.9rem, 5.6vw, 2.6rem); }
h3 { color: var(--navy); font-weight: 600; font-size: 1.4rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.section { padding: 64px 0; }
.section-alt { background: var(--sand); }
.eyebrow {
  font-family: var(--head); font-weight: 500; text-transform: uppercase;
  letter-spacing: .14em; font-size: .95rem; color: var(--rust); margin: 0 0 .6em;
}
.lead { font-size: 1.25rem; color: var(--ink); }
.center { text-align: center; }
.small { font-size: 1rem; color: var(--muted); }

/* ---------- Sale on / sale over ---------- */
/* Anything with class "sale-only" disappears once the sale ends. */
.sale-over .sale-only { display: none !important; }

/* ---------- Buttons ---------- */
a.btn, a.btn.gumroad-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 60px; padding: 12px 32px;
  background: var(--rust); color: #fff;
  font-family: var(--head); font-weight: 600; font-size: 1.4rem; letter-spacing: .03em;
  text-decoration: none; text-align: center; line-height: 1.2;
  border: 0; border-radius: 10px;
  box-shadow: 0 4px 0 var(--rust-dark);
  transition: transform .08s ease, box-shadow .08s ease, background .15s ease;
}
a.btn:hover, a.btn.gumroad-button:hover { background: #A44C24; color: #fff; transform: none; box-shadow: 0 4px 0 var(--rust-dark); }
a.btn:active, a.btn.gumroad-button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--rust-dark); }
.btn-block { width: 100%; }
/* gumroad.js adds its own logo/styles to buy buttons; hide them so ours stay clean */
a.btn.gumroad-button .logo-full, a.btn.gumroad-button .gumroad-button-logo, a.btn.gumroad-button::before { display: none !important; }

/* ---------- 1. Top bar ---------- */
.topbar {
  background: var(--rust); color: #fff; text-align: center;
  font-family: var(--head); font-weight: 500; font-size: 1.05rem; letter-spacing: .02em;
  padding: 9px 16px; line-height: 1.35;
}
.topbar strong { font-weight: 700; }
.topbar [data-countdown] { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- 2. Hero ---------- */
.hero { background: linear-gradient(180deg, #F1E9D9 0%, var(--cream) 100%); padding: 32px 0 48px; }
.hero-grid {
  display: grid; gap: 18px 20px;
  grid-template-columns: 128px 1fr;
  grid-template-areas:
    "brand brand"
    "head  head"
    "sub   sub"
    "cover price"
    "cta   cta"
    "trust trust"
    "facts facts";
  align-items: center;
}
.hero-brand { grid-area: brand; margin: 0; }
.hero h1 { grid-area: head; margin: 0; }
.hero-sub { grid-area: sub; margin: 0; font-size: 1.2rem; }
.hero-cover { grid-area: cover; }
.hero-cover img { border-radius: 4px; box-shadow: 0 10px 28px rgba(27, 42, 74, .28); }
.hero-price { grid-area: price; }
.hero-cta { grid-area: cta; }
.hero-trust { grid-area: trust; margin: 0; text-align: center; color: var(--muted); font-size: 1.05rem; }
.hero-facts { grid-area: facts; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.price-was { font-family: var(--head); font-size: 1.7rem; color: var(--muted); }
.price-was del { text-decoration-thickness: 3px; text-decoration-color: var(--rust); }
.price-now { font-family: var(--head); font-weight: 700; font-size: 3.4rem; line-height: 1; color: var(--navy); }
.price-label {
  flex-basis: 100%;
  display: inline-block; margin-top: 6px;
  font-family: var(--head); font-weight: 500; font-size: 1.05rem; color: var(--rust);
  letter-spacing: .02em;
}

.facts { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.facts li { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 4px; line-height: 1.2; }
.facts strong { display: block; font-family: var(--head); font-size: 1.6rem; color: var(--navy); }
.facts span { font-size: .9rem; color: var(--muted); }

@media (min-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid {
    grid-template-columns: 1fr 380px; gap: 22px 64px;
    grid-template-areas:
      "brand cover"
      "head  cover"
      "sub   cover"
      "price cover"
      "cta   cover"
      "trust cover"
      "facts cover";
  }
  .hero-cover { align-self: start; }
  .hero-cta .btn { width: auto; min-width: 340px; }
  .hero-trust { text-align: left; }
}

/* ---------- 3. Swiffer strip ---------- */
.swiffer { background: var(--teal); color: #F4EFE4; padding: 48px 0; }
.swiffer h2 { color: #fff; }
.swiffer a { color: #fff; }
.swiffer-card {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius); padding: 22px 22px 8px; margin: 20px 0 24px;
}
.swiffer-card h3 { color: #fff; font-size: 1.5rem; }
.stats { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.stats li {
  background: rgba(0, 0, 0, .18); border-radius: 999px; padding: 4px 14px;
  font-family: var(--head); font-weight: 500; font-size: 1.05rem;
}
.video-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px;
  font-family: var(--head); font-weight: 600; font-size: 1.25rem; text-decoration: none;
  border: 2px solid #fff; border-radius: 10px; padding: 8px 20px;
}
.video-link:hover { background: #fff; color: var(--teal); }
.video-link svg { flex: none; }

/* ---------- 4. Honest math ---------- */
.math-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 24px 0 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.math-table th, .math-table td { padding: 14px 16px; vertical-align: top; text-align: left; border-bottom: 1px solid var(--line); }
.math-table thead th { background: var(--navy); color: #fff; font-family: var(--head); font-weight: 600; font-size: 1.15rem; letter-spacing: .02em; }
.math-table td:first-child { border-right: 1px solid var(--line); width: 52%; }
.math-table .amt { display: block; font-family: var(--head); font-weight: 600; font-size: 1.45rem; color: var(--navy); line-height: 1.2; }
.math-table .what { display: block; font-size: 1rem; color: var(--muted); line-height: 1.45; }
.math-table .fix { font-size: 1.05rem; line-height: 1.5; }
.math-table tfoot td { background: var(--teal-soft); border-bottom: 0; }
.math-table tfoot .amt { font-size: 1.7rem; }
.savings {
  margin: 22px 0 10px; padding: 22px; text-align: center;
  background: var(--rust); color: #fff; border-radius: var(--radius);
  font-family: var(--head); font-weight: 600; font-size: clamp(1.6rem, 5.5vw, 2.3rem); line-height: 1.2;
}
.savings small { display: block; font-weight: 500; font-size: 1.05rem; letter-spacing: .02em; opacity: .95; margin-top: 4px; }

/* ---------- 5. Seven-Bottle Kit ---------- */
.kit-grid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.kit-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 16px; box-shadow: var(--shadow); }
.kit-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--head); font-weight: 700; font-size: 1.2rem; margin-bottom: 10px;
}
.kit-card h3 { margin-bottom: 2px; }
.kit-type { font-style: italic; color: var(--muted); font-size: 1rem; margin: 0 0 10px; }
.kit-card dl { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.kit-card dt { font-family: var(--head); font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; margin-top: 8px; }
.kit-card dt.off { color: var(--myth); }
.kit-card dd { margin: 0; }
.kit-price {
  position: absolute; top: 18px; right: 18px;
  background: var(--sand); border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px;
  font-family: var(--head); font-weight: 600; font-size: 1.05rem; color: var(--navy);
}
.kit-tools { margin-top: 24px; background: var(--paper); border: 1px dashed var(--rust); border-radius: var(--radius); padding: 16px 20px; font-size: 1.1rem; }

/* ---------- 6. Look inside (gallery) ---------- */
.gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.gallery-arrows { display: none; gap: 10px; }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--navy);
  background: var(--paper); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: inline-grid; place-items: center;
}
.round-btn:hover { background: var(--navy); color: #fff; }
@media (min-width: 900px) { .gallery-arrows { display: flex; } }
.gallery-strip {
  list-style: none; margin: 22px -20px 0; padding: 4px 20px 18px;
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding: 0 20px; -webkit-overflow-scrolling: touch;
}
.gallery-item { flex: 0 0 74%; max-width: 300px; scroll-snap-align: start; }
.gallery-item button {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; cursor: zoom-in; box-shadow: var(--shadow); overflow: hidden;
}
.gallery-item img { width: 100%; aspect-ratio: 2 / 3; object-fit: contain; background: #fff; }
.gallery-item p { margin: 10px 2px 0; font-size: 1rem; line-height: 1.4; }
.gallery-item p strong { font-family: var(--head); font-weight: 600; font-size: 1.1rem; color: var(--navy); display: block; }
.swipe-hint { margin: 4px 0 0; }

.viewer {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(15, 21, 35, .97); color: #fff;
}
.viewer::backdrop { background: rgba(15, 21, 35, .97); }
.viewer-strip { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.viewer-strip::-webkit-scrollbar { display: none; }
.viewer-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; padding: 70px 10px 90px; }
.viewer-slide img { max-height: 100%; max-width: min(100%, 900px); width: auto; object-fit: contain; background: #fff; border-radius: 4px; }
.viewer-close { position: fixed; top: 12px; right: 12px; }
.viewer-bar { position: fixed; left: 0; right: 0; bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 22px; font-family: var(--head); font-size: 1.15rem; }
.viewer .round-btn { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .7); }
.viewer .round-btn:hover { background: #fff; color: var(--navy); }

/* ---------- 7. Ratings ---------- */
.badge {
  display: inline-block; padding: 3px 14px; border-radius: 6px; color: #fff;
  font-family: var(--head); font-weight: 700; letter-spacing: .1em; font-size: 1.1rem;
}
.badge.works { background: var(--works); }
.badge.partly { background: var(--partly); }
.badge.myth { background: var(--myth); }
.rating-grid { display: grid; gap: 16px; margin-top: 26px; }
@media (min-width: 900px) { .rating-grid { grid-template-columns: repeat(3, 1fr); } }
.rating-card { background: var(--paper); border: 1px solid var(--line); border-top: 6px solid; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.rating-card.works { border-top-color: var(--works); }
.rating-card.partly { border-top-color: var(--partly); }
.rating-card.myth { border-top-color: var(--myth); }
.rating-card h3 { margin: 12px 0 6px; }
.rating-card blockquote { margin: 12px 0 0; padding: 0 0 0 14px; border-left: 3px solid var(--line); font-style: italic; font-size: 1.05rem; color: var(--muted); }
.honest-note { margin-top: 24px; font-size: 1.15rem; }

/* ---------- 8. What's inside ---------- */
.flow { list-style: none; padding: 0; margin: 18px 0 30px; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: flow; }
.flow li {
  counter-increment: flow; background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 14px 4px 6px; font-family: var(--head); font-weight: 500; font-size: 1.05rem; color: var(--navy);
}
.flow li::before {
  content: counter(flow); display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px;
  border-radius: 50%; background: var(--teal); color: #fff; font-size: .9rem;
}
.acc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; box-shadow: 0 1px 2px rgba(27, 42, 74, .06); }
.acc summary {
  list-style: none; cursor: pointer; position: relative; min-height: 60px;
  padding: 16px 60px 16px 20px; font-family: var(--head); font-weight: 600; font-size: 1.3rem; color: var(--navy); line-height: 1.3;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; background: var(--sand); color: var(--rust);
  display: grid; place-items: center; font-size: 1.6rem; font-weight: 500; line-height: 1;
}
.acc[open] summary::after { content: "\2212"; }
.acc summary .part-no { display: block; font-size: .95rem; font-weight: 500; color: var(--rust); letter-spacing: .12em; text-transform: uppercase; }
.acc-body { padding: 0 20px 14px; }
.acc-body ol { margin: 0; padding-left: 2.4em; }
.acc-body li { margin: 4px 0; font-size: 1.1rem; }
.acc-body li::marker { font-family: var(--head); color: var(--teal); }
.acc-body p { font-size: 1.1rem; }

/* ---------- 9. Who it's for ---------- */
.fit-grid { display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 900px) { .fit-grid { grid-template-columns: 1fr 1fr; } }
.fit { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.fit ul { list-style: none; padding: 0; margin: 0; }
.fit li { position: relative; padding-left: 36px; margin: 12px 0; font-size: 1.1rem; }
.fit li::before { position: absolute; left: 0; top: 0; font-family: var(--head); font-weight: 700; font-size: 1.3rem; }
.fit.yes li::before { content: "\2713"; color: var(--works); }
.fit.no li::before { content: "\2715"; color: var(--myth); }
.fit.no h3 { color: var(--muted); }

/* ---------- 10. Note from Matt ---------- */
.note {
  background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--rust);
  border-radius: var(--radius); padding: 24px 18px; box-shadow: var(--shadow);
}
.note-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.note-head img { width: 84px; height: 84px; border-radius: 50%; border: 3px solid var(--sand); }
.note-head h2 { margin: 0; }
.note > p:first-of-type { font-size: 1.35rem; font-weight: 600; color: var(--navy); }
.signature { font-style: italic; font-size: 1.3rem; color: var(--teal); margin: 1.2em 0 0; }

/* ---------- 11. Reviews (hidden until real reviews are added) ---------- */
.review-grid { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 900px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
.review { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review blockquote { margin: 0 0 10px; font-style: italic; }
.review figcaption { font-family: var(--head); color: var(--navy); }

/* ---------- 12. FAQ ---------- */
.faq .acc summary { font-size: 1.25rem; }

/* ---------- 13. Final CTA ---------- */
.final { background: var(--navy); color: #EDE6D8; padding: 64px 0 72px; text-align: center; }
.final h2 { color: #fff; }
.final img { width: 190px; margin: 0 auto 22px; border-radius: 4px; box-shadow: 0 14px 30px rgba(0, 0, 0, .4); }
.final .price { justify-content: center; }
.final .price-now { color: #fff; }
.final .price-was { color: #BFC6D4; }
.final .price-label { color: #F2A27B; text-align: center; }
.countdown { display: flex; justify-content: center; gap: 10px; margin: 22px 0 26px; }
.countdown div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; min-width: 72px; padding: 8px 6px; }
.countdown strong { display: block; font-family: var(--head); font-weight: 700; font-size: 2.1rem; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown span { font-family: var(--head); font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; color: #F2A27B; }
.final .btn { width: 100%; max-width: 420px; }
.final .small { color: #C9CFDA; margin-top: 14px; }

/* ---------- 14. Footer ---------- */
.footer { background: var(--navy-deep); color: #C9CFDA; padding: 44px 0 40px; font-size: 1rem; line-height: 1.6; }
.footer a { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-family: var(--head); font-size: 1.15rem; }
.footer-links a { text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-links a:hover { text-decoration: underline; color: #F2A27B; }
.footer p { margin: 0 0 12px; }
.footer .disclaimer { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 18px; }

/* ---------- Sticky buy bar (phones and small tablets) ---------- */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(255, 253, 248, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(27, 42, 74, .12);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility .25s;
}
.sticky-buy.is-visible { transform: none; visibility: visible; }
.sticky-buy .btn { width: 100%; min-height: 56px; font-size: 1.3rem; }
@media (max-width: 899px) { .footer { padding-bottom: 110px; } }
@media (min-width: 900px) { .sticky-buy { display: none; } }

/* ---------- Simple pages (privacy, terms, 404) ---------- */
.page-head { background: var(--navy); padding: 18px 0; }
.page-head a { color: #fff; font-family: var(--head); font-weight: 600; font-size: 1.2rem; text-decoration: none; }
.legal { padding: 48px 0 64px; }
.legal h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
.legal h2 { font-size: 1.6rem; margin-top: 1.4em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media (min-width: 600px) { .note { padding: 32px 36px; } }
