:root {
  color-scheme: light dark;
  --paper: #f7f3ec;
  --paper-raised: #fffdf8;
  --muted: #6b6f6a;
  --ink: #1d2b2e;
  --petrol: #02555d;
  --clay: #c8553d;
  --clay-dark: #9f3f2d;
  --gold: #d8a83d;
  --line: rgba(2, 85, 93, 0.18);
  --shadow: 0 16px 40px rgba(29, 43, 46, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 8% 6%, rgba(216, 168, 61, 0.12), transparent 18rem), var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
a { color: var(--petrol); font-weight: 650; text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--clay-dark); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 0.2rem; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .page-shell, .site-footer-inner { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--petrol); font-family: "New York", Georgia, serif; font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.brand-mark { width: 2rem; height: 2rem; flex: none; }
.language-nav { display: flex; align-items: center; gap: 0.25rem; padding: 0.25rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-raised); }
.language-nav a { min-width: 2.65rem; padding: 0.35rem 0.65rem; border-radius: 999px; font-size: 0.875rem; text-align: center; text-decoration: none; }
.language-nav a:first-child { background: var(--petrol); color: #fff; }
main { padding: clamp(3rem, 7vw, 6.5rem) 0; }
.hero, .prose-section { max-width: 42rem; }
.eyebrow { margin: 0 0 0.75rem; color: var(--clay-dark); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2, h3 { color: var(--petrol); font-family: "New York", Georgia, serif; line-height: 1.12; }
h1 { max-width: 13ch; margin: 0; font-size: clamp(2.7rem, 10vw, 5.5rem); letter-spacing: -0.035em; }
h2 { margin: 0 0 1rem; font-size: clamp(2rem, 7vw, 3.4rem); letter-spacing: -0.025em; }
h3 { margin: 0 0 0.6rem; font-size: 1.35rem; }
p, ul { margin-block: 0 1.25rem; }
.lead { max-width: 38rem; margin: 1.4rem 0 0; font-size: clamp(1.15rem, 3vw, 1.4rem); }
.hero-actions, .store-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 2rem; }
.button, .store-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.7rem 1rem; border-radius: 0.8rem; background: var(--clay); color: #fff; font-size: 1.1875rem; font-weight: 750; text-decoration: none; box-shadow: 0 7px 18px rgba(159, 63, 45, 0.18); }
.button:hover, .store-badge:hover { background: var(--clay-dark); color: #fff; }
.store-badge { min-width: 10.5rem; background: var(--ink); box-shadow: none; }
.store-badge:hover { background: var(--petrol); }
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: clamp(3rem, 8vw, 6rem); }
.feature-card, .privacy-card, .contact-card, details { border: 1px solid var(--line); border-radius: 1rem; background: var(--paper-raised); box-shadow: var(--shadow); }
.feature-card { padding: 1.4rem; }
.feature-icon { width: 2.4rem; height: 2.4rem; margin-bottom: 1rem; color: var(--clay); }
.feature-card p { margin: 0; }
.privacy-card { position: relative; overflow: hidden; margin: clamp(3rem, 8vw, 6rem) 0; padding: clamp(1.5rem, 5vw, 2.5rem); border-left: 0.45rem solid var(--gold); }
.privacy-card h2 { max-width: 17ch; font-size: clamp(1.8rem, 5vw, 2.6rem); }
.privacy-card p:last-child { margin-bottom: 0; }
.language-section { scroll-margin-top: 1rem; }
.language-section + .language-section { margin-top: clamp(4.5rem, 12vw, 8rem); padding-top: clamp(3.5rem, 9vw, 6rem); border-top: 1px solid var(--line); }
.language-label { display: inline-block; margin-bottom: 1rem; padding: 0.25rem 0.65rem; border-radius: 999px; background: rgba(216, 168, 61, 0.18); color: var(--petrol); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.prose-section h2 { font-size: clamp(2.2rem, 7vw, 3.8rem); }
.prose-section h3 { margin-top: 2rem; }
.prose-section li + li { margin-top: 0.65rem; }
.page-intro { max-width: 37rem; margin-bottom: 2.5rem; font-size: 1.12rem; }
.faq-list { display: grid; gap: 0.85rem; }
details { padding: 0 1.2rem; }
summary { cursor: pointer; color: var(--petrol); font-family: "New York", Georgia, serif; font-size: 1.1rem; font-weight: 700; line-height: 1.35; padding: 1.15rem 2rem 1.15rem 0; }
details p { padding: 0 0 1.2rem; }
.contact-card { margin-top: 2rem; padding: 1.4rem; }
.contact-card p:last-child, .legal-list { margin-bottom: 0; }
.notice { margin: 1.5rem 0; padding: 1rem 1.1rem; border-left: 0.35rem solid var(--clay); background: rgba(200, 85, 61, 0.09); border-radius: 0 0.75rem 0.75rem 0; }
.updated { color: var(--petrol); font-weight: 750; }
.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.site-footer-inner { display: grid; gap: 1rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; }
.site-footer p { margin: 0; font-size: 0.9rem; }
@media (max-width: 34rem) {
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 0.85rem; }
  .language-nav { width: 100%; }
  .language-nav a { flex: 1; min-width: 0; padding-inline: 0.35rem; }
}
@media (min-width: 42rem) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer-inner { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 64rem) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (prefers-color-scheme: dark) {
  :root { --paper: #142022; --paper-raised: #1b2b2e; --ink: #e9e4da; --petrol: #7cc6c9; --clay-dark: #ef8068; --line: rgba(124, 198, 201, 0.22); --shadow: 0 16px 40px rgba(0, 0, 0, 0.16); }
  body { background: radial-gradient(circle at 8% 6%, rgba(216, 168, 61, 0.08), transparent 18rem), var(--paper); }
  .language-nav a:first-child, .store-badge { color: #102022; }
  .language-nav a:first-child { background: #7cc6c9; }
  .store-badge { background: #e9e4da; }
  .button, .button:hover { color: #fff; }
}

/* The app icon as the logo: rounded like on the home screen. */
.brand-icon { border-radius: 22%; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18); }

/* Not published yet: shown, not clickable. */
.store-badge-soon, .store-badge-soon:hover { background: transparent; color: var(--muted, #6b6f6a); border: 1.5px dashed currentColor; box-shadow: none; cursor: default; }

/* Home: one language at a time (the one in the address, French by default), real screenshots instead of icon cards. */
.home main { padding-top: clamp(2rem, 5vw, 4rem); }
.home .language-section { display: none; }
.home .language-section:target, .home main:not(:has(.language-section:target)) #fr { display: block; }
.home .language-section + .language-section { margin: 0; padding: 0; border: 0; }
.home:has(#en:target) .language-nav a[href="#en"], .home:has(#es:target) .language-nav a[href="#es"], .home:has(#de:target) .language-nav a[href="#de"],
.home:not(:has(.language-section:target)) .language-nav a[href="#fr"], .home:has(#fr:target) .language-nav a[href="#fr"] { background: var(--petrol); color: #fff; }
.home .language-nav a:first-child { background: none; color: var(--petrol); }
.home:not(:has(.language-section:target)) .language-nav a[href="#fr"], .home:has(#fr:target) .language-nav a[href="#fr"] { background: var(--petrol); color: #fff; }
.hero { display: grid; gap: 2.5rem; align-items: center; max-width: none; }
.title { max-width: 14ch; margin: 0; font-size: clamp(2.5rem, 8vw, 4.6rem); letter-spacing: -0.03em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.4rem; margin: 2rem 0 0; }
.text-link { text-decoration: none; }
.shot { display: block; width: min(100%, 17.5rem); height: auto; border-radius: 2rem; border: 1px solid var(--line); box-shadow: 0 24px 50px -28px rgba(12, 65, 74, 0.45); }
.shot-hero { justify-self: center; }
.row { display: grid; gap: 1.6rem; align-items: center; padding: clamp(3rem, 8vw, 5.5rem) 0; border-top: 1px solid var(--line); }
.row:first-of-type { margin-top: clamp(3rem, 8vw, 5rem); }
.row .shot { justify-self: center; }
.row h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.row-text p:last-child { margin: 0; max-width: 34rem; font-size: 1.08rem; }
.num { margin: 0 0 0.5rem; color: var(--clay); font-size: 0.9rem; font-weight: 800; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.closing { padding: clamp(3rem, 8vw, 5rem) 0 1rem; border-top: 1px solid var(--line); max-width: 40rem; }
.closing p { margin: 0 0 0.9rem; }
.soon { color: var(--muted, #6b6f6a); font-size: 0.95rem; }
@media (min-width: 48rem) {
  .hero { grid-template-columns: 1.2fr 0.8fr; }
  .row { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .row:nth-of-type(even) .row-text { order: 2; }
}

/* The header (name and languages) stays on screen while scrolling. */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.language-section, .row { scroll-margin-top: 5rem; }

/* Wider home on large screens: more room for the screenshots. */
@media (min-width: 64rem) {
  .home .header-inner, .home .page-shell, .home .site-footer-inner { width: min(100% - 4rem, 86rem); }
  .home .shot { width: min(100%, 22rem); border-radius: 2.4rem; }
  .home .hero { grid-template-columns: 1.1fr 0.9fr; gap: 5rem; }
  .home .title { font-size: clamp(3.4rem, 5.2vw, 5.4rem); }
  .home .lead { font-size: 1.3rem; max-width: 34rem; }
  .home .row { grid-template-columns: 1.1fr 0.9fr; gap: 6rem; }
  .home .row:nth-of-type(even) { grid-template-columns: 0.9fr 1.1fr; }
  .home .row h2 { font-size: clamp(2.2rem, 3.4vw, 3.2rem); }
  .home .row-text p:last-child { font-size: 1.2rem; max-width: 30rem; }
}

/* The hobby first: the half-grey, half-painted knight, as in the icon. */
.hero-photo { display: block; justify-self: center; width: min(100%, 26rem); height: auto; border-radius: 1.4rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55); }
@media (min-width: 64rem) { .home .hero-photo { width: min(100%, 30rem); } }

/* The promo film between the hero and the feature rows: 16:9, or 9:16 on a phone. */
.promo { margin: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
.promo video { display: block; width: 100%; height: auto; border-radius: 1.4rem; background: #0c414a; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55); }
@media (max-width: 47.99rem) { .promo video { width: min(100%, 24rem); margin-inline: auto; } }
.promo + .row { margin-top: clamp(2.5rem, 6vw, 4rem); }
.promo { position: relative; }
.sound { position: absolute; right: 1rem; bottom: 1rem; width: 3rem; height: 3rem; border: 0; border-radius: 999px; background: rgba(12, 65, 74, 0.82); color: #fff; font-size: 1.3rem; cursor: pointer; }
@media (max-width: 47.99rem) { .sound { right: calc(50% - min(50%, 12rem) + 1rem); } }
