:root {
  --logo-h: 44px;
  --radius: 16px;
  --fw-head: 400;
  --fw-text: 300;
  --font: "Kakadoo Kids", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: var(--fw-text);
  color: var(--text);
  background: radial-gradient(1200px 600px at 50% -10%, var(--bg-glow) 0%, var(--bg) 60%) no-repeat var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.foot {
  padding: 20px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}


main { flex: 1; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}

.site-header-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
}

.brand {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  margin-left: calc(var(--logo-h) * 1.2154);
  border-radius: 8px;
}
.brand > img { display: block; height: var(--logo-h); width: auto; }
.brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.mascot {
  position: absolute;
  top: -17.02%;
  right: 100%;
  width: calc(var(--logo-h) * 1.0454);
  margin-right: calc(var(--logo-h) * 0.17);
  aspect-ratio: 842 / 1052;
  pointer-events: none;
}
.mascot img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.mascot-hand { z-index: -1; transform-origin: 46.4% 67.4%; animation: wave 3.2s ease-in-out infinite alternate; }
.mascot-body { z-index: 1; }

@keyframes wave {
  from { transform: rotate(-31deg); }
  to { transform: rotate(10deg); }
}

@media (max-width: 520px) {
  .site-header-in { padding: 10px 16px; }
  :root { --logo-h: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .mascot-hand { animation: none; }
}
