/* Shared base for the standalone pages (about, blog, posts). Same tokens as home, apps and contact. */
:root {
  color-scheme: light;
  --ink: #121A2E; --ink-2: #4A536B; --paper: #ECEEF2; --white: #FBFCFE; --line: #C9CEDA;
  --cobalt: #2337E6; --cobalt-deep: #0E1A57; --sky: #A9C2FF;
  --emerald: #0E4D40; --mint: #BDEBD7; --saffron: #F4B23A; --ember: #FF7A3D;
  --display: 'Bricolage Grotesque', 'Arial Narrow', Arial, sans-serif;
  --text: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
body { min-height: 100vh; display: flex; flex-direction: column; margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
main { flex: 1; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1400px; margin: 0 auto; padding-left: max(clamp(20px, 6vw, 96px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(20px, 6vw, 96px), env(safe-area-inset-right, 0px)); }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-variation-settings: "wdth" 88; }

.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 14px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; text-decoration: none; }
.brand img { display: block; height: 32px; width: auto; }
.nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav a { font-weight: 600; font-size: 15px; text-decoration: none; padding: 7px 12px; border-radius: 999px; }
.nav a:hover { background: rgba(18,26,46,.07); }
.nav a[aria-current="page"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.nav a.cta { background: var(--ink); color: var(--white); }
.nav a.cta:hover { background: var(--cobalt); }
.langs { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--white); }
.langs a { text-decoration: none; border: 0; background: transparent; padding: 6px 11px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; }
.langs a[aria-current="true"] { background: var(--ink); color: var(--white); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 14px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink); }
.btn.primary { background: var(--ink); color: var(--white); }
.btn.primary:hover { background: var(--cobalt); border-color: var(--cobalt); }
.btn:not(.primary):hover { background: var(--white); }

.end { background: var(--ink); color: var(--white); }
.end .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; padding-block: clamp(56px, 7vw, 104px); }
.end h2 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6vw, 92px); line-height: .92; letter-spacing: -0.03em; margin: 0; max-width: 14ch; font-variation-settings: "wdth" 88; }
.end h2 span { color: var(--saffron); }
html:lang(fr) .end h2 span { white-space: nowrap; } /* keeps "Parlons-en." whole */
.end .btn { border-color: var(--white); }
.end .btn.primary { background: var(--white); color: var(--ink); }
.end .btn.primary:hover { background: var(--saffron); border-color: var(--saffron); }
.end .btn:not(.primary):hover { background: rgba(255,255,255,.1); }
footer { background: var(--ink); color: #9AA3B8; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 32px; border-top: 1px solid #2A3247; }
footer a { text-decoration: none; margin-left: 16px; }
footer a:hover { color: var(--white); }

@media (max-width: 980px) { .nav a:not(.cta) { display: none; } }
@media (max-width: 560px) { footer a { margin: 0 16px 0 0; } }
