:root {
  color-scheme: light;
  --bg: #fff9f3;
  --card: rgba(255, 255, 255, 0.82);
  --text: #241813;
  --muted: #73584f;
  --accent: #ff8a5b;
  --accent-dark: #e96a34;
  --shadow: 0 24px 60px rgba(145, 87, 49, 0.16);
  --border: rgba(255, 138, 91, 0.2);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 198, 167, 0.6), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 233, 213, 0.95), transparent 30%),
    var(--bg);
}

.page-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
}

.hero-card {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: 32px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.badge,
.eyebrow,
.note,
.counter-label {
  letter-spacing: 0.02em;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff2e7;
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.eyebrow {
  margin: 18px 0 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 10vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: 0.06em;
}

.lead {
  margin: 22px 0 0;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  line-height: 1.45;
}

.lead span,
.counter-card strong {
  color: var(--accent-dark);
}

.counter-row {
  display: flex;
  gap: 16px;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 28px;
}

.counter-card {
  flex: 1 1 220px;
  min-width: 220px;
  padding: 18px 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 245, 237, 0.95), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(255, 138, 91, 0.18);
}

.counter-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.counter-card strong {
  display: block;
  font-size: clamp(2.5rem, 8vw, 4.6rem);
  line-height: 1;
}

button {
  appearance: none;
  border: 0;
  border-radius: 24px;
  padding: 18px 28px;
  font: inherit;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--accent), #ffb06c);
  box-shadow: 0 16px 30px rgba(255, 138, 91, 0.32);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  min-width: 220px;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(255, 138, 91, 0.38);
}

button:active {
  transform: translateY(1px) scale(0.99);
}

button:disabled {
  cursor: wait;
  filter: saturate(0.85);
  opacity: 0.8;
}

.note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.decor {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.7;
}

.decor-one {
  top: 8%;
  right: 6%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 201, 162, 0.95), rgba(255, 201, 162, 0.15));
}

.decor-two {
  left: 4%;
  bottom: 10%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 232, 205, 0.95), rgba(255, 232, 205, 0.08));
}

.particle-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.tissue {
  position: absolute;
  top: 18%;
  left: 50%;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  animation: fall 1300ms ease-out forwards;
  transform-origin: center;
  text-shadow: 0 10px 20px rgba(255, 138, 91, 0.2);
}

@keyframes fall {
  0% {
    opacity: 0;
    transform: translate(-50%, -60px) rotate(-12deg) scale(0.8);
  }

  15% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--drift)), 300px) rotate(18deg) scale(1.05);
  }
}

@media (max-width: 640px) {
  .hero-card {
    border-radius: 26px;
    padding: 24px;
  }

  .counter-row {
    flex-direction: column;
  }

  button,
  .counter-card {
    width: 100%;
    min-width: 0;
  }

  .decor-one {
    width: 96px;
    height: 96px;
  }

  .decor-two {
    width: 128px;
    height: 128px;
  }
}