:root {
  --bg: #F7F3EA;
  --text: #0E5A4F;
  --accent: #1F8A4D;
  --text-soft: #3C7A70;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', 'Nunito Sans', system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 32px 20px;
  text-align: center;
}

.site-header {
  margin-bottom: 40px;
}

.logo {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}

.content {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
}

/* Счётчик */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(70px, 1fr));
  gap: 12px;
  margin-top: 28px;
  width: 100%;
  max-width: 480px;
}

.countdown-unit {
  background: #FFFFFF;
  border: 1px solid rgba(14, 90, 79, 0.12);
  border-radius: 16px;
  padding: 18px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(14, 90, 79, 0.06);
}

.countdown-number {
  font-size: clamp(26px, 6vw, 40px);
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  line-height: 1;
}

.countdown-label {
  font-size: clamp(11px, 2vw, 13px);
  color: var(--text-soft);
  text-transform: lowercase;
}

/* Состояние "уже работаем" */
.countdown-done {
  font-size: 20px;
  font-weight: 700;
  margin-top: 28px;
}

.countdown-done a {
  color: var(--accent);
  text-decoration: underline;
}

.site-footer {
  margin-top: 48px;
  font-size: 13px;
  color: var(--text-soft);
  opacity: 0.85;
}

@media (min-width: 640px) {
  .countdown {
    gap: 18px;
  }

  .countdown-unit {
    padding: 24px 12px;
  }
}
