:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --text: #1d2320;
  --muted: #5b6762;
  --line: #d9ded7;
  --primary: #176b5b;
  --primary-dark: #0f4f42;
  --accent: #e8b44a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif;
  line-height: 1.8;
}

a {
  color: var(--primary);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(24px, calc((100vw - 920px) / 2));
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--primary-dark);
  font-weight: 700;
}

.wrap {
  width: min(920px, calc(100vw - 40px));
  margin: 0 auto;
}

.hero {
  padding: 72px 0 84px;
}

.eyebrow,
.updated {
  color: var(--muted);
  font-size: 14px;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.15;
}

h2 {
  margin: 36px 0 10px;
  font-size: 22px;
  line-height: 1.35;
}

.hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

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

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  background: var(--primary);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--primary);
}

.doc {
  padding: 48px 0 72px;
}

.doc p,
.doc li {
  color: var(--muted);
}

.panel {
  margin: 28px 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 6px;
}

.panel h2 {
  margin-top: 0;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #c5ccc7;
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
}

.hidden {
  display: none;
}

.site-footer {
  padding: 24px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 48px;
  }

  .button,
  button {
    width: 100%;
  }
}
