:root {
  --ink: #14231d;
  --muted: #63716a;
  --green: #167d57;
  --green-dark: #0d5c3f;
  --mint: #dff5ea;
  --cream: #f6f3ea;
  --white: #fff;
  --line: #dce4df;
  --orange: #d97928;
  --shadow: 0 22px 60px rgba(20, 35, 29, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fbfcfa; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }

.site-header { max-width: 1180px; margin: auto; min-height: 82px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; gap: 11px; align-items: center; font-weight: 800; font-size: 1.1rem; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; color: white; background: var(--green); border-radius: 11px; }
.brand-accent { color: var(--green); }
nav { display: flex; align-items: center; gap: 28px; font-size: .94rem; font-weight: 650; }
.nav-button { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; }
.menu-button { display: none; border: 1px solid var(--line); background: white; border-radius: 10px; padding: 8px 13px; }

.hero { min-height: 650px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; max-width: 1180px; margin: auto; padding: 90px 28px 110px; position: relative; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 470px; height: 470px; right: -100px; top: 60px; background: var(--mint); border-radius: 46% 54% 68% 32% / 44% 42% 58% 56%; opacity: .75; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6.2vw, 5.7rem); line-height: .98; letter-spacing: -.055em; font-weight: 500; }
.hero-text { max-width: 630px; color: var(--muted); font-size: 1.13rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; font-weight: 750; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.primary { color: white; background: var(--green); box-shadow: 0 10px 24px rgba(22, 125, 87, .22); }
.primary:hover { background: var(--green-dark); }
.secondary { background: white; border-color: var(--line); color: var(--ink); }
.info-message { margin: 18px 0 0; max-width: 590px; padding: 13px 16px; background: var(--mint); border-radius: 10px; font-size: .92rem; }

.summary-card { max-width: 390px; width: 100%; justify-self: end; padding: 28px; background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.9); border-radius: 22px; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.summary-head, .summary-row { display: flex; justify-content: space-between; align-items: center; }
.summary-head { margin-bottom: 26px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.status { color: var(--green); }
.status span { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #37b978; }
.summary-card > strong { font-family: Georgia, serif; font-size: 4.4rem; line-height: 1; font-weight: 500; }
.summary-card > p { color: var(--muted); }
.meter { overflow: hidden; height: 9px; margin: 26px 0; background: #e8eee9; border-radius: 999px; }
.meter span { display: block; width: 75%; height: 100%; background: var(--green); border-radius: inherit; }
.summary-row { padding: 10px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.summary-row.warning b { color: var(--orange); }

.features, .demo { padding: 110px max(28px, calc((100vw - 1124px) / 2)); }
.features { background: var(--cream); }
.section-heading { max-width: 620px; margin-bottom: 44px; }
h2 { margin-bottom: 14px; font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 500; }
.section-heading > p:last-child { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-grid article { padding: 30px; background: rgba(255,255,255,.72); border: 1px solid rgba(20,35,29,.08); border-radius: 18px; }
.feature-number { display: inline-block; margin-bottom: 44px; color: var(--green); font-size: .78rem; font-weight: 850; }
.feature-grid h3 { margin-bottom: 8px; font-size: 1.16rem; }
.feature-grid p { margin: 0; color: var(--muted); font-size: .94rem; }

.demo-panel { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.toolbar { display: flex; gap: 16px; justify-content: space-between; align-items: end; padding: 24px; border-bottom: 1px solid var(--line); }
.search-field { flex: 1; max-width: 520px; color: var(--muted); font-size: .78rem; font-weight: 750; }
.search-field span { display: block; margin-bottom: 7px; }
.search-field input { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; outline: none; color: var(--ink); }
.search-field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,125,87,.12); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--muted); background: #fafbf9; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
td { font-size: .94rem; }
.pill { display: inline-flex; padding: 5px 10px; color: var(--green-dark); background: var(--mint); border-radius: 999px; font-size: .76rem; font-weight: 750; }
.pill.low { color: #8a470f; background: #fff0df; }
.empty-state { padding: 25px; text-align: center; color: var(--muted); }

.contact { margin: 20px max(28px, calc((100vw - 1124px) / 2)) 90px; padding: 58px; display: flex; justify-content: space-between; align-items: center; gap: 40px; color: white; background: var(--green-dark); border-radius: 24px; }
.contact h2 { max-width: 680px; font-size: clamp(2rem, 3.6vw, 3.5rem); }
.contact p { max-width: 660px; margin-bottom: 0; color: rgba(255,255,255,.75); }
.contact .eyebrow { color: #8de2ba; }
.light { flex: 0 0 auto; color: var(--green-dark); background: white; }
footer { display: flex; justify-content: space-between; max-width: 1180px; margin: auto; padding: 30px 28px 45px; color: var(--muted); font-size: .84rem; }

@media (max-width: 780px) {
  .site-header { position: relative; }
  .menu-button { display: block; }
  nav { display: none; position: absolute; z-index: 4; left: 20px; right: 20px; top: 72px; padding: 18px; flex-direction: column; align-items: stretch; gap: 14px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  nav.open { display: flex; }
  .nav-button { text-align: center; }
  .hero { grid-template-columns: 1fr; gap: 50px; padding-top: 70px; }
  .summary-card { justify-self: start; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-number { margin-bottom: 20px; }
  .toolbar, .contact { align-items: stretch; flex-direction: column; }
  .contact { padding: 38px 28px; }
  footer { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
