/* SOLU — legal + policy pages.
   Read mode: the visitor is here to understand something, usually while
   deciding whether to trust us with a business. Structure for comprehension
   first, then make the reading worth staying in. Same tokens and same faces
   as the landing page, none of its choreography. */

@font-face {
  font-family: "Sekuya";
  src: url("/assets/fonts/Sekuya-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/InstrumentSans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Fragment Mono";
  src: url("/assets/fonts/FragmentMono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --accent: #2b4bf2;
  /* the column every block aligns to — font-independent on purpose, so a
     block that sets its own face still lines up */
  --col: 52.5rem;
  --body-gray: #a6a9ae;
  --rule: rgba(255, 255, 255, 0.12);
  --serif: "Sekuya", Didot, Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Fragment Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

html {
  background: #050608;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: #050608;
  color: #fff;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  /* the page is one column of prose; the reading measure is the layout */
  padding: 0 6vw 8rem;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  transform: translateY(-160%);
  padding: 14px 22px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.18s cubic-bezier(0.25, 1, 0.5, 1);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- bar ---------- */

.bar {
  display: flex;
  align-items: baseline;
  gap: 26px;
  flex-wrap: wrap;
  max-width: var(--col);
  margin: 0 auto;
  padding: 2.4rem 0 0;
}

.bar .mark {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: #fff;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.bar nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.bar nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.bar nav a:hover,
.bar nav a:focus-visible { color: #fff; }
.bar nav a[aria-current="page"] { color: var(--accent); }

/* ---------- masthead ---------- */

main { max-width: var(--col); margin: 0 auto; }

.masthead {
  padding: 4.5rem 0 2.6rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 3.2rem;
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 6.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}

.standfirst {
  color: var(--body-gray);
  font-size: 19px;
  line-height: 1.6;
  max-width: 58ch;
}

.stamp {
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

/* ---------- prose ---------- */

section { margin-bottom: 3.4rem; scroll-margin-top: 2rem; }

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(25px, 3.2vw, 33px);
  line-height: 1.16;
  /* more space above a heading than below it — the gap belongs to the section
     it opens, not the one it closes */
  margin: 3.6rem 0 1.1rem;
}

h2:first-child { margin-top: 0; }

h3 {
  font-family: var(--sans);
  font-weight: 700;
  /* a full step above the 17px body, not the 1px nudge it was — a sub-head
     that only differs by weight reads as emphasis, not as structure */
  font-size: 20px;
  letter-spacing: 0.02em;
  margin: 2rem 0 0.6rem;
}

p, li {
  color: var(--body-gray);
  max-width: 68ch;
}

p + p { margin-top: 1.05rem; }

strong { color: #fff; font-weight: 700; }

a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

a:hover { text-decoration-color: #fff; }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

ul, ol { margin: 1.05rem 0 0 1.25rem; }
li { margin-bottom: 0.6rem; }
li::marker { color: rgba(255, 255, 255, 0.34); }

/* a definition row: the term carries the weight, the answer carries the prose */
dl { margin-top: 1.4rem; }

dt {
  font-family: var(--mono);
  font-size: 12px;
  /* These terms run to full phrases ("When your browser requests a page"),
     not the one- and two-word labels the landing page sets in caps. The mono
     face and the colour already mark the label layer; uppercase would only
     cost the word shapes that make a phrase scannable. */
  color: #fff;
  margin-top: 1.6rem;
}

dd { color: var(--body-gray); margin-top: 0.4rem; max-width: 68ch; }

/* the one thing on the page a reader may need to act on */
.callout {
  margin-top: 1.6rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
}

.callout p { max-width: none; }

/* ---------- foot ---------- */

.legal-foot {
  max-width: var(--col);
  margin: 5rem auto 0;
  padding-top: 2.2rem;
  border-top: 1px solid var(--rule);
}

.legal-foot p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.44);
}

.legal-foot nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.legal-foot nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.legal-foot nav a:hover { color: #fff; }

::selection { background: var(--accent); color: #fff; }

@media (max-width: 700px) {
  body { padding: 0 5vw 5rem; }
  .standfirst { font-size: 17px; }
  .masthead { padding: 3rem 0 2rem; }
  /* the title is often one long word ("Confidentialité" is 12.25em wide in
     Sekuya) and the column is 90vw: at 38px it ran past a phone's edge.
     7.2vw keeps every title's longest word inside the column. */
  h1 { font-size: min(38px, 7.2vw); }
}

/* the other language, at the end of the page nav (2026-09-26) */
.bar nav .lang-link { margin-left: auto; opacity: 0.75; }

/* line breaks: headings balance their lines, paragraphs avoid ending on a
   lone word (where the browser can; elsewhere nothing changes) */
p, li, dd { text-wrap: pretty; }
h1, h2, h3, dt, .standfirst { text-wrap: balance; }
