/* Voice Agent News - chartreuse + warm gray editorial */

:root {
  --canvas: #E2DFD5;
  --card: #FFFFFF;
  --ink: #0F0F0F;
  --ink-soft: #2A2A28;
  --ink-muted: #5C5A52;
  --accent: #D4F542;
  --accent-ink: #0F0F0F;
  --dark-card: #0F0F0F;
  --dark-card-ink: #F5F3E8;
  --radius-lg: 36px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --radius-pill: 999px;
  --rail: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  font-feature-settings: "ss01", "ss02";
}

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

.shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px var(--rail) 64px;
}

/* === Top stat strip === */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.stat {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 22px 28px 26px;
  border-radius: var(--radius-md);
}
.stat-label {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 14px;
  opacity: 0.85;
}
.stat-value {
  font-family: 'Geist', sans-serif;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
}
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
}

/* === Hero card === */
.hero-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 14px;
}
.hero-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 18px;
}
.brand {
  font-family: 'Geist', sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand-mark {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 8px;
  margin-right: 10px;
  vertical-align: -6px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
.nav-links a:hover { color: var(--ink-muted); }
.nav-pill {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 17px;
}
.nav-pill:hover { background: #C5E83A; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.hero-headline {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
.hero-eyebrow {
  font-family: 'Geist Mono', ui-monospace, 'SFMono-Regular', monospace;
  font-size: 17px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}
.hero-headline h1 {
  font-family: 'Geist', sans-serif;
  font-size: clamp(46px, 7.2vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 18px 0 0;
}
.hero-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0F0F0F;
  aspect-ratio: 1 / 1;
  min-height: 380px;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { aspect-ratio: 16 / 10; min-height: 0; }
  .nav-links { display: none; }
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding: 26px 14px 4px;
}
.hero-deck {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 56ch;
}
.hero-ctas {
  display: flex;
  gap: 10px;
}
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 17px;
  white-space: nowrap;
}
.btn-dark { background: var(--dark-card); color: var(--dark-card-ink); }
.btn-dark:hover { background: #2A2A28; }
.btn-light { background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: 12px 24px; }
.btn-light:hover { background: var(--ink); color: var(--canvas); }
@media (max-width: 760px) {
  .hero-bottom { grid-template-columns: 1fr; }
}

/* === Sections row (categories) === */
.sections-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.section-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 24px 26px 28px;
}
.section-card .label {
  font-family: 'Geist Mono', monospace;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-bottom: 14px;
  display: block;
}
.section-card h3 {
  font-family: 'Geist', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.section-card p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}
.section-card a { color: inherit; }
.section-card a:hover h3 { color: var(--ink-muted); }
@media (max-width: 880px) { .sections-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .sections-row { grid-template-columns: 1fr; } }

/* === Post stack === */
.posts-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.post-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 30px 32px 36px;
}
.post-card .meta {
  display: flex;
  gap: 18px;
  align-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.post-card .meta .cat-chip {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.post-card h2 {
  font-family: 'Geist', sans-serif;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 6px 0 22px;
  max-width: 22ch;
}
.post-card h2 a { color: inherit; }
.post-card .plate {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0F0F0F;
  margin: 8px 0 26px;
  aspect-ratio: 16 / 9;
}
.post-card .plate img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.post-card .body {
  max-width: 70ch;
  font-size: 18px;
  line-height: 1.65;
}
.post-card .body p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}
.post-card .body h3 {
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.015em;
  margin: 1.5em 0 0.5em;
  color: var(--ink);
}
.post-card .body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.post-card .body a:hover { color: var(--ink-muted); }

/* article-page variant */
.article-shell {
  max-width: 880px;
  margin: 0 auto;
  padding: 16px var(--rail) 96px;
}
.article-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 40px 44px 56px;
}
.article-card .meta { margin-bottom: 18px; }
.article-card h1 {
  font-family: 'Geist', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 6px 0 26px;
}
.article-card .plate { aspect-ratio: 16 / 9; margin-bottom: 32px; border-radius: var(--radius-md); overflow:hidden; background:#0F0F0F; }
.article-card .plate img { width:100%; height:100%; object-fit:cover; display:block; }
.article-card .body { max-width: 68ch; font-size: 18px; line-height: 1.7; }
.article-card .body p { color: var(--ink-soft); margin: 0 0 1.1em; }
.article-card .body h3 { font-family:'Geist',sans-serif; font-weight:700; font-size:24px; letter-spacing:-0.015em; margin:1.6em 0 0.5em; color: var(--ink); }
.article-card .body a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .article-card { padding: 28px 22px 36px; }
  .post-card { padding: 24px 22px 30px; }
}

/* === Footer === */
footer.site-footer {
  background: var(--dark-card);
  color: var(--dark-card-ink);
  border-radius: var(--radius-lg);
  padding: 44px 36px 36px;
  margin-top: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand {
  font-family: 'Geist', sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.footer-brand .brand-mark { background: var(--accent); }
.footer-tagline {
  font-size: 17px;
  line-height: 1.55;
  color: var(--dark-card-ink);
  opacity: 0.78;
  max-width: 40ch;
}
.footer-grid h4 {
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
  margin: 0 0 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; font-size: 17px; }
.footer-grid a { color: var(--dark-card-ink); opacity: 0.78; }
.footer-grid a:hover { color: var(--accent); opacity: 1; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  color: var(--dark-card-ink);
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  footer.site-footer { padding: 30px 22px 26px; }
}

/* === 404 === */
.notfound { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60vh; text-align: center; padding: 40px 20px; }
.notfound h1 { font-family:'Geist',sans-serif; font-size: clamp(64px, 12vw, 144px); font-weight:800; letter-spacing:-0.03em; line-height:0.95; margin: 0 0 20px; }
.notfound p { font-size: 19px; color: var(--ink-soft); max-width: 50ch; margin: 0 0 28px; }

