:root {
  color-scheme: light;
  --bg: #f5f7ef;
  --surface: #ffffff;
  --surface-soft: #edf5e7;
  --text: #17221b;
  --muted: #5f6f64;
  --green: #0f7a3d;
  --green-dark: #09572b;
  --line: #dfe7d9;
  --shadow: 0 24px 70px rgba(23, 34, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(15, 122, 61, 0.18), transparent 34rem),
    linear-gradient(180deg, #fbfdf7 0%, var(--bg) 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: var(--green-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(23, 34, 27, 0.16);
}

nav a {
  font-weight: 700;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 190px);
  padding: 64px 0 80px;
}

.hero-content,
.legal-hero,
.legal-content,
.features article {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(223, 231, 217, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-content {
  padding: clamp(32px, 6vw, 64px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.app-card {
  display: grid;
  place-items: center;
  min-height: 360px;
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(237, 245, 231, 0.92)),
    var(--surface-soft);
  border: 1px solid rgba(223, 231, 217, 0.9);
  box-shadow: var(--shadow);
}

.app-card img {
  width: min(72%, 290px);
  height: auto;
  border-radius: 28%;
  box-shadow: 0 24px 60px rgba(23, 34, 27, 0.22);
}

.features {
  padding: 0 0 86px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.features article {
  padding: 28px;
}

.features p,
.legal-content p {
  color: var(--muted);
}

.legal-page {
  max-width: 900px;
}

.legal-hero {
  padding: clamp(32px, 6vw, 56px);
  margin: 44px 0 24px;
}

.legal-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.3rem);
}

.updated {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-content {
  padding: clamp(28px, 5vw, 52px);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0 44px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 820px) {
  .hero,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 24px;
    padding-top: 34px;
  }

  .app-card {
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 28px, 1120px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-content,
  .legal-hero,
  .legal-content,
  .features article {
    border-radius: 22px;
  }

  h1 {
    letter-spacing: -0.055em;
  }
}
