:root {
  --green: #1d9e75;
  --green-deep: #053a2d;
  --amber: #f2a33c;
  --white: #fff;
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; }

html { height: 100%; }

body {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--white);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%) fixed;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* concentric rings, as on the app icon */
.rings {
  position: fixed;
  right: -18vmax;
  bottom: -18vmax;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  border: 4.5vmax solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 0 transparent;
  pointer-events: none;
}
.rings::after {
  content: "";
  position: absolute;
  inset: -12vmax;
  border-radius: 50%;
  border: 4.5vmax solid rgba(255, 255, 255, 0.05);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 16px 24px;
  position: relative;
}

.icon {
  width: 112px;
  height: 112px;
  border-radius: 25%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  margin-bottom: 32px;
}

.banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  animation: beat 1.8s ease-in-out infinite;
}

h1 {
  font-size: clamp(2.6rem, 9vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.tagline {
  margin-top: 14px;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  color: rgba(255, 255, 255, 0.82);
}

.pulse {
  width: min(560px, 100%);
  height: auto;
  margin: 40px 0 28px;
  overflow: visible;
}
.line {
  fill: none;
  stroke: var(--white);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.4s cubic-bezier(.6, .1, .2, 1) 0.3s forwards;
}
.end {
  fill: var(--amber);
  transform-origin: 676px 70px;
  opacity: 0;
  animation: pop 0.5s ease-out 2.4s forwards, beat 1.8s ease-in-out 3s infinite;
}

.pillars {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.pillars li {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.9);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: scale(1); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }

@media (prefers-reduced-motion: reduce) {
  .line { animation: none; stroke-dashoffset: 0; }
  .end { animation: none; opacity: 1; }
  .dot { animation: none; }
}
