/* pawgrin — Minimal Editorial Design */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #111827;
  --gray-dark: #374151;
  --gray: #6B7280;
  --gray-light: #E5E7EB;
  --gray-bg: #F9FAFB;
  --white: #FFFFFF;
  --green: #059669;
  --green-light: #D1FAE5;
  --max: 1100px;
  --article-max: 760px;
}

html { font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ─── NAVIGATION ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--black);
  text-decoration: none;
}

.nav-logo span { color: var(--green); }

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

nav ul a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-dark);
  text-decoration: none;
  letter-spacing: 0.1px;
}

nav ul a:hover { color: var(--green); text-decoration: none; }

/* ─── HERO ─── */
.hero {
  padding: 72px 24px 64px;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text {}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--black);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.0625rem;
  color: var(--gray-dark);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat span {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 500;
}

.hero-visual {
  background: var(--gray-bg);
  border-radius: 16px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--gray-light);
}

.hero-visual-inner {
  text-align: center;
  padding: 40px;
}

.hero-visual-inner .big-stat {
  font-size: 5rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  letter-spacing: -3px;
}

.hero-visual-inner p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 12px;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── BUTTON ─── */
.btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: opacity 0.15s;
  letter-spacing: 0.1px;
}

.btn:hover { opacity: 0.88; text-decoration: none; color: var(--white); }

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--gray-light);
  color: var(--gray-dark);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.btn-outline:hover { border-color: var(--green); color: var(--green); text-decoration: none; }

/* ─── SECTIONS ─── */
.section {
  padding: 56px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 16px;
}

.section-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.section-header a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green);
}

/* ─── ARTICLES GRID ─── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.card-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--green);
  padding: 12px 16px 0;
}

.card-body {
  padding: 10px 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  letter-spacing: -0.1px;
}

.card-body h3 a {
  color: var(--black);
  text-decoration: none;
}

.card-body h3 a:hover { color: var(--green); }

.card-body p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}

.read-more {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-more:hover { text-decoration: underline; }

/* ─── FEATURED CARD (first/large) ─── */
.articles-grid.has-featured .article-card:first-child {
  grid-column: 1 / 3;
  flex-direction: row;
  align-items: stretch;
}

.articles-grid.has-featured .article-card:first-child .card-category { padding: 20px 20px 0; }
.articles-grid.has-featured .article-card:first-child .card-body { padding: 10px 20px 24px; }
.articles-grid.has-featured .article-card:first-child h3 { font-size: 1.25rem; }
.articles-grid.has-featured .article-card:first-child p { font-size: 0.9rem; }

/* ─── TRUST STRIP ─── */
.trust-strip {
  background: var(--gray-bg);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  padding: 24px;
}

.trust-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2px;
}

.trust-item span {
  font-size: 0.75rem;
  color: var(--gray);
}

/* ─── ARTICLE PAGE ─── */
.article-header {
  padding: 48px 24px 40px;
  max-width: var(--article-max);
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--gray); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { margin: 0 6px; }

.article-header h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--gray);
  flex-wrap: wrap;
}

.article-meta .tag {
  background: var(--green-light);
  color: var(--green);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.article-divider {
  border: none;
  border-top: 1px solid var(--gray-light);
  max-width: var(--article-max);
  margin: 0 auto;
}

.article-body {
  max-width: var(--article-max);
  margin: 36px auto 64px;
  padding: 0 24px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-dark);
}

.article-body h1 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--black);
  margin: 0 0 24px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.article-body h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--black);
  margin: 48px 0 16px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.article-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--black);
  margin: 32px 0 12px;
}

.article-body p { margin-bottom: 20px; }

.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
}

.article-body li { margin-bottom: 6px; }

.article-body strong { color: var(--black); font-weight: 600; }

.article-body a { color: var(--green); text-decoration: underline; }

/* Affiliate callout */
.affiliate-box {
  background: var(--gray-bg);
  border: 1px solid var(--gray-light);
  border-left: 3px solid var(--green);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 28px 0;
}

.affiliate-box .af-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}

.affiliate-box h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.affiliate-box p {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 12px;
}

/* Disclosure */
.disclosure {
  font-size: 0.78rem;
  color: var(--gray);
  background: var(--gray-bg);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 32px;
  line-height: 1.5;
}

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  color: #9CA3AF;
  padding: 48px 24px 24px;
  font-size: 0.875rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.footer-brand .logo span { color: var(--green); }

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #6B7280;
  max-width: 220px;
}

footer h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}

footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a { color: #9CA3AF; font-size: 0.8125rem; text-decoration: none; }
footer ul li a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid #1F2937;
  font-size: 0.75rem;
  color: #4B5563;
  line-height: 1.6;
}

/* ─── TABLES ─── */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}

.article-body th {
  background: var(--gray-bg);
  color: var(--black);
  font-weight: 700;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 2px solid var(--gray-light);
  font-size: 0.8125rem;
  letter-spacing: 0.2px;
}

.article-body td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-light);
  color: var(--gray-dark);
  vertical-align: top;
}

.article-body tr:last-child td { border-bottom: none; }
.article-body tr:hover td { background: var(--gray-bg); }

/* ─── REVIEWER NOTE ─── */
.reviewer-note {
  font-size: 0.825rem;
  color: var(--gray);
  background: var(--gray-bg);
  border-left: 3px solid var(--green);
  border-radius: 0 6px 6px 0;
  padding: 10px 14px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.reviewer-note strong { color: var(--black); }

/* ─── ARTICLE HR ─── */
.article-body hr {
  border: none;
  border-top: 1px solid var(--gray-light);
  margin: 40px 0;
}

/* ─── SOURCES LIST ─── */
.article-body .sources-list {
  margin: 0 0 20px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--gray-light);
  padding-top: 16px;
}

.article-body .sources-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.8125rem;
  color: var(--gray);
  margin-bottom: 0;
}

.article-body .sources-list li a {
  color: var(--gray);
  text-decoration: none;
}

.article-body .sources-list li a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .articles-grid.has-featured .article-card:first-child { grid-column: 1 / 3; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  nav ul { display: none; }
  .articles-grid { grid-template-columns: 1fr; }
  .articles-grid.has-featured .article-card:first-child { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-strip-inner { gap: 24px; }
  .hero-stats { gap: 20px; }
}
