:root {
  --bg: #f6f7f4;
  --ink: #17202a;
  --muted: #5d6875;
  --surface: #ffffff;
  --line: #d9ded6;
  --accent: #2f6f61;
  --accent-dark: #214e44;
  --rust: #a64f2a;
  --error: #b42318;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px min(5vw, 72px);
  background: rgb(246 247 244 / 92%);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 3;
  backdrop-filter: blur(12px);
}

.brand {
  font-weight: 800;
  text-decoration: none;
  font-size: 18px;
}

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

nav a,
.footer a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

.panel-link {
  color: var(--accent-dark);
}

.hero {
  min-height: 74vh;
  display: grid;
  align-items: center;
  padding: 72px min(5vw, 72px);
  background:
    linear-gradient(90deg, rgb(246 247 244 / 94%), rgb(246 247 244 / 72%)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1280' height='720' viewBox='0 0 1280 720'%3E%3Crect width='1280' height='720' fill='%23dfe6df'/%3E%3Cg fill='none' stroke='%232f6f61' stroke-width='3' opacity='.28'%3E%3Cpath d='M80 560h180V360h160v120h160V260h180v200h160V180h280'/%3E%3Cpath d='M120 180h180v120h120v-80h180v140h160v-90h200v160h160'/%3E%3C/g%3E%3Cg fill='%23a64f2a' opacity='.24'%3E%3Crect x='180' y='390' width='120' height='70' rx='6'/%3E%3Crect x='680' y='300' width='120' height='70' rx='6'/%3E%3Crect x='990' y='450' width='120' height='70' rx='6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  color: var(--rust);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1;
}

h2 {
  font-size: 34px;
  margin-bottom: 12px;
}

h3 {
  font-size: 20px;
}

.lead {
  max-width: 680px;
  font-size: 20px;
  color: var(--muted);
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.button.ghost {
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid var(--line);
}

.section {
  padding: 72px min(5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p,
.split p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 36px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-form {
  max-width: 740px;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

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

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

.error {
  min-height: 22px;
  color: var(--error);
  font-weight: 800;
}

.status-message {
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px min(5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

  .split {
    grid-template-columns: 1fr;
  }

  .hero,
  .section {
    padding: 48px 20px;
  }
}
