/*
 * maintenance.css
 *
 * Standalone stylesheet for the offline / 503 fallback page. CloudFront
 * serves this when `make maintenance-on` swaps index.html for a placeholder
 * and the SPA bundle is unavailable — so this file cannot depend on the
 * scrapbook React app's CSS pipeline. It's a hand-written subset of
 * src/styles/scrapbook.css using the same design tokens.
 */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@700&family=Patrick+Hand&family=Quicksand:wght@400;700&display=swap');

:root {
  --sk-paper:    #fff8e8;
  --sk-ink:      #2a2530;
  --sk-ink-soft: #665e6f;
  --sk-pink:     #ff8fb8;
  --sk-sun:      #ffd86b;
  --sk-tape-mint:#dff0c4;

  --sk-font-body:    'Quicksand', system-ui, sans-serif;
  --sk-font-display: 'Fredoka', system-ui, sans-serif;
  --sk-font-hand:    'Patrick Hand', cursive;
}

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

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: var(--sk-paper);
  background-image: radial-gradient(circle at 1px 1px, rgba(42, 37, 48, 0.10) 1px, transparent 1px);
  background-size: 22px 22px;
  font-family: var(--sk-font-body);
  color: var(--sk-ink);
}

.card {
  position: relative;
  background: #fff;
  padding: 56px 40px 40px;
  max-width: 480px;
  width: 100%;
  border: 2.5px solid var(--sk-ink);
  border-radius: 18px;
  box-shadow: 10px 10px 0 var(--sk-ink);
  text-align: center;
  transform: rotate(-1.5deg);
}

/* Washi tape strip across the top of the card. */
.tape {
  position: absolute;
  top: -14px;
  left: 50%;
  margin-left: -55px;
  width: 110px;
  height: 28px;
  background: repeating-linear-gradient(
    135deg,
    var(--sk-tape-mint),
    var(--sk-tape-mint) 8px,
    rgba(255, 255, 255, 0.6) 8px,
    rgba(255, 255, 255, 0.6) 10px
  );
  transform: rotate(-6deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  opacity: 0.92;
}

.eyebrow {
  font-family: var(--sk-font-hand);
  font-size: 22px;
  color: var(--sk-pink);
  margin-bottom: 6px;
  line-height: 1;
}

.pony {
  font-size: 4rem;
  line-height: 1;
  margin: 6px 0 14px;
}

h1 {
  font-family: var(--sk-font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--sk-ink);
}

p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--sk-ink-soft);
  margin-bottom: 10px;
}

.handwritten {
  font-family: var(--sk-font-hand);
  font-size: 22px;
  color: var(--sk-ink);
  margin-top: 20px;
}

.footer {
  margin-top: 30px;
  font-size: 12px;
  color: var(--sk-ink-soft);
  letter-spacing: 0.04em;
}

/* Scattered sparkle decorations in the page corners. */
.sparkle {
  position: fixed;
  font-size: 28px;
  color: var(--sk-sun);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.sparkle--tl { top: 8%;  left: 10%; transform: rotate(-12deg); }
.sparkle--tr { top: 14%; right: 12%; color: var(--sk-pink); transform: rotate(20deg); }
.sparkle--bl { bottom: 12%; left: 14%; }
.sparkle--br { bottom: 10%; right: 10%; color: var(--sk-pink); transform: rotate(-8deg); }
