:root {
  --bg: #f2f3f5;
  --ink: #121418;
  --accent: #0f766e;
  --accent-strong: #0b5c55;
  --muted: #5f6772;
  --card: #ffffff;
  --border: #e2e6ea;
  --shadow: 0 20px 60px rgba(18, 20, 24, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "SF Pro Display", "Segoe UI", "Helvetica Neue", "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at 10% 10%, #e8f8f6 0%, transparent 45%),
    radial-gradient(circle at 90% 20%, #f3e9ff 0%, transparent 40%),
    var(--bg);
  color: var(--ink);
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 20px 48px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 40px;
  letter-spacing: -0.02em;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  animation: floatIn 0.5s ease both;
}

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

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

input {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fbfbfc;
}

input:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.6);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.btn {
  background: linear-gradient(135deg, var(--accent) 0%, #12a39a 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.28);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  color: var(--accent-strong);
  border: 1px solid rgba(15, 118, 110, 0.4);
  box-shadow: none;
}

.status {
  margin-top: 12px;
  min-height: 20px;
  color: var(--muted);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.inline-actions {
  margin-top: 18px;
}

.link {
  background: none;
  border: none;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
}

.footer {
  margin-top: auto;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 32px;
  }

  .card {
    padding: 20px;
  }
}

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