@font-face {
  font-family: 'Lilita One';
  src: url('/assets/lilita-one.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url('/assets/nunito.woff2') format('woff2');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
/* Letters the two Latin subsets above lack (22/10/2026): local subsets of OFL fonts of the repository, see
   web/README.md. Each face has its own family name, used only by the html:lang rules of its languages below,
   so fr, en and ru (Cyrillic in the system font) do not change. zh-Hant has no web font: html lang picks
   the system's Traditional Chinese font, as for ja, ko and zh. */
@font-face {
  font-family: 'Nunito Etendu';
  src: url('/assets/nunito-etendu.woff2') format('woff2');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+20AB, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Kanit;
  src: url('/assets/kanit-thai.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Baloo 2';
  src: url('/assets/baloo2-deva.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
@font-face {
  font-family: Cairo;
  src: url('/assets/cairo-arabe.woff2') format('woff2');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}
/* Greek (26/10/2026): no Latin font of the page has it. M PLUS Rounded 1c (OFL, the game's Greek fallback), two
   static weights, Greek block only: Filipino needs nothing (Latin-1). */
@font-face {
  font-family: 'M PLUS Rounded Grec';
  src: url('/assets/mplus-grec-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0370-03FF;
}
@font-face {
  font-family: 'M PLUS Rounded Grec';
  src: url('/assets/mplus-grec-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0370-03FF;
}

:root {
  color-scheme: dark;
  --navy: #0a2556;
  --deep: #071a3d;
  --gold: #ffd23f;
  --text: #fff;
  --soft: #e7eeff;
  --muted: #b9c8ea;
  font-family: Nunito, 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--deep);
  font-synthesis: none;
}
/* Per-language rules always start with html:lang(xx), never :lang(xx) alone: the picker links carry lang="ar",
   lang="th"... on every page. Latin stays in Nunito, only the letters of the page's script switch font. */
html:lang(tr), html:lang(pl), html:lang(vi), html:lang(uk) { font-family: Nunito, 'Nunito Etendu', 'Segoe UI', system-ui, sans-serif; }
html:lang(th) { font-family: Nunito, 'Leelawadee UI', Thonburi, 'Noto Sans Thai', 'Segoe UI', system-ui, sans-serif; }
html:lang(hi) { font-family: Nunito, 'Baloo 2', 'Segoe UI', system-ui, sans-serif; }
html:lang(ar) { font-family: Nunito, Cairo, 'Segoe UI', system-ui, sans-serif; }
html:lang(el) { font-family: Nunito, 'M PLUS Rounded Grec', 'Segoe UI', system-ui, sans-serif; }

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; background: var(--deep); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1240px, calc(100% - 32px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; padding: 14px 20px; background: var(--gold); color: var(--deep); border-radius: 10px; font-weight: 900; }
.skip-link:focus { top: 12px; }
.display { font-family: 'Lilita One', Nunito, sans-serif; font-weight: 400; letter-spacing: .5px; text-transform: uppercase; }
.outline { text-shadow: 3px 3px 0 var(--navy), -3px 3px 0 var(--navy), 3px -3px 0 var(--navy), -3px -3px 0 var(--navy), 0 3px 0 var(--navy), 0 -3px 0 var(--navy), 3px 0 0 var(--navy), -3px 0 0 var(--navy), 0 9px 0 var(--navy), 0 16px 28px rgba(0,0,0,.45); }
.outline-sm { text-shadow: 2px 2px 0 var(--navy), -2px 2px 0 var(--navy), 2px -2px 0 var(--navy), -2px -2px 0 var(--navy), 0 2px 0 var(--navy), 0 -2px 0 var(--navy), 2px 0 0 var(--navy), -2px 0 0 var(--navy), 0 5px 0 var(--navy); }

/* Hero */
.hero { position: relative; isolation: isolate; padding-bottom: 72px; background: linear-gradient(90deg, rgba(7,26,61,.92) 0%, rgba(7,26,61,.62) 42%, rgba(7,26,61,.12) 72%, rgba(7,26,61,.25) 100%), linear-gradient(180deg, rgba(7,26,61,.55) 0%, rgba(7,26,61,0) 22%, rgba(7,26,61,0) 70%, var(--deep) 100%), url('/assets/jardin.webp') center 35% / cover no-repeat; }
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand img { width: 48px; height: 48px; border-radius: 13px; box-shadow: 0 0 0 3px var(--navy), 0 6px 14px rgba(0,0,0,.4); }
.brand span { font-size: 22px; }
/* Language picker (26/10/2026): a discreet trigger (globe, current code, chevron) that opens the list of native
   names. 44px touch target; the list lies over the hero, right-aligned with the trigger, two columns. */
.language-link { position: relative; z-index: 5; }
.language-link summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 22px; background: rgba(7,26,61,.6); border: 2px solid rgba(255,255,255,.25); color: #fff; font-weight: 800; font-size: 14px; cursor: pointer; list-style: none; transition: background .15s ease; }
.language-link summary::-webkit-details-marker { display: none; }
.language-link summary:hover, .language-link[open] summary { background: rgba(7,26,61,.85); }
.language-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.language-link .chevron { width: 16px; height: 16px; stroke-width: 2.5; transition: transform .15s ease; }
.language-link[open] .chevron { transform: rotate(180deg); }
.language-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: max-content; max-width: min(420px, calc(100vw - 32px)); max-height: min(70vh, 560px); overflow-y: auto; padding: 8px; border-radius: 16px; background: var(--deep); border: 2px solid rgba(255,255,255,.2); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.language-menu ul { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 2px; margin: 0; padding: 0; list-style: none; }
.language-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; color: var(--soft); font-weight: 700; font-size: 15px; text-decoration: none; }
.language-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.language-menu a[aria-current] { background: rgba(255,210,63,.14); color: var(--gold); font-weight: 900; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); grid-template-rows: auto auto; column-gap: 24px; align-items: center; min-height: 640px; }
.copy { grid-column: 1; grid-row: 1; align-self: end; }
.actions { grid-column: 1; grid-row: 2; align-self: start; }
.showcase { grid-column: 2; grid-row: 1 / span 2; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding-block: 8px; padding-inline: 10px 16px; border-radius: 999px; background: var(--navy); border: 2px solid #ffc629; font-weight: 900; font-size: 13px; letter-spacing: 1.6px; color: var(--gold); text-transform: uppercase; }
.kicker svg { width: 18px; height: 18px; fill: currentColor; }
h1 { margin: 0 0 26px; font-size: clamp(50px, 5.8vw, 88px); line-height: .98; }
h1 span { color: var(--gold); }
:lang(fr) h1 { font-size: clamp(46px, 5vw, 76px); }
/* Title of the languages Lilita One cannot write. tr, pl, vi and uk switch the whole title to Nunito 900 (a
   Turkish İ or a Polish Ł in another font inside a Lilita word would show). th, hi and ar keep Lilita for Latin
   and punctuation, their script in its own face. A font-size per language must also join the h1 list of the
   phone width rule below, or it beats the mobile clamp. */
html:lang(tr) h1, html:lang(pl) h1, html:lang(vi) h1, html:lang(uk) h1 { font-family: Nunito, 'Nunito Etendu', sans-serif; font-weight: 900; }
html:lang(th) h1 { font-family: 'Lilita One', Kanit, sans-serif; font-weight: 600; }
html:lang(hi) h1 { font-family: 'Lilita One', 'Baloo 2', sans-serif; font-weight: 800; }
html:lang(ar) h1 { font-family: 'Lilita One', Cairo, sans-serif; font-weight: 900; }
html:lang(el) h1 { font-family: 'Lilita One', 'M PLUS Rounded Grec', sans-serif; font-weight: 800; }
/* Stacked Thai marks, Devanagari matras, Arabic ascenders and Vietnamese capitals with two accents collide at .98. */
html:lang(th) h1, html:lang(hi) h1, html:lang(ar) h1, html:lang(vi) h1 { line-height: 1.2; }
/* Spacing breaks Arabic joins and the Devanagari headline, and pulls Thai clusters apart. */
html:lang(th) h1, html:lang(hi) h1, html:lang(ar) h1,
html:lang(th) .kicker, html:lang(hi) .kicker, html:lang(ar) .kicker,
html:lang(th) .store-button small, html:lang(hi) .store-button small, html:lang(ar) .store-button small { letter-spacing: 0; }
.lede { margin: 0 0 34px; max-width: 500px; font-size: 19px; line-height: 1.6; font-weight: 700; color: var(--soft); text-shadow: 0 2px 8px rgba(0,0,0,.5); }

/* Store buttons */
.store-links { display: flex; flex-wrap: wrap; gap: 16px; }
.store-button { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 14px; min-width: 236px; min-height: 76px; padding-block: 12px; padding-inline: 20px 26px; border-radius: 20px; border: 3px solid #4a2a00; background: linear-gradient(180deg, #ffe46b 0%, #ffc629 52%, #ffad0a 100%); color: #3b2300; box-shadow: inset 0 3px 0 rgba(255,255,255,.75), inset 0 -5px 0 rgba(181,96,0,.45), 0 7px 0 #4a2a00, 0 16px 30px rgba(0,0,0,.4); transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.store-button:hover { transform: translateY(-3px); filter: brightness(1.05); box-shadow: inset 0 3px 0 rgba(255,255,255,.75), inset 0 -5px 0 rgba(181,96,0,.45), 0 10px 0 #4a2a00, 0 22px 36px rgba(0,0,0,.45); }
.store-button:active { transform: translateY(5px); box-shadow: inset 0 3px 0 rgba(255,255,255,.75), inset 0 -3px 0 rgba(181,96,0,.45), 0 2px 0 #4a2a00, 0 6px 14px rgba(0,0,0,.4); }
.store-button:focus-visible, .language-link summary:focus-visible, .brand:focus-visible, .site-footer a:focus-visible { outline: 4px solid #fff; outline-offset: 5px; }
.language-menu a:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.store-logo { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 13px; background: #20160a; box-shadow: inset 0 2px 0 rgba(255,255,255,.14), 0 2px 0 rgba(255,255,255,.35); }
.store-logo svg { width: 26px; height: 26px; }
.app-store .store-logo svg { width: 24px; height: 28px; color: #fff; }
/* Measured 22/10/2026: at line-height 1, Thai, Devanagari and Arabic marks under the mention stay 5 to 6px above
   the store name (Latin 8px), so the badges keep one height in every language. */
.store-text { display: flex; flex-direction: column; line-height: 1; }
.store-button small { font-size: 12px; font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase; opacity: .85; }
.store-button strong { font-family: 'Lilita One', Nunito, sans-serif; font-weight: 400; font-size: 30px; margin-top: 4px; letter-spacing: .3px; }
.store-button::after { content: ''; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); transform: skewX(-18deg); animation: shine 4.5s ease-in-out infinite; }
.store-button.app-store::after { animation-delay: .5s; }
@keyframes shine { 0%, 62% { left: -60%; } 82%, 100% { left: 130%; } }
.android .app-store { display: none; }
.android-store-note { display: none; }
.android .android-store-note { display: block; max-width: 420px; margin: 16px 0 0; color: var(--soft); font-size: 14px; line-height: 1.6; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 26px 0 0; padding: 0; list-style: none; font-weight: 800; font-size: 15px; color: var(--soft); }
.chips li { display: inline-flex; align-items: center; gap: 8px; }
.chips svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: #7ee05a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Showcase: phone + mascot */
.showcase { position: relative; width: min(500px, 100%); aspect-ratio: 4 / 5; margin: 0 auto; display: grid; place-items: center; }
.showcase::before { content: ''; position: absolute; inset: 4% 0; border-radius: 50%; background: radial-gradient(circle, rgba(255,210,63,.5) 0%, rgba(255,210,63,.12) 45%, rgba(255,210,63,0) 68%); }
.hero-phone { position: relative; z-index: 1; width: 54%; aspect-ratio: 600 / 1206; padding: 9px; border-radius: 44px; background: #0b0f1a; box-shadow: 0 0 0 3px #2b3550, 0 0 0 8px #ffc629, 0 0 0 12px var(--navy), 0 32px 60px rgba(0,0,0,.55); transform: rotate(5deg); animation: tilt 6s ease-in-out infinite; }
.hero-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.hero-mascot { position: absolute; z-index: 2; left: -4%; bottom: 0; width: 48%; height: auto; filter: drop-shadow(0 18px 22px rgba(0,0,0,.5)); animation: bob 3.8s ease-in-out infinite; }
.spark { position: absolute; z-index: 3; color: var(--gold); filter: drop-shadow(0 3px 0 var(--navy)); animation: twinkle 2.6s ease-in-out infinite; }
.spark svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.s1 { width: 46px; height: 46px; right: 10%; top: 6%; }
.s2 { width: 30px; height: 30px; right: 4%; top: 52%; animation-delay: -1s; }
.s3 { width: 34px; height: 34px; left: 10%; top: 22%; animation-delay: -1.8s; }
@keyframes tilt { 0%, 100% { transform: rotate(5deg) translateY(0); } 50% { transform: rotate(3.5deg) translateY(-8px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes twinkle { 0%, 100% { transform: scale(.7) rotate(0); opacity: .7; } 50% { transform: scale(1.1) rotate(20deg); opacity: 1; } }

/* Footer */
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 28px 0 34px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; font-weight: 700; color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer strong { color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }

/* Phone width */
@media (max-width: 860px) {
  .hero { padding-bottom: 44px; background: linear-gradient(180deg, rgba(7,26,61,.75) 0%, rgba(7,26,61,.35) 30%, rgba(7,26,61,.55) 58%, var(--deep) 100%), url('/assets/jardin-mobile.webp') center top / cover no-repeat; }
  .topbar { padding-block: 14px; }
  .brand img { width: 40px; height: 40px; border-radius: 11px; }
  .brand span { font-size: 17px; }
  .language-link summary { padding: 0 12px; font-size: 13px; }
  .language-menu ul { grid-template-columns: repeat(2, minmax(130px, 1fr)); }
  .hero-grid { display: flex; flex-direction: column; align-items: center; min-height: 0; text-align: center; }
  .copy { display: flex; flex-direction: column; align-items: center; padding-top: 14px; }
  .kicker { margin-bottom: 16px; font-size: 11px; letter-spacing: 1.2px; }
  h1, :lang(fr) h1 { font-size: clamp(40px, 12vw, 60px); margin-bottom: 16px; }
  .lede { font-size: 16px; margin-bottom: 24px; max-width: 340px; }
  .showcase { order: 3; width: min(320px, 88%); margin-top: 28px; }
  .hero-phone { border-radius: 34px; padding: 7px; box-shadow: 0 0 0 2px #2b3550, 0 0 0 6px #ffc629, 0 0 0 9px var(--navy), 0 24px 44px rgba(0,0,0,.55); }
  .hero-phone img { border-radius: 28px; }
  .actions { order: 2; display: flex; flex-direction: column; align-items: center; width: 100%; }
  .store-links { flex-direction: column; width: 100%; max-width: 340px; gap: 14px; }
  .store-button { width: 100%; justify-content: center; }
  .android .android-store-note { margin-inline: auto; }
  .chips { justify-content: center; font-size: 14px; margin-top: 20px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 370px) {
  .store-button { min-width: 0; padding-inline: 14px; }
  .store-button strong { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-button::after, .hero-phone, .hero-mascot, .spark { animation: none; }
  .store-button, .language-link summary, .language-link .chevron { transition: none; }
  .store-button:hover { transform: none; }
}
