/* LAOC blog: matches thelaoc.com design system */
:root {
  --navy: #0A0E1A;
  --ink: #14192b;
  --paper: #FAF9F5;
  --white: #FAFAF7;
  --orange: #FF6B35;
  --muted: #5d6272;
  --line: rgba(10, 14, 26, 0.12);
  --maxw: 720px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Geist', Inter, system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav { background: var(--navy); position: sticky; top: 0; z-index: 50; }
.nav-row {
  max-width: 1100px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.wordmark { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.wordmark .laoc {
  color: var(--white); font-weight: 800; font-size: 22px; letter-spacing: -0.06em;
}
.wordmark .laoc::after { content: '.'; color: var(--orange); }
.wordmark .sub {
  color: rgba(250,250,247,0.6); font-size: 8.5px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: rgba(250,250,247,0.85); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--white); }
.btn {
  display: inline-block; background: var(--orange); color: var(--navy);
  font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 8px;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { filter: brightness(1.06); }

/* Layout */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.hero { padding: 72px 0 40px; }
.kicker {
  color: var(--orange); font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
}
h1 {
  font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.12; margin: 14px 0 18px; color: var(--navy);
}
.meta { color: var(--muted); font-size: 14px; }
.meta a { color: var(--muted); }

article { padding-bottom: 40px; }
article h2 {
  font-size: 26px; font-weight: 800; letter-spacing: -0.02em;
  margin: 44px 0 14px; color: var(--navy); line-height: 1.25;
}
article h3 { font-size: 19px; font-weight: 700; margin: 28px 0 10px; color: var(--navy); }
article p { margin: 0 0 18px; }
article ul, article ol { margin: 0 0 18px 22px; }
article li { margin-bottom: 8px; }
article a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
article strong { color: var(--navy); }
article blockquote {
  border-left: 3px solid var(--orange); padding: 4px 0 4px 18px;
  color: var(--muted); margin: 0 0 18px; font-style: italic;
}

/* Quick answer (AEO) */
.quick-answer {
  background: var(--navy); color: rgba(250,250,247,0.92);
  border-radius: 14px; padding: 24px 26px; margin: 8px 0 34px;
}
.quick-answer .qa-label {
  color: var(--orange); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; display: block; margin-bottom: 10px;
}
.quick-answer p { margin: 0; font-size: 16px; }

/* Table */
.table-scroll { overflow-x: auto; margin: 0 0 22px; -webkit-overflow-scrolling: touch; }
.table-scroll table { margin: 0; min-width: 480px; }
table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--navy); font-weight: 700; border-bottom: 2px solid var(--navy); }

/* FAQ */
.faq h3 { margin-top: 22px; }
.faq p { color: var(--ink); }

/* CTA */
.cta {
  background: var(--navy); border-radius: 16px; padding: 36px 32px;
  margin: 48px 0; text-align: left;
}
.cta h2 { color: var(--white); margin: 0 0 10px; font-size: 24px; }
.cta p { color: rgba(250,250,247,0.75); margin: 0 0 20px; }

/* Blog index cards */
.post-grid { display: grid; gap: 18px; padding-bottom: 40px; }
.post-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 28px; text-decoration: none; color: var(--ink);
  transition: border-color .15s ease, transform .15s ease;
}
.post-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.post-card h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); margin: 8px 0 8px; }
.post-card p { color: var(--muted); font-size: 15px; margin: 0; }
.post-card .kicker { font-size: 11px; }

/* Footer */
footer { background: var(--navy); margin-top: 40px; }
.foot-row {
  max-width: 1100px; margin: 0 auto; padding: 40px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.foot-row p { color: rgba(250,250,247,0.55); font-size: 13px; }
.foot-row a { color: rgba(250,250,247,0.85); text-decoration: none; font-size: 13px; }

@media (max-width: 640px) {
  .nav-links { gap: 14px; }
  .nav-links .hide-sm { display: none; }
  .hero { padding: 48px 0 28px; }
}
