/* Hey Stream — site public (GitHub Pages). Couleurs de docs/DESIGN.md. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter_regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter_bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --background: #121214;
  --surface: #1c1c1f;
  --surface2: #2a2a2e;
  --divider: #26262a;
  --text: #f4f4f5;
  --text-secondary: #a1a1aa;
  --blue: #1f6bff;
  --radius: 12px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--text); text-underline-offset: 3px; }
a:hover { color: #ffffff; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

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

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 34px; }
.brand span { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }

nav.lang a { color: var(--text-secondary); font-size: 15px; }

.hero { padding: 56px 0 40px; }
.hero img { width: 112px; height: 107px; }
.hero h1 { margin: 20px 0 8px; font-size: 44px; line-height: 1.15; letter-spacing: -0.02em; }
.hero p { margin: 0; max-width: 620px; color: var(--text-secondary); font-size: 19px; }

.disclaimer { max-width: 620px; margin: 20px 0 0; font-size: 15px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: var(--radius);
  background: var(--surface2);
  font-weight: 700;
  text-decoration: none;
}
.button.primary { background: var(--text); color: var(--background); }
.button.primary:hover { color: var(--background); background: #ffffff; }

.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px 16px; margin: 24px 0 8px; }
.shots figure { margin: 0; }
.shots figure:first-child { grid-column: 1 / -1; }
.shots img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--divider); }
.shots figcaption { margin-top: 8px; color: var(--text-secondary); font-size: 14px; }

section { padding: 32px 0; border-top: 1px solid var(--divider); }
section:first-of-type { border-top: 0; }
h2 { margin: 0 0 12px; font-size: 26px; letter-spacing: -0.01em; }
h3 { margin: 24px 0 8px; font-size: 19px; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; padding: 0; margin: 0; list-style: none; }
.features li { padding: 14px 16px; border-radius: var(--radius); background: var(--surface); }
.features strong { display: block; }
.features span { color: var(--text-secondary); font-size: 15px; }

.note { padding: 16px; border-radius: var(--radius); background: var(--surface); color: var(--text-secondary); }

.prose { max-width: 720px; padding-bottom: 48px; }
.prose h1 { font-size: 36px; line-height: 1.2; letter-spacing: -0.02em; margin: 32px 0 4px; }
.prose .date { color: var(--text-secondary); margin: 0 0 24px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 4px 0; }

footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--divider);
  color: var(--text-secondary);
  font-size: 15px;
}
footer a { color: var(--text-secondary); }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: 32px; }
  .shots, .features { grid-template-columns: minmax(0, 1fr); }
}
