/* Notre Refrain · Christmas landing. Built for 40-60 year-old buyers on mobile:
   big type, high contrast, large tap targets, one action per screen. */

:root {
  --cream: #FBF6EE;
  --paper: #FFFFFF;
  --ink: #2A1E1A;
  --muted: #6B5B53;
  --red: #A3262F;     /* Bordeaux 45 tours, brand + CTA */
  --red-dark: #7E1B24;
  --green: #3B302B;   /* Espresso: sober secondary color (headers, selections, ticks) */
  --green-soft: #F1EBE4;   /* Sable: soft selected backgrounds */
  --gold: #C8963E;
  --line: #E8DDD0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(42, 30, 26, .10);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Nunito", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; }
a { color: var(--red); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h1 em { font-style: italic; color: var(--red); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* Top bar */
.topbar {
  background: var(--green);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: .95rem;
  padding: 8px 16px;
}
.topbar-sep { margin: 0 .4em; opacity: .6; }

/* Header */
.header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; }
.logo-mark { width: 40px; height: 40px; display: block; transition: transform .6s ease; }
.logo:hover .logo-mark { transform: rotate(180deg); }
.brand-name em { font-style: italic; color: var(--red); }
.footer .brand-name em { color: #E7B9A8; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--red); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--red); color: #fff; border: 0; border-radius: 999px;
  padding: 16px 28px; min-height: 56px;
  font: 800 1.05rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 16px rgba(179, 38, 30, .28);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn:focus-visible, .chip:focus-visible, .style-card:focus-visible, .offer:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-small { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: none; border: 2px solid var(--line); }
.btn-ghost:hover { background: var(--paper); }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: var(--cream); }
.btn-pay { font-size: 1.15rem; min-height: 64px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Hero */
.hero { padding: 36px 0 48px; background: radial-gradient(1200px 500px at 10% 0%, #F6E7D6 0%, var(--cream) 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
.eyebrow { color: var(--green); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; margin: 0 0 10px; }
.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 20px; }
.promises { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.promises li { display: flex; gap: 12px; align-items: flex-start; }
.tick { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; margin-top: 2px; }

/* Player */
.player, .sample {
  display: flex; align-items: center; gap: 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; box-shadow: var(--shadow);
}
.player-info { display: flex; flex-direction: column; flex: 1; }
.player-info span, .sample span { color: var(--muted); font-size: .9rem; }
.sample div { display: flex; flex-direction: column; }
.play {
  flex: 0 0 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--red); color: #fff; font-size: 1.1rem;
}
.play.playing { background: var(--green); }
.bars { display: flex; gap: 3px; align-items: flex-end; height: 26px; }
.bars i { width: 4px; background: var(--gold); border-radius: 2px; height: 30%; }
.player.playing .bars i { animation: eq 0.9s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: .15s !important; }
.bars i:nth-child(3) { animation-delay: .3s !important; }
.bars i:nth-child(4) { animation-delay: .45s !important; }
.bars i:nth-child(5) { animation-delay: .6s !important; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* Funnel */
.funnel {
  background: var(--paper); border-radius: 22px; box-shadow: 0 20px 50px rgba(42, 30, 26, .16);
  border: 2px solid var(--line); overflow: hidden; scroll-margin-top: 90px;
}
.funnel-head { background: var(--green); color: #fff; padding: 18px 20px 14px; }
.funnel-title { font-family: var(--font-head); font-size: 1.5rem; margin: 0; }
.funnel-sub { margin: 2px 0 12px; opacity: .85; font-weight: 600; }
.progress { height: 8px; background: rgba(255, 255, 255, .25); border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 20%; background: var(--gold); border-radius: 99px; transition: width .35s ease; }
.steps-labels { list-style: none; display: flex; justify-content: space-between; padding: 0; margin: 8px 0 0; font-size: .78rem; font-weight: 700; opacity: .75; }
.steps-labels li.active { opacity: 1; color: #FFE2A8; }

form { padding: 20px; }
.step { border: 0; padding: 0; margin: 0; display: none; }
.step.active { display: block; animation: fadein .25s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
legend, .step legend { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; margin-bottom: 14px; padding: 0; }
.hint { color: var(--muted); font-size: .95rem; margin: -6px 0 14px; }

.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-weight: 700; margin-bottom: 6px; }
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.field-label { font-weight: 700; margin: 4px 0 8px; }
input[type=text], input[type=email], input[type=password], textarea {
  width: 100%; font: 400 1.05rem/1.5 var(--font-body); color: var(--ink);
  background: #FFFDF9; border: 2px solid var(--line); border-radius: 12px; padding: 14px 14px;
}
input:focus, textarea:focus { outline: none; border-color: var(--green); background: #fff; }
textarea { resize: vertical; }
#lyrics { font-size: 1rem; line-height: 1.7; white-space: pre-wrap; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.chip {
  border: 2px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px;
  padding: 12px 18px; min-height: 48px; font: 700 1rem var(--font-body); cursor: pointer;
}
.chip.selected { border-color: var(--green); background: var(--green-soft); color: var(--green); }

.styles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.style-card {
  text-align: left; border: 2px solid var(--line); background: #fff; border-radius: 14px;
  padding: 12px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; font-family: var(--font-body); color: var(--ink);
}
.style-card strong { font-size: 1rem; }
.style-card small { color: var(--muted); font-size: .85rem; }
.style-emoji { font-size: 1.4rem; }
.style-card.selected { border-color: var(--green); background: var(--green-soft); }

.step-nav { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 8px; }
.error { color: var(--red); font-weight: 700; min-height: 1.2em; margin: 4px 0 8px; font-size: .95rem; }

.writing { text-align: center; padding: 40px 10px; }
.quill { font-size: 2.6rem; animation: write 1.2s ease-in-out infinite; }
@keyframes write { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg) translateX(6px); } }
.song-title { font-family: var(--font-head); font-size: 1.3rem; color: var(--red); margin: -6px 0 12px; }
.corrections { margin: 4px 0 16px; }
.corrections summary { cursor: pointer; font-weight: 700; color: var(--green); padding: 8px 0; }
.corrections input { margin: 8px 0 10px; }
.save-email { background: var(--cream); border-radius: 12px; padding: 12px; }

.offers { display: grid; gap: 12px; margin-bottom: 16px; }
.offer {
  position: relative; display: flex; align-items: center; gap: 14px; text-align: left;
  border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 16px; cursor: pointer;
  font-family: var(--font-body); color: var(--ink);
}
.offer.selected { border-color: var(--red); background: #FFF5F3; }
.offer-radio { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); flex: 0 0 24px; }
.offer.selected .offer-radio { border: 7px solid var(--red); }
.offer-body { display: flex; flex-direction: column; flex: 1; }
.offer-body strong { font-size: 1.1rem; }
.offer-body small { color: var(--muted); font-size: .92rem; }
.offer-price { font-weight: 800; font-size: 1.2rem; white-space: nowrap; }
.badge { position: absolute; top: -12px; right: 14px; background: var(--gold); color: #fff; font-weight: 800; font-size: .75rem; padding: 4px 10px; border-radius: 99px; }

.addons { display: grid; gap: 10px; margin-bottom: 14px; }
.addon { display: flex; gap: 12px; align-items: flex-start; background: var(--cream); border-radius: 12px; padding: 12px; cursor: pointer; }
.addon input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--green); flex: 0 0 22px; }
.addon small { color: var(--muted); }
.addon-included { opacity: .9; cursor: default; }
.included { list-style: none; padding: 0; margin: 0 0 16px; color: var(--green); font-weight: 700; display: grid; gap: 4px; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px dashed var(--line); padding-top: 12px; margin-bottom: 6px; font-size: 1.1rem; }
.total strong { font-size: 1.6rem; }
.secure { text-align: center; color: var(--muted); font-size: .9rem; margin: 10px 0 12px; }

/* Strip */
.strip { background: var(--ink); color: #fff; }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; font-weight: 700; font-size: .98rem; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: #F4EADC; }
.section h2 { text-align: center; }
.section-lead { text-align: center; color: var(--muted); margin: -4px auto 28px; max-width: 640px; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0; }
.how-step { background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 10px; }
.samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.moment { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
.giftcard {
  background: linear-gradient(160deg, var(--green) 0%, #2A221E 100%); color: #fff; border-radius: 18px;
  padding: 28px 24px; text-align: center; box-shadow: 0 24px 50px rgba(31, 77, 58, .35);
  border: 3px solid var(--gold); transform: rotate(-2deg);
}
.gc-brand { font-family: var(--font-head); font-size: .95rem; margin: 0 0 14px; opacity: .9; }
.gc-brand em { color: #FFE2A8; }
.gc-top { font-family: var(--font-head); font-size: 1.1rem; color: #FFE2A8; margin: 0; }
.gc-name { font-family: var(--font-head); font-size: 2.4rem; margin: 4px 0 8px; }
.gc-text { margin: 0 0 18px; }
.gc-qr { width: 110px; height: 110px; margin: 0 auto 10px; background: #fff; color: var(--ink); border-radius: 10px; display: grid; place-items: center; font-weight: 800; }
.gc-small { font-size: .85rem; opacity: .85; margin: 0; }
.moment h2 { text-align: left; }

.compare { max-width: 820px; margin: 28px auto 0; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.compare .row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.compare .row:last-child { border-bottom: 0; }
.compare .row span { padding: 14px 16px; }
.compare .head { background: var(--green); color: #fff; font-weight: 800; }
.compare .yes { color: var(--green); font-weight: 800; background: var(--green-soft); }
.compare .head span:nth-child(2) { background: var(--red); }

.guarantee { display: flex; gap: 28px; align-items: center; max-width: 820px; }
.guarantee h2 { text-align: left; }
.seal { flex: 0 0 120px; height: 120px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-size: 2.4rem; line-height: 1; border: 6px double #fff; }
.seal small { font-size: 1rem; font-family: var(--font-body); font-weight: 800; }

details { background: var(--paper); border-radius: 12px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(42, 30, 26, .05); }
#faq details summary { padding: 18px 20px; font-weight: 800; cursor: pointer; list-style: none; position: relative; padding-right: 48px; }
#faq details summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 1.5rem; color: var(--red); }
#faq details[open] summary::after { content: "−"; }
#faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

.final { background: var(--red); color: #fff; padding: 64px 0; }
.final p { font-size: 1.15rem; margin: 0 0 22px; }

.footer { background: var(--ink); color: #CDBFB6; padding: 28px 0 100px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { color: #CDBFB6; }

/* Sticky mobile CTA */
.sticky-cta { display: none; }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero { padding-top: 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy .player { display: none; }
  .promises { margin-bottom: 4px; }
  .how, .samples { grid-template-columns: 1fr; }
  .moment { grid-template-columns: 1fr; gap: 28px; }
  .giftcard { max-width: 320px; margin: 0 auto; }
  .moment h2, .guarantee h2 { text-align: center; }
  .guarantee { flex-direction: column; text-align: center; }
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 246, 238, .96);
    border-top: 1px solid var(--line); transition: transform .25s ease;
  }
  .sticky-cta.hidden { transform: translateY(110%); }
}

@media (max-width: 480px) {
  body { font-size: 17px; }
  .header .btn-small { display: none; }
  .styles { grid-template-columns: 1fr; }
  .compare .row { grid-template-columns: 1.1fr 1fr 1fr; font-size: .9rem; }
  .compare .row span { padding: 12px 10px; }
  .steps-labels { font-size: .7rem; }
  form { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Offer step: packs ---------- */
.packs { display: grid; gap: 14px; margin-bottom: 14px; }
.pack {
  position: relative; display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: start; text-align: left;
  border: 2px solid var(--line); background: #fff; border-radius: 16px; padding: 18px 16px 16px; cursor: pointer;
  font-family: var(--font-body); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.pack .offer-radio { margin-top: 3px; }
.pack.selected { border-color: var(--red); background: #FFF5F3; box-shadow: 0 8px 22px rgba(163, 38, 47, .14); }
.pack.selected .offer-radio { border: 7px solid var(--red); }
.pack-body strong { display: block; font-size: 1.12rem; margin-bottom: 4px; }
.pack-list { display: block; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.pack-list b { color: var(--ink); }
.pack-price { text-align: right; white-space: nowrap; }
.pack-price b { font-size: 1.25rem; }
.pack-price small { display: block; color: var(--green); font-weight: 700; font-size: .78rem; white-space: normal; max-width: 110px; }
.pack-demo { display: none; align-items: center; gap: 14px; background: var(--cream); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.pack-demo.show { display: flex; }
.pack-demo p { margin: 0; font-size: .92rem; color: var(--muted); }
.demo-phone { flex: 0 0 54px; height: 92px; border-radius: 12px; background: var(--ink); padding: 5px; }
.demo-screen { height: 100%; border-radius: 8px; background: linear-gradient(160deg, #6B4A3A, #2A1E1A); display: flex; align-items: flex-end; padding: 4px; }
.demo-line { font-size: 6px; color: var(--gold); font-weight: 800; line-height: 1.2; }
.demo-sleeve { flex: 0 0 70px; height: 70px; border-radius: 6px; background: var(--red); position: relative; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; box-shadow: 4px 4px 0 var(--ink); }
.demo-sleeve small { display: block; font-size: .55rem; font-family: var(--font-body); }
.addon { align-items: flex-start; }
.addon em { font-style: normal; font-weight: 800; color: var(--red); }
.addon-bump { background: #FFF3DC; border: 2px dashed var(--gold); }
.total-saving { color: var(--green); font-weight: 700; margin: 0 0 6px; font-size: .95rem; min-height: 1em; }
.inline-send { display: flex; gap: 8px; }
.inline-send input { flex: 1; }
.sent-ok { color: var(--green); font-weight: 700; display: block; margin-top: 6px; }
.writing-msg { color: var(--muted); font-style: italic; }

/* ---------- Showcase (visual upsell) ---------- */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0; }
.show-card { background: var(--paper); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); text-align: center; }
.show-card p { color: var(--muted); margin: 0; }
.show-visual { height: 220px; margin: 0 auto 16px; display: grid; place-items: center; position: relative; }
.show-visual.phone { width: 124px; border-radius: 22px; background: var(--ink); padding: 8px; }
.show-screen { width: 100%; height: 100%; border-radius: 16px; overflow: hidden; position: relative; background: #3A2A22; }
.show-photo { position: absolute; inset: 0; background: radial-gradient(circle at 50% 38%, #F1C9A5 0 16%, transparent 17%), radial-gradient(circle at 50% 80%, #8E3B3B 0 34%, transparent 35%), linear-gradient(160deg, #C7A27C, #5A3B2E); animation: kenburns 8s ease-in-out infinite alternate; }
.show-karaoke { position: absolute; left: 6px; right: 6px; bottom: 16px; color: #fff; font-size: .62rem; font-weight: 800; text-shadow: 0 1px 2px #000; }
.show-karaoke b { color: var(--gold); }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.15) translateY(-4%); } }
.show-visual.sleeve { width: 200px; height: 200px; background: var(--red); border-radius: 8px; box-shadow: 8px 8px 0 var(--ink); overflow: hidden; }
.sleeve-title { position: absolute; top: 18px; left: 0; right: 0; color: #FBF6EE; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2; }
.sleeve-disc { position: absolute; width: 150px; height: 150px; border-radius: 50%; bottom: -60px; left: 25px; background: radial-gradient(circle, var(--gold) 0 16%, var(--ink) 17% 100%); }
.show-visual.magic { width: 200px; border-radius: 12px; background: linear-gradient(160deg, #E9D7BF, #B98F6B); overflow: hidden; }
.magic-photo { position: absolute; inset: 20px; border-radius: 8px; background: radial-gradient(circle at 40% 40%, #F1C9A5 0 12%, transparent 13%), radial-gradient(circle at 64% 44%, #EBC09A 0 11%, transparent 12%), linear-gradient(#7A5A48, #4A3328); animation: breathe 3s ease-in-out infinite; }
.magic-spark { position: absolute; top: 12px; right: 16px; font-size: 1.6rem; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .pack { grid-template-columns: 22px 1fr; }
  .pack-price { grid-column: 2; text-align: left; }
  .pack-price small { max-width: none; }
}

.legal-consent { font-size: .82rem; color: var(--muted); text-align: center; margin: -4px 0 12px; }

.names-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.story-tips { font-size: .88rem; color: var(--muted); margin: -8px 0 14px; }
.chips-small .chip { min-height: 42px; padding: 9px 14px; font-size: .92rem; }
