:root {
  --navy: #102a43;
  --ink: #15251f;
  --muted: #5b6b73;
  --line: #d7e0e4;
  --paper: #f6f8f7;
  --card: #fff;
  --teal: #0f8b8d;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(760px, calc(100% - 36px)); margin: 0 auto; padding: 0 0 48px; }
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; color: var(--navy); text-decoration: none; letter-spacing: -0.03em;
}
.brand img { width: 40px; height: 40px; border-radius: 11px; }
nav { display: flex; flex-wrap: wrap; gap: 10px 14px; }
nav a { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); color: var(--navy); letter-spacing: -0.01em; margin: 12px 0 8px; }
h2 { font-size: 1.12rem; color: var(--navy); margin-top: 1.7rem; }
h3 { font-size: 1rem; color: var(--navy); margin-top: 1.2rem; }
.meta { color: var(--muted); font-size: 0.92rem; }
ul { padding-left: 1.2rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px; margin: 1rem 0; display: flex; flex-direction: column; gap: 1rem;
  box-shadow: 0 10px 28px rgba(16, 42, 67, 0.05);
}
label { display: flex; flex-direction: column; gap: 0.4rem; font-weight: 650; }
input, select, textarea, button { font: inherit; width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 0.75rem; background: #fff; color: var(--ink); }
textarea { resize: vertical; min-height: 8rem; }
button {
  min-height: 48px; background: var(--navy); color: #fff; border-color: var(--navy);
  font-weight: 700; cursor: pointer;
}
button:hover { background: #163552; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 0; padding: 0.8rem; border-radius: 0.5rem; }
.status.ok { background: #e7f3f3; color: #174b4c; }
.status.error { background: #f8e5e5; color: #7f2525; }
footer { border-top: 1px solid var(--line); padding: 22px 0 8px; color: var(--muted); font-size: 0.9rem; }
.mail { font-weight: 700; color: var(--navy); }
