
:root {
  --bg: #fbfaf7;
  --text: #37312d;
  --muted: #7b716a;
  --card: rgba(255, 255, 255, 0.78);
  --border: rgba(90, 72, 61, 0.10);
  --shadow: 0 18px 55px rgba(85, 67, 56, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 15%, rgba(238, 222, 214, 0.62), transparent 30rem),
    radial-gradient(circle at 85% 80%, rgba(226, 235, 226, 0.68), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page {
  width: min(1100px, calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(0rem, 8vw, 7rem) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(0rem, 5vw, 3rem);
}

.hero-icon {
  display: block;
  width: clamp(112px, 16vw, 180px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 14px 30px rgba(85, 67, 56, 0.10));
}

h1 {
  margin: 0;
  text-align: center;
  font-family: "Petit Formal Script", cursive;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-wrap: balance;
  text-shadow:
    0.02em 0 currentColor,
    -0.02em 0 currentColor,
    0 0.02em currentColor,
    0 -0.02em currentColor;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.counter-card {
  min-height: 165px;
  padding: clamp(1.1rem, 2.4vw, 1.7rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.counter-card strong {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.counter-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 28px, 620px);
    /*padding: 2.5rem 0;*/
    /*gap: 2rem;*/
  }

  .counter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .counter-card {
    min-height: 132px;
    border-radius: 20px;
  }

  .counter-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .page {
    width: min(100% - 20px, 390px);
	padding: 0;
	gap: 0;
  }
  
  .hero-icon {
    width: clamp(96px, 28vw, 132px);
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.9rem);
    line-height: 1.12;
	padding-bottom: 20px;
  }

  .counter-grid {
    gap: 9px;
  }

  .counter-card {
    min-height: 116px;
    padding: 1rem 0.75rem;
  }
}
