*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --text: #1a1a2e;
  --text-muted: #5f6577;
  --accent: #c8862a;
  --accent-bright: #b5781f;
  --border: #e2e4e9;
  --surface: #f8f7f5;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

.back-link {
  display: inline-block;
  margin-bottom: 40px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.back-link:hover { color: var(--accent); }

h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  color: var(--text);
}

/* Feedback form */
.feedback-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin: 24px 0;
}

.field-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.field-label .optional {
  font-weight: 400;
  color: var(--text-muted);
}

.type-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.type-chip {
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.type-chip:hover { border-color: var(--accent); }
.type-chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

textarea, input[type="email"] {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.12s, box-shadow 0.12s;
}
textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}
textarea:focus, input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 134, 42, 0.15);
}

.field { margin-bottom: 24px; }
.field:last-of-type { margin-bottom: 0; }

.field-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 0;
}

/* Honeypot: hidden from people, visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-btn {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: 13px 28px;
  cursor: pointer;
  transition: background 0.12s;
}
.submit-btn:hover { background: var(--accent-bright); }
.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  font-size: 0.9rem;
  margin-top: 16px;
  color: var(--text-muted);
}
.form-status.error { color: #b5781f; }

.form-footer {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Confirmation state */
.confirmation {
  text-align: center;
  padding: 16px 0;
}
.confirmation .check {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}
.confirmation h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.confirmation p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
  .footer-nav { display: block; margin-top: 10px; }
.footer-nav a { color: var(--text-muted); margin: 0 10px; text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }
