:root {
  color-scheme: light;
  --bg: #f6f1ea;
  --bg-accent: #fde8cc;
  --card: #ffffff;
  --ink: #1e1b16;
  --muted: #6f6254;
  --line: #e3d6c8;
  --accent: #f08b3e;
  --accent-dark: #c86b24;
  --accent-soft: rgba(240, 139, 62, 0.18);
  --shadow: 0 20px 60px rgba(74, 53, 37, 0.12);
  --radius: 18px;
  --font: "Space Grotesk", "Manrope", "Sora", "Avenir Next", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at top left, #fff3e0, #f6f1ea 55%, #efe3d5 100%);
}

.orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.55;
  animation: float 12s ease-in-out infinite;
}

.orb-one {
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, #ffd49e, transparent 70%);
}

.orb-two {
  bottom: -160px;
  right: -120px;
  background: radial-gradient(circle, #f2b88d, transparent 70%);
  animation-delay: 2s;
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
  mask-image: radial-gradient(circle at top, black, transparent 70%);
}

.app {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-end;
  justify-content: space-between;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin: 0 0 12px;
}

.subtitle {
  margin: 0;
  max-width: 540px;
  color: var(--muted);
}

.hero-meta {
  display: grid;
  gap: 12px;
  min-width: 220px;
}

.stat-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 0 6px;
}

.stat-value {
  font-size: 20px;
  margin: 0;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: rise 0.6s ease;
}

.card-header h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.card-header p {
  margin: 0;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
  color: var(--muted);
}

input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 15px;
  background: #fffaf3;
}

.form-actions {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

button {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  background: var(--line);
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(240, 139, 62, 0.25);
}

button.ghost {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(50, 32, 18, 0.12);
}

button:disabled,
button[data-placeholder] {
  cursor: not-allowed;
  opacity: 0.6;
}

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

.action-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.snapshot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff6eb;
  border: 1px solid var(--line);
  font-weight: 600;
}

.activity {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.activity li {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fffaf3;
  border: 1px solid var(--line);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 720px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  button {
    width: 100%;
    text-align: center;
  }

  .snapshot {
    grid-template-columns: 1fr;
  }
}
