/* shortyear.com : les couleurs et les polices de l'app (twelve/src/theme.ts), direction Chrono. */
:root {
  --ground: #F1F4FA;
  --surface: #FFFFFF;
  --ink: #0A1119;
  --ink-2: #4C5769;
  --ink-3: #7C889B;
  --accent: #1D5FE0;
  --accent-soft: rgba(29, 95, 224, 0.12);
  --line: #E2E8F2;
  --halo: rgba(29, 95, 224, 0.18);
  --ring-dim: rgba(29, 95, 224, 0.14);
  --mark: 'Unbounded', 'Archivo Black', system-ui, sans-serif;
  --display: 'Archivo Black', 'Arial Black', system-ui, sans-serif;
  --body: 'Archivo', 'Helvetica Neue', Arial, system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #070B11;
    --surface: #121822;
    --ink: #EAF0F8;
    --ink-2: #95A3B8;
    --ink-3: #63718A;
    --accent: #4C8DFF;
    --accent-soft: rgba(76, 141, 255, 0.16);
    --line: rgba(255, 255, 255, 0.08);
    --halo: rgba(76, 141, 255, 0.30);
    --ring-dim: rgba(76, 141, 255, 0.16);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #070B11;
  --surface: #121822;
  --ink: #EAF0F8;
  --ink-2: #95A3B8;
  --ink-3: #63718A;
  --accent: #4C8DFF;
  --accent-soft: rgba(76, 141, 255, 0.16);
  --line: rgba(255, 255, 255, 0.08);
  --halo: rgba(76, 141, 255, 0.30);
  --ring-dim: rgba(76, 141, 255, 0.16);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }

/* ---------- Le logotype ---------- */
.wordmark { display: block; height: 30px; width: auto; }
.wordmark.small { height: 20px; }
.wm-text { font-family: var(--mark); font-weight: 800; font-size: 100px; fill: var(--ink); }
.wm-ring path { fill: var(--accent); }

/* ---------- En-tête et pied ---------- */
.top, .foot, main > section, .legal {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 24px;
}
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px; }
.home-link { display: inline-flex; }
.top-nav { display: flex; gap: 22px; }
.top-nav a, .foot-nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14px; }
.top-nav a:hover, .foot-nav a:hover { color: var(--ink); }

.foot { display: grid; gap: 14px; padding-block: 48px 40px; margin-top: 72px; border-top: 1px solid var(--line); }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 13px; font-weight: 600; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot-copy { margin: 0; color: var(--ink-3); font-size: 13px; }

/* ---------- Accueil ---------- */
.eyebrow { margin: 0; color: var(--ink-3); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 48px;
  padding-block: 40px 88px;
}
.hero-copy { display: grid; gap: 22px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.lede { margin: 0; max-width: 34ch; color: var(--ink-2); font-size: clamp(18px, 2vw, 21px); line-height: 1.5; }
.soon {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start; margin: 6px 0 0;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-2); font-size: 14px; font-weight: 600; background: var(--surface);
}
.soon-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.hero-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.halo { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, var(--halo) 0%, transparent 68%); }
.hero-ring { position: relative; width: 82%; height: auto; overflow: visible; }
.hero-ring path { fill: var(--accent); }
.hero-center { position: absolute; display: grid; justify-items: center; text-align: center; }
.hero-num { font-family: var(--display); font-size: clamp(40px, 6vw, 64px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hero-tag { margin-top: 8px; color: var(--ink-3); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

@media (prefers-reduced-motion: no-preference) {
  .hero-ring path { animation: week 0.5s ease-out both; animation-delay: calc(var(--i) * 70ms + 150ms); }
  @keyframes week { from { fill: var(--ring-dim); } to { fill: var(--accent); } }
}

.steps, .features { display: grid; gap: 28px; padding-block: 56px; }
.steps ol, .features ul { list-style: none; margin: 0; padding: 0; display: grid; }
.steps ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line); }
.step-n { font-family: var(--display); font-size: 15px; color: var(--accent); font-variant-numeric: tabular-nums; }
.steps h3, .features h3 { font-family: var(--display); font-weight: 400; font-size: 23px; line-height: 1.15; letter-spacing: -0.02em; }
.steps p, .features p { margin: 0; color: var(--ink-2); max-width: 36ch; }

.features ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.features li { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.features h3 { font-size: 19px; }

.closing { display: grid; justify-items: start; gap: 18px; padding-block: 72px 24px; }
.closing-line { margin: 0; font-family: var(--display); font-size: clamp(30px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.03em; max-width: 18ch; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 12px; padding-block: 8px 56px; }
  .hero-visual { width: min(100%, 380px); justify-self: center; order: -1; }
  .steps ol, .features ul { grid-template-columns: 1fr; }
}

/* ---------- Pages légales ---------- */
.legal { max-width: 760px; padding-block: 24px 0; }
.legal h1 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 52px); line-height: 1.02; letter-spacing: -0.03em; }
.updated { margin: 12px 0 0; color: var(--ink-3); font-size: 14px; }
.intro { margin: 28px 0 0; font-size: 19px; color: var(--ink); max-width: 62ch; }
.legal h2 { margin-top: 44px; font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: -0.015em; }
.legal h3 { margin-top: 22px; font-size: 16px; font-weight: 700; }
.legal p, .legal li { color: var(--ink-2); max-width: 66ch; }
.legal p { margin: 12px 0 0; }
.legal ul, .legal ol { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.legal strong { color: var(--ink); font-weight: 600; }
