/* InfoLife homepage. Brand green from the logo; product pages use css/product.css. */
:root {
  --green: #6aa33a;
  --green-dark: #4d7f24;
  --green-light: #9ccb3b;
  --fg: #1f2933;
  --muted: #5f6b76;
  --bg-soft: #f4f8ee;
  --line: #e3e8dc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--fg);
  background: #fff;
}
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: #fff; }
.top .wrap { display: flex; align-items: center; height: 72px; }
.top .brand img { height: 40px; width: auto; display: block; }
.top nav { margin-left: auto; font-size: 15px; }
.top nav a { margin-left: 24px; color: var(--fg); }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--bg-soft) 0%, #ffffff 70%);
  padding: 72px 0 80px;
  text-align: center;
}
.hero img.logo { width: min(420px, 80%); height: auto; }
.hero .slogan {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 24px 0 12px;
}
.hero .slogan em { font-style: normal; color: var(--green); }
.hero p { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 19px; }
.hero .cta { display: inline-block; margin-top: 32px; background: var(--green); color: #fff; padding: 12px 26px; border-radius: 999px; font-weight: 600; }
.hero .cta:hover { background: var(--green-dark); text-decoration: none; }

/* Sections */
section { padding: 64px 0; }
section h2 { font-size: 28px; margin: 0 0 8px; }
section .lead { color: var(--muted); margin: 0 0 32px; }

/* App cards */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.app {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.app .head { display: flex; align-items: center; gap: 14px; }
.app .head img { width: 56px; height: 56px; border-radius: 12px; }
.app h3 { margin: 0; font-size: 20px; }
.app .meta { color: var(--muted); font-size: 14px; }
.app p { margin: 14px 0 18px; }
.app .links { margin-top: auto; display: flex; align-items: center; gap: 16px; font-size: 15px; }
.app .links .store img { height: 54px; width: auto; display: block; margin-left: -9px; }
.app.soon { background: var(--bg-soft); border-style: dashed; justify-content: center; }
.app.soon p { color: var(--muted); margin: 8px 0 0; }

/* About */
.about { background: var(--bg-soft); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 28px; }
.fact strong { display: block; font-size: 30px; color: var(--green-dark); }
.fact span { color: var(--muted); font-size: 15px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
footer .right { margin-left: auto; }

@media (max-width: 600px) {
  .top nav a { margin-left: 16px; }
  .hero { padding: 48px 0 56px; }
  section { padding: 48px 0; }
  footer .right { margin-left: 0; }
}
