/* Zero For Three — landing (reference: docs/Zero For Three.png) */

:root {
  --bg: #c4dde5;
  --ink: #010101;
  --font: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

.landing {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1rem, 4vw, 2rem) 0;
  padding-top: max(
    clamp(1.25rem, 4vw, 2rem),
    env(safe-area-inset-top, 0px)
  );
  padding-left: max(clamp(1rem, 4vw, 2rem), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(1rem, 4vw, 2rem), env(safe-area-inset-right, 0px));
}

/* Alle ruimte boven het logo: countdown exact gecentreerd (verticaal + horizontaal) */
.landing__countdown-area {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  width: 100%;
}

.countdown {
  text-align: center;
  width: 100%;
  max-width: min(100%, 42rem);
  padding-inline: 0.25rem;
}

/* Twee rijen: alleen cijfers + dubbele punten op rij 1 → ':' netjes gecentreerd t.o.v. de cijfers */
.countdown__digits {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.06em;
  row-gap: 0.5rem;
  justify-items: center;
  align-items: center;
  width: 100%;
  margin-inline: auto;
  font-size: clamp(1.2rem, 3.8vw + 0.85rem, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.countdown__value {
  grid-row: 1;
  font-variant-numeric: tabular-nums;
  min-width: 0;
  width: 100%;
  text-align: center;
  white-space: nowrap;
}

.countdown__label {
  grid-row: 2;
  font-size: clamp(0.65rem, 2vw, 0.8125rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.countdown__label-gap {
  grid-row: 2;
}

.countdown__colon {
  grid-row: 1;
  font-size: 1em;
  font-weight: 500;
  opacity: 0.85;
  line-height: 1;
}

.logo-wrap {
  flex: 0 0 auto;
  width: 100%;
  max-width: min(92vw, 56rem);
  margin-inline: auto;
  margin-bottom: 0;
  /* Onderkant logo gelijk aan onderkant viewport */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.logo-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 380px) {
  .countdown__digits {
    font-size: clamp(1rem, 3.2vw + 0.65rem, 2.5rem);
    column-gap: 0.04em;
  }

  .countdown__label {
    letter-spacing: 0.06em;
    font-size: 0.6rem;
  }
}
