/* PromoPlace — one stylesheet, no framework, no build deps. */

:root {
  --bg:        #fff8ec;
  --bg-soft:   #fdedd8;
  --bg-sunk:   #ffe9c9;
  --surface:   #ffffff;
  --ink:       #1e1713;
  --border:    #1e1713;
  --shadow-col:#1e1713;
  --text:      #1e1713;
  --text-soft: #5b4a40;
  --text-mute: #8a7568;

  --brand:     #ff5b3e;
  --brand-ink: #ffffff;
  --brand-soft:#ffe3dd;

  --c1: #ff5b3e;   /* coral   */
  --c2: #14b8a6;   /* teal    */
  --c3: #8b5cf6;   /* violet  */
  --c4: #f59e0b;   /* amber   */
  --c5: #ec4899;   /* pink    */
  --c6: #3b82f6;   /* blue    */

  --sun:       #ffc93c;
  --warn-bg:   #fff2c9;
  --warn-bd:   #1e1713;
  --warn-tx:   #4a3413;

  --radius:    20px;
  --radius-sm: 12px;
  --bw:        2.5px;
  --shadow:    4px 4px 0 var(--shadow-col);
  --shadow-lg: 7px 7px 0 var(--shadow-col);
  --maxw:      1160px;

  --font:    "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  letter-spacing: -.02em;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: var(--bw) solid var(--border);
}
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 900; font-size: 20px;
  letter-spacing: -.03em; text-decoration: none;
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 11px; flex: none;
  background: var(--brand); border: var(--bw) solid var(--border);
  box-shadow: 2px 2px 0 var(--shadow-col);
  display: grid; place-items: center; color: #fff;
  font-size: 16px; font-weight: 900; font-family: var(--font);
  transform: rotate(-6deg);
}
.nav { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav a {
  text-decoration: none; color: var(--text); font-size: 15px; font-weight: 600;
  padding: 7px 13px; border-radius: 999px; border: 2px solid transparent;
  transition: .12s ease;
}
.nav a:hover { background: var(--sun); border-color: var(--border); color: #1e1713; }
@media (max-width: 700px) { .nav a.hide-sm { display: none; } }

/* ---------- disclosure bar ---------- */
.disclosure-bar {
  background: var(--sun); color: #1e1713;
  border-bottom: var(--bw) solid var(--border);
  font-size: 13.5px; font-weight: 500;
  padding: 8px 0; text-align: center;
}
.disclosure-bar a { color: #1e1713; font-weight: 700; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 76px 0 56px; text-align: center;
  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--text) 16%, transparent) 1.6px, transparent 0)
    0 0 / 22px 22px;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(36px, 6.4vw, 66px); line-height: 1.02;
  text-wrap: balance;
  margin: 0 0 18px; font-weight: 900; max-width: 16ch; margin-inline: auto;
}
.hero h1 .mark {
  background: var(--sun); color: #1e1713;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  padding: 0 .16em; border-radius: 8px; transform: rotate(-1.2deg);
  display: inline-block;
}
.hero p { font-size: clamp(16.5px, 2vw, 19.5px); color: var(--text-soft); max-width: 56ch; margin: 0 auto 30px; text-wrap: pretty; }
.hero-meta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.hero-meta span {
  background: var(--surface); border: 2px solid var(--border);
  box-shadow: 2px 2px 0 var(--shadow-col);
  padding: 6px 14px; border-radius: 999px;
}

/* floating emoji stickers */
.hero .sticker {
  position: absolute; font-size: 40px; line-height: 1; z-index: 0;
  filter: drop-shadow(3px 3px 0 rgba(0,0,0,.14));
  animation: bob 5s ease-in-out infinite;
}
.hero .s1 { top: 14%;  left: 7%;  transform: rotate(-14deg); }
.hero .s2 { top: 62%;  left: 12%; transform: rotate(11deg);  animation-delay: -1.4s; }
.hero .s3 { top: 20%;  right: 8%; transform: rotate(13deg);  animation-delay: -2.6s; }
.hero .s4 { top: 66%;  right: 13%;transform: rotate(-9deg);  animation-delay: -3.7s; }
@keyframes bob { 0%,100% { translate: 0 0 } 50% { translate: 0 -12px } }
@media (max-width: 860px) { .hero .sticker { display: none; } }

/* ---------- ribbon ---------- */
.ribbon {
  background: var(--brand); color: #fff;
  border-block: var(--bw) solid var(--border);
  overflow: hidden; padding: 11px 0;
  font-weight: 700; font-size: 14.5px; letter-spacing: .02em;
}
.ribbon-track { display: flex; width: max-content; animation: slide 34s linear infinite; }
.ribbon-track span { padding: 0 22px; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%) } }

@media (prefers-reduced-motion: reduce) {
  .ribbon-track, .hero .sticker { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- filters ---------- */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 0 0 30px; }
.filters { display: flex; gap: 9px; flex-wrap: wrap; }
.chip {
  font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer;
  background: var(--surface); color: var(--text);
  border: 2px solid var(--border); border-radius: 999px; padding: 8px 16px;
  box-shadow: 2px 2px 0 var(--shadow-col);
  transition: transform .1s ease, box-shadow .1s ease, background .1s ease;
}
.chip:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--shadow-col); }
.chip[aria-pressed="true"] {
  background: var(--cat, var(--brand)); color: #fff;
  transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--shadow-col);
}
.search {
  margin-left: auto; flex: 1 1 220px; font: inherit; font-size: 15px; font-weight: 500;
  background: var(--surface); color: var(--text);
  border: 2px solid var(--border); border-radius: 999px; padding: 9px 18px; min-width: 210px;
  box-shadow: 2px 2px 0 var(--shadow-col);
}
.search::placeholder { color: var(--text-mute); }
.search:focus { outline: none; box-shadow: 3px 3px 0 var(--brand); }
@media (max-width: 700px) { .search { margin-left: 0; width: 100%; } }

/* ---------- product grid ---------- */
.grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card {
  display: flex; flex-direction: column; position: relative;
  background: var(--surface); border: var(--bw) solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow);
  transition: transform .14s ease, box-shadow .14s ease;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); }
.card:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--shadow-col); }
.thumb {
  aspect-ratio: 16 / 9; display: grid; place-items: center;
  font-size: 56px; position: relative;
  border-bottom: var(--bw) solid var(--border);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--sun); color: #1e1713;
  border: 2px solid #1e1713; box-shadow: 2px 2px 0 #1e1713;
  font-size: 12px; font-weight: 800; letter-spacing: .01em;
  padding: 4px 11px; border-radius: 999px;
  transform: rotate(-4deg);
}
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; gap: 9px; }
.eyebrow {
  align-self: flex-start;
  font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: var(--cat, var(--brand));
  padding: 3px 10px; border-radius: 999px;
}
.card h3 { margin: 0; font-size: 21px; line-height: 1.15; font-weight: 800; text-wrap: balance; }
.card p { margin: 0; color: var(--text-soft); font-size: 15px; flex: 1; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: 6px; padding-top: 15px;
  border-top: 2px dashed var(--border);
}
.price { font-size: 14.5px; font-weight: 700; color: var(--text); }
.price small { display: block; font-weight: 500; font-size: 12.5px; color: var(--text-mute); }
.go {
  font-size: 14px; font-weight: 800; white-space: nowrap;
  background: var(--sun); color: #1e1713;
  border: 2px solid #1e1713; box-shadow: 2px 2px 0 #1e1713;
  padding: 6px 13px; border-radius: 999px;
}

.empty { text-align: center; padding: 60px 0; color: var(--text-mute); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 800; font-size: 16.5px; text-decoration: none; cursor: pointer;
  padding: 14px 28px; border-radius: 999px;
  border: var(--bw) solid var(--border); box-shadow: var(--shadow);
  transition: transform .1s ease, box-shadow .1s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--shadow-col); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--text); }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] {
  background: var(--bg-sunk); color: var(--text-mute);
  pointer-events: none; box-shadow: 2px 2px 0 var(--shadow-col);
}

/* ---------- product page ---------- */
.crumbs { font-size: 14px; color: var(--text-mute); padding: 24px 0 0; font-weight: 500; }
.crumbs a { color: var(--text-soft); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }

.product { display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; padding: 26px 0 60px; align-items: start; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; gap: 30px; } }

.product-hero {
  aspect-ratio: 16/9; border-radius: var(--radius); display: grid; place-items: center;
  font-size: 96px; margin-bottom: 28px; overflow: hidden;
  border: var(--bw) solid var(--border); box-shadow: var(--shadow);
}
.product h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.06; margin: 0 0 12px; font-weight: 900; }
.product .lede { font-size: 19px; color: var(--text-soft); margin: 0 0 24px; font-weight: 500; }
.product h2 { font-size: 24px; margin: 34px 0 14px; font-weight: 800; }
.product p { color: var(--text-soft); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ticks li { padding-left: 32px; position: relative; color: var(--text-soft); }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--cat, var(--brand)); color: #fff;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800; line-height: 1;
}

.buybox {
  position: sticky; top: 88px;
  background: var(--surface); border: var(--bw) solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-lg);
  display: grid; gap: 15px;
}
@media (max-width: 900px) { .buybox { position: static; } }
.buybox .price-lg { font-family: var(--display); font-size: 26px; font-weight: 900; letter-spacing: -.02em; }
.buybox .price-lg small { display: block; font-family: var(--font); font-size: 13.5px; font-weight: 500; color: var(--text-mute); margin-top: 2px; letter-spacing: 0; }
.buybox dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 9px 14px; font-size: 14.5px; }
.buybox dt { color: var(--text-mute); font-weight: 500; }
.buybox dd { margin: 0; text-align: right; font-weight: 700; }
.buybox .fine { font-size: 12.5px; color: var(--text-mute); line-height: 1.55; margin: 0; }

.notice {
  background: var(--warn-bg); border: 2px solid var(--warn-bd); color: var(--warn-tx);
  box-shadow: 3px 3px 0 var(--shadow-col);
  border-radius: var(--radius-sm); padding: 13px 16px; font-size: 14px; line-height: 1.5;
}
.notice strong { font-weight: 800; }

.callout {
  background: var(--bg-soft); border: 2px solid var(--border);
  box-shadow: 3px 3px 0 var(--shadow-col);
  border-radius: var(--radius-sm); padding: 17px 19px; font-size: 14px; color: var(--text-soft);
  line-height: 1.6;
}

/* ---------- sections ---------- */
.section { padding: 62px 0; }
.section-sunk { background: var(--bg-soft); border-block: var(--bw) solid var(--border); }
.section h2 { font-size: clamp(28px, 3.6vw, 38px); margin: 0 0 10px; font-weight: 900; text-wrap: balance; }
.section .sub { color: var(--text-soft); margin: 0 0 32px; max-width: 60ch; font-size: 17px; }
.trio { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.trio > div {
  background: var(--surface); border: var(--bw) solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.trio h3 { font-size: 20px; margin: 0 0 8px; font-weight: 800; }
.trio p { margin: 0; color: var(--text-soft); font-size: 15px; }
.trio .ico {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center; font-size: 26px; margin-bottom: 14px;
  border: 2px solid var(--border); box-shadow: 2px 2px 0 var(--shadow-col);
  transform: rotate(-4deg);
}
.trio > div:nth-child(1) .ico { background: var(--c2); }
.trio > div:nth-child(2) .ico { background: var(--c4); }
.trio > div:nth-child(3) .ico { background: var(--c3); }

/* ---------- prose (legal pages) ---------- */
.prose { padding: 36px 0 64px; }
.prose h1 { font-size: clamp(30px, 4.4vw, 42px); margin: 0 0 8px; font-weight: 900; }
.prose .updated { color: var(--text-mute); font-size: 14.5px; margin: 0 0 32px; font-weight: 500; }
.prose h2 { font-size: 23px; margin: 36px 0 12px; font-weight: 800; }
.prose p, .prose li { color: var(--text-soft); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 2px; }

/* ---------- footer ---------- */
.site-foot {
  border-top: var(--bw) solid var(--border); background: var(--bg-sunk);
  padding: 48px 0 36px; margin-top: 20px;
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; margin-bottom: 32px; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; color: var(--text-soft); margin: 0 0 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--text-soft); text-decoration: none; font-size: 15px; font-weight: 500; }
.foot-grid a:hover { color: var(--text); text-decoration: underline; text-decoration-thickness: 2px; }
.foot-about p { color: var(--text-soft); font-size: 15px; margin: 0; max-width: 42ch; }
.foot-legal { border-top: 2px dashed var(--border); padding-top: 24px; font-size: 13px; color: var(--text-mute); line-height: 1.65; }
.foot-legal p { margin: 0 0 9px; }

.sr-only, .skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 12px; top: 12px; background: var(--brand); color: #fff;
  padding: 10px 18px; border-radius: 999px; z-index: 100;
  border: var(--bw) solid var(--border); box-shadow: var(--shadow);
}

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
