@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/roboto-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/roboto-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/roboto-latin-700-normal.woff2') format('woff2');
}

:root {
  /*
   * Message PC12, étape 3 (Private, 12 Nov. 2026: the site takes the app's style, the same colours and the same buttons).
   * The dark bands use the app's fixed Ocean colour roles (app/src/index.css, :root, the sign-in wall and the brand);
   * the light page uses the brand's light ground (#EDF5F8, message AU § 4 b) and the brand ink (--brand-ink, CY suite 2 § 2).
   */
  --md-sys-color-surface: #0d2131;
  --md-sys-color-surface-container: #122b3e;
  --md-sys-color-outline-variant: #24485e;
  --md-sys-color-primary: #5185a4;
  --md-sys-color-secondary: #79a8c2;
  --md-sys-color-on-surface: #edf5f8;
  --md-sys-color-on-surface-variant: #c9dbe4;
  --md-sys-color-outline: #8fa8b5;
  /* The app's filled button on the Ocean wall (app/src/settings/EntryGate.css: --app-btn, --app-btn-ink; WCAG 2.2, 1.4.3). */
  --app-btn: color-mix(in srgb, var(--md-sys-color-primary) 85%, var(--md-sys-color-surface));
  --app-btn-ink: #fff;
  --ink: #0d2131;
  --muted: #45596a;
  --line: #dbe7ee;
  --bg: #edf5f8;
  --card: #fbfdfe;
  --eyebrow: #2f6a8e;
  /* Material 3 scale of the app (jetons material-web v0_192): corner medium 12, small button 40 dp, touch target 48 dp. */
  --md-sys-shape-corner-medium: 12px;
  --md-comp-button-small-container-height: 40px;
  --md-sys-touch-target: 48px;
  --gutter: 16px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 Roboto, system-ui, sans-serif;
}

.wrap { width: min(1040px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; }

.top { background: var(--md-sys-color-surface); color: var(--md-sys-color-on-surface); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--md-sys-color-on-surface); text-decoration: none; font-size: 24px; }
/* The wordmark « MyKEERS. » of the app (message CY, suite 2 § 2; CLAUDE.md § 7: the period is part of the brand): « My » 400, « KEERS. » 700 tracked +0.035 em. */
.logo-word { font-weight: 400; }
.logo-word b { font-weight: 700; letter-spacing: 0.035em; }
.logo img { display: block; width: 62px; height: 36px; }

.lang { display: inline-flex; padding: 2px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 999px; }
.lang a { display: grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: 999px; color: var(--md-sys-color-on-surface); font-size: 14px; font-weight: 500; text-decoration: none; }
.lang a[aria-current] { background: var(--md-sys-color-secondary); color: var(--md-sys-color-surface); }

.hero { background: var(--md-sys-color-surface); color: var(--md-sys-color-on-surface); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 24px; padding-block: 40px 56px; }
.hero h1 { color: var(--md-sys-color-on-surface); font-size: clamp(36px, 6vw, 60px); }
.hero .eyebrow { color: var(--md-sys-color-on-surface-variant); font-size: 18px; }
.hero-text { max-width: 30em; margin: 16px 0 24px; font-size: 19px; }
.hero-art svg { display: block; width: 100%; height: auto; }

.eyebrow { margin: 0 0 8px; color: var(--eyebrow); font-size: 15px; font-weight: 500; }
.proof { margin: 0; font-size: 15px; }
.store { display: inline-block; margin-block-end: 16px; }
.store img { display: block; }

.band { padding-block: 40px 56px; }
.head { max-width: 40em; margin: 0 auto 24px; text-align: center; }
.head h2 { font-size: clamp(26px, 4vw, 34px); }
.head p:last-child:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); font-size: 18px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.card h3 { margin-top: 16px; font-size: 21px; }
.card p { margin: 8px 0 0; color: var(--muted); }
.card-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--md-sys-color-surface-container); }
.card-ic svg { width: 28px; height: 28px; fill: none; stroke: var(--md-sys-color-on-surface-variant); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.trust { display: grid; grid-template-columns: 1.15fr 1fr; margin-block: 32px; border-radius: 20px; background: var(--md-sys-color-surface); color: var(--md-sys-color-on-surface); overflow: hidden; }
.trust-copy { padding: 32px; }
.trust-copy .eyebrow { color: var(--md-sys-color-on-surface-variant); }
.trust-copy h2 { color: var(--md-sys-color-on-surface); font-size: 26px; }
.trust-copy p:last-child { margin: 16px 0 0; }
.trust-art svg { display: block; width: 100%; height: 100%; }

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 8px 16px; margin-block-end: 32px; }
.qa { border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 8px 16px; cursor: pointer; font-weight: 500; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 8px; height: 8px; margin-block-end: 3px; border-block-end: 2px solid var(--eyebrow); border-inline-end: 2px solid var(--eyebrow); transform: rotate(45deg); }
.qa[open] summary::after { margin-block-end: -3px; transform: rotate(-135deg); }
.qa p { margin: 0; padding: 0 16px 16px; color: var(--muted); }

.end { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 32px; border-radius: 20px; background: var(--md-sys-color-surface); color: var(--md-sys-color-on-surface); }
.end h2 { color: var(--md-sys-color-on-surface); font-size: 24px; }
.end p { margin: 8px 0 0; }
.end-side { text-align: end; }

/* Message CY, suite 5 § 1: the footer of the maquette, version 0.14 (docs/maquettes/pied_de_page_v2026-11-14.1/). */
.foot { background: var(--md-sys-color-surface); color: var(--md-sys-color-on-surface); padding-block: 32px 24px; }
.foot a { color: var(--md-sys-color-on-surface); }
.nl { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; padding-block-end: 32px; border-block-end: 1px solid var(--md-sys-color-outline-variant); }
.nl h2 { margin: 0; color: var(--md-sys-color-on-surface); font-size: 28px; line-height: 1.25; }
.nl-form { display: grid; gap: 8px; align-content: start; }
.nl-field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--md-sys-color-on-surface-variant); }
.nl-field input { height: 56px; padding-inline: 16px; border: 1px solid var(--md-sys-color-outline); border-radius: 4px; background: transparent; color: var(--md-sys-color-on-surface); font: 400 16px Roboto, system-ui, sans-serif; }
.nl-opt { display: flex; gap: 8px; align-items: flex-start; min-height: 48px; font-size: 12px; line-height: 1.5; color: var(--md-sys-color-on-surface-variant); cursor: pointer; }
.nl-opt input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--md-sys-color-on-surface); }
.nl-more { font-size: 12px; }
.nl-form button { justify-self: start; height: 56px; min-width: 120px; padding-inline: 24px; border: 0; border-radius: 12px; background: var(--md-sys-color-on-surface); color: var(--ink); font: 500 14px/1 Roboto, system-ui, sans-serif; cursor: pointer; }
.nl-form button:disabled { opacity: 0.38; cursor: default; }
.nl-status { margin: 0; min-height: 1.5em; font-size: 14px; }
.foot-mid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; padding-block: 32px 24px; }
.foot-brand p { margin: 8px 0 16px; color: var(--md-sys-color-on-surface-variant); }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; align-content: start; }
.foot-links a { display: flex; align-items: center; min-height: 48px; font-size: 15px; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-social { display: flex; gap: 8px; padding-block-end: 16px; }
.foot-social a { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--md-sys-color-outline); border-radius: 50%; font-size: 12px; text-decoration: none; }
.cookies { position: fixed; inset-inline: 16px; inset-block-end: 16px; z-index: 10; max-width: 560px; margin-inline: auto; padding: 16px; border-radius: 12px; background: var(--card); color: var(--ink); box-shadow: 0 4px 16px rgba(13, 33, 49, 0.24); }
.cookies[hidden] { display: none; }
.cookies p { margin: 0 0 16px; font-size: 14px; }
.cookies-actions { display: flex; gap: 8px; justify-content: flex-end; }
/* Refusing is as easy as accepting: the same size, the same look (CNIL 2020-091). */
.cookies-actions button { position: relative; min-width: 120px; min-height: var(--md-comp-button-small-container-height); padding-inline: 16px; border: 0; border-radius: var(--md-sys-shape-corner-medium); background: var(--app-btn); color: var(--app-btn-ink); font: 500 14px/1.43 Roboto, system-ui, sans-serif; cursor: pointer; }
/* 48 dp touch target, the 40 dp drawing stays (app/src/components/ui/Button.css; m3.material.io/foundations/designing/structure). */
.cookies-actions button::after, .cta::after { content: ''; position: absolute; inset-inline: 0; top: 50%; height: max(100%, var(--md-sys-touch-target)); transform: translateY(-50%); }
.foot-address { margin: 0; padding-block-start: 16px; border-block-start: 1px solid var(--md-sys-color-outline-variant); font-size: 12px; color: var(--md-sys-color-on-surface-variant); }

.page { padding-block: 32px 56px; }
.prose { max-width: 760px; overflow-wrap: anywhere; }
.prose h1 { margin-block-end: 24px; font-size: clamp(28px, 5vw, 38px); }
.prose h2 { margin-block: 24px 8px; font-size: 21px; }
.prose a { color: var(--eyebrow); }
.article-meta { margin: -8px 0 24px; font-size: 14px; color: var(--muted); }
.article-cta { margin-block: 32px; }
.cta { position: relative; display: inline-flex; align-items: center; min-height: var(--md-comp-button-small-container-height); padding-inline: 24px; border-radius: var(--md-sys-shape-corner-medium); background: var(--app-btn); color: var(--app-btn-ink) !important; font-size: 14px; font-weight: 500; text-decoration: none; }
.articles { padding: 0; list-style: none; }
.articles li { padding-block: 16px; border-block-end: 1px solid var(--line); }
.articles p { margin: 4px 0 0; color: var(--muted); }

/*
 * Message PC12, étape 2: the contact form. Screen 1 shows until a space is chosen; screen 2 is the target of its anchor.
 * Two exclusive choices side by side as the app's connected button group (Material 3, Button groups); the topics as list
 * rows of 56 dp (Material 3, Lists), each a mail link. Touch targets of 48 dp at least (WCAG 2.2, 2.5.8; Android 48 dp).
 */
.contact { margin-block-end: 24px; }
.contact h2 { margin-block: 0 8px; }
.contact-step p { margin: 0 0 16px; }
.contact-topics:not(:target) { display: none; }
.contact:has(.contact-topics:target) .contact-spaces { display: none; }
.choices { display: flex; gap: 2px; }
.choices .choice { position: relative; display: flex; flex: 1 1 0; align-items: center; justify-content: center; min-height: var(--md-comp-button-small-container-height); padding-inline: 16px; border-radius: 8px; background: var(--app-btn); color: var(--app-btn-ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.choices .choice:first-child { border-start-start-radius: 20px; border-end-start-radius: 20px; }
.choices .choice:last-child { border-start-end-radius: 20px; border-end-end-radius: 20px; }
.choices .choice::after { content: ''; position: absolute; inset-inline: 0; top: 50%; height: max(100%, var(--md-sys-touch-target)); transform: translateY(-50%); }
.prose .choices .choice { color: var(--app-btn-ink); }
.topics { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--md-sys-shape-corner-medium); background: var(--card); overflow: hidden; }
.topics li + li { border-block-start: 1px solid var(--line); }
.prose .topics a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding-inline: 16px; color: var(--ink); text-decoration: none; }
.topics a::after { content: ''; flex: none; width: 8px; height: 8px; border-block-start: 2px solid var(--eyebrow); border-inline-end: 2px solid var(--eyebrow); transform: rotate(45deg); }
.topics a:hover { background: #e3eef3; }

a:focus-visible, summary:focus-visible, .nl-form input:focus-visible, .nl-form button:focus-visible { outline: 2px solid var(--md-sys-color-secondary); outline-offset: 2px; }

@media (max-width: 760px) {
  .hero-in, .trust { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 420px; margin-inline: auto; }
  .cards, .faq { grid-template-columns: minmax(0, 1fr); }
  .end { flex-direction: column; align-items: flex-start; }
  .end-side { text-align: start; }
  .nl, .foot-mid { grid-template-columns: minmax(0, 1fr); }
  .nl h2 { font-size: 22px; }
  .nl-form button { justify-self: stretch; }
}

/*
 * Message PC13 § 1: the site's motion, each one taken from the app, nothing invented.
 * Norms: Material 3 Expressive springs (spatial for what moves, effects for fades; the app's
 * app/src/motion/motionSpec.ts), web.dev « Stick to transform and opacity changes for your animations »,
 * Core Web Vitals (the text shows at once, motion comes on top), WCAG 2.2 2.2.2 (nothing loops, nothing
 * moves more than 5 s) and 2.3.3 with DECISIONS_PRIVATE l. 1982 (« réduire les animations » stops everything).
 * The springs are springEasing() of motionSpec.ts written out (24 steps, settled under 0.1 %):
 */
:root {
  /* SPRING_EXPRESSIVE = m3Spring(0.6, 800), settles in 407 ms. */
  --spring-expressive: linear(0, 0.0939, 0.3019, 0.5386, 0.7508, 0.9129, 1.0191, 1.0755, 1.0943, 1.0888, 1.0704, 1.048, 1.0272, 1.0108, 0.9998, 0.9936, 0.9912, 0.9914, 0.9929, 0.995, 0.9971, 0.9987, 0.9999, 1.0005, 1);
  --spring-expressive-ms: 407ms;
  /* SPRING_CALM = m3Spring(0.9, 700), settles in 290 ms. */
  --spring-calm: linear(0, 0.0422, 0.1396, 0.2606, 0.3856, 0.5032, 0.6077, 0.6966, 0.77, 0.829, 0.8754, 0.911, 0.938, 0.9579, 0.9723, 0.9826, 0.9897, 0.9945, 0.9976, 0.9996, 1.0007, 1.0013, 1.0015, 1.0015, 1);
  --spring-calm-ms: 290ms;
  /* EASE_EMPHASIZED (Material 3 emphasized decelerate). */
  --ease-emphasized: cubic-bezier(0.05, 0.7, 0.1, 1);
}

/* The period of the wordmark breathes as the app's dot does (KeersBrandMark.css, .keers-brand--breathe,
   keersBrandBreathe 2.4 s ease-in-out), twice when the page opens: 4.8 s, then it rests (WCAG 2.2, 2.2.2). */
.logo-dot { display: inline-block; transform-origin: 50% 80%; animation: site-brand-breathe 2.4s ease-in-out 2; }
@keyframes site-brand-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.42); opacity: 0.55; }
}

/* The drawn phone arrives as the app's welcome mark does (KeersWelcomeAnimation.tsx l. 33: scale 0.88 → 1,
   y 24 → 0, SPRING_EXPRESSIVE). Transform only: the hero text is not waited for. */
.hero-art svg { animation: site-welcome-in var(--spring-expressive-ms) var(--spring-expressive) both; }
@keyframes site-welcome-in {
  from { transform: translateY(24px) scale(0.88); }
  to { transform: none; }
}

/* Blocks below the fold enter once (assets/motion.js; appMotion.ts playScreenEnter). */
.reveal { opacity: 0; transform: translateY(12px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 280ms var(--ease-emphasized), transform 280ms var(--ease-emphasized); }

/* The FAQ opens as the app's pages come in (panelAnimations.ts, PAGE_IN_MS 300, emphasized decelerate);
   its chevron turns with the calm spring. */
.qa summary::after { transition: transform var(--spring-calm-ms) var(--spring-calm); }
.qa[open] p { animation: site-page-in 300ms var(--ease-emphasized) both; }
@keyframes site-page-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Buttons pressed under the finger, released with the calm spring (appMotion.ts: PRESSED_SCALE 0.97, SPRING_CALM). */
.cta, .cookies-actions button, .nl-form button, .choices .choice, .store {
  transition: transform var(--spring-calm-ms) var(--spring-calm);
}
.cta:active, .cookies-actions button:active, .nl-form button:not(:disabled):active, .choices .choice:active, .store:active {
  transform: scale(0.97);
}

@media (prefers-reduced-motion: reduce) {
  .logo-dot, .hero-art svg, .qa[open] p { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .reveal.is-in, .qa summary::after, .cta, .cookies-actions button, .nl-form button, .choices .choice, .store { transition: none; }
  .cta:active, .cookies-actions button:active, .nl-form button:not(:disabled):active, .choices .choice:active, .store:active { transform: none; }
}
