/* Folkard Language Games: the company (umbrella) site. Kept simple on purpose for now (2026-10-31):
   the owner will redo it later as a general company site, less game-focused (books, cartoons, courses
   to come). The games themselves live at jogaphasa.com. Colours from the Folkard logo: sky blue,
   navy lettering, orange outline. */

@font-face {
  font-family: "Fredoka";
  src: url("brand/fredoka-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --sky: #97dbfd;        /* the Folkard logo's own background */
  --sky-soft: #dff3fe;
  --cream: #fffaf0;
  --white: #ffffff;
  --navy: #15264f;
  --navy-soft: #4a5a80;
  --orange: #f7a21b;
  --orange-deep: #d7820a;
  --green: #1f8a43;      /* ¡Joga Phasa! green, for its card */
  --sun: #ffd23c;
  --line: #f1e3c8;
  --display: "Fredoka", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --body: ui-rounded, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--navy); font: 17px/1.55 var(--body); }
a { color: #1a6fd1; font-weight: 600; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 8px; }
h1, h2 { font-family: var(--display); font-weight: 700; text-wrap: balance; }
.wrap { max-width: 980px; margin: 0 auto; padding-inline: 16px; }

.hero { background: var(--sky); text-align: center; padding-block: 12px 64px; }
.hero-logo {
  display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
}
.hero h1 { font-size: clamp(28px, 7.5vw, 44px); line-height: 1.1; margin: 4px 0 10px; }
.hero p { font-size: 19px; margin: 0 auto; max-width: 32em; }

.product { margin-top: -36px; position: relative; }
.product-card {
  background: var(--white); border: 3px solid var(--green); border-radius: 26px; box-shadow: 0 6px 0 #146b31;
  padding: 22px; display: grid; gap: 14px; justify-items: center; text-align: center;
}
.product-card img { width: 100%; max-width: 200px; height: auto; }
.product-card p { margin: 0; max-width: 34em; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 30px;
  border-radius: 999px; background: var(--orange); color: var(--navy); font: 700 20px/1 var(--display);
  text-decoration: none; box-shadow: 0 5px 0 var(--orange-deep);
}
.btn:hover { background: var(--sun); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--orange-deep); }

.later { text-align: center; padding-block: 32px 8px; color: var(--navy-soft); }
.later p { margin: 0 auto; max-width: 34em; }

.site-footer { margin-top: 40px; padding-block: 26px 36px; background: var(--navy); color: var(--sky-soft); font-size: 15px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 10px; }
.site-footer a, .site-footer .email { color: var(--sun); font-weight: 600; }
.site-footer p { margin: 0; }

.moving { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; background: #1f8a43; color: #fff; font-family: var(--display); }
.moving img { width: 220px; height: auto; }
.moving a { color: var(--sun); }

@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } }
