/* Zoe's Favorite Deals! — blush / rose / cream / soft gold, sticker style. Mobile-first. */
:root{
  --cream:#fff8f1; --cream2:#fbefe4; --blush:#f9dfe3; --blush2:#f4c9d0;
  --rose:#c9566f; --rose-d:#9e3550; --ink:#4a2a33; --ink-soft:#7d5a63;
  --gold:#c9a25a; --gold-l:#ecd8a8; --gold-d:#9c7a35;
  --mint:#dff1e6; --lav:#ece3f6;
  --r:22px; --shadow:0 2px 0 rgba(158,53,80,.08), 0 10px 24px -10px rgba(158,53,80,.28);
}
*{box-sizing:border-box}
html,body{margin:0}
body{
  font-family:"Poppins","Nunito",system-ui,-apple-system,sans-serif; color:var(--ink);
  background:
    radial-gradient(circle at 12% 8%, #fde7ec 0 120px, transparent 121px),
    radial-gradient(circle at 92% 30%, #fbeedd 0 90px, transparent 91px),
    linear-gradient(180deg,var(--cream) 0%, #fdf0ee 100%);
  min-height:100vh; -webkit-font-smoothing:antialiased;
}
.wrap{max-width:560px;margin:0 auto;padding:0 16px 32px}
.serif{font-family:"Fraunces",Georgia,serif}

/* SAMPLE ribbon */
.sample-bar{background:repeating-linear-gradient(135deg,var(--gold-l) 0 12px,#f3e4bd 12px 24px);
  color:var(--gold-d);font-weight:700;font-size:12px;letter-spacing:.12em;text-align:center;padding:6px 8px;text-transform:uppercase}

/* Header */
.hero{text-align:center;padding:22px 0 6px}
.hero .logo{width:168px;height:168px;border-radius:50%;display:block;margin:0 auto;
  box-shadow:0 0 0 6px #fff,0 0 0 8px var(--gold-l),var(--shadow)}
.hero h1{font-family:"Fraunces",Georgia,serif;font-weight:800;font-size:32px;line-height:1.05;margin:16px 0 4px;color:var(--rose-d)}
.hero p{margin:0;color:var(--ink-soft);font-size:15px}
.pill{display:inline-block;margin-top:10px;background:#fff;border:1.5px dashed var(--gold);color:var(--gold-d);
  font-size:12px;font-weight:700;letter-spacing:.08em;padding:5px 12px;border-radius:999px;text-transform:uppercase}

/* Grid of deal stickers */
.section-title{font-family:"Fraunces",Georgia,serif;font-weight:700;font-size:22px;color:var(--rose-d);margin:26px 4px 12px}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.card{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;text-decoration:none;color:inherit;
  background:#fff;border-radius:var(--r);padding:16px 10px 14px;box-shadow:var(--shadow);border:2px solid #fff;
  outline:1.5px dashed var(--blush2);outline-offset:-8px;transition:transform .15s}
.card:active{transform:scale(.97)}
.card:nth-child(4n+1){transform:rotate(-.8deg)} .card:nth-child(4n+2){transform:rotate(.7deg)}
.card:nth-child(4n+3){transform:rotate(.5deg)}  .card:nth-child(4n){transform:rotate(-.6deg)}
.card.double{grid-column:span 2}
.t-rose{background:#fde8ec}.t-blush{background:#fdf0f2}.t-cream{background:var(--cream2)}
.t-gold{background:#fbf1dc}.t-mint{background:var(--mint)}.t-lav{background:var(--lav)}
.badge{width:72px;height:72px;border-radius:50%;background:#fff;display:grid;place-items:center;overflow:hidden;
  box-shadow:0 0 0 3px #fff,0 0 0 5px var(--gold-l),0 6px 14px -6px rgba(158,53,80,.4)}
.badge img{width:100%;height:100%;object-fit:contain}
.badge.mono{font-family:"Fraunces",Georgia,serif;font-weight:800;font-size:24px;color:var(--rose-d);
  background:radial-gradient(circle at 30% 25%,#fff 0,#fbe4e9 70%)}
.badge.mono.small{font-size:19px}
.cat{margin-top:9px;font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-d)}
.name{font-weight:600;font-size:14px;line-height:1.2;margin-top:2px}
.offer{font-family:"Fraunces",Georgia,serif;font-weight:900;font-size:30px;line-height:1;color:var(--rose);margin:8px 0 2px;letter-spacing:-.01em}
.card.double .offer{font-size:40px}
.fine{font-size:12px;color:var(--ink-soft);line-height:1.3}
.plus{margin-top:6px;font-size:12px;font-weight:700;color:var(--rose-d);background:#fff;border-radius:999px;padding:3px 10px;border:1.5px solid var(--blush2)}
.tap{margin-top:auto;font-size:11px;font-weight:700;color:#fff;background:var(--rose);border-radius:999px;padding:5px 12px;letter-spacing:.04em}
.smpl{position:absolute;top:8px;right:10px;font-size:9px;font-weight:800;letter-spacing:.1em;color:var(--gold-d);background:var(--gold-l);border-radius:6px;padding:2px 5px}

/* How it works */
.how{background:#fff;border-radius:var(--r);padding:18px 18px 8px;box-shadow:var(--shadow);margin-top:6px}
.how ol{margin:0;padding:0;list-style:none;counter-reset:s}
.how li{counter-increment:s;position:relative;padding:0 0 14px 46px;font-size:14.5px;line-height:1.45}
.how li::before{content:counter(s);position:absolute;left:0;top:-2px;width:32px;height:32px;border-radius:50%;
  background:var(--blush);color:var(--rose-d);font-family:"Fraunces",Georgia,serif;font-weight:800;display:grid;place-items:center;
  box-shadow:0 0 0 2px #fff,0 0 0 3.5px var(--gold-l)}
.how b{color:var(--rose-d)}

footer{margin-top:28px;text-align:center;font-size:13px;color:var(--ink-soft);line-height:1.6;padding:18px 12px;
  border-top:1.5px dashed var(--blush2)}
footer a{color:var(--rose-d);font-weight:600;text-decoration:none}
footer .adv{font-family:"Fraunces",Georgia,serif;font-weight:700;color:var(--rose-d);font-size:15px}

/* ---------------- Coupon page ---------------- */
.topnav{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.topnav a{color:var(--rose-d);font-weight:600;text-decoration:none;font-size:14px}
.topnav img{width:44px;height:44px;border-radius:50%;box-shadow:0 0 0 2px #fff,0 0 0 3.5px var(--gold-l)}
.coupon{position:relative;background:#fff;border-radius:28px;box-shadow:var(--shadow);padding:22px 18px 20px;text-align:center;overflow:hidden;
  outline:2px dashed var(--blush2);outline-offset:-10px}
.tear{position:relative}
.tear::before,.tear::after{content:"";position:absolute;top:-15px;width:28px;height:28px;border-radius:50%;background:#fdf3ee}
.tear::before{left:-14px}.tear::after{right:-14px}
.offerwrap{position:relative}
.coupon .badge{width:110px;height:110px}
.coupon .badge.mono{font-size:36px}
.coupon .cat{font-size:12px;margin-top:12px}
.coupon .name{font-size:20px;font-family:"Fraunces",Georgia,serif;font-weight:700}
.coupon .offer{font-size:64px;margin:10px 0 4px}
.coupon .fine{font-size:15px}
.coupon .plus{display:inline-block;font-size:14px;margin-top:10px}
.tear{border-top:2px dashed var(--blush2);margin:18px -18px 14px}
.meta{display:flex;justify-content:space-between;gap:8px;font-size:12.5px;color:var(--ink-soft);text-align:left}
.meta b{display:block;color:var(--ink);font-size:13.5px}
.meta .r{text-align:right}

/* Live anti-screenshot strip: ticking clock + moving shimmer + pulsing dot */
.live{position:relative;margin:14px 0 0;border-radius:16px;padding:10px 12px;overflow:hidden;
  background:linear-gradient(110deg,#fbe1e7,#fff4dc,#f6dbe9,#fbe1e7);background-size:300% 100%;animation:holo 4s linear infinite;
  display:flex;align-items:center;justify-content:center;gap:10px}
.live::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.85) 50%,transparent 70%);
  transform:translateX(-100%);animation:sweep 2.2s ease-in-out infinite}
.dot{width:11px;height:11px;border-radius:50%;background:#2fb36b;box-shadow:0 0 0 0 rgba(47,179,107,.6);animation:pulse 1.2s infinite}
.clock{font-variant-numeric:tabular-nums;font-weight:700;font-size:20px;color:var(--rose-d);letter-spacing:.02em}
.livelbl{font-size:10.5px;font-weight:800;letter-spacing:.14em;color:var(--gold-d);text-transform:uppercase}
.spin{position:absolute;top:14px;right:16px;width:34px;height:34px;animation:rot 6s linear infinite}
@keyframes holo{to{background-position:300% 0}}
@keyframes sweep{to{transform:translateX(100%)}}
@keyframes pulse{70%{box-shadow:0 0 0 10px rgba(47,179,107,0)}100%{box-shadow:0 0 0 0 rgba(47,179,107,0)}}
@keyframes rot{to{transform:rotate(360deg)}}

.redeem{display:block;width:100%;margin-top:16px;border:0;border-radius:18px;padding:18px;font:inherit;font-size:20px;font-weight:700;color:#fff;
  background:linear-gradient(180deg,#d4667e,var(--rose-d));box-shadow:0 6px 0 #7f2740,0 14px 24px -8px rgba(158,53,80,.6);letter-spacing:.02em}
.redeem:active{transform:translateY(3px);box-shadow:0 3px 0 #7f2740}
.hint{font-size:12.5px;color:var(--ink-soft);margin-top:12px}

/* REDEEMED state */
.coupon.done .offer,.coupon.done .badge,.coupon.done .fine,.coupon.done .plus{filter:grayscale(.85);opacity:.45}
.coupon.done .live{animation:none;background:#eee}
.coupon.done .live::after,.coupon.done .spin{display:none}
.coupon.done .dot{background:#b9b9b9;animation:none}
.stamp{position:absolute;top:58%;left:50%;transform:translate(-50%,-50%) rotate(-7deg);z-index:3;
  border:5px solid var(--rose-d);color:var(--rose-d);border-radius:14px;padding:8px 16px 10px;background:rgba(255,248,241,.88);
  font-family:"Fraunces",Georgia,serif;text-align:center;box-shadow:0 0 0 3px rgba(255,255,255,.9) inset;white-space:nowrap}
.stamp .big{font-size:36px;font-weight:900;letter-spacing:.06em;line-height:1}
.stamp .when{font-family:"Poppins",sans-serif;font-size:13px;font-weight:700;margin-top:4px;letter-spacing:.02em}
.used-note{margin-top:16px;background:#fdecef;border-radius:16px;padding:14px;font-weight:600;color:var(--rose-d)}
.reset{display:inline-block;margin-top:18px;font-size:11px;color:var(--ink-soft)}

/* Confirm modal */
.modal{position:fixed;inset:0;background:rgba(74,42,51,.45);display:none;align-items:flex-end;justify-content:center;z-index:10;padding:16px}
.modal.open{display:flex}
.sheet{background:var(--cream);width:100%;max-width:520px;border-radius:26px;padding:22px 18px 18px;text-align:center;box-shadow:0 20px 50px rgba(0,0,0,.25)}
.sheet h2{font-family:"Fraunces",Georgia,serif;color:var(--rose-d);font-size:28px;margin:4px 0 6px}
.sheet p{margin:0 0 16px;color:var(--ink-soft);font-size:14.5px;line-height:1.45}
.sheet .row{display:flex;gap:10px}
.sheet button{flex:1;border-radius:16px;padding:15px;font:inherit;font-weight:700;font-size:16px;border:0}
.btn-cancel{background:#fff;color:var(--ink);box-shadow:inset 0 0 0 2px var(--blush2)}
.btn-ok{background:var(--rose-d);color:#fff}
.notfound{text-align:center;padding:60px 10px}
@media (prefers-reduced-motion:reduce){.live,.live::after,.spin,.dot{animation-duration:8s}}
.card .fine,.card .plus{margin-bottom:10px}
/* wide wordmark logos (Perkins Hardware, Expectations Too) */
.badge.wide{width:168px;height:72px;border-radius:22px;padding:6px 10px}
.coupon .badge.wide{width:260px;height:110px;border-radius:30px;padding:10px 16px}
.badge.pad{padding:9px}
.coupon .badge.pad{padding:14px}
.offer.long{font-size:21px;line-height:1.05}
.card.double .offer.long{font-size:26px}
.coupon .offer.long{font-size:38px;line-height:1.02}
.grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.card{min-width:0}
.card .badge.wide{width:100%;max-width:168px}
.card .name,.card .offer{overflow-wrap:anywhere}
/* keep wide logos fully inside the badge (grid items default to min-size:auto) */
.badge.wide img{min-width:0;min-height:0;max-height:100%}

/* Card-matching emphasis (Nov 1 2026): hl = loud second line, tiers = stacked amount + label, bold in fine */
.hl{font-family:"Fraunces",Georgia,serif;font-weight:800;font-size:19px;line-height:1.1;color:var(--rose-d);margin:2px 0 4px;overflow-wrap:anywhere}
.coupon .hl{font-size:32px;margin:4px 0 8px}
.fine b{font-weight:800;color:var(--rose-d)}
.offer.tiers{display:flex;flex-direction:column;gap:4px}
.offer.tiers .tier{display:flex;flex-direction:column;align-items:center}
.offer.tiers .t-amt{font-size:26px;line-height:1}
.offer.tiers .t-len{font-family:"Poppins",sans-serif;font-weight:700;font-size:12px;letter-spacing:.02em;color:var(--rose-d);margin-top:1px}
.coupon .offer.tiers{gap:10px}
.coupon .offer.tiers .t-amt{font-size:52px}
.coupon .offer.tiers .t-len{font-size:17px;margin-top:3px}
.coupon.done .hl{filter:grayscale(.85);opacity:.45}

/* ===== Featured (DOUBLE) spots — gold foil, glow, bigger; Nov 1 2026 ===== */
.card.double{transform:none !important;padding-top:40px;
  border:3px solid transparent;
  background:linear-gradient(170deg,#FFFBF4,#FFF2F2) padding-box,
    linear-gradient(135deg,#F6E3B0,#C9A25A 20%,#FFF4D6 40%,#B8893E 60%,#F3D9A0 80%,#C9A25A) border-box !important;
  box-shadow:0 0 0 1px rgba(255,244,214,.9),0 0 22px rgba(232,192,112,.55),0 8px 22px rgba(201,58,106,.22)}
.card.double .offer{font-size:52px;line-height:1}
.card.double .hl{font-size:20px}
.card.double .badge{width:96px;height:96px}
.card.double .badge.wide{width:100%;max-width:220px;height:96px}
.feat{position:absolute;top:10px;left:50%;transform:translateX(-50%);white-space:nowrap;
  background:linear-gradient(90deg,#B8893E,#F3D9A0 28%,#FFF4D6 50%,#E8C070 72%,#B8893E);color:#5A2238;
  font-weight:800;font-size:11px;letter-spacing:.14em;text-transform:uppercase;padding:5px 14px;border-radius:6px;
  box-shadow:0 2px 6px rgba(122,74,30,.3)}
.coupon .feat{position:static;transform:none;display:inline-block;margin:0 auto 10px}
.card.double .plus{font-size:16px}

/* ===== Bigger Zoe masthead logo (pt68u), Nov 1 2026 ===== */
.hero{padding:12px 0 2px}
.hero .logo{width:min(78vw,304px);height:auto;aspect-ratio:1/1;box-shadow:0 0 0 6px #fff,0 0 0 9px var(--gold-l),var(--shadow)}
.hero h1{margin:12px 0 4px}
.hero .pill{margin-top:8px}
.section-title{margin:16px 4px 10px}
.topnav{padding:8px 0 6px}
.topnav img{width:92px;height:92px;box-shadow:0 0 0 3px #fff,0 0 0 5px var(--gold-l),var(--shadow)}
@media (min-width:768px){
  .hero{padding:20px 0 4px}
  .hero .logo{width:360px}
  .hero h1{font-size:38px}
  .topnav img{width:132px;height:132px}
}
