:root{--background:#23132f;--panel:#332041;--panel_light:#4b325c;--accent:#ffbc45;--text:#fff3e6;--muted:#cbb4db;}
@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap; src: url("fonts/Baloo2-Bold.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-display: swap; src: url("fonts/Nunito-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("fonts/Nunito-Bold.ttf") format("truetype"); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 600 17px/1.65 "Nunito", system-ui, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
h1, h2, h3 { font-family: "Baloo 2", "Nunito", sans-serif; font-weight: 700; line-height: 1.15; margin: 0 0 12px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 16px;
  background: rgba(35, 19, 47, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 22px "Baloo 2", sans-serif; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.topbar nav { display: flex; gap: 6px; }
.topbar nav a { color: var(--text); text-decoration: none; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 15px; }
.topbar nav a:hover { background: var(--panel); color: var(--accent); }

/* Draft notice */
.draft { max-width: 820px; margin: 16px auto 0; padding: 12px 16px; border: 2px dashed var(--accent); border-radius: 14px; background: var(--panel); font-size: 15px; }
.draft p { margin: 4px 0 0; }
.page-home .draft { margin: 16px; }

/* Home hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(35, 19, 47, .25), rgba(35, 19, 47, .55) 60%, var(--background)), url("assets/background.jpg") center / cover;
  padding: 48px 16px 64px;
}
.hero-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 24px; }
.hero h1 { margin: 0; }
.hero-logo { width: min(520px, 100%); filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45)); }
.tagline { font: 700 clamp(24px, 4vw, 34px)/1.2 "Baloo 2", sans-serif; color: var(--accent); margin: 8px 0 6px; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.lead { font-size: 19px; max-width: 34em; margin: 0 0 22px; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.hero-fox { width: 100%; max-width: 420px; justify-self: center; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .5)); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-2deg); } }

.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.badges li {
  display: flex; flex-direction: column; justify-content: center;
  min-width: 170px; padding: 8px 20px;
  background: #0d0712; color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px;
  font: 700 21px/1.1 "Nunito", sans-serif;
}
.badges span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* Home bands */
.band { max-width: 1080px; margin: 0 auto; padding: 48px 16px; text-align: center; }
.band h2 { font-size: clamp(28px, 4.5vw, 40px); margin-bottom: 28px; }
.shots { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shots li { display: flex; flex-direction: column; align-items: center; gap: 14px; font-weight: 700; color: var(--muted); }
.shots img { border-radius: 26px; border: 6px solid var(--panel_light); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.shots li:nth-child(2) { transform: translateY(-16px); }

.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.features li { background: var(--panel); border-radius: 22px; padding: 26px 22px; text-align: left; border: 1px solid rgba(255, 255, 255, .06); }
.features img { width: 56px; height: 56px; margin-bottom: 14px; }
.features h3 { font-size: 26px; margin-bottom: 6px; color: var(--accent); }
.features p { margin: 0; color: var(--text); }

.promise { padding-bottom: 72px; }
.promise img { margin: 0 auto 8px; }
.promise p { color: var(--muted); font-size: 18px; max-width: 32em; margin: 0 auto 18px; }
.button {
  display: inline-block; padding: 12px 28px; border-radius: 999px;
  background: var(--accent); color: #2b1630; text-decoration: none;
  font: 700 18px "Nunito", sans-serif; box-shadow: 0 6px 0 #c47f14;
}
.button:hover { filter: brightness(1.06); }

/* Document pages */
.doc-hero { background: linear-gradient(180deg, rgba(35, 19, 47, .35), var(--background)), url("assets/background.jpg") center 30% / cover; padding: 56px 16px 40px; text-align: center; }
.doc-hero h1 { font-size: clamp(34px, 6vw, 52px); margin: 0; text-shadow: 0 3px 14px rgba(0, 0, 0, .55); }
.doc {
  max-width: 820px; margin: 0 auto 48px; padding: 28px clamp(18px, 4vw, 44px);
  background: var(--panel); border-radius: 24px; border: 1px solid rgba(255, 255, 255, .06);
}
.doc h2 { font-size: 25px; margin: 28px 0 6px; color: var(--accent); }
.doc p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 12px; }
.doc > p:first-child { color: var(--muted); }
main { min-width: 0; }
.page-doc main { padding: 0 16px; }
.page-doc .doc-hero { margin: 0 -16px 0; }

/* Footer */
.site-footer { background: #170c20; padding: 36px 16px 44px; text-align: center; color: var(--muted); font-size: 14px; }
.footer-logo img { width: 160px; margin: 0 auto 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 16px; }
.site-footer nav a { color: var(--text); text-decoration: none; font-weight: 700; }
.site-footer nav a:hover { color: var(--accent); text-decoration: underline; }
.site-footer p { margin: 4px 0; }

@media (max-width: 760px) {
  .hero { padding: 28px 16px 40px; text-align: center; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-fox { order: -1; max-width: 180px; }
  .hero-logo { margin: 0 auto; }
  .badges { justify-content: center; }
  .badges li { min-width: 0; flex: 1 1 140px; }
  .shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 20px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .shots li { scroll-snap-align: center; }
  .shots li:nth-child(2) { transform: none; }
  .features { grid-template-columns: 1fr; }
  .topbar nav a { padding: 6px 8px; font-size: 14px; }
  .brand { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-fox { animation: none; }
}
