:root {
  --bg: #f4f8f7;
  --surface: #ffffff;
  --ink: #182226;
  --muted: #5a6a71;
  --primary: #00796b;
  --primary-ink: #ffffff;
  --line: #d7e2df;
  --accent: #f0b429;
  --shadow: 0 18px 35px rgba(0, 47, 42, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 121, 107, 0.15), transparent 45%),
    radial-gradient(circle at 90% 20%, rgba(240, 180, 41, 0.13), transparent 40%),
    var(--bg);
}

.shell {
  width: min(1040px, 92vw);
  margin: 42px auto 60px;
}

.hero {
  background: linear-gradient(140deg, #ffffff, #ecf7f5);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px;
  box-shadow: var(--shadow);
  animation: rise .5s ease both;
}

.hero.compact {
  padding: 24px 28px;
  margin-bottom: 22px;
}

.badge {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--muted);
  margin: 0 0 10px;
}

h1 {
  margin: 0;
  font-size: clamp(1.6rem, 2.2vw, 2.5rem);
}

h2 {
  margin-top: 0;
}

.lead {
  max-width: 70ch;
  line-height: 1.5;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-ink);
}

.btn.buy {
  background: var(--accent);
  border-color: #d39c20;
  color: #332200;
}

.panel {
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}

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

.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  font: inherit;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  animation: rise .4s ease both;
}

.card h3 {
  margin-top: 0;
}

.hint {
  color: var(--muted);
  font-size: 0.9rem;
}

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

@media (max-width: 760px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

