/* Self-hosted so that no visitor's IP reaches a third party, and so the page
   needs no DNS lookup or TLS handshake before its own text can be painted.
   Baloo 2 and Nunito are both SIL Open Font License; see fonts/OFL.txt.
   Generated by tools/og/fonts.py: edit that, not this. */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/baloo-2-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: 'Baloo 2';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/baloo-2-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/baloo-2-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: 'Baloo 2';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/baloo-2-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/nunito-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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-weight: 400;
  font-display: swap;
  src: url('/fonts/nunito-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/nunito-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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-weight: 700;
  font-display: swap;
  src: url('/fonts/nunito-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* gandulete.ro — the whole site.
   Rules live in docs/site-kit.md. Tokens are the game's own, from packages/core/src/ui/tokens.css,
   so the site and the store screenshots are visibly the same object. */

:root {
  --ink: #22314a;
  --muted: #5b6b85;
  --primary: #ff6f59;
  --primary-deep: #e0523d;
  /* The game's #4fc1b6 is a fill colour and fails as text: 2.89:1 on white. Darkened until it
     clears 4.5:1 on white, on the card and on the sky ground, all three measured. */
  --accent: #1f6f66;
  --sky: #bfe3ff;
  --sky-low: #e9f6ff;
  --card: #fff;
  --line: #d6deea;
  --shadow: 0 6px 18px rgba(34, 49, 74, 0.15);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: Nunito, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: 400 18px/1.6 var(--body);
  color: var(--ink);
  /* A wash across the whole viewport, fixed, so it reads as sky rather than as a band that ends.
     A gradient measured in pixels leaves a visible seam partway down a long page. */
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky-low) 70%);
  background-attachment: fixed;
}

/* --- rhythm ---------------------------------------------------------------
   One 8px grid. The column is sized for a phone held in one hand; the desktop
   is that same column with air around it, never a different layout.

   Both columns are measured in ch, so they grow with the type below rather than
   being widened independently. That keeps the line length fixed at the 60-70
   characters the kit asks for while the page fills more of a large screen. */
.wrap { width: min(100% - 44px, 68ch); margin-inline: auto; }
.wide { width: min(100% - 44px, 1080px); margin-inline: auto; }
section { padding-block: 48px; }
@media (min-width: 900px) { section { padding-block: 80px; } }

/* Larger screens get larger type, not longer lines. */
@media (min-width: 760px)  { body { font-size: 19px; } }
@media (min-width: 1100px) { body { font-size: 20px; } }

/* --- type ----------------------------------------------------------------- */
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(30px, 7vw, 42px); }
h2 { font-size: clamp(24px, 5vw, 32px); margin-block: 0 12px; }
h3 { font-size: 22px; font-weight: 600; margin-block: 0 8px; }
p { margin-block: 0 16px; max-width: 66ch; }
.lead { font-size: 20px; color: var(--ink); }
.muted { color: var(--muted); }
small, .small { font-size: 15px; color: var(--muted); }

/* Used at most twice per page, for section eyebrows. Never in the games. */
.eyebrow {
  font-family: var(--display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  margin-block: 0 8px;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #2f6fed; outline-offset: 3px; border-radius: 6px; }

/* --- header / footer ------------------------------------------------------ */
.top { padding-block: 16px 4px; }
.top nav { display: flex; align-items: center; gap: 20px; position: relative; }
.brand { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--ink); text-decoration: none; margin-right: auto; padding-block: 8px; }

/* A checkbox, not <details>.
   <details> was the first attempt and it cannot work here: a closed <details>
   collapses to the width of its summary, so hiding the summary on desktop left
   the links in a zero-width box. CSS cannot force a closed <details> open, and
   the open attribute would have started the phone menu expanded. A checkbox is
   the one no-JavaScript construct whose state CSS can read at every width, and
   this site loads no script by design.
   The input stays focusable rather than display:none, so the keyboard can still
   reach and toggle it, and the focus ring is drawn on the label it controls. */
.menu-toggle, .burger { display: none; }

.menu-panel { display: flex; align-items: center; gap: 20px; }
.menu-panel a { font-weight: 700; font-size: 16px; text-decoration: none; padding-block: 9px; }
.menu-panel a:hover { text-decoration: underline; }
/* The current page is marked rather than dropped, so the menu keeps its shape. */
.menu-panel a[aria-current="page"] { color: var(--muted); }

@media (max-width: 600px) {
  .menu-toggle {
    display: block; position: absolute; margin: 0;
    width: 1px; height: 1px; opacity: 0; pointer-events: none;
  }
  .burger {
    display: grid; place-items: center; margin-left: auto; margin-right: -10px;
    width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  }
  .burger svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
  .ico-close { display: none; }
  .menu-toggle:checked ~ .burger .ico-open { display: none; }
  .menu-toggle:checked ~ .burger .ico-close { display: block; }
  .menu-toggle:focus-visible ~ .burger { outline: 3px solid #2f6fed; outline-offset: 3px; }

  /* A white card on the sky, the same object the rest of the page is built from. */
  .menu-panel {
    display: none;
    position: absolute; right: 0; top: calc(100% + 6px);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--card); border-radius: 18px; box-shadow: var(--shadow);
    padding: 8px; min-width: 212px; z-index: 20;
  }
  .menu-toggle:checked ~ .menu-panel { display: flex; }
  .menu-panel a { padding: 13px 14px; border-radius: 12px; }
  .menu-panel a:hover { text-decoration: none; background: var(--sky-low); }
}

footer { padding-block: 40px 56px; font-size: 15px; color: var(--muted); }
footer nav { display: flex; gap: 0 18px; flex-wrap: wrap; margin-bottom: 12px; }
footer nav a { padding-block: 10px; }

/* --- the one button ------------------------------------------------------- */
.btn {
  display: inline-block; font-family: var(--display); font-weight: 800; font-size: 18px;
  /* Ink on the orange, not white. White on #ff6f59 is 2.74:1 and fails; the ink reads at 4.78:1
     and keeps the brand colour exactly rather than darkening it into a different orange. */
  color: var(--ink); background: var(--primary); text-decoration: none;
  padding: 14px 26px; border: 0; border-radius: 999px;
  box-shadow: 0 6px 0 var(--primary-deep);
  transition: transform 120ms var(--ease), box-shadow 120ms var(--ease);
}
.btn:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--primary-deep); }
.btn.soon { color: #fff; background: #5f7189; box-shadow: 0 6px 0 #48586d; cursor: default; }

/* --- surfaces ------------------------------------------------------------
   White on sky is the separation. No borders on content surfaces, one shadow. */
.card {
  background: var(--card); border-radius: 26px; padding: 28px 24px;
  box-shadow: var(--shadow);
}
.card h2 { margin-top: 0; }

.games { display: grid; gap: 24px; margin-top: 28px; }
@media (min-width: 760px) { .games { grid-template-columns: 1fr 1fr; } }
.game { display: grid; gap: 16px; }
.game img { width: 100%; height: auto; border-radius: 18px; display: block; }
.age {
  display: inline-block; font-family: var(--display); font-weight: 800; font-size: 14px;
  background: var(--sky); color: #24506e; padding: 4px 12px; border-radius: 999px;
}

.shots { display: grid; gap: 22px; grid-template-columns: 1fr; justify-items: center; margin-top: 24px; }
/* Side by side on a phone these were about 175px wide, showing a 620px game
   screen: the one thing a parent wants to look at, too small to look at. One at
   a time, capped so two of them do not swallow the page. */
.shots img { width: auto; max-width: 100%; max-height: 62vh; height: auto; border-radius: 18px; display: block; box-shadow: var(--shadow); }
@media (min-width: 620px) {
  .shots { grid-template-columns: 1fr 1fr; gap: 18px; }
  .shots img { width: 100%; max-height: none; }
}

/* --- the trust block, which is the whole pitch ---------------------------- */
.trust { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.trust li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.trust b { font-weight: 700; }
.tick { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.tick svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* --- long-form pages (privacy, support) ----------------------------------- */
.doc h2 { margin-top: 36px; }
.doc ul { padding-left: 22px; }
.doc li { margin-block: 8px; max-width: 66ch; }
.doc table { border-collapse: collapse; width: 100%; margin-block: 16px; font-size: 16px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
