:root {
  --bg: #fff8f0;
  --surface: #ffffff;
  --text: #1f1235;
  --muted: #5c5470;
  --accent: #e0197d;
  --border: #f0e2d6;
  --pink: #ff3d8b;
  --orange: #ff8a00;
  --yellow: #ffd60a;
  --teal: #00c2a8;
  --purple: #7b2ff7;
  --blue: #2f80ff;
  --max: 960px;
  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #150d24;
    --surface: #211737;
    --text: #f6f0ff;
    --muted: #b9aecf;
    --accent: #ff6fae;
    --border: #33284d;
  }
}
* { box-sizing: border-box; }
html { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
header { background: var(--surface); border-bottom: 1px solid var(--border); position: relative; z-index: 2; }
header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow), var(--teal), var(--blue), var(--purple));
}
header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: .3em; font-family: var(--display); font-weight: 800; font-size: 1.3rem; text-decoration: none; color: var(--text); letter-spacing: -.01em; }
.brand img { flex: none; width: 28px; height: 28px; margin-right: .15em; }
.brand span { color: var(--accent); }
nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .95rem; font-weight: 600; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }

/* Page content */
main.wrap { padding-top: 44px; padding-bottom: 64px; }
main.wrap > h1:first-child, main.wrap > h2:first-child { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.015em; }
h1 { font-size: 2.2rem; line-height: 1.15; margin: 0 0 8px; }
h2 { font-size: 1.4rem; margin: 40px 0 10px; }
.lede { font-size: 1.15rem; color: var(--muted); margin-top: 0; }
.updated { color: var(--muted); font-size: .9rem; }
.notice { border: 1px solid var(--border); border-left: 5px solid var(--accent); background: var(--surface); padding: 12px 16px; border-radius: 10px; font-size: .95rem; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,214,10,.55), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(0,194,168,.5), transparent 45%),
    linear-gradient(135deg, var(--purple) 0%, var(--pink) 55%, var(--orange) 100%);
  background-size: 200% 200%;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
.hero .wrap { padding-top: 72px; padding-bottom: 80px; position: relative; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); font-weight: 800; line-height: 1.02; margin: 0 0 16px; max-width: 14ch; text-shadow: 0 3px 0 rgba(31,18,53,.18); }
.hero .lede { color: rgba(255,255,255,.92); font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  font: 700 1rem/1 var(--display); border: 0; cursor: pointer; border-radius: 999px;
  padding: 14px 22px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--yellow); color: #1f1235; box-shadow: 0 6px 0 #c9a600; }
.btn-ghost { background: rgba(255,255,255,.18); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.price-badge {
  position: absolute; right: 16px; top: 56px; width: 128px; height: 128px; border-radius: 50%;
  background: var(--yellow); color: #1f1235; display: grid; place-content: center; text-align: center;
  font-family: var(--display); font-weight: 800; transform: rotate(12deg);
  box-shadow: 0 10px 30px rgba(31,18,53,.25);
  animation: bob 3.2s ease-in-out infinite;
}
.price-badge b { font-size: 2.6rem; line-height: 1; }
.price-badge small { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
@keyframes bob { 0%,100% { transform: rotate(12deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-8px); } }
@media (max-width: 720px) {
  .price-badge { position: static; width: 104px; height: 104px; margin-bottom: 20px; }
  .price-badge b { font-size: 2.1rem; }
}

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 18px; }
.card {
  --c: var(--pink);
  position: relative; background: var(--surface); border: 2px solid var(--border); border-radius: 20px;
  padding: 22px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover, .card:focus-visible { transform: translateY(-6px) rotate(-.6deg); border-color: var(--c); box-shadow: 0 14px 0 -4px var(--c); outline: none; }
.card:nth-child(2) { --c: var(--teal); }
.card:nth-child(3) { --c: var(--purple); }
.card .icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-content: center; color: var(--c);
  background: color-mix(in srgb, var(--c) 18%, transparent); margin-bottom: 14px;
  transition: transform .25s ease;
}
.card .icon svg { width: 34px; height: 34px; }
.card:hover .icon { transform: rotate(-10deg) scale(1.08); }
.card h3 { margin: 0 0 6px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.price { display: inline-block; margin-top: 14px; font: 800 1.05rem var(--display); color: #fff; background: var(--c); padding: 4px 12px; border-radius: 999px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative; background: var(--surface); border: 2px solid var(--border);
  border-radius: 16px; padding: 16px 18px 16px 70px;
}
.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 14px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-content: center; font: 800 1.1rem var(--display); color: #fff; background: var(--pink);
}
.steps li:nth-child(2)::before { background: var(--orange); }
.steps li:nth-child(3)::before { background: var(--teal); }
.steps li:nth-child(4)::before { background: var(--purple); }
.steps strong { font-family: var(--display); }
.agent-callout {
  margin-top: 22px; border-radius: 18px; padding: 20px 22px; color: #fff;
  background: linear-gradient(120deg, var(--blue), var(--purple));
}
.agent-callout p { margin: 0; }
.agent-callout strong { font-family: var(--display); font-size: 1.1rem; display: block; margin-bottom: 2px; }

.card .more { display: block; margin-top: 12px; font-weight: 700; font-size: .95rem; color: var(--c); text-decoration: none; }
.card .more:hover { text-decoration: underline; }

/* Product pages */
.product-page { --c: var(--pink); }
.product-page.product-teal { --c: var(--teal); }
.product-page.product-purple { --c: var(--purple); }
.crumb { margin: 0 0 20px; font-weight: 600; }
.crumb a { text-decoration: none; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: start; }
@media (max-width: 720px) { .product-layout { grid-template-columns: 1fr; gap: 24px; } }
.product-image { width: 100%; max-width: 360px; height: auto; border-radius: 24px; box-shadow: 0 16px 0 -6px var(--c); }
.product-page h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.product-page .price { background: var(--c); margin: 4px 0 8px; }
.product-details { padding-left: 20px; margin: 16px 0 0; }
.product-details li { margin-bottom: 6px; }
.fine { color: var(--muted); font-size: .92rem; margin-top: 16px; }

/* Footer */
footer { border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 28px; }
footer a { color: var(--muted); }

/* Confetti layer */
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }

@media (prefers-reduced-motion: reduce) {
  .hero, .price-badge { animation: none; }
  .btn, .card { transition: none; }
}
