/* Mise en Mémoire — site styles. Dark only, like the app: ink + brass. */
*, *::before, *::after { box-sizing: border-box; }
:root {
  color-scheme: dark;
  --ink: #0F0C08;
  --bg: #15110C;
  --surface: #1C1712;
  --raised: #241E17;
  --line: #2E271E;
  --text: #F5EFE0;
  --muted: #BEB09A;
  --faint: #857A67;
  --brass: #D4A853;
  --brass-soft: #E8CC8E;
  --brass-wash: rgba(198,160,82,0.12);
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --measure: 36em;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass); }
a:hover { color: var(--brass-soft); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--raised); padding: 8px 12px; z-index: 10; }

/* ── Top bar ── */
.topbar { border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand span { font-family: var(--display); font-size: 22px; letter-spacing: 0.02em; }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.lang { display: flex; gap: 10px; }
.lang a { color: var(--faint); }
.lang a[aria-current="true"] { color: var(--brass); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 10px; text-decoration: none;
  font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: 0.04em;
}
.btn-primary { background: var(--brass); color: var(--ink); }
.btn-primary:hover { background: var(--brass-soft); color: var(--ink); }
.btn-primary svg { width: 18px; height: 18px; fill: currentColor; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--brass); color: var(--text); }

/* ── Type ── */
.eyebrow { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 8vw, 84px); letter-spacing: -0.005em; }
h1 em { color: var(--brass); font-style: italic; }
h2 { font-size: clamp(32px, 5vw, 48px); }
h3 { font-size: 26px; }
.lede { font-size: 19px; color: var(--muted); max-width: 32em; margin: 20px 0 0; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }

/* ── Footer ── */
.footer { border-top: 1px solid var(--line); margin-top: 96px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 32px; font-size: 14px; color: var(--faint); }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ── Screens (phone screenshots) ── */
.screen { border-radius: 26px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8); }
.card-shot { border-radius: 12px; border: 1px solid var(--line); }
