:root {
  --green: #16a34a;
  --green-light: #bbf7d0;
  --orange-light: #fed7aa;
  --dark: #020617;
}

* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #f8fafc;
  color: #020617;
}

/* LOADER */
#loader {
  position: fixed;
  inset: 0;
  background: rgba(248,250,252,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.dk-spinner {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 6px solid var(--green-light);
  border-top-color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--green);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* NOTICE */
.notice {
  padding: 14px;
  text-align: center;
}

.blur {
  background: linear-gradient(135deg, rgba(22,163,74,.15), rgba(251,146,60,.15));
}

/* HEADER */
header {
  padding: 22px;
  text-align: center;
}

.brand {
  font-size: 2.6rem;
  font-weight: 900;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  color: #475569;
  margin-bottom: 10px;
}

/* BUTTONS */
button, a.primary, a.secondary {
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}

.primary {
  background: var(--green);
  color: white;
}

.secondary {
  background: #e5e7eb;
  color: #020617;
}

button.active {
  box-shadow: 0 0 0 3px rgba(22,163,74,.3);
}

.full {
  width: 100%;
}

/* STEPS */
.step {
  padding: 24px;
}

.hidden { display: none; }

.grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
}

.card {
  padding: 14px;
  background: white;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
}

.card.selected {
  border-color: var(--green);
}

.card .one-left {
  color: red;
  font-weight: 700;
}

/* FORM */
form {
  max-width: 420px;
  margin: auto;
}

input, select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}

.checkbox {
  font-size: 0.85rem;
}

.success {
  margin-top: 12px;
  color: var(--green);
}

/* FOOTER */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 16px;
  text-align: center;
}

footer a {
  color: rgba(255,255,255,.6);
}
