:root {
  color-scheme: light;
  --bg: #f7f7f9;
  --card: #ffffff;
  --text: #12141a;
  --muted: #5b6270;
  --accent: #4b6bfb;
  --border: #e2e5ec;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 90vw);
  margin: 0 auto;
}

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.2rem;
}

.nav {
  display: flex;
  gap: 20px;
  font-weight: 500;
  color: var(--muted);
}

.nav a:hover {
  color: var(--accent);
}

.hero {
  padding: 90px 0 80px;
  text-align: left;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  max-width: 700px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(75, 107, 251, 0.2);
}

.section {
  padding: 70px 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.section p {
  color: var(--muted);
  max-width: 700px;
}

.section.alt {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.updates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.updates article {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(18, 20, 26, 0.05);
}

.updates h3 {
  margin-bottom: 10px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(18, 20, 26, 0.05);
}

.blog-card h3 {
  margin: 10px 0 12px;
  font-size: 1.2rem;
}

.post-meta {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.2px;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
  display: inline-block;
  margin-top: 12px;
}

.post-shell {
  padding: 70px 0 90px;
}

.post-header {
  margin-bottom: 32px;
}

.post-header h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.post-content {
  display: grid;
  gap: 18px;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.post-content strong {
  color: var(--text);
}

.post-footer {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer {
  padding: 30px 0 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .site-header .container {
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 70px 0 60px;
  }
}
