/* Pluggmonster website. Direction A "Klistermärke": an ultramarine sticker
   sheet where every surface is a die-cut sticker with a 3px ink keyline,
   a hard offset shadow and a degree or two of tilt. No JavaScript, no
   external requests: fonts are self-hosted under fonts/ (SIL OFL 1.1). */

@font-face {
  font-family: "Fredoka";
  src: url("fonts/fredoka-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Baloo 2";
  src: url("fonts/baloo2-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #2436C8;      /* ultramarin: the sheet */
  --lemon: #FFD93D;     /* citron */
  --coral: #FF6B4A;     /* korall */
  --mint: #56DCA0;
  --paper: #FFF6E8;     /* papper */
  --ink: #16110A;       /* bläck */
  --haze: #C9D2FF;      /* secondary text on ultramarin, 5.9:1 */
  --ink-soft: #4A3F2E;  /* secondary text on papper, 9.9:1 */
  --line: 3px solid var(--ink);
  --display: "Fredoka", "Trebuchet MS", sans-serif;
  --body: "Baloo 2", Verdana, sans-serif;
  --gutter: 16px;
  color-scheme: light;
}
@media (min-width: 700px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--paper);
  background-color: var(--blue);
  /* dot pairs, as on the app's sheet */
  background-image:
    radial-gradient(circle at 12px 12px, rgba(255,255,255,.085) 2.4px, transparent 2.6px),
    radial-gradient(circle at 42px 42px, rgba(255,255,255,.085) 2.4px, transparent 2.6px);
  background-size: 60px 60px;
  overflow-x: hidden;
}

main { overflow-x: clip; }
img, svg { max-width: 100%; }
.mon { display: block; width: 100%; height: 100%; overflow: visible; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.08; margin: 0; }
p { margin: 0 0 0.8em; }
strong, b { font-weight: 700; }

a { color: var(--lemon); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 3px; }
.on-paper a, .sticker a { color: var(--ink); }

:focus-visible {
  outline: 4px solid var(--lemon);
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--ink);
  border-radius: 6px;
}
.sticker :focus-visible, .on-paper :focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 7px var(--lemon); }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 10;
  background: var(--lemon); color: var(--ink); border: var(--line);
  box-shadow: 4px 4px 0 var(--ink); border-radius: 14px;
  padding: 8px 16px; font-family: var(--display); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- sticker primitives ---------- */
.sticker {
  background: var(--paper); color: var(--ink);
  border: var(--line); border-radius: 26px;
  box-shadow: 7px 7px 0 var(--ink);
  position: relative;
}
.f-lemon { background: var(--lemon); }
.f-mint { background: var(--mint); }
.f-coral { background: var(--coral); }
.f-paper { background: var(--paper); }
.tilt-l { transform: rotate(-1.2deg); }
.tilt-r { transform: rotate(1deg); }
.tilt-s { transform: rotate(-0.5deg); }

/* ---------- header ---------- */
.site-head { padding: 18px 0 8px; }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--paper); text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.02em;
}
.brand-icon {
  width: 48px; height: 48px; flex: none; border: var(--line); border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink); overflow: hidden; transform: rotate(-4deg); background: var(--blue);
}
.brand-icon svg { width: 100%; height: 100%; display: block; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; }
.site-nav a { color: var(--paper); font-weight: 700; text-decoration: none; padding: 4px 0; }
.site-nav a:hover { color: var(--lemon); text-decoration: underline; }

/* ---------- hero ---------- */
.hero { padding: 28px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 920px) { .hero .wrap { grid-template-columns: 1.08fr 0.92fr; gap: 56px; } .hero { padding: 48px 0 88px; } }

/* The tagline is set as three die-cut labels peeled off the sheet. */
.tagline { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: clamp(2.6rem, 9vw, 5.1rem); line-height: 1; letter-spacing: -0.03em; }
.tagline span {
  display: inline-block; color: var(--ink);
  border: var(--line); border-radius: 22px; box-shadow: 7px 7px 0 var(--ink);
  padding: 0.1em 0.32em 0.16em;
}
.tagline span:nth-child(1) { background: var(--lemon); transform: rotate(-2.2deg); }
.tagline span:nth-child(2) { background: var(--paper); transform: rotate(1.2deg); margin-left: 0.5em; }
.tagline span:nth-child(3) { background: var(--coral); transform: rotate(-1deg); margin-left: 0.2em; }

.lede { font-size: 1.25rem; color: var(--haze); max-width: 34em; margin: 30px 0 26px; }
.lede strong { color: var(--paper); }

.stores { display: flex; flex-wrap: wrap; gap: 22px 18px; margin: 0; padding: 0; list-style: none; }
.store {
  display: inline-flex; flex-direction: column; align-items: flex-start; position: relative;
  min-width: 190px; padding: 10px 22px 12px; text-decoration: none;
  background: var(--paper); color: var(--ink); border: var(--line); border-radius: 18px;
  box-shadow: 0 6px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.store small { font-weight: 600; font-size: 0.85rem; line-height: 1.2; color: var(--ink-soft); }
.store span { font-family: var(--display); font-weight: 600; font-size: 1.45rem; line-height: 1.1; }
.store:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--ink); }
.store:active { transform: translateY(6px); box-shadow: 0 0 0 var(--ink); }
.soon {
  position: absolute; right: -12px; top: -14px;
  background: var(--mint); color: var(--ink); border: var(--line); border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink); padding: 0 9px 2px;
  font-family: var(--display); font-weight: 600; font-size: 0.9rem; transform: rotate(6deg); white-space: nowrap;
}

.hero-art { position: relative; max-width: 480px; width: 100%; justify-self: center; aspect-ratio: 1 / 0.92; }
.plate {
  position: absolute; inset: 4% 6% 8% 2%; background: var(--lemon);
  border: var(--line); border-radius: 30px; box-shadow: 9px 9px 0 var(--ink); transform: rotate(-2.4deg);
}
.hero-mon { position: absolute; left: 13%; top: 3%; width: 70%; transform: rotate(-2deg); }
.hero-peek { position: absolute; right: -2%; bottom: -3%; width: 34%; transform: rotate(10deg); }
.hero-egg { position: absolute; left: -5%; top: 38%; width: 20%; transform: rotate(-12deg); }
.name-tag {
  position: absolute; left: 12%; bottom: 3%;
  background: var(--coral); color: var(--ink); border: var(--line); border-radius: 14px; box-shadow: 5px 5px 0 var(--ink);
  font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 3.6vw, 1.35rem); padding: 4px 14px 6px; transform: rotate(3deg);
}

/* ---------- sections ---------- */
.section { padding: 56px 0; }
@media (min-width: 920px) { .section { padding: 80px 0; } }
.section-title { font-size: clamp(2.1rem, 6vw, 3.3rem); color: var(--paper); margin-bottom: 14px; }
.section-intro { color: var(--haze); max-width: 36em; font-size: 1.2rem; margin-bottom: 38px; }

/* three facts */
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 30px; }
@media (min-width: 820px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { padding: 30px 24px 22px; }
.fact h3 { font-size: 1.65rem; margin-bottom: 8px; }
.fact p { margin: 0; }
.fact .peek { position: absolute; width: 84px; height: 84px; top: -52px; right: 14px; transform: rotate(8deg); }
.fact:nth-child(2) .peek { right: auto; left: 18px; transform: rotate(-9deg); }
.fact:nth-child(1) { transform: rotate(-1.2deg); }
.fact:nth-child(2) { transform: rotate(0.9deg); }
.fact:nth-child(3) { transform: rotate(-0.6deg); }
.fact .quote { font-family: var(--display); font-weight: 600; }

/* how it works: a real sequence, so the steps are numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 52px 32px; counter-reset: step; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; counter-increment: step; }
.phone {
  position: relative; width: 100%; max-width: 270px; margin: 0 auto 26px;
  border: var(--line); border-radius: 34px; box-shadow: 9px 9px 0 var(--ink); overflow: hidden; background: var(--ink);
  line-height: 0;
}
.phone img { width: 100%; height: auto; display: block; }
.step:nth-child(1) .phone { transform: rotate(-2deg); }
.step:nth-child(2) .phone { transform: rotate(1.4deg); }
.step:nth-child(3) .phone { transform: rotate(-1deg); }
.step h3 { font-size: 1.55rem; color: var(--paper); display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.step h3::before {
  content: counter(step); flex: none; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--lemon); color: var(--ink);
  border: var(--line); box-shadow: 3px 3px 0 var(--ink); font-size: 1.3rem;
}
.step p { color: var(--haze); max-width: 20em; margin: 0; }

.themes { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: center; padding: 22px; }
@media (min-width: 620px) { .themes { grid-template-columns: 96px 1fr; padding: 20px 28px; } }
.themes img { width: 96px; height: auto; border: var(--line); border-radius: 18px; transform: rotate(3deg); box-shadow: 4px 4px 0 var(--ink); }
.themes h3 { font-size: 1.5rem; margin-bottom: 4px; }
.themes p { margin: 0; }

/* parents / teachers */
.panel { padding: 30px 22px 26px; max-width: 900px; }
@media (min-width: 700px) { .panel { padding: 42px 46px 36px; } }
.panel h2 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 18px; }
.panel h3 { font-size: 1.45rem; margin: 26px 0 8px; }
.panel p { max-width: 38em; }
.panel .peek { position: absolute; width: 120px; height: 120px; right: 18px; top: -86px; transform: rotate(7deg); }
@media (min-width: 700px) { .panel .peek { width: 150px; height: 150px; top: -104px; right: 40px; } }
.panel-parents { transform: rotate(-0.6deg); }
.panel-teachers { transform: rotate(0.7deg); margin-left: auto; }
.panel-teachers .peek { right: auto; left: 24px; transform: rotate(-8deg); }
.pill-link {
  display: inline-block; margin-top: 10px; padding: 8px 18px 10px;
  background: var(--lemon); border: var(--line); border-radius: 16px; box-shadow: 0 5px 0 var(--ink);
  color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1.15rem; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.pill-link:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--ink); }
.pill-link.f-paper { background: var(--paper); }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--paper); margin-top: 40px; padding: 44px 0 36px; border-top: 3px solid var(--ink); }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px 40px; }
@media (min-width: 760px) { .site-foot .wrap { grid-template-columns: 1.2fr 1fr; } }
.site-foot a { color: var(--lemon); }
.site-foot p { margin: 0 0 6px; color: var(--haze); }
.site-foot .foot-brand { font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--paper); margin-bottom: 4px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-links a { font-weight: 700; }
.ph { background: var(--lemon); color: var(--ink); border-radius: 6px; padding: 0 6px; font-weight: 700; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- document pages (policy, accessibility, 404) ---------- */
.doc-main { padding: 20px 0 40px; }
.doc {
  max-width: 820px; margin: 0 auto; padding: 30px 20px 34px;
  font-size: 1.1rem; line-height: 1.6;
}
@media (min-width: 700px) { .doc { padding: 50px 60px 54px; } }
.doc h1 { font-size: clamp(2rem, 7vw, 3.1rem); margin-bottom: 16px; }
.doc h2 { font-size: 1.9rem; margin: 40px 0 12px; }
.doc h3 { font-size: 1.4rem; margin: 34px 0 10px; }
.doc p, .doc li { max-width: 40em; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--coral); font-weight: 700; }
.doc hr { border: 0; border-top: 3px dashed var(--ink); opacity: .25; margin: 34px 0; }
.doc .meta { color: var(--ink-soft); font-weight: 600; }
.doc .short {
  background: var(--mint); border: var(--line); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink);
  padding: 20px 22px 8px; margin: 26px 0 10px; transform: rotate(-0.4deg);
}
.doc .short h2 { margin-top: 0; }
.doc .short li::marker { color: var(--ink); }
.doc .aside {
  background: var(--lemon); border: var(--line); border-radius: 18px; padding: 16px 20px 6px; margin-top: 30px;
}
.doc .aside h2 { font-size: 1.4rem; margin: 0 0 8px; }
.doc em { font-style: italic; }

.doc table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 16px 0 24px; border: var(--line); border-radius: 16px; overflow: hidden; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 2px solid rgba(22,17,10,.18); }
.doc th { background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 600; }
.doc tr:last-child td { border-bottom: 0; }
.doc td:first-child { width: 32%; }
@media (max-width: 560px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; width: 100%; }
  .doc thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .doc tr { border-bottom: 2px solid rgba(22,17,10,.18); padding: 8px 0; }
  .doc tr:last-child { border-bottom: 0; }
  .doc td { border: 0; padding: 2px 14px; }
  .doc td:first-child { width: 100%; }
}

.back { display: inline-block; margin: 0 0 18px; font-weight: 700; }

.lost { text-align: center; padding: 30px 0 60px; }
.lost .mon-wrap { width: 200px; height: 200px; margin: 0 auto 10px; transform: rotate(-6deg); }
.lost h1 { font-size: clamp(2.3rem, 8vw, 4rem); margin-bottom: 12px; }
.lost p { color: var(--haze); max-width: 30em; margin: 0 auto 22px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- print (policy page) ---------- */
@media print {
  @page { margin: 18mm 16mm; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .skip, .site-nav, .site-foot, .back, .brand-icon, .no-print { display: none !important; }
  .site-head { padding: 0 0 8pt; }
  .brand { color: #000; font-size: 14pt; }
  .doc, .doc .short, .doc .aside { background: #fff; box-shadow: none; transform: none; border: 0; padding: 0; max-width: none; }
  .doc .short { border: 1.5pt solid #000; padding: 8pt 12pt 2pt; border-radius: 8pt; }
  .doc h2, .doc h3 { break-after: avoid; }
  .doc table { border: 1pt solid #000; }
  .doc th { background: #eee; color: #000; }
  .doc tr { break-inside: avoid; }
  .doc a { color: #000; }
  .ph { background: none; border: 1pt dashed #000; }
}
