:root {
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --text: #1f2933;
  --text-soft: #4b5563;
  --bg: #f7fafc;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --max-width: 1080px;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

nav .brand {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

nav .links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.2rem);
  margin: 0 0 1rem;
}

.hero p {
  margin: 0 0 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.12);
}

.card h2,
.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.card p {
  margin: 0;
  color: var(--text-soft);
}

.post-list {
  display: grid;
  gap: 1rem;
}

.post-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.post-item time {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.article {
  max-width: 780px;
  margin: 0 auto;
}

.article h1,
.article h2,
.article h3 {
  line-height: 1.3;
}

.article h1 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.article h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
}

.article p,
.article li {
  color: var(--text-soft);
}

.article blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 2rem;
}

.breadcrumbs span {
  color: var(--text);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  nav {
    justify-content: center;
  }

  nav .links {
    justify-content: center;
  }
}

.coming-soon {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
  max-width: 520px;
  margin: 4rem auto;
  text-align: center;
}

.coming-soon h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 3rem);
}

.coming-soon p {
  margin-bottom: 1.5rem;
  color: var(--text-soft);
}
