:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #111111;
  --surface: #f2f2f2;
  --button-bg: #111111;
  --button-text: #ffffff;
  --button-border: #111111;
}

:root[data-theme="dark"] {
  --bg: #111111;
  --text: #f5f5f5;
  --surface: #1d1d1d;
  --button-bg: #f5f5f5;
  --button-text: #111111;
  --button-border: #f5f5f5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 20px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

h1 {
  margin: 0;
}

button {
  border: 1px solid var(--button-border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

button:hover {
  transform: translateY(-1px);
}

#theme-toggle {
  background: var(--surface);
  color: var(--text);
}

.contact-card {
  padding: 24px;
  border-radius: 12px;
  background: var(--surface);
}

.contact-card h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

.contact-card p {
  margin-top: 0;
  margin-bottom: 16px;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--button-border);
  border-radius: 8px;
  padding: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-button {
  background: var(--button-bg);
  color: var(--button-text);
}

.comments-card {
  margin-top: 24px;
  padding: 24px;
  border-radius: 12px;
  background: var(--surface);
}

.comments-card h2 {
  margin-top: 0;
  margin-bottom: 16px;
}
