:root {
  color-scheme: light;
  --bg: #f3f7ef;
  --card: #fffdf7;
  --ink: #18211d;
  --muted: #56645c;
  --line: #c9d5cc;
  --brand: #19785b;
  --brand-dark: #0f4d3d;
  --wash: #e3eee5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(25, 120, 91, 0.18), transparent 32rem),
    linear-gradient(135deg, #f8fbf5 0%, var(--bg) 55%, #e9f1e7 100%);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

a {
  color: var(--brand-dark);
  font-weight: 700;
}

.site-header,
.site-footer,
main {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  padding: 28px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(25, 120, 91, 0.22);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 253, 247, 0.72);
  color: var(--brand-dark);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
  text-decoration: none;
}

.hero,
.panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 18px 50px rgba(26, 52, 38, 0.1);
}

.hero {
  padding: clamp(28px, 6vw, 60px);
}

.panel {
  margin: 20px 0;
  padding: clamp(22px, 4vw, 38px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(2.25rem, 7vw, 4.9rem);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

h3 {
  margin: 26px 0 8px;
  font-size: 1.16rem;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

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

.tile {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: var(--wash);
}

.tile h3 {
  margin-top: 0;
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-card {
  min-height: 170px;
}

.contact-card p {
  margin: 0;
}

.contact-label {
  margin-bottom: 14px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.email-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(255, 253, 247, 0.92);
  box-shadow: inset 0 0 0 1px rgba(25, 120, 91, 0.08);
  color: var(--brand-dark);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.email-link:hover {
  background: rgba(255, 255, 255, 0.98);
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin: 7px 0;
}

.notice {
  border-left: 5px solid var(--brand);
  border-radius: 18px;
  padding: 16px 18px;
  background: #edf5ec;
  color: var(--muted);
}

.site-footer {
  padding: 26px 0 42px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 22px, 980px);
  }

  .hero,
  .panel {
    border-radius: 22px;
  }
}
