:root {
  --hp-bg: #ffffff;
  --hp-surface: #ffffff;
  --hp-muted: #f6f7f9;
  --hp-border: #e6e8ec;
  --hp-text: #111827;
  --hp-text-soft: #4b5563;
  --hp-text-muted: #6b7280;
  --hp-accent: #2563eb;
  --hp-accent-soft: #eff6ff;

  --hp-radius-sm: 10px;
  --hp-radius-md: 14px;
  --hp-radius-lg: 20px;

  --hp-container: 1180px;
  --hp-space-1: 8px;
  --hp-space-2: 12px;
  --hp-space-3: 16px;
  --hp-space-4: 24px;
  --hp-space-5: 32px;
  --hp-space-6: 48px;
  --hp-space-7: 72px;

  --hp-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: var(--hp-bg);
  color: var(--hp-text);
  font-family: var(--hp-font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

.site-content,
.inside-article {
  background: transparent;
}

.grid-container {
  max-width: var(--hp-container);
}

a {
  color: var(--hp-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1, h2, h3, h4 {
  color: var(--hp-text);
  letter-spacing: -0.035em;
  line-height: 1.12;
  font-weight: 750;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 4rem);
}

h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
}

p {
  color: var(--hp-text-soft);
}

.entry-title {
  margin-bottom: var(--hp-space-4);
}

.inside-article {
  padding-top: var(--hp-space-6);
  padding-bottom: var(--hp-space-7);
}

.hp-card {
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-lg);
  padding: var(--hp-space-4);
}

.hp-muted-card {
  background: var(--hp-muted);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-lg);
  padding: var(--hp-space-4);
}

.hp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--hp-border);
  border-radius: 999px;
  background: var(--hp-accent-soft);
  color: var(--hp-accent);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 650;
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--hp-accent);
  background: var(--hp-accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.hp-btn:hover {
  color: #fff;
  opacity: .94;
}

@media (max-width: 768px) {
  .inside-article {
    padding-top: var(--hp-space-4);
    padding-bottom: var(--hp-space-5);
  }

  body {
    font-size: 15.5px;
  }
}

/* ------------------------------
HOMEPAGE HERO
------------------------------ */

.hp-hero {
  padding: 72px 0 56px;
}

.hp-hero h1 {
  max-width: 920px;
  margin: 18px 0 22px;
}

.hp-hero p {
  max-width: 760px;
  font-size: 1.08rem;
  color: var(--hp-text-soft);
}

.hp-hero-search {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  max-width: 620px;
}

.hp-hero-search input {
  flex: 1;
  height: 54px;
  border-radius: 14px;
  border: 1px solid var(--hp-border);
  background: #fff;
  padding: 0 18px;
  font-size: 15px;
}

.hp-hero-search input:focus {
  outline: none;
  border-color: var(--hp-accent);
  box-shadow: 0 0 0 4px rgba(37,99,235,.08);
}

.hp-hero-search button {
  height: 54px;
  border: none;
  border-radius: 14px;
  background: var(--hp-accent);
  color: #fff;
  font-weight: 700;
  padding: 0 22px;
  cursor: pointer;
}

.hp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hp-tags span {
  border: 1px solid var(--hp-border);
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hp-text-soft);
}

/* ------------------------------
SECTIONS
------------------------------ */

.hp-section {
  padding: 64px 0;
  border-top: 1px solid var(--hp-border);
}

.hp-section-head {
  margin-bottom: 28px;
}

.hp-section-head h2 {
  margin-bottom: 10px;
}

.hp-section-head p {
  margin: 0;
}

/* ------------------------------
SEO CONTENT
------------------------------ */

.hp-seo-content {
  padding-top: 72px;
  border-top: 1px solid var(--hp-border);
}

.hp-seo-content h2 {
  margin-top: 52px;
}

.hp-seo-content ul li {
  margin-bottom: 10px;
}

/* ------------------------------
HEADER CLEANUP
------------------------------ */

.site-header {
  border-bottom: 1px solid var(--hp-border);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
}

.main-navigation .main-nav ul li a {
  font-weight: 600;
  font-size: 14px;
}

.site-logo img {
  max-height: 48px;
}

/* ------------------------------
MOBILE
------------------------------ */

@media (max-width: 768px) {

  .hp-hero {
    padding: 44px 0 30px;
  }

  .hp-hero-search {
    flex-direction: column;
  }

  .hp-hero-search button {
    width: 100%;
  }

  .hp-tags {
    gap: 8px;
  }

  .hp-tags span {
    font-size: 13px;
    padding: 8px 12px;
  }

  .hp-section {
    padding: 42px 0;
  }
}
