:root {
  --bg: #f1efe8;
  --paper: #fffaf2;
  --ink: #202327;
  --muted: #5d6772;
  --accent: #ff6f3c;
  --accent-2: #1e756a;
  --ring: rgba(32, 35, 39, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% 20%, #f8d6ab 0%, transparent 34%),
    radial-gradient(circle at 80% 10%, #a6e1d6 0%, transparent 32%), var(--bg);
  min-height: 100vh;
}

.wrap {
  width: min(1100px, 92vw);
  margin: 2rem auto 3rem;
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.card {
  background: color-mix(in srgb, var(--paper) 88%, white 12%);
  border: 1px solid var(--ring);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  animation: rise 0.45s ease both;
}

.hero h1 {
  margin: 0.3rem 0;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.kicker {
  display: inline-block;
  margin: 0;
  padding: 0.25rem 0.65rem;
  background: var(--accent);
  color: white;
  border-radius: 999px;
  font-size: 0.8rem;
}

.sub {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat .big {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.settings form {
  display: grid;
  gap: 0.8rem;
}

label {
  display: grid;
  gap: 0.4rem;
}

input,
textarea,
button {
  border-radius: 10px;
  border: 1px solid var(--ring);
  font: inherit;
  padding: 0.6rem 0.7rem;
}

button {
  background: linear-gradient(120deg, var(--accent), #ff8f52);
  border: 0;
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms ease;
}

button:hover {
  transform: translateY(-1px);
}

.toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-2);
}

.logs ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  max-height: 320px;
  overflow: auto;
}

.logs li {
  background: #ffffffcc;
  border: 1px solid var(--ring);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  animation: rise 0.3s ease both;
}

.bg-shape {
  position: fixed;
  z-index: 1;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.5;
  pointer-events: none;
}

.bg-shape-a {
  width: 260px;
  height: 260px;
  background: #f7a76a;
  top: 10%;
  right: -90px;
}

.bg-shape-b {
  width: 220px;
  height: 220px;
  background: #7fcabf;
  bottom: 8%;
  left: -70px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
