:root {
  --bg: #0f1c1a;
  --bg-elevated: #162825;
  --bg-soft: #1d342f;
  --surface: #f4f7f5;
  --surface-card: #ffffff;
  --ink: #12201d;
  --ink-muted: #5a6d67;
  --line: #d5e0db;
  --accent: #0f766e;
  --accent-deep: #0b5a54;
  --accent-soft: #d8f3ee;
  --warn: #b45309;
  --danger: #b42318;
  --ok: #067647;
  --shadow: 0 18px 50px rgba(15, 28, 26, 0.12);
  --radius: 18px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.45;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent-deep);
}

.muted {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fd8cf;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.28);
}

.btn-primary:hover {
  background: var(--accent-deep);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  border-color: var(--line);
  color: var(--ink);
}

.btn-danger {
  background: #fff5f4;
  color: var(--danger);
  border: 1px solid #f3d0cb;
}

.form {
  display: grid;
  gap: 0.9rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 2px solid rgba(15, 118, 110, 0.35);
  border-color: var(--accent);
}

.form-error {
  margin: 0;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: #fff1f0;
  color: var(--danger);
  font-size: 0.9rem;
}

.form-success {
  margin: 0;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: #ecfdf3;
  color: var(--ok);
  font-size: 0.9rem;
}

.switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.switch span {
  font-weight: 600;
  font-size: 0.95rem;
}

.switch input {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
