/* Base styles */
:root {
  --bg: #0b141a;
  --card: #ffffff;
  --text: #1f2c34;
  --muted: #5b6b75;
  --brand: #25d366;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background: #f5f7f8;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Ensure content pushes footer to the bottom */
main { flex: 1 0 auto; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  background: #fff;
  border-bottom: 1px solid #e6eaed;
}
.logo { display: flex; align-items: center; gap: 10px; }
.brand { font-weight: 600; font-size: 18px; color: #0b141a; }

/* Hero */
.hero {
  max-width: 780px;
  margin: 48px auto 32px;
  text-align: center;
  padding: 0 20px;
}
.hero h1 { font-size: 32px; margin: 0 0 12px; }
.hero p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 auto 20px;
  line-height: 1.6;
  max-width: 640px;
}
.cta {
  display: inline-block;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.3);
}
.cta:hover { filter: brightness(1.05); }

/* Hero image */
.hero-image {
  display: block;
  margin: 24px auto 0;
  max-width: 820px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(11, 20, 26, 0.12);
}

/* Features */
.features { max-width: 1024px; margin: 16px auto 40px; padding: 0 20px; }
.features h2 { text-align: center; font-size: 24px; margin-bottom: 18px; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid #e6eaed;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 6px rgba(11, 20, 26, 0.05);
}
.card .icon.circle {
  width: 40px; height: 40px; border-radius: 20px; background: #e8f8ef;
  display: grid; place-items: center; margin-bottom: 10px;
}
.card h3 { margin: 0 0 8px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); line-height: 1.5; }

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 18px 24px;
  border-top: 1px solid #e6eaed;
  background: #fff;
  margin-top: auto; /* stick to bottom when content is short */
}
.site-footer .hero-image {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  box-shadow: none;
  justify-self: center;
  align-self: center;
}
.site-footer .hosted { color: var(--muted); }
.site-footer .legal { color: var(--muted); }
.site-footer .privacy { color: #0675cf; text-decoration: none; }
.site-footer .privacy:hover { text-decoration: underline; }

/* Responsive tweaks */
@media (max-width: 640px) {
  .site-footer { grid-template-columns: 1fr; text-align: center; }
}
