/* Le site de rityvo.ch. Mêmes couleurs et même typographie que l'application et que la
   page « Dans la tête de Rityvo », pour qu'on reconnaisse la marque d'un écran à l'autre. */
:root {
  --paper: #f5f8fc;
  --surface: #ffffff;
  --ink: #0e1627;
  --muted: #54647b;
  --line: #d8e0ec;
  --blue: #2668de;
  --blue-ink: #1d52b3;
  --blue-soft: #eaf1fd;
  --green: #22cc8c;
  --green-ink: #0a8055;
  --sans: 'Nunito', ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #0a1020;
    --surface: #111a2e;
    --ink: #e8eef8;
    --muted: #9aa9c0;
    --line: #26324d;
    --blue: #6d9cf5;
    --blue-ink: #a7c3fa;
    --blue-soft: #15254a;
    --green: #34d399;
    --green-ink: #6be3b6;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 40px) 64px;
}

a {
  color: var(--blue-ink);
}

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

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 6vw, 56px);
}

header.site img {
  width: 132px;
  height: auto;
}

nav.site {
  display: flex;
  gap: clamp(12px, 3vw, 24px);
  font-weight: 600;
  font-size: 15px;
}

nav.site a {
  text-decoration: none;
}

nav.site a:hover {
  text-decoration: underline;
}

h1 {
  font-size: clamp(30px, 6vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 12px;
  text-wrap: balance;
}

h2 {
  font-size: clamp(21px, 3.4vw, 25px);
  font-weight: 800;
  margin: 40px 0 10px;
  text-wrap: balance;
}

h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 6px;
}

p,
ul {
  margin: 0 0 14px;
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

.lead {
  font-size: clamp(19px, 2.6vw, 21px);
  color: var(--muted);
  margin-bottom: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 26px);
  margin: 24px 0;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.key {
  background: var(--blue-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 26px);
  margin: 28px 0;
  font-weight: 600;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.steps li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 14px;
}

.steps b {
  color: var(--green-ink);
  font-weight: 800;
  min-width: 1.4em;
}

.meta {
  color: var(--muted);
  font-size: 15px;
}

footer.site {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

footer.site a {
  color: var(--blue-ink);
}

.wrap{padding-top:65px}body{overflow-x:clip}.wrap>h1{font-size:clamp(2.5rem,6vw,4rem);letter-spacing:-.045em}.wrap>h2{margin-top:42px}.card{box-shadow:0 12px 35px #18356206}
