:root {
  --bg: #f2f2f7;
  --surface: #ffffff;
  --text: #1c1c1e;
  --muted: #6e6e73;
  --accent: #b66e3c;
  --accent-hover: #9a5a2e;
  --border: #e5e5ea;
  --danger: #d93a2b;
  --success: #2a9d5e;
  --radius: 14px;
  --max: 720px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 20px 80px;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 8px 0 4px;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin: 28px 0 8px;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 20px 0 6px;
}

p, li {
  font-size: 17px;
  color: var(--text);
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

ul { padding-left: 20px; }
li { margin-bottom: 6px; }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  margin-top: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input[type="text"],
input[type="email"],
textarea {
  font-family: inherit;
  font-size: 17px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

input:focus, textarea:focus {
  border-color: var(--accent);
}

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

button {
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  width: 100%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:disabled {
  background: var(--muted);
  opacity: 0.6;
  cursor: not-allowed;
}

button:active:not(:disabled) {
  background: var(--accent-hover);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  display: none;
}

.status.show { display: block; }

.status.ok {
  background: rgba(42, 157, 94, 0.12);
  color: var(--success);
  border: 1px solid rgba(42, 157, 94, 0.3);
}

.status.err {
  background: rgba(217, 58, 43, 0.1);
  color: var(--danger);
  border: 1px solid rgba(217, 58, 43, 0.3);
}

footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

footer a {
  color: var(--muted);
  margin: 0 8px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0d;
    --surface: #1c1c1e;
    --text: #f2f2f7;
    --muted: #8e8e93;
    --border: #2c2c2e;
  }
}
