:root {
  --bg-body: #f7f7fb;
  --bg-header: #ffffff;
  --bg-card: #ffffff;
  --bg-hero: #eef4ff;
  --text-main: #222222;
  --text-muted: #666666;
  --accent: #3b82f6;
  --accent-dark: #1d4ed8;
  --border-soft: #e0e3ef;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
  --radius-lg: 16px;
  --radius-md: 10px;
  --max-width: 1100px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: --bg-body;
  background: radial-gradient(circle at top left, #eef4ff 0, #f7f7fb 60%, #ffffff 100%);
  color: var(--text-main);
  line-height: 1.6;
}

/* Utility */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header {
  background-color: var(--bg-header);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
}

.logo a {
  font-weight: 700;
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.2rem;
}

.main-nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--accent);
}

/* Hero */

.hero {
  background: var(--bg-hero);
  border-bottom: 1px solid var(--border-soft);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  padding: 3rem 0 3.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 33rem;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
}

.btn-secondary:hover {
  border-color: var(--accent);
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-illustration {
  width: 260px;
  height: 180px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #e0ecff, #fef9c3);
  position: relative;
  box-shadow: var(--shadow-soft);
}

.hero-monitor {
  position: absolute;
  top: 30px;
  left: 40px;
  right: 40px;
  height: 70px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.hero-chair {
  position: absolute;
  bottom: 25px;
  left: 65px;
  width: 80px;
  height: 70px;
  border-radius: 20px;
  border: 2px solid #0f172a;
}

/* Feature section */

.feature-section {
  padding: 3rem 0 2rem;
}

.feature-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
}

/* Articles section */

.articles-section {
  padding: 2rem 0 3rem;
}

.articles-section h2 {
  text-align: center;
  margin-bottom: 1.75rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.article-card h3 {
  margin-top: 0;
}

.article-card p {
  color: var(--text-muted);
}

.article-card a {
  text-decoration: none;
  color: var(--accent-dark);
}

.article-card a:hover {
  text-decoration: underline;
}

.read-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* Newsletter */

.newsletter-section {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background-color: #f9fafb;
}

.newsletter-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.newsletter-inner h2 {
  margin: 0 0 0.5rem;
}

.newsletter-inner p {
  margin: 0;
  color: var(--text-muted);
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.newsletter-form input[type="email"] {
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  min-width: 220px;
}

.newsletter-form input[type="email"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* Article pages */

.article-main {
  padding: 2.5rem 0 3.5rem;
}

.article-content {
  max-width: 780px;
}

.article-tag {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  margin-bottom: 0.4rem;
}

.article-content h1 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.article-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.article-content h2 {
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
}

.article-content h3 {
  margin-top: 1.1rem;
  margin-bottom: 0.3rem;
}

.article-content ul {
  padding-left: 1.2rem;
}

.article-content blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 0.75rem;
  color: var(--text-muted);
  margin-left: 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-soft);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  font-size: 0.85rem;
}

.footer-links a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

.article-ad-block {
    text-align: center;
  }

  .hero-img {
    width: 100%;
    height: auto;
    max-width: 360px;   /* smaller hero image size */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
  }

  .hero-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;  
    gap: 2rem;
    align-items: center;
  }

  
  
/* Responsive */

@media (max-width: 800px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-image {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
