:root {
  --ink: #1a2420;
  --muted: #5a6a62;
  --paper: #f3efe6;
  --leaf: #2f6b55;
  --leaf-deep: #1e4638;
  --sand: #e4d8c4;
  --glow: rgba(47, 107, 85, 0.18);
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 600px at 10% -10%, var(--glow), transparent 55%),
    linear-gradient(165deg, #efe8da 0%, #f3efe6 42%, #e7efe9 100%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      rgba(30, 70, 56, 0.03) 11px,
      rgba(30, 70, 56, 0.03) 12px
    );
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    filter: hue-rotate(0deg);
  }
  to {
    filter: hue-rotate(8deg);
  }
}

.shell {
  max-width: 34rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.brand {
  margin-bottom: 2rem;
  animation: rise 0.7s ease both;
}

.logo {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 3.2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--leaf-deep);
}

.tag {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.next-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.next-list li {
  padding: 0;
  animation: rise 0.65s ease both;
}

.next-list li:nth-child(2) {
  animation-delay: 0.08s;
}

.next-list li:nth-child(3) {
  animation-delay: 0.16s;
}

.next-list .title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.next-list .why {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.next-list .badge {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--leaf);
}

.next-list .skeleton {
  color: var(--muted);
}

.meta {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.capture {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(30, 70, 56, 0.15);
  animation: rise 0.8s ease 0.2s both;
}

textarea,
select,
button {
  font: inherit;
}

textarea {
  width: 100%;
  resize: vertical;
  min-height: 4.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(30, 70, 56, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

textarea:focus {
  outline: 2px solid rgba(47, 107, 85, 0.35);
  outline-offset: 1px;
}

.capture-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

select {
  flex: 1;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 70, 56, 0.22);
  background: rgba(255, 255, 255, 0.55);
}

button {
  padding: 0.7rem 1.2rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--leaf);
  color: #f7faf8;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

button:hover {
  background: var(--leaf-deep);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  .atmosphere,
  .brand,
  .next-list li,
  .capture,
  button {
    animation: none;
    transition: none;
  }
}
