/* Wizoo brand theme — ONE palette and type pair shared by every page
   (home, subjects, map, parent portal, sign-up flow), so the site feels
   like a single app instead of pages built at different times.

   Load this LAST in <head> (after any page <style>) so its base rules win.
   Tailwind pages also load js/theme.js, which maps the same colours onto
   Tailwind's teal / slate / gray scales and the brand utility names. */
@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Quicksand:wght@500;600;700&display=swap");

:root {
    /* brand */
    --hr-teal:        #2FB09E;   /* primary — buttons, links, highlights   */
    --hr-teal-dark:   #1F7A70;   /* hover / pressed                         */
    --hr-teal-light:  #D3F4EE;   /* tints, chips                            */
    --hr-coral:       #FF7774;   /* call-to-action ("Play", "Try for free") */
    --hr-coral-dark:  #DC5D5B;
    --hr-sun:         #FFDC70;   /* rewards, badges, secondary buttons      */
    --hr-sun-dark:    #DFB849;
    /* neutrals — a warm, green-tinted grey family instead of cold slate */
    --hr-ink:         #29434A;   /* body text / headings                    */
    --hr-muted:       #61787B;   /* secondary text                          */
    --hr-line:        #DCE6E3;   /* borders                                 */
    --hr-cream:       #FFFEF8;   /* cards, header                           */
    --hr-bg:          #F3FAF5;   /* page background                         */
    --hr-jungle:      #1B3631;   /* dark surfaces: sidebar, footer          */
    /* type */
    --hr-display: "Fredoka", "Trebuchet MS", sans-serif;
    --hr-body:    "Quicksand", "Trebuchet MS", sans-serif;
}

body {
    font-family: var(--hr-body);
    color: var(--hr-ink);
    background-color: var(--hr-bg);
}
h1, h2, h3, h4, .font-heading { font-family: var(--hr-display); }
::selection { background: var(--hr-sun); color: var(--hr-ink); }

/* Shared header controls — same on the home page, the map and the subject
   picker, so navigating between them doesn't feel like switching apps.
   .hr-icon-btn  = a plain square icon button (back, home).
   .hr-account   = the "Sign In" / "Parent Portal" pill with its own little
                   avatar badge, exactly as it appears on the subject page. */
.hr-icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 14px; background: #E3EFEB;
    font-size: 22px; font-weight: 700; color: var(--hr-ink); text-decoration: none;
    transition: background .15s ease; flex-shrink: 0;
}
.hr-icon-btn:hover { background: #D3F4EE; }
.hr-account {
    display: inline-flex; align-items: center; gap: 10px;
    height: 46px; padding: 4px 16px 4px 4px; border-radius: 14px; background: #E3EFEB;
    font-weight: 700; font-size: 14px; white-space: nowrap; color: var(--hr-ink);
    text-decoration: none; transition: background .15s ease;
}
.hr-account:hover { background: #D3F4EE; }
.hr-account-icon {
    width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px;
    background: linear-gradient(160deg, #ffd45c, #f5b021);
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.hr-header-controls { display: flex; align-items: center; gap: 8px; }
