/* doodlezoo.app: the game's website. Same look as the game: sky, watercolor art, outlined stickers, Fredoka. */
@font-face { font-family: 'Fredoka'; src: url('/fonts/fredoka.woff2') format('woff2'); font-weight: 500 700; font-display: swap; }
:root { --ink: #2b2b33; --paper: #fffdf6; --sun: #ffd23f; --pink: #ff7eb6; --sky: #8fd3ff; --fun: 'Fredoka', ui-rounded, 'Arial Rounded MT Bold', system-ui, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 18px/1.55 ui-rounded, system-ui, sans-serif; color: var(--ink); background: linear-gradient(#76c4f2, #b0e2f8 60vh, #d6f0fb 120vh) fixed; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--fun); font-weight: 700; line-height: 1.1; margin: 0; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 40px); max-width: 1180px; margin: 0 auto; }
.top .brand img { height: 54px; width: auto; }
.top nav { display: flex; gap: 18px; font-family: var(--fun); font-weight: 600; }
.top nav a { text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--fun); font-weight: 700; font-size: 22px; text-decoration: none;
  padding: 14px 30px; border: 3px solid var(--ink); border-radius: 999px; background: var(--sun); color: var(--ink); box-shadow: 0 5px 0 var(--ink);
  transition: transform 0.08s, box-shadow 0.08s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn.ghost { background: #fff; font-size: 18px; padding: 10px 22px; }

.hero { max-width: 1180px; margin: 0 auto; padding: 20px clamp(16px, 4vw, 40px) 0; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 78px); color: #fff; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 0 6px 0 rgba(43, 43, 51, 0.25); }
.hero h1 span { color: var(--sun); }
.hero p.lead { font-size: clamp(19px, 2vw, 23px); max-width: 30ch; margin: 18px 0 26px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .soon { font-family: var(--fun); font-weight: 600; color: #3c5b78; font-size: 16px; }
.hero .art img { width: min(100%, 470px); margin: 0 auto; filter: drop-shadow(0 18px 24px rgba(30, 60, 110, 0.25)); animation: wobble 4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes wobble { 25% { transform: rotate(-1.6deg); } 75% { transform: rotate(1.6deg); } }

.meadow { height: 240px; margin-top: -60px; background: url('/art/meadow.webp') center 72% / cover no-repeat; position: relative; z-index: -1; }

.band { background: var(--paper); border-top: 3px solid var(--ink); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 60px clamp(16px, 4vw, 40px); }
.wrap > h2 { font-size: clamp(32px, 4vw, 46px); text-align: center; margin-bottom: 36px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { background: #fff; border: 3px solid var(--ink); border-radius: 26px; padding: 18px 20px 24px; box-shadow: 0 6px 0 var(--ink); text-align: center; }
.step img { width: 82%; margin: -6px auto 6px; }
.step h3 { font-size: 28px; margin-bottom: 6px; }
.step p { margin: 0; color: #4a4a55; }
.step .n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pink); border: 3px solid var(--ink); font-family: var(--fun); font-weight: 700; color: #fff; margin-bottom: 6px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: #fff; border: 3px solid var(--ink); border-radius: 20px; padding: 16px 18px; box-shadow: 0 4px 0 var(--ink); }
.feature b { font-family: var(--fun); font-size: 21px; display: block; margin-bottom: 4px; }
.feature span.e { font-size: 30px; }
.feature p { margin: 0; color: #4a4a55; font-size: 16px; }

.stages { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.stages span { font-family: var(--fun); font-weight: 600; background: #fff6d6; border: 2.5px solid var(--ink); border-radius: 999px; padding: 6px 16px; }

.final { text-align: center; }
.final p { font-size: 20px; margin: 10px 0 26px; }

footer { background: var(--ink); color: #e9e7f0; }
footer .wrap { padding: 30px clamp(16px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; font-size: 15px; }
footer nav { display: flex; gap: 18px; }

/* Plain pages: privacy, support */
.page { max-width: 760px; margin: 0 auto 60px; padding: 0 clamp(16px, 4vw, 40px); }
.page article { background: var(--paper); border: 3px solid var(--ink); border-radius: 26px; padding: 30px clamp(18px, 4vw, 40px); box-shadow: 0 6px 0 var(--ink); }
.page h1 { font-size: 42px; margin-bottom: 6px; }
.page h2 { font-size: 24px; margin: 28px 0 6px; }
.page .muted { color: #6b6b78; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .cta { justify-content: center; }
  .steps, .features { grid-template-columns: 1fr; }
  .top nav { display: none; }
}
