:root {
  --bg: #071526;
  --surface: #0e2436;
  --surface2: #16344a;
  --accent: #7ee7ff;
  --ice: #b9f3ff;
  --text: #f7fbff;
  --muted: #c5d4e4;
  --green: #3ddc6a;
  --orange: #ffb15a;
  --radius: 18px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ice); }

.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }

nav.links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--text); }

.lang { display: inline-flex; border: 1px solid var(--surface2); border-radius: 999px; overflow: hidden; }
.lang button {
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 11px;
  cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--surface2); color: var(--text); }

/* Language switch: everything marked with a lang other than the chosen one is hidden. */
html[data-lang="en"] [data-l="fr"],
html[data-lang="fr"] [data-l="en"] { display: none !important; }

.hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% 0 -10%;
  height: 55%;
  background: var(--surface);
  clip-path: polygon(0 40%, 18% 18%, 32% 34%, 50% 0, 68% 30%, 84% 14%, 100% 32%, 100% 100%, 0 100%);
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero .kicker {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}
.hero h1 {
  font-size: clamp(34px, 7vw, 58px);
  line-height: 1.08;
  margin: 10px 0 16px;
  letter-spacing: -0.02em;
}
.hero p.lead { font-size: clamp(18px, 2.6vw, 21px); color: var(--muted); max-width: 620px; margin: 0 0 28px; }

.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.button {
  display: inline-block;
  background: var(--accent);
  color: #04121f;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
}
.button:hover { background: var(--ice); color: #04121f; }
.note { color: var(--muted); font-size: 14px; }

.shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 64px;
}
.shots img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid var(--surface2);
  display: block;
}

h2 { font-size: 28px; letter-spacing: -0.01em; margin: 0 0 18px; }
h3 { font-size: 19px; margin: 28px 0 6px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 64px;
}
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }

.doc { max-width: 720px; padding: 24px 0 72px; }
.doc h1 { font-size: clamp(30px, 6vw, 42px); margin: 10px 0 6px; letter-spacing: -0.02em; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.doc p, .doc li { color: #e3ecf5; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }

.callout {
  background: var(--surface);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 20px 0;
}

details {
  background: var(--surface);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 10px 0;
}
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; }

footer {
  border-top: 1px solid var(--surface2);
  padding: 26px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--muted); }

@media (max-width: 720px) {
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  header.top { flex-wrap: wrap; }
  nav.links { order: 3; width: 100%; }
}
