*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #1f2933;
  background: #f8fafc;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

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

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

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f172a;
}

.menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu a {
  font-weight: 600;
  color: #1f2937;
}

.menu a:hover,
.menu a:focus {
  color: #2563eb;
}

.hero {
  background: radial-gradient(circle at top right, #eff6ff, #dbeafe 40%, #bfdbfe);
  padding-bottom: 5rem;
}

.hero-content {
  max-width: 540px;
  padding: 3rem 0 2rem;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(37, 99, 235, 0.15);
  color: #1d4ed8;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  margin: 0 0 1.5rem;
  color: #0f172a;
  line-height: 1.1;
}

.hero p {
  margin-bottom: 2rem;
  font-size: 1.05rem;
  color: #1f2933;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.7rem;
  background: linear-gradient(120deg, #2563eb, #1d4ed8);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.25);
}

.featured-article {
  margin-top: -3rem;
}

.featured-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.featured-card img {
  height: 100%;
  object-fit: cover;
}

.featured-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.category {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
}

.featured-body h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  line-height: 1.2;
  color: #0f172a;
}

.featured-body p {
  margin: 0 0 1rem;
  color: #475569;
  font-size: 1.05rem;
}

.link {
  font-weight: 600;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.link::after {
  content: "↗";
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.link:hover::after {
  transform: translate(4px, -4px);
}

.post-grid {
  padding: 4.5rem 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-header h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #0f172a;
}

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

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.card h4 {
  margin: 0;
  font-size: 1.3rem;
  color: #0f172a;
}

.card p {
  margin: 0;
  color: #475569;
}

.about {
  background: #fff;
  padding: 4rem 0;
}

.about .container {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

.about h3 {
  margin-top: 0;
  font-size: 1.8rem;
  color: #0f172a;
}

.about p {
  color: #475569;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.about-list li {
  background: #f1f5f9;
  padding: 1.5rem;
  border-radius: 14px;
}

.about-list strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: #0f172a;
}

.about-list span {
  font-size: 0.95rem;
  color: #475569;
}

.newsletter {
  padding: 4rem 0 5rem;
}

.newsletter .container {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  border-radius: 24px;
  padding: 3rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: center;
}

.newsletter h3 {
  margin: 0 0 0.75rem;
  font-size: 1.9rem;
}

.newsletter p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.newsletter-form {
  display: grid;
  gap: 1rem;
}

.newsletter-form input {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: none;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: none;
  background: #fff;
  color: #1d4ed8;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}

.footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 2rem;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-links a:hover {
  color: #fff;
}

.social {
  display: flex;
  gap: 1rem;
  font-size: 1.25rem;
}

.footer-copy {
  margin-top: 2.5rem;
  justify-content: center;
  font-size: 0.85rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 960px) {
  .menu {
    display: none;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .about .container,
  .newsletter .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding-top: 2rem;
  }

  .cta {
    width: 100%;
  }

  .card {
    padding: 1.5rem;
  }

  .newsletter .container {
    padding: 2.5rem;
  }
}

