:root {
  --ink: #142016;
  --muted: #3d4a40;
  --line: #d7e0d6;
  --paper: #f3f6f1;
  --card: #ffffff;
  --green: #1b6b34;
  --green-dark: #145228;
  --focus: #1b6b34;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a { color: var(--green-dark); }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.wrap {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  background: #12331c;
  color: #f4faf6;
}

header a { color: #d8f5e2; }

.brand {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
}

.brand strong {
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  font-size: 0.92rem;
}

main { padding: 28px 0 64px; }

article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px 8px;
}

h1 {
  font-size: 1.85rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

.updated {
  color: var(--muted);
  margin: 0 0 24px;
}

h2 {
  font-size: 1.15rem;
  margin: 28px 0 8px;
}

p, li { font-size: 1rem; }

ul { padding-left: 1.2rem; }

.note {
  background: #eef6ef;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 16px 0;
}

form {
  display: grid;
  gap: 12px;
  margin: 16px 0 8px;
}

label { font-weight: 650; }

input[type="text"],
input[type="email"] {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #b7c4b8;
  border-radius: 10px;
  background: #fff;
}

button,
.button {
  display: inline-block;
  width: fit-content;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

button:hover,
.button:hover { background: var(--green-dark); }

footer {
  color: var(--muted);
  font-size: 0.92rem;
  padding-bottom: 28px;
}

@media (max-width: 640px) {
  article { padding: 22px 16px 4px; }
  h1 { font-size: 1.55rem; }
}
