@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Zilla+Slab:wght@500;600&display=swap");

:root {
  color-scheme: light;
  --bg: #f2f4f1;
  --ink: #1a1b1f;
  --ink-soft: #3f4350;
  --accent: #00a38a;
  --accent-dark: #007f6c;
  --highlight: #f1a140;
  --surface: #ffffff;
  --surface-2: rgba(255, 255, 255, 0.7);
  --stroke: rgba(26, 27, 31, 0.08);
  --shadow: 0 30px 80px rgba(23, 27, 45, 0.15);
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Futura", "Avenir Next", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #f7f1e6 0%, #f2f4f1 40%, #e6efe9 100%);
  overflow-x: hidden;
}

.scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0);
  opacity: 0.7;
  animation: float 12s ease-in-out infinite;
}

.orb--one {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 163, 138, 0.2), transparent 70%);
  top: -80px;
  left: -60px;
}

.orb--two {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(241, 161, 64, 0.25), transparent 70%);
  right: -120px;
  top: 10%;
  animation-delay: -3s;
}

.orb--three {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(0, 127, 108, 0.2), transparent 70%);
  bottom: -40px;
  left: 20%;
  animation-delay: -6s;
}

.hero {
  max-width: 960px;
  margin: 80px auto 40px;
  padding: 0 24px;
  text-align: center;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
}

.hero h1 {
  font-family: "Zilla Slab", "Georgia", serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin: 16px 0;
}

.hero p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 720px;
}

.grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.panel {
  background: var(--surface);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  position: relative;
  overflow: hidden;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 163, 138, 0.04), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.panel:hover::after {
  opacity: 1;
}

.panel > * {
  position: relative;
  z-index: 1;
}

.panel h2 {
  margin-top: 0;
  font-size: 1.3rem;
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  font-weight: 500;
}

.field span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

input,
select {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--surface-2);
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
}

input:focus,
select:focus {
  outline: 2px solid rgba(0, 163, 138, 0.4);
  border-color: rgba(0, 163, 138, 0.4);
}

.hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.live-amount {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--accent-dark);
  margin: 12px 0 20px;
}

.rate-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.rate-card {
  padding: 12px;
  border-radius: 16px;
  background: rgba(0, 163, 138, 0.08);
  display: grid;
  gap: 6px;
  text-align: center;
}

.rate-card strong {
  font-size: 1.1rem;
}

.note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 16px;
}

.progress-block {
  display: grid;
  gap: 24px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.progress-ring {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-align: center;
  background: conic-gradient(var(--accent) var(--progress, 0%), rgba(0, 163, 138, 0.15) 0);
  margin: 0 auto;
}

.progress-ring span {
  font-size: 1.4rem;
  font-weight: 700;
}

.progress-ring small {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.progress-metrics {
  display: grid;
  gap: 12px;
}

.progress-metrics span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.progress-metrics strong {
  font-size: 1.2rem;
}

.bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 163, 138, 0.1);
  margin-top: 24px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
  width: 0%;
  transition: width 0.4s ease;
}

.stack {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.stack span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.stack strong {
  font-size: 1.2rem;
}

.week-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
}

.day-card {
  padding: 10px;
  border-radius: 16px;
  background: rgba(26, 27, 31, 0.04);
  display: grid;
  gap: 6px;
  align-items: center;
  text-align: center;
}

.day-card span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.day-card strong {
  font-size: 0.95rem;
}

.day-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 163, 138, 0.2);
  position: relative;
  overflow: hidden;
}

.day-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
  width: var(--fill, 0%);
  transition: width 0.4s ease;
}

.projection-grid {
  display: grid;
  gap: 12px;
}

.projection-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.7);
  display: grid;
  gap: 6px;
}

.projection-card strong {
  font-size: 1.4rem;
}

.projection-card small {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.footer {
  text-align: center;
  padding: 20px 24px 60px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.reveal {
  animation: reveal 0.8s ease forwards;
  opacity: 0;
  transform: translateY(10px);
  animation-delay: var(--delay);
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(12px);
  }
}

@media (max-width: 720px) {
  .hero {
    margin-top: 60px;
  }

  .progress-ring {
    width: 120px;
    height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .orb {
    animation: none;
  }
}
