/* The site's plain pages (support, privacy): same theme as the app, no JavaScript framework. */
@font-face { font-family: 'Bebas Neue'; src: url(/fonts/bebas-neue.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Inter'; font-weight: 100 900; src: url(/fonts/inter.woff2) format('woff2'); font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 100 900; src: url(/fonts/inter-ext.woff2) format('woff2'); font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #07090d; --tile: rgba(255, 255, 255, .045); --line: rgba(255, 255, 255, .08); --line-strong: rgba(255, 255, 255, .16);
  --text: #f2f4f6; --muted: #8b94a1; --brand: #c8ff3d; --brand-ink: #0b0f05; --o: #ff4d6d; --input: #080b10;
  color-scheme: dark;
}
/* Dark like the app; light when it's the theme picked on the site (goalxo.theme). */
:root[data-theme="light"] {
  --bg: #f1f2ec; --tile: rgba(255, 255, 255, .8); --line: rgba(20, 30, 20, .09); --line-strong: rgba(20, 30, 20, .2);
  --text: #111511; --muted: #5f675b; --brand: #4c7a00; --brand-ink: #fff; --o: #e11d48; --input: #fff;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background-image: radial-gradient(700px 500px at 0% 0%, rgba(77, 141, 255, .14), transparent 70%), radial-gradient(700px 500px at 100% 100%, rgba(255, 77, 109, .08), transparent 70%);
  background-attachment: fixed;
}
.page { max-width: 720px; margin: 0 auto; padding: calc(20px + env(safe-area-inset-top, 0px)) 20px calc(56px + env(safe-area-inset-bottom, 0px)); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.logo { font-family: 'Bebas Neue', Impact, sans-serif; font-size: 34px; letter-spacing: .02em; line-height: 1; color: var(--text); text-decoration: none; }
.logo span { color: var(--brand); }
.langs { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--tile); }
.langs button { font: 700 13px/1 inherit; font-family: inherit; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 8px 11px; cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); }

h1 { margin: 36px 0 6px; font-family: 'Bebas Neue', Impact, sans-serif; font-weight: 400; font-size: clamp(44px, 10vw, 64px); line-height: .95; letter-spacing: .01em; text-wrap: balance; }
h1 em { font-style: normal; color: var(--brand); }
.lead { margin: 0 0 8px; color: var(--muted); font-size: 17px; }
.updated { margin: 0; color: var(--muted); font-size: 13.5px; }
h2 { margin: 40px 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
h3 { margin: 22px 0 4px; font-size: 16px; }
p, li { color: var(--text); }
p { margin: 0 0 12px; }
ul { margin: 0 0 12px; padding-left: 20px; }
li { margin: 4px 0; }
a { color: var(--brand); font-weight: 600; }
.muted { color: var(--muted); }

.card { padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--tile); }

/* The contact form */
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; }
label .hint { font-weight: 500; color: var(--muted); }
select, textarea, input[type="email"], input[type="text"] {
  width: 100%; font: 400 16px/1.45 inherit; font-family: inherit; color: var(--text); background: var(--input);
  border: 1px solid var(--line-strong); border-radius: 14px; padding: 12px 14px;
}
textarea { min-height: 150px; resize: vertical; }
select:focus, textarea:focus, input:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send { justify-self: start; font: 800 16px/1 inherit; font-family: inherit; color: var(--brand-ink); background: var(--brand); border: 0; border-radius: 999px; padding: 15px 26px; cursor: pointer; }
.send:disabled { opacity: .55; cursor: default; }
.status { margin: 0; font-size: 14.5px; font-weight: 700; }
.status.ok { color: var(--brand); }
.status.err { color: var(--o); }

details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--brand); font-weight: 800; }
details[open] summary::after { content: '–'; }
details p { margin: 10px 0 0; color: var(--muted); }

.foot { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }

[data-l] { display: none; }
html[lang="fr"] [data-l="fr"], html[lang="en"] [data-l="en"], html[lang="es"] [data-l="es"], html[lang="pt"] [data-l="pt"] { display: revert; }
