:root {
  --bg: #f4f7fb;
  --text: #101322;
  --muted: #5f6783;
  --card: rgba(255,255,255,0.75);
  --primary: #0f766e;
  --primary-2: #0ea5e9;
  --line: rgba(16,19,34,0.1);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 10%, #d9f3ff 0, transparent 40%),
              radial-gradient(circle at 90% 20%, #dcfce7 0, transparent 45%),
              var(--bg);
  min-height: 100vh;
}

.bg-glow {
  position: fixed;
  inset: auto -100px -100px auto;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2dd4bf, #38bdf8);
  filter: blur(90px);
  opacity: .35;
  pointer-events: none;
}

.topbar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { font-weight: 800; letter-spacing: 0.4px; }
.brand span { color: var(--primary); margin-left: 5px; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 50px;
}

.hero {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(255,255,255,0.9), rgba(239,252,255,0.7));
  backdrop-filter: blur(10px);
}

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

.hero h1 {
  margin: 8px 0;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.05;
}

.hero p { color: var(--muted); max-width: 700px; }

.panel {
  margin-top: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(8px);
  padding: 18px;
}

.stack { display: grid; gap: 10px; }
.row { display: flex; gap: 10px; }

input, textarea, button {
  font: inherit;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 12px;
}

textarea { min-height: 90px; resize: vertical; }

button { cursor: pointer; font-weight: 700; }
.primary {
  color: white;
  border: none;
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
}
.ghost { background: white; }

.msg { margin-top: 8px; color: var(--muted); }
.hidden { display: none; }

.list-head {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,0.86);
}

.card h3 { margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); min-height: 48px; }
.meta { margin-top: 10px; font-size: 12px; color: var(--muted); }
.download {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
}

.empty { color: var(--muted); }

@media (max-width: 700px) {
  .row { flex-direction: column; }
}
