:root {
  --bg: #f7f8fa;
  --card-bg: #ffffff;
  --text: #1a1d23;
  --text-muted: #5b6270;
  --accent: #2f6fed;
  --accent-hover: #2557c7;
  --border: #e6e8ec;
  --success-bg: #eafaf0;
  --success-border: #b7e4c7;
  --success-text: #1e7e42;
  --radius: 14px;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

header.site-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

header.site-header .logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

header.site-header .app-name {
  font-weight: 700;
  font-size: 18px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

h1 {
  font-size: 28px;
  margin: 0 0 12px;
}

h2 {
  font-size: 20px;
  margin: 28px 0 10px;
}

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

.muted {
  color: var(--text-muted);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 15px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin: 18px 0 6px;
}

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

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.checkbox-row label {
  margin: 0;
  font-weight: 400;
  color: var(--text);
  font-size: 14px;
}

.success-box {
  display: none;
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-text);
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 20px;
  font-size: 14px;
}

.success-box.show {
  display: block;
}

footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  padding: 20px;
}

footer a {
  color: var(--text-muted);
}

nav.crumb {
  font-size: 14px;
  margin-bottom: 20px;
}

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

ul {
  color: var(--text-muted);
}

li {
  margin-bottom: 6px;
}
