/* Stikka — Sticker Bomb, refined. Xerox paper, die-cut stickers, tape, marker scribbles.
   Colors and type match the app (Sky/Ink.swift). */
:root {
  --paper: #FBFAF5;
  --desk: #E4E1DA;
  --ink: #161616;
  --soft: #4a4a4a;
  --pink: #FF4FA3;
  --lime: #C6F432;
  --lilac: #B9A2FF;
  --sky: #5CC8FF;
  --tangerine: #FF7A2F;
  --gold: #F2C230;
  --mint: #6FE3B5;
  --pink-text: #C2185B;
  --lilac-text: #5B3FB0;
  --tape: rgba(242, 220, 150, .85);
  --display: 'Bowlby One SC', 'Arial Black', sans-serif;
  --mono: 'Space Mono', ui-monospace, Menlo, monospace;
  --marker: 'Permanent Marker', 'Comic Sans MS', cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.6;
  background:
    radial-gradient(circle, rgba(0,0,0,.07) 1px, transparent 1.6px) 0 0 / 7px 7px,
    radial-gradient(circle, rgba(255,255,255,.7) 1px, transparent 1.8px) 3px 4px / 11px 11px,
    var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-text); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); background: var(--lime); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 32px); }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { background: none; }
.brand img { width: 150px; }
.toplinks { display: flex; gap: 10px; flex-wrap: wrap; }
.toplinks a {
  font-family: var(--mono); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 9px 13px; min-height: 44px; display: inline-flex; align-items: center;
  border: 2.5px solid var(--ink); background: #fff; box-shadow: 3px 3px 0 var(--ink);
}
.toplinks a.help { background: var(--pink); }
.toplinks a:hover { background: var(--lime); }

/* Type */
.eyebrow {
  display: inline-block; font-family: var(--mono); font-weight: 700; font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink); background: var(--lime); padding: 3px 10px; border: 2px solid var(--ink);
  transform: rotate(-2deg);
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .98; margin: 0; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin-top: 18px; }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); margin-top: 16px; }
h3 { font-size: 1.3rem; }
.lead { font-size: 1.12rem; max-width: 34rem; margin: 18px 0 0; }
.sub { max-width: 40rem; margin: 14px 0 0; color: var(--soft); }
.scribble { font-family: var(--marker); color: var(--pink-text); font-size: 1.35rem; transform: rotate(-4deg); display: inline-block; }
section { padding: 72px 0 0; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: center; padding: 18px 0 30px; }
.hero .pile { width: 100%; max-width: 560px; justify-self: center; filter: drop-shadow(0 10px 18px rgba(0,0,0,.12)); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }
.button {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; font-family: var(--display); font-size: 1.05rem;
  color: var(--lime); background: var(--ink); text-decoration: none; box-shadow: 5px 6px 0 rgba(0,0,0,.3); transform: rotate(-1deg);
}
.coming { font-size: .86rem; color: var(--soft); }
.pills { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li {
  font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; padding: 5px 11px;
  border: 2px solid var(--ink); background: #fff;
}
.pills li:nth-child(1) { background: var(--pink); transform: rotate(-2deg); }
.pills li:nth-child(2) { background: var(--lilac); transform: rotate(1.5deg); }
.pills li:nth-child(3) { background: var(--lime); transform: rotate(-1deg); }
.pills li:nth-child(4) { background: var(--sky); transform: rotate(2deg); }

/* Phones, taped down */
.phone {
  width: 100%; max-width: 300px; border: 3px solid var(--ink); border-radius: 30px; box-shadow: 7px 8px 0 var(--ink); background: #fff;
}
.taped { position: relative; }
.taped::before, .taped::after {
  content: ""; position: absolute; top: -12px; width: 92px; height: 26px; background: var(--tape); z-index: 2;
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.taped::before { left: -14px; transform: rotate(-24deg); }
.taped::after { right: -14px; transform: rotate(22deg); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.step { background: #fff; border: 3px solid var(--ink); padding: 18px; box-shadow: 5px 6px 0 var(--ink); }
.step:nth-child(odd) { transform: rotate(-1.2deg); }
.step:nth-child(even) { transform: rotate(1deg); }
.step .no {
  font-family: var(--display); font-size: 1.1rem; display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; border: 3px solid var(--ink); background: var(--lime); margin-bottom: 10px;
}
.step:nth-child(2) .no { background: var(--pink); }
.step:nth-child(3) .no { background: var(--lilac); }
.step:nth-child(4) .no { background: var(--sky); }
.step p { margin: 8px 0 0; font-size: .93rem; }

/* What counts */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips span {
  font-weight: 700; font-size: .86rem; padding: 7px 13px; border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
}
.chips span:nth-child(7n+1) { background: var(--pink); }
.chips span:nth-child(7n+2) { background: var(--lilac); }
.chips span:nth-child(7n+3) { background: var(--gold); }
.chips span:nth-child(7n+4) { background: var(--sky); }
.chips span:nth-child(7n+5) { background: var(--mint); }
.chips span:nth-child(7n+6) { background: var(--tangerine); }
.chips span:nth-child(7n+7) { background: var(--lime); }
.chips span.stamp { background: #fff; border-style: dashed; }

/* Screenshot strip */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 240px); gap: 26px; overflow-x: auto; padding: 22px 4px 22px; margin-top: 18px; scroll-snap-type: x mandatory; }
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img { border: 3px solid var(--ink); border-radius: 24px; box-shadow: 5px 6px 0 var(--ink); }
.shots figure:nth-child(odd) { transform: rotate(-1.5deg); }
.shots figure:nth-child(even) { transform: rotate(1.5deg); }
.shots figcaption { font-family: var(--marker); font-size: 1.05rem; margin-top: 12px; text-align: center; }

/* Feature cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.card { background: #fff; border: 3px solid var(--ink); padding: 20px; box-shadow: 6px 7px 0 var(--ink); position: relative; }
.card:nth-child(3n+1) { transform: rotate(-.8deg); }
.card:nth-child(3n+2) { transform: rotate(.7deg); }
.card .art { height: 120px; display: grid; place-items: center; margin-bottom: 12px; }
.card .art img { max-height: 120px; width: auto; }
.card p { margin: 8px 0 0; font-size: .93rem; }
.card .tag {
  position: absolute; top: -14px; right: 14px; font-family: var(--marker); font-size: .95rem; padding: 2px 10px;
  background: var(--lime); border: 2px solid var(--ink); transform: rotate(4deg);
}

/* Big split features */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; margin-top: 10px; }
.feature.flip > :first-child { order: 2; }
.feature p { margin: 14px 0 0; }
.feature .shot { justify-self: center; }
.rims { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rims span { font-weight: 700; font-size: .8rem; padding: 4px 10px; border: 2px solid var(--ink); background: #fff; }
.rims b { font-family: var(--display); font-weight: 400; margin-right: 6px; }

/* Night */
.night { background: var(--ink); color: #f4f2ea; margin-top: 72px; padding: 60px 0; }
.night section { padding-top: 0; }
.night .eyebrow { background: var(--gold); }
.night .sub, .night p { color: #d9d6cc; }
.night .phone { border-color: #fff; box-shadow: 7px 8px 0 var(--gold); }
.night a { color: var(--lime); }

/* Covers + buddies */
.covers { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.covers { flex-wrap: nowrap; }
.covers img { width: calc(25% - 11px); max-width: 108px; border: 3px solid var(--ink); border-radius: 8px; box-shadow: 4px 5px 0 var(--ink); }
.covers img:nth-child(odd) { transform: rotate(-3deg); }
.covers img:nth-child(even) { transform: rotate(2deg); }
.buddies { display: flex; gap: 20px; margin-top: 18px; align-items: flex-end; flex-wrap: wrap; }
.buddies figure { margin: 0; text-align: center; }
.buddies img { width: 110px; }
.buddies figcaption { font-family: var(--marker); font-size: .95rem; }

/* Promises */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.why > div { border-top: 5px solid var(--ink); padding-top: 14px; }
.why p { margin: 8px 0 0; font-size: .95rem; }

/* FAQ */
.faq details { background: #fff; border: 3px solid var(--ink); box-shadow: 4px 5px 0 var(--ink); margin-top: 14px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 18px; min-height: 44px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-family: var(--display); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 18px 16px; }
.faq details[open] { background: #fffbe0; }

/* Footer */
footer { margin-top: 90px; padding: 34px 0 44px; background: var(--ink); color: #e9e6dd; font-size: .86rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
footer a { color: var(--lime); }
footer a:hover { background: var(--lime); color: var(--ink); }

/* Legal + help pages */
.doc { background: #fff; border: 3px solid var(--ink); box-shadow: 7px 8px 0 var(--ink); padding: clamp(20px, 5vw, 46px); margin-top: 12px; }
.doc h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin-top: 0; }
.doc h2 { font-size: 1.35rem; margin-top: 34px; }
.doc p, .doc li { font-size: .97rem; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 6px 0; }
.updated { font-family: var(--marker); color: var(--pink-text); font-size: 1.1rem; margin: 6px 0 0; }
.short { background: var(--lime); border: 2.5px solid var(--ink); padding: 14px 16px; margin-top: 20px; }
.docfoot { margin-top: 40px; }

@media (max-width: 900px) {
  .hero, .feature { grid-template-columns: 1fr; }
  .feature.flip > :first-child { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .grid, .why { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .steps, .grid, .why { grid-template-columns: 1fr; }
  .brand img { width: 120px; }
  .phone { max-width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
