:root {
  --ink: #1a1a1a;
  --muted: #5a5a5a;
  --line: #e4e2dc;
  --accent: #0b4f4a;
  --bg: #fdfcfa;
  --max-width: 780px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

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

header {
  background: #111;
  padding: 18px 0;
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo img {
  height: 40px;
  display: block;
}

nav a {
  color: #f2f2f2;
  text-decoration: none;
  margin-left: 22px;
  font-size: 0.95rem;
}

nav a:first-child { margin-left: 0; }

nav a:hover { color: #ffffff; text-decoration: underline; }

main {
  padding: 48px 0 64px;
}

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

h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  color: var(--accent);
}

h3 {
  font-size: 1.05rem;
  margin-top: 28px;
}

p, li { color: var(--ink); }

.updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: -4px;
  margin-bottom: 32px;
}

.hero {
  text-align: center;
  padding: 40px 0 20px;
}

.hero p.subtitle,
.hero p.tagline {
  font-size: 1.1rem;
  font-weight: normal;
  font-style: normal;
  color: var(--muted);
  max-width: 520px;
  margin: 4px auto;
}

.hero p.tagline {
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn:hover { opacity: 0.9; }

form {
  max-width: 480px;
  margin-top: 24px;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 16px 0 6px;
}

input, textarea, select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}

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

form .submit {
  margin-top: 24px;
}

button.btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

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

@media (max-width: 560px) {
  header .wrap { flex-direction: column; align-items: flex-start; }
  nav a { margin-left: 0; margin-right: 18px; }
}
