:root{
  --bg: #f1f1f1;               /* fond très sombre (bordure de la capture) */
  --surface: #ffffff;          /* carte blanche */
  --text: #0b1220;             /* texte sombre */
  --muted: #6b7280;            /* gris secondaire */
  --ring:  rgba(17,24,39,.08); /* subtil halo */
  --shadow: 0 10px 25px rgba(0,0,0,.06);
  --radius: 16px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* Layout */
.page{
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.card{
  background: var(--surface);
  width: min(820px, 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--ring);
  padding: 28px 28px 20px;
}

/* Header brand */
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.brand__logo{
  width: 36px; height: 36px; object-fit: contain;
}
.brand__name{
  font-weight: 700;
  letter-spacing: .02em;
}

/* Titles */
.headline{
  margin: 12px 0 8px;
  font-size: clamp(22px, 2.3vw + 8px, 28px);
  line-height: 1.2;
  font-weight: 700;
}
.emoji{ margin-left: 4px; }

.subtext{
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 14px;
}

/* Timer */
.timer{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 6px 0 14px;
}

.timer__item{
  border: 1px solid var(--ring);
  border-radius: 12px;
  text-align: center;
  padding: 18px 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.02);
}

.timer__value{
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 6px;
}

.timer__label{
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
}

/* Footer */
.legal{
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

/* “Made with” badge */
.made-with{
  position: fixed;
  left: 18px;
  bottom: 14px;
  color: #e5e7eb;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  opacity: .9;
}
.made-with:hover{ opacity: 1; }
.heart{ font-weight: 700; }

/* Responsive */
@media (max-width: 560px){
  .card{ padding: 22px 18px 18px; }
  .timer{ grid-template-columns: repeat(2, 1fr); }
}
