@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f5f6f8;
  --card: #ffffff;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e8eaee;
  --brand: #8eb8d4;
  --brand-ink: #16324a;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 10px 24px rgba(17, 24, 39, .04);
  --font: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a { color: inherit; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
}
.brand img { border-radius: 6px; }
.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-header nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: .92rem;
}
.site-header nav a:hover { color: var(--ink); }

.btn-sign-in, .btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  padding: .6rem 1.1rem;
  font-size: .92rem;
  transition: opacity .15s ease;
}
.btn-sign-in, .btn-primary {
  background: var(--brand-ink);
  color: #fff !important;
}
.btn-sign-in:hover, .btn-primary:hover { opacity: .88; }
.btn-secondary {
  background: var(--card);
  color: var(--ink) !important;
  border: 1px solid var(--line);
}
.btn-secondary:hover { background: var(--bg); }

/* Hero */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 1.2rem;
}
.hero .lede {
  max-width: 640px;
  margin: 0 auto 2.2rem;
  color: var(--muted);
  font-size: 1.15rem;
}
.hero-actions {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Products */
.products {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  background: var(--card);
}
.products h2, .about h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 .5rem;
  text-align: center;
}
.products .lede, .about .lede {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 2.5rem;
  max-width: 560px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.product-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.product-card img { border-radius: 10px; margin-bottom: 1rem; }
.product-card h3 {
  margin: 0 0 .5rem;
  font-size: 1.1rem;
}
.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}
.product-card-soon { opacity: .72; }

/* About */
.about {
  padding: 4rem 0 5rem;
}
.about .lede { max-width: 680px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: .85rem;
}
.site-footer a { text-decoration: none; font-weight: 600; color: var(--brand-ink); }

@media (max-width: 720px) {
  .product-grid { grid-template-columns: 1fr; }
  .site-header nav { gap: 1rem; }
  .site-header nav a:not(.btn-sign-in) { display: none; }
}
