:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5b6672;
  --line: #d8dee5;
  --paper: #ffffff;
  --soft: #f4f7fa;
  --accent: #1f6f5b;
  --accent-strong: #155241;
  --gold: #b8822c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent-strong);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem;
}

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

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent-strong);
  text-decoration: underline;
}

.hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.hero-inner,
.content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.hero h1,
.content h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1rem;
  background: var(--paper);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1rem;
  text-decoration: none;
  font-weight: 700;
}

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

.notice {
  border-left: 4px solid var(--gold);
  background: #fff8ed;
  padding: 1rem;
  margin: 1.5rem 0;
}

.form-shell {
  max-width: 640px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1rem;
  background: var(--soft);
}

label {
  display: block;
  font-weight: 700;
}

input[type="tel"],
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.75rem;
  font: inherit;
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  margin: 1rem 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

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

@media (max-width: 700px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-inner,
  .content {
    padding: 2rem 1rem;
  }
}
