/* Lingo Town landing pages (generated by scripts/build-site.mjs). No external resources.
   The look of the game: dark navy panels, gold, mint, coral; the hero stays navy in light and in dark mode. */
@font-face { font-family: 'Fredoka'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/fredoka-latin-600-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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* Nunito: Latin, Latin Extended (ș ț ă ğ ş İ) and Cyrillic (є і ї ґ). The browser downloads only what a page uses. */
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400; font-display: swap; 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+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-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+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: 800; font-display: swap; 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+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-400-normal.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-ext-700-normal.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: 800; font-display: swap; src: url(fonts/nunito-latin-ext-800-normal.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-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/nunito-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/nunito-cyrillic-800-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }

:root {
  --navy: #16202F; --navy-2: #26354B; --gold: #F6B93B; --gold-ink: #2A1E05; --mint: #43BD8F; --coral: #C93F2A; --white: #FFFFFF;
  --bg: #FBF7EE; --bg-alt: #F3ECDD; --card: #FFFFFF; --ink: #16202F; --ink-2: #4A5568; --line: #E6DDCB; --link: #A8341F; --focus: #1F6FB2; --tile: #16202F; --shadow: 0 6px 22px rgba(22, 32, 47, 0.08);
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', Arial, sans-serif;
  --brand: 'Fredoka', var(--body);
  --display: 'Fredoka', var(--body); --display-weight: 600;
  color-scheme: light;
}
/* Fredoka has no ș ț ă ğ ş İ and no Cyrillic: these languages use Nunito for headings instead of mixed letters. */
html[lang="ro"], html[lang="tr"], html[lang="uk"] { --display: var(--body); --display-weight: 800; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #0F1723; --bg-alt: #131D2B; --card: #1B2738; --ink: #FFFFFF; --ink-2: #C9D4E2; --line: #2C3B52; --link: #F6B93B; --focus: #7DB8F0; --tile: #2F4160; --shadow: 0 6px 22px rgba(0, 0, 0, 0.3); color-scheme: dark; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); font-weight: 700; }
a.mail { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .top :focus-visible { outline-color: #FFFFFF; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: var(--gold-ink); text-decoration: none; }
.skip:focus { top: 12px; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--display-weight); line-height: 1.2; margin: 0; }
h2 { font-size: clamp(27px, 4vw, 38px); margin-bottom: 26px; }
h3 { font-size: 20px; margin-bottom: 8px; }
.lead { color: var(--ink-2); margin: -14px 0 26px; max-width: 720px; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }

/* Header */
.top { background: var(--navy); color: var(--white); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font: 600 22px/1 var(--brand); }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.langs { display: flex; flex-wrap: wrap; gap: 6px; }
.langs a { padding: 5px 11px; border-radius: 999px; background: var(--navy-2); color: var(--white); text-decoration: none; font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.langs a:hover { background: #33465F; }
.langs a[aria-current] { background: var(--gold); color: var(--gold-ink); }

/* Hero */
.hero { background: var(--navy); background-image: radial-gradient(760px 480px at 85% 45%, #2B4163 0%, transparent 70%); color: var(--white); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 40px; align-items: center; padding-top: 44px; padding-bottom: 60px; }
.eyebrow { color: var(--gold); font: 600 19px/1.2 var(--brand); margin-bottom: 12px; }
h1 { font-size: clamp(36px, 5.6vw, 60px); line-height: 1.08; }
.hero-sub { font-size: clamp(17px, 1.9vw, 20px); color: #DCE4EF; margin: 20px 0 26px; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: 18px; line-height: 1.3; text-align: center; text-decoration: none; box-shadow: 0 4px 0 #C48F24; transition: transform 0.1s ease, box-shadow 0.1s ease; }
.btn:hover { transform: translateY(1px); box-shadow: 0 3px 0 #C48F24; }
.hero-note { color: #C9D4E2; font-size: 15px; margin-top: 16px; max-width: 520px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.stores li { padding: 8px 15px; border: 1.5px solid #4A5D79; border-radius: 12px; color: #DCE4EF; font-size: 14.5px; font-weight: 700; line-height: 1.3; }

/* Phones */
.phone { border: 7px solid #0A101A; border-radius: 34px; overflow: hidden; background: #0A101A; box-shadow: 0 18px 44px rgba(5, 10, 18, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.07); }
.phone img, .phone video { width: 100%; height: auto; display: block; }
.hero-phones { position: relative; display: flex; justify-content: center; align-items: flex-start; min-width: 0; }
.phone-front { position: relative; z-index: 1; width: min(290px, 62%); margin-left: 21%; }
.phone-back { position: absolute; left: 3%; top: 34px; width: min(250px, 53%); opacity: 0.96; }

/* Sections */
.sec { padding: 60px 0; }
.sec-alt { background: var(--bg-alt); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.card p { color: var(--ink-2); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { padding: 24px; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font: 600 22px/1 var(--brand); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { padding: 24px; }
.feature-ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 16px; background: var(--tile); font-size: 26px; line-height: 1; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; }
.gallery figure { margin: 0; }
.gallery .phone { max-width: 280px; margin: 0 auto; border-width: 6px; border-radius: 28px; box-shadow: 0 10px 28px rgba(5, 10, 18, 0.22); }
.gallery figcaption { margin: 14px auto 0; max-width: 280px; text-align: center; font-weight: 700; line-height: 1.35; }

/* Languages */
.langs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
.learn { display: grid; gap: 14px; }
.learn-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; }
.code { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--tile); color: var(--gold); font: 600 19px/1 var(--brand); }
.ui-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ui-langs li { padding: 7px 15px; border-radius: 999px; background: var(--tile); color: var(--white); font-weight: 700; font-size: 16px; line-height: 1.4; }
.small { color: var(--ink-2); font-size: 15px; }

/* FAQ */
.faq-wrap { max-width: 800px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { cursor: pointer; padding: 15px 44px 15px 20px; font-weight: 800; line-height: 1.35; list-style: none; position: relative; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--link); font: 600 24px/1 var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; color: var(--ink-2); }
.faq-more { margin-top: 22px; color: var(--ink-2); }
.faq-cta { margin-top: 20px; }

/* Footer */
.foot { background: var(--navy); color: #DCE4EF; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; padding-top: 24px; padding-bottom: 24px; font-size: 15.5px; }
.foot a { color: var(--white); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Tablets and phones */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 32px; padding-bottom: 48px; }
  .hero-phones { max-width: 460px; width: 100%; margin: 0 auto; }
  .steps, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps .step:last-child { grid-column: 1 / -1; }
  .langs-grid { grid-template-columns: minmax(0, 1fr); }
  .sec { padding: 48px 0; }
}
@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top-in { flex-direction: column; align-items: flex-start; }
  .steps, .features { grid-template-columns: minmax(0, 1fr); }
  .steps .step:last-child { grid-column: auto; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .gallery .phone { border-width: 4px; border-radius: 20px; }
  .gallery figcaption { font-size: 14.5px; }
  .btn { display: block; width: 100%; }
  .cta-row { display: block; }
  .stores li { flex: 1 1 100%; text-align: center; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}

/* The link players share from the app (site/app/, site/{lang}/app/): icon, title, the two stores. On a phone the page
   only says that the store is opening, because the script in <head> has already sent it there. */
.app-page { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.app-in { padding-top: 48px; padding-bottom: 48px; }
.app-icon { width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 24px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); }
.app-page .hero-sub, .app-page .hero-note { margin-left: auto; margin-right: auto; }
.cta-row.app-stores { display: flex; justify-content: center; }
.app-going { display: none; }
.going .app-going { display: block; }
.app-more { margin-top: 26px; }
.app-more a { color: #DCE4EF; }
