:root {
  color-scheme: light;
  --ink: #12312d;
  --muted: #52716b;
  --line: #d9e7e0;
  --aqua: #dff7f2;
  --leaf: #e8f6de;
  --sun: #fff2cf;
  --white: #ffffff;
  --green: #197653;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f7fbf9 0%, #ffffff 42%, #f1f8f4 100%);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px min(6vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #168360, #45a6c8);
}

nav {
  display: flex;
  gap: 18px;
  font-weight: 650;
}

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

.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 44px;
  align-items: center;
  padding: 54px 0 36px;
}

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

h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 8px;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 660px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
}

.button.ghost {
  color: var(--green);
  background: var(--aqua);
}

.hero-panel {
  min-height: 420px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 242, 207, 0.95), transparent 26%),
    linear-gradient(135deg, #dff7f2, #e8f6de 54%, #f7f0ff);
  padding: 24px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 24px 64px rgba(22, 83, 70, 0.16);
}

.scan-card {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  padding: 22px;
}

.pulse {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 99px;
  background: #1f9d72;
  box-shadow: 0 0 0 8px rgba(31, 157, 114, 0.13);
  margin-bottom: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 10px 0 54px;
}

.grid article,
.legal {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  padding: 24px;
}

.grid p,
.legal p {
  color: var(--muted);
  line-height: 1.65;
}

.legal {
  margin: 42px auto;
  max-width: 860px;
}

.legal h1 {
  font-size: 44px;
  line-height: 1.04;
  margin-bottom: 12px;
}

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

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel {
    min-height: 320px;
  }

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