/* cutestickers: a cream page, bubbly type, ink outlines like the stickers
   themselves, and stickers that tilt when you touch them. Phone first. */
:root {
  --bg: #fff4e6;
  --paper: #fffdf8;
  --ink: #2a1840;
  --muted: #6e5b80;
  --line: #ecdcca;
  --pink: #ff5fa2;
  --lilac: #b69cff;
  --lime: #c6f35a;
  --sky: #8fd8ff;
  --butter: #ffe66d;
  --display: "Bagel Fat One", "Arial Rounded MT Bold", ui-rounded, system-ui, sans-serif;
  --sans: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 500; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
h1, h2, .brand { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.small { font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 2px solid var(--ink); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; min-height: 60px; padding-top: 6px; padding-bottom: 6px; }
.brand { display: inline-flex; align-items: center; gap: 6px; font-size: 26px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: 34px; transform: rotate(-12deg); transition: transform .3s; }
.brand:hover img { transform: rotate(20deg) scale(1.1); }
.top nav { display: flex; gap: 6px; overflow-x: auto; }
.top nav a { text-decoration: none; font-weight: 800; font-size: 15px; padding: 6px 14px; border-radius: 999px; border: 2px solid transparent; white-space: nowrap; }
.top nav a:hover { border-color: var(--ink); }
.top nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
@media (max-width: 639px) { .top { position: static; } .top nav { width: 100%; } }

/* Hero: big bubbly headline, a pile of stickers */
.hero { padding: 36px 0 12px; overflow: hidden; }
.hero-inner { display: grid; gap: 12px; align-items: center; }
@media (min-width: 860px) { .hero-inner { grid-template-columns: 1.1fr 1fr; } }
h1 { font-size: clamp(48px, 11vw, 104px); line-height: 0.92; margin: 8px 0 18px; }
h1 span { color: var(--pink); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.lede { font-size: 19px; max-width: 520px; margin: 0; color: var(--muted); font-weight: 600; }
.hero-stack { position: relative; height: 300px; }
@media (min-width: 860px) { .hero-stack { height: 400px; } }
.float { position: absolute; width: 34%; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.float img { width: 100%; height: auto; display: block; }
.float:hover { transform: rotate(0) scale(1.12) !important; z-index: 2; }
.f1 { left: 2%; top: 4%; transform: rotate(-10deg); }
.f2 { left: 33%; top: 0; transform: rotate(8deg); }
.f3 { left: 64%; top: 8%; transform: rotate(-6deg); }
.f4 { left: 10%; top: 44%; transform: rotate(14deg); width: 28%; }
.f5 { left: 40%; top: 46%; transform: rotate(-12deg); }
.f6 { left: 70%; top: 48%; transform: rotate(6deg); width: 28%; }
@media (prefers-reduced-motion: no-preference) {
  .f2, .f5 { animation: bob 5s ease-in-out infinite; }
  .f3 { animation: bob 6s ease-in-out -2s infinite; }
}
@keyframes bob { 50% { translate: 0 -8px; } }

/* The wall */
.wall { padding-top: 16px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 14px 0 26px; position: sticky; top: 62px; z-index: 5; padding: 10px 0; background: var(--bg); }
@media (max-width: 639px) { .filters { position: static; } }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: inherit; font-weight: 800; font-size: 15px; padding: 8px 16px; min-height: 40px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip:nth-child(2)[aria-pressed="true"] { background: var(--lilac); color: var(--ink); }
.chip:nth-child(3)[aria-pressed="true"] { background: var(--butter); color: var(--ink); }
.chip:nth-child(4)[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.chip:nth-child(5)[aria-pressed="true"] { background: var(--pink); color: var(--ink); }
.search { flex: 1 1 260px; }
.search input { font: inherit; font-size: 16px; font-weight: 600; width: 100%; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); }
.search input:focus { outline: 3px solid var(--pink); outline-offset: 1px; }

.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.grid.small { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .grid.small { grid-template-columns: repeat(4, 1fr); } }
.card a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 12px 12px; border-radius: 24px; background: var(--paper); border: 2px solid var(--line); text-decoration: none; transition: border-color .15s, transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.card img { width: 100%; height: auto; aspect-ratio: 1; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.card span { font-weight: 800; font-size: 15px; }
.card a:hover { border-color: var(--ink); }
.card:nth-child(odd) a:hover img { transform: rotate(-8deg) scale(1.06); }
.card:nth-child(even) a:hover img { transform: rotate(7deg) scale(1.06); }
.card[hidden] { display: none; }
.empty { text-align: center; color: var(--muted); font-weight: 700; padding: 40px 0; }

/* Sticker page */
.detail { display: grid; gap: 24px; padding-top: 28px; align-items: center; }
@media (min-width: 820px) { .detail { grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 44px; } }
.preview { border-radius: 32px; border: 2px solid var(--ink); padding: 8%; background-color: #fff; background-image: linear-gradient(45deg, #f1e8ff 25%, transparent 25%), linear-gradient(-45deg, #f1e8ff 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f1e8ff 75%), linear-gradient(-45deg, transparent 75%, #f1e8ff 75%); background-size: 28px 28px; background-position: 0 0, 0 14px, 14px -14px, -14px 0; }
.preview img { width: 100%; height: auto; display: block; transform: rotate(-4deg); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; }
.tag { font-size: 13px; font-weight: 800; padding: 3px 12px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); text-decoration: none; }
a.tag { background: var(--lilac); }
.detail h1 { font-size: clamp(44px, 8vw, 76px); margin: 12px 0 10px; }
.desc { font-size: 19px; color: var(--muted); font-weight: 600; margin: 0 0 22px; max-width: 520px; }
.dl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.size { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.size select { font: inherit; font-size: 16px; font-weight: 700; padding: 8px 12px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font: inherit; font-weight: 900; font-size: 16px; text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 var(--ink); transition: transform .08s, box-shadow .08s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.btn.primary { background: var(--pink); }
.btn[hidden] { display: none; }
.status { min-height: 1.6em; font-weight: 700; color: var(--muted); margin: 12px 0 0; }
.license { font-size: 15px; color: var(--muted); margin: 6px 0 0; }
h2 { font-size: clamp(30px, 5vw, 44px); margin: 56px 0 16px; }
.more { margin: 16px 0 0; font-weight: 800; }
.cat-head { padding-top: 32px; }
.cat-head .lede { margin-bottom: 24px; }
.prose { max-width: 720px; padding-top: 32px; }
.prose ul { padding-left: 22px; }
.prose h2 { font-size: 30px; margin: 28px 0 8px; }

.foot { margin-top: 72px; background: var(--ink); color: #f3e9ff; padding: 28px 0 40px; }
.foot a { color: #fff; }
.foot p { margin: 4px 0; }
.formats { font-weight: 800; font-size: 15px; margin: -4px 0 12px; color: var(--ink); }
.uses { font-size: 15px; color: var(--muted); margin: 14px 0 0; }
.btn.pin { background: #e60023; color: #fff; }
.pack { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 28px; }
.pack .small { color: var(--muted); font-weight: 700; }

/* Commercial licence: nav link, credit box, use dialog, pricing, certificate */
.top nav a.nav-buy { border-color: var(--ink); background: var(--butter); }
.credit { margin-top: 18px; padding: 12px 14px; border: 2px dashed var(--line); border-radius: 18px; background: var(--paper); }
.credit p { margin: 0 0 8px; font-size: 15px; }
.credit-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.credit code { font-size: 12px; background: #f6eefc; padding: 6px 10px; border-radius: 10px; overflow-x: auto; max-width: 100%; white-space: nowrap; }
.btn.small-btn { min-height: 36px; padding: 4px 14px; font-size: 14px; box-shadow: 0 3px 0 var(--ink); }


.pricing-head { padding-top: 32px; }
.tiers { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 860px) { .tiers { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.tier { position: relative; background: var(--paper); border: 2px solid var(--line); border-radius: 28px; padding: 22px 20px 20px; }
.tier.featured { border-color: var(--ink); box-shadow: 0 6px 0 var(--ink); background: #fff6fb; }
.tier .flag { position: absolute; top: -14px; right: 18px; margin: 0; background: var(--butter); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 12px; font-weight: 900; font-size: 13px; }
.tier h2 { margin: 0; font-size: 34px; }
.tier .for { color: var(--muted); font-weight: 700; margin: 4px 0 10px; min-height: 3.2em; }
.tier .price { font-family: var(--display); font-size: 48px; margin: 0 0 8px; }
.tier .price span { font-family: var(--sans); font-size: 15px; font-weight: 800; color: var(--muted); }
.tier ul { list-style: none; padding: 0; margin: 0 0 8px; font-size: 15px; }
.tier li { padding: 3px 0 3px 22px; position: relative; }
.tier .yes li::before { content: "✓"; position: absolute; left: 0; font-weight: 900; color: #1a9a5a; }
.tier .no li { color: var(--muted); }
.tier .no li::before { content: "✕"; position: absolute; left: 0; font-weight: 900; }
.tier form, .tier .btn { margin-top: 12px; }
.tier .btn { width: 100%; }
.enterprise { margin-top: 20px; color: var(--muted); }
.faq details { border-top: 2px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 800; }

.thanks .status { font-size: 18px; }
.certificate { margin: 24px 0 16px; padding: 28px 24px; border: 3px double var(--ink); border-radius: 24px; background: #fff; }
.cert-brand { font-family: var(--display); font-size: 28px; margin: 0; color: var(--pink); }
.certificate h2 { margin: 4px 0 16px; font-size: 30px; }
.certificate dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.certificate dt { font-weight: 900; }
.certificate dd { margin: 0; word-break: break-word; }
@media print {
  .top, .foot, .thanks .btn, .thanks .lede, .thanks h1 { display: none !important; }
  body { background: #fff; }
  .certificate { border-color: #000; }
}
.top nav a.nav-buy[aria-current="page"] { background: var(--butter); color: var(--ink); }
.tiers.two { max-width: 820px; } @media (min-width: 860px) { .tiers.two { grid-template-columns: 1fr 1fr; } }
.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
.swatch-label { font-weight: 800; font-size: 15px; margin-right: 2px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 800; font-size: 14px; color: var(--ink); padding: 6px 14px 6px 8px; min-height: 40px; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); cursor: pointer; }
.swatch .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); }
.swatch[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.wall-title { margin: 8px 0 0; }
.chips { flex-direction: column; gap: 8px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip-label { font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); min-width: 52px; }
.steps { padding-left: 22px; }
.steps li { margin: 6px 0; }
.ext-head .pack .small { display: block; max-width: 560px; }

/* Language menu (the globe in the header) */
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; font-weight: 800; font-size: 14px; padding: 6px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; list-style: none; margin: 0; padding: 6px; width: 210px; max-height: 70vh; overflow-y: auto; background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 0 6px 0 var(--ink); }
.lang li a { display: flex; gap: 10px; align-items: baseline; padding: 6px 10px; border-radius: 12px; text-decoration: none; font-weight: 700; }
.lang li a span { width: 22px; font-size: 11px; font-weight: 900; color: var(--muted); }
.lang li a:hover { background: #f6eefc; }
.lang li a[aria-current="true"] { background: var(--butter); }
[dir="rtl"] .lang ul { right: auto; left: 0; }
.foot .langs a { white-space: nowrap; }

/* Style and Theme dropdowns */
.pick { flex: 0 1 auto; position: relative; }
.pick select { appearance: none; -webkit-appearance: none; font: inherit; font-size: 16px; font-weight: 800; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 9px 40px 9px 16px; min-height: 44px; cursor: pointer; }
.pick::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
[dir="rtl"] .pick select { padding: 9px 16px 9px 40px; }
[dir="rtl"] .pick::after { right: auto; left: 16px; }
.pick select:focus { outline: 3px solid var(--pink); outline-offset: 1px; }
@media (max-width: 639px) { .pick { flex: 1 1 calc(50% - 5px); } .pick select { width: 100%; } }
.swatch .dot-doodle { border-style: dashed; background-image: repeating-linear-gradient(45deg, transparent 0 3px, rgba(42, 24, 64, .25) 3px 4px) !important; }
.free-stamp { display: inline-block; margin: 18px 0 0; font-weight: 900; font-size: 15px; padding: 6px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--lime); transform: rotate(-2deg); box-shadow: 0 3px 0 var(--ink); }
.home-faq { padding-top: 8px; }
