/* Wattlebird Learning: a sunny clearing in the bush.
   Cream paper, wattle gold, eucalyptus green and the logo's dark brown ink. Cards and buttons
   wear the logo's sticker look: a firm outline and a solid shadow. */
@font-face{font-family:'Lilita One';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/lilita-one-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Lilita One';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/lilita-one-latin-400-normal.woff2) format('woff2');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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/nunito-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/nunito-latin-400-normal.woff2) format('woff2');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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/nunito-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/nunito-latin-700-normal.woff2) format('woff2');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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:800;src:url(/fonts/nunito-latin-ext-800-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:800;src:url(/fonts/nunito-latin-800-normal.woff2) format('woff2');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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root {
  color-scheme: light;
  --cream: #fff8e8; --cream-2: #fdefcc; --paper: #ffffff;
  --ink: #2a1d10; --ink-2: #54463a; --ink-3: #7a6b5c;
  --green: #1a8868; --green-d: #0f5c45; --green-dd: #0b3f30; --green-l: #e2f3ea;
  --gold: #f8c11a; --gold-d: #b88700; --gold-l: #fff0bf;
  --red: #d7323c; --bark: #6b4a2f;
  --sea: #0e3247; --sea-2: #1c5a76; --stone: #2c2218; --stone-2: #f2a93b; --sky: #45b3ff; --sky-d: #1d74c6;
  --line: #e7dcc4; --focus: #1a8868;
  --f-display: 'Lilita One', 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif;
  --f-body: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.55 var(--f-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-d); font-weight: 700; text-underline-offset: 3px; }
a:hover { color: var(--green-dd); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.wrap { max-width: 1140px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--paper); padding: 8px 12px; border: 3px solid var(--ink); border-radius: 12px; }
.skip:focus { left: 12px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.05; letter-spacing: .2px; margin: 0; text-wrap: balance; }
.eyebrow { font-weight: 800; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-d); margin: 0 0 10px; }

/* ----- buttons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 800 1.05rem/1.2 var(--f-body); color: var(--ink); text-decoration: none; background: var(--paper); border: 3px solid var(--ink); border-radius: 16px; padding: 12px 20px; box-shadow: 0 5px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease; cursor: pointer; }
.btn:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.btn.gold { background: var(--gold); }
.btn.green { background: var(--green); color: #fff; }
.btn.green:hover { color: #fff; }
.btn.big { font-size: 1.15rem; padding: 14px 24px; }

/* ----- header ----- */
.top { position: relative; z-index: 5; padding-block: 14px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: block; width: min(340px, 62vw); }
.brand img { width: 100%; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { font-weight: 800; text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 12px; }
.nav a:hover { background: var(--gold-l); }
@media (max-width: 720px) { .nav a:not(.nav-play) { display: none; } .nav-play { background: var(--gold); border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink); } }

/* ----- hero ----- */
.hero { position: relative; overflow: hidden; padding-block: 28px 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--green); }
.lede { font-size: 1.16rem; color: var(--ink-2); max-width: 56ch; margin: 16px 0 0; }
.promise { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.promise li { background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 5px 13px; font-weight: 800; font-size: .95rem; box-shadow: 0 3px 0 var(--ink); }
.promise li::before { content: "✓"; color: var(--green); margin-right: 6px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-art { position: relative; justify-self: center; width: min(100%, 440px); aspect-ratio: 1; }
.hero-art::before { content: ""; position: absolute; inset: -18%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(248, 193, 26, .22) 0deg 9deg, transparent 9deg 18deg); -webkit-mask: radial-gradient(circle, #000 40%, transparent 70%); mask: radial-gradient(circle, #000 40%, transparent 70%); animation: spin 90s linear infinite; }
.hero-art img { position: relative; width: 100%; filter: drop-shadow(0 14px 22px rgba(42, 29, 16, .25)); }
.puff { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe27a, var(--gold) 55%, #e3a400); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .hero { padding-block: 12px 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 8px; }
  .hero-art { order: -1; width: min(66vw, 300px); }
}

/* ----- sections ----- */
.sec { padding-block: 56px; }
.sec-head { max-width: 720px; margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(2rem, 4.4vw, 2.9rem); }
.sec-head p { color: var(--ink-2); font-size: 1.08rem; margin: 10px 0 0; }
.band { background: var(--paper); border-block: 3px solid var(--ink); }

/* ----- game cards ----- */
.games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 980px) { .games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .games { grid-template-columns: 1fr; } }
.game { --c: var(--green); --c-ink: #fff; display: flex; flex-direction: column; background: var(--paper); border: 3px solid var(--ink); border-radius: 24px; box-shadow: 0 7px 0 var(--ink); overflow: hidden; min-width: 0; transition: transform .15s ease, box-shadow .15s ease; }
.game:hover { transform: translateY(-3px); box-shadow: 0 10px 0 var(--ink); }
.game-art { display: block; aspect-ratio: 1200 / 630; background: var(--c); border-bottom: 3px solid var(--ink); }
.game-art img { width: 100%; height: 100%; object-fit: cover; }
.game-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; flex: 1; }
.game h3 { font-size: 1.85rem; }
.game h3 a { color: var(--ink); text-decoration: none; }
.game-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.game-meta li { font-weight: 800; font-size: .82rem; letter-spacing: .02em; background: var(--cream-2); border-radius: 999px; padding: 3px 10px; }
.game-meta li.age { background: var(--c); color: var(--c-ink); }
.game p { margin: 0; color: var(--ink-2); }
.game .practises { font-size: .95rem; }
.game .practises b { color: var(--ink); }
.game .btn { margin-top: auto; align-self: stretch; background: var(--c); color: var(--c-ink); }
.game .btn:hover { color: var(--c-ink); }
.game.gbm { --c: var(--sky); --c-ink: #10213d; }
.game.lw { --c: var(--sea-2); --c-ink: #fff; }
.game.dtd { --c: var(--stone-2); --c-ink: #2a1600; }

/* ----- how the maths works ----- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { position: relative; background: var(--cream); border: 3px solid var(--ink); border-radius: 22px; padding: 24px 20px 20px 20px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: -18px; left: 18px; width: 40px; height: 40px; display: grid; place-items: center; font: 400 1.4rem/1 var(--f-display); background: var(--gold); border: 3px solid var(--ink); border-radius: 50%; box-shadow: 0 3px 0 var(--ink); }
.steps h3 { font-size: 1.45rem; margin: 6px 0 6px; }
.steps p { margin: 0; color: var(--ink-2); }
.fact-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.fact-strip span { font: 400 .95rem/1 var(--f-display); padding: 7px 8px; border: 2px solid var(--ink); border-radius: 9px; min-width: 2.4em; text-align: center; background: #e8e2d6; }
.fact-strip .b { background: #e0a26a; } .fact-strip .s { background: #d3dce2; } .fact-strip .g { background: var(--gold); } .fact-strip .d { background: #9fe6ff; }

/* ----- parents ----- */
.parents { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .parents { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 40px; color: var(--ink-2); }
.ticks li b { color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.note { background: var(--green-l); border: 3px solid var(--ink); border-radius: 22px; padding: 20px; }
.note h3 { font-size: 1.4rem; margin-bottom: 8px; }
.note p { margin: 0 0 10px; color: var(--ink-2); }
.note p:last-child { margin-bottom: 0; }

/* ----- support ----- */
.support { background: var(--green-d); color: #fff; border-block: 3px solid var(--ink); }
.support .wrap { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding-block: 40px; }
.support h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--gold); }
.support p { margin: 8px 0 0; max-width: 60ch; color: #e7f4ee; }

/* ----- footer ----- */
.foot { padding-block: 34px 40px; color: var(--ink-3); font-size: .95rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.foot-brand { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.foot-brand img { width: 52px; height: 52px; }
.foot-brand b { display: block; font: 400 1.25rem/1.1 var(--f-display); color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ----- privacy and not-found pages ----- */
.page { padding-block: 26px 50px; }
.page .wrap { max-width: 800px; }
.paper { background: var(--paper); border: 3px solid var(--ink); border-radius: 24px; box-shadow: 0 7px 0 var(--ink); padding: 28px 28px 26px; }
.paper h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 6px; }
.paper h2 { font-size: 1.6rem; margin: 26px 0 8px; }
.paper p, .paper li { color: var(--ink-2); }
.paper ul { padding-left: 22px; }
.paper li { margin: 4px 0; }
.updated { font-weight: 700; color: var(--ink-3); margin: 0 0 14px; }
.short { background: var(--green-l); border: 2px solid var(--green); border-radius: 16px; padding: 12px 16px; color: var(--ink) !important; }
@media (max-width: 600px) { .paper { padding: 20px 16px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art::before { animation: none; }
  .btn, .game { transition: none; }
}
