:root { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #111;
  background: #fff;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Navbar */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.links {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
}

.links a {
  color: #111;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #111;
  background: transparent;
}

.btn:hover { background: #f7f7f7; }

.primary {
  background: #111;
  color: #fff;
  border-color: #111;
}
.primary:hover { background: #000; }

.ghost { background: transparent; }

/* Hero */
.hero {
  padding: 56px 0 10px;
}

h1 {
  font-size: 44px;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.03em;
}

.sub {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 65ch;
}

.cta {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.note {
  font-size: 12px;
  color: #777;
  margin-top: 12px;
}

/* Sections */
.section { padding: 46px 0; }

h2 {
  font-size: 26px;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

/* Features grid */
.grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 18px;
  background: #fff;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.card p {
  margin: 0;
  color: #555;
  line-height: 1.55;
}

/* Footer */
.footer {
  border-top: 1px solid #eee;
  padding: 22px 0;
  color: #666;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.footer a {
  color: #111;
  text-decoration: none;
}

.footer a:hover { text-decoration: underline; }
