/* Marion's Yarn Counter Secrets: mobile-first sales site */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/fonts/lora-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/fonts/lora-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/fonts/lora-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/fonts/caveat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root { --cream: #FBF5E9; --cream2: #F3E8D2; --wood: #B07A3F; --wood-dk: #6B4423; --berry: #A3253B; --berry-dk: #861B2F;
  --blue: #4F7CA8; --blue-lt: #DCE7F1; --ink: #33261B; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "Lora", Georgia, serif; font-size: 18px; line-height: 1.6; padding-bottom: 104px; }
img, video { max-width: 100%; display: block; }
a { color: var(--berry); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.15; color: var(--berry); margin: 0 0 .5em; }
h1 { font-size: 34px; }
h2 { font-size: 29px; }
h3 { font-size: 21px; color: var(--wood-dk); }
strong, b { color: var(--wood-dk); }

/* knit star divider (CSS only, no image request) */
.sec h2::after, .hero h1::after { content: "✦ ✦ ✦"; display: block; font-size: 15px; letter-spacing: 6px; color: var(--blue); margin-top: 10px; }

.top { background: var(--blue); color: #fff; }
.top-in { display: flex; justify-content: space-between; align-items: center; min-height: 52px; gap: 10px; }
.brand { font-family: "Fraunces", serif; font-weight: 700; font-size: 20px; letter-spacing: .04em; white-space: nowrap; }
.top-tag { font-size: 13px; opacity: .9; text-align: right; line-height: 1.25; max-width: 50%; }

.hero { padding: 26px 0 30px; background:
  radial-gradient(circle at 12px 12px, rgba(79,124,168,.16) 2px, transparent 2.5px) 0 0 / 24px 24px, var(--cream); }
.kicker { font-family: "Fraunces", serif; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--blue); font-size: 14px; margin: 0 0 8px; }
.sub { font-size: 19px; }
.video { margin: 18px 0; border-radius: 16px; overflow: hidden; border: 5px solid var(--wood); background: #2b2119; aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; object-fit: cover; }

.btn { display: flex; align-items: center; justify-content: center; min-height: 60px; width: 100%; padding: 14px 22px; border-radius: 14px;
  background: var(--berry); color: #fff; font-family: "Fraunces", serif; font-weight: 700; font-size: 22px; text-decoration: none; border: 0;
  box-shadow: 0 4px 0 var(--berry-dk); cursor: pointer; text-align: center; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--berry-dk); }
.btn:focus-visible { outline: 4px solid var(--blue); outline-offset: 3px; }
.alt-btn { background: var(--blue); box-shadow: 0 4px 0 #36597d; }
.pdf-note { font-size: 17px; color: var(--wood-dk); text-align: center; margin: 10px 0 4px; line-height: 1.45; }
.pdf-note.box { background: #fff; border: 2px dashed var(--wood); border-radius: 12px; padding: 10px 12px; margin: 14px 0; text-align: left; }
.guar-mini { text-align: center; font-size: 16px; margin: 0; }

.stats { background: var(--wood-dk); color: #fff; padding: 18px 0; }
.stats-in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; text-align: center; }
.stats-in div:last-child { grid-column: 1 / -1; }
.stats b { display: block; font-family: "Fraunces", serif; font-size: 34px; color: #fff; line-height: 1.05; }
.stats span { font-size: 16px; color: #F3E3C7; }

.sec { padding: 40px 0; }
.alt { background: var(--cream2); }
.pains { list-style: none; padding: 0; margin: 0 0 16px; }
.pains li { background: #fff; border-left: 6px solid var(--berry); border-radius: 0 12px 12px 0; padding: 12px 16px; margin-bottom: 10px; }
.voice { font-style: italic; font-size: 19px; }

.costs { background: #fff; border-radius: 16px; padding: 6px 16px; margin: 16px 0; }
.cost { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 2px dotted #D8C4A2; }
.cost:last-child { border-bottom: 0; }
.cost small { display: block; font-size: 15px; color: #7a6450; }
.cost b { font-family: "Fraunces", serif; font-size: 22px; white-space: nowrap; }
.cost.total b { color: var(--berry); font-size: 28px; }
.cost.total span { font-weight: 700; color: var(--berry); }
.honest { font-size: 17px; }
.sources { font-size: 14px; color: #7a6450; padding-left: 20px; }
.sources a { color: #7a6450; }

.inside { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.inside img { border-radius: 8px; box-shadow: 0 6px 18px rgba(107,68,35,.18); background: #fff; height: auto; }

.parts { display: grid; gap: 14px; }
.part { background: #fff; border-radius: 16px; padding: 16px 18px; border-top: 6px solid var(--blue); }
.part i { font-family: "Fraunces", serif; font-style: normal; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); font-size: 14px; }
.part h3 { margin: 4px 0 6px; }
.part p { margin: 0; font-size: 17px; }

.buybox { background: #fff; border: 4px solid var(--berry); border-radius: 22px; padding: 22px 18px; display: grid; gap: 18px; }
.buy-cover { width: 70%; max-width: 300px; margin: 0 auto; border-radius: 8px; box-shadow: 0 10px 24px rgba(0,0,0,.18); height: auto; }
.price { margin: 0 0 10px; }
.price b { font-family: "Fraunces", serif; font-size: 46px; color: var(--berry); }
.price span { font-size: 16px; color: #7a6450; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 6px 0 6px 34px; position: relative; }
.ticks li::before { content: "✔"; position: absolute; left: 4px; color: var(--blue); font-weight: 700; }
.guar { background: var(--blue-lt); border-radius: 12px; padding: 12px 14px; margin-top: 14px; font-size: 17px; }
.err { background: #FDE6E8; border: 2px solid var(--berry); border-radius: 10px; padding: 10px 12px; }

.note { display: grid; gap: 18px; }
.note-img { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; border: 6px solid var(--wood); margin: 0 auto; }
.sig { font-family: "Caveat", cursive; font-size: 44px; color: var(--berry); margin: 0; line-height: 1; }

.faq details { background: #fff; border-radius: 14px; margin-bottom: 10px; border: 2px solid #EADBC2; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-family: "Fraunces", serif; font-weight: 700; font-size: 20px; color: var(--wood-dk); list-style: none; position: relative; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 28px; color: var(--berry); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; }

.lead form { background: #fff; border-radius: 18px; padding: 20px 18px; display: grid; gap: 12px; }
.lead label { font-weight: 700; color: var(--wood-dk); }
.lead input[type=email] { font: inherit; font-size: 19px; min-height: 58px; padding: 10px 14px; border: 2px solid #CDB590; border-radius: 12px; width: 100%; }
.lead input[type=email]:focus { outline: 3px solid var(--blue); border-color: var(--blue); }
.chk { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; color: var(--ink) !important; cursor: pointer; }
.chk input { width: 28px; height: 28px; flex: 0 0 28px; margin: 2px 0 0; accent-color: var(--berry); }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.small { font-size: 16px; color: #7a6450; margin: 0; }
.lead-msg { background: var(--blue-lt); border-radius: 12px; padding: 12px; margin: 0; }

.final { text-align: center; background: var(--blue); color: #fff; }
.final h2 { color: #fff; }
.final h2::after { color: #F3E3C7; }
.final .pdf-note, .final .guar-mini { color: #F3E8D2; }

.foot { background: var(--wood-dk); color: #F3E3C7; text-align: center; padding: 22px 0 26px; font-size: 16px; }
.foot a { color: #fff; }
.foot p { margin: 4px 0; }

.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(251,245,233,.97); border-top: 3px solid var(--wood);
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); text-align: center; transform: translateY(110%); transition: transform .25s; }
.sticky.show { transform: none; }
.sticky .btn { min-height: 56px; font-size: 20px; }
.sticky span { display: block; font-size: 13px; color: var(--wood-dk); margin-top: 4px; line-height: 1.3; }

.offer { position: fixed; inset: 0; z-index: 50; background: rgba(40,28,18,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.offer[hidden] { display: none; }
.offer-card { background: var(--cream); border: 5px solid var(--berry); border-radius: 22px; padding: 22px 20px 18px; max-width: 460px; width: 100%; position: relative; text-align: center; max-height: 94vh; overflow: auto; }
.offer-img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid var(--wood); margin: 0 auto 10px; }
.offer-card h2 { font-size: 25px; }
.offer-card h2::after { display: none; }
.offer-x { position: absolute; right: 8px; top: 6px; width: 48px; height: 48px; border: 0; background: none; font-size: 34px; color: var(--wood-dk); cursor: pointer; }

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  .hero { padding: 48px 0; }
  .btn { width: auto; min-width: 380px; margin: 0 auto; }
  .stats-in { grid-template-columns: repeat(5, 1fr); }
  .stats-in div:last-child { grid-column: auto; }
  .inside { grid-template-columns: repeat(3, 1fr); }
  .parts { grid-template-columns: 1fr 1fr; }
  .buybox { grid-template-columns: 320px 1fr; align-items: center; padding: 30px; }
  .buybox .btn { margin: 0; }
  .note { grid-template-columns: 260px 1fr; align-items: start; }
  .note-img { width: 260px; height: 260px; }
  .sticky { display: none; }
  .lead form { max-width: 620px; }
}
