/* YK Tech — feuille de style unique */
:root {
  --bg: #000;
  --fg: #f5f5f2;
  --muted: #9a9a94;
  --line: #2a2a28;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

::selection { background: var(--fg); color: var(--bg); }

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { opacity: .7; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }

/* Accueil : bloc centré verticalement */
.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.wrap { width: 100%; max-width: 600px; }

.page { padding: 18vh 24px 96px; }

.brand {
  display: inline-block;
  color: var(--fg);
  text-decoration: none;
  margin: 0 0 30px;
  -webkit-tap-highlight-color: transparent;
}
.brand:hover { opacity: 1; }
.wordmark { display: block; height: 46px; width: auto; overflow: visible; }
.wordmark .g { transform-box: fill-box; transform-origin: center; will-change: transform; }

h1 { font-weight: 400; font-size: 19px; margin: 0; }
h2 { font-weight: 400; font-size: 19px; margin: 48px 0 8px; }
p { margin: 0 0 22px; }

.links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 42px; }

.muted { color: var(--muted); }

/* Listes (offres, articles) */
.list { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.list .meta { color: var(--muted); font-size: 15px; display: block; }

.back { display: inline-block; margin-top: 48px; }

/* Bannière cookies */
.cookie {
  position: fixed;
  left: 24px;
  bottom: 24px;
  max-width: 420px;
  background: #0d0d0c;
  border: 1px solid var(--line);
  padding: 20px 22px;
  font-size: 15px;
  line-height: 1.6;
  z-index: 50;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 14px; }
.cookie .actions { display: flex; gap: 10px; }
.cookie button {
  font: inherit;
  font-size: 14px;
  padding: 7px 16px;
  cursor: pointer;
  border: 1px solid var(--fg);
  background: transparent;
  color: var(--fg);
}
.cookie button.primary { background: var(--fg); color: var(--bg); }

.footnote { font-size: 14px; margin-top: 18px; }
.linklike { font: inherit; background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .wordmark { height: 38px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
