:root {
  color-scheme: light;
  --background: #f7f8f5;
  --surface: #ffffff;
  --surface-muted: #edf2eb;
  --text: #17201d;
  --muted: #53605b;
  --border: #d7ded8;
  --accent: #1f6f4a;
  --accent-strong: #15583a;
  --warning-bg: #fff6df;
  --warning-border: #e6bd57;
  --shadow: 0 18px 50px rgba(23, 32, 29, 0.08);
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(31, 111, 74, 0.12), transparent 32rem),
    var(--background);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-color: rgba(31, 111, 74, 0.35);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-strong);
  text-decoration-color: currentColor;
}

.site-header,
.site-footer,
.hero,
.section,
.legal-page {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 650;
}

.hero {
  display: grid;
  align-content: center;
  min-height: 62vh;
  padding: 80px 0 96px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.4rem, 6vw, 5.1rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

p {
  margin: 0;
}

.lead {
  max-width: 680px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}

.button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--accent-strong);
  color: #ffffff;
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 40px;
  align-items: start;
  padding: 62px 0;
  border-top: 1px solid var(--border);
}

.section-muted {
  width: 100%;
  max-width: none;
  margin-top: 24px;
  padding-inline: max(20px, calc((100% - var(--max-width)) / 2));
  background: var(--surface-muted);
}

.section-copy p:not(.eyebrow),
.legal-section p,
.page-heading p {
  max-width: 720px;
  margin-top: 18px;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-weight: 650;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  width: fit-content;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--accent-strong);
  font-weight: 750;
}

.legal-page {
  padding: 72px 0 88px;
}

.page-heading {
  margin-bottom: 44px;
}

.page-heading h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.legal-section {
  padding: 34px 0;
  border-top: 1px solid var(--border);
}

.legal-section h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.legal-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.legal-list div {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.legal-list dt {
  color: var(--muted);
  font-weight: 650;
}

.legal-list dd {
  margin: 0;
}

.attention,
.attention-text {
  border-color: var(--warning-border) !important;
  background: var(--warning-bg) !important;
}

.attention-text {
  max-width: 720px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid;
  border-radius: 8px;
  color: var(--text) !important;
}

.nowrap {
  white-space: nowrap;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

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

  .nav,
  .footer-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 72px;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 0;
  }

  .legal-page {
    padding: 48px 0 64px;
  }

  .legal-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
