/* build:fb94d936 */
:root {
  color-scheme: light;
  --bg: #f8fafc;
  --bg-elevated: #ffffff;
  --text: #111827;
  --heading: #0f172a;
  --muted: #667085;
  --muted-2: #98a2b3;
  --line: #e6eaf0;
  --line-strong: #d7dde7;
  --accent: #1d4ed8;
  --accent-soft: #eff6ff;
  --accent-ink: #1e3a8a;
  --code-bg: #f1f5f9;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 28px 80px rgba(15, 23, 42, 0.09);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --site-width: 1080px;
  --content-width: 740px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(248, 250, 252, 1) 44%),
    radial-gradient(circle at 18% 0%, rgba(29, 78, 216, 0.12), transparent 34rem),
    radial-gradient(circle at 82% 4%, rgba(15, 23, 42, 0.08), transparent 28rem);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

a:hover { color: var(--accent); }

.site-header,
.site-footer,
main {
  width: min(var(--site-width), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--heading);
  font-size: 1rem;
  font-weight: 760;
  letter-spacing: -0.025em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #dbe4f0;
  border-radius: 11px;
  color: var(--accent-ink);
  background: linear-gradient(180deg, #ffffff, #f3f7ff);
  box-shadow: var(--shadow-sm);
  font-size: 0.92rem;
  font-weight: 820;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.nav-link {
  padding: 7px 13px;
  border-radius: 999px;
  color: #667085;
  font-size: 0.9rem;
  font-weight: 640;
  line-height: 1.4;
}

.nav-link.active,
.nav-link:hover {
  color: var(--heading);
  background: #f1f5f9;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: center;
  margin: 56px 0 54px;
  padding: 0 0 54px;
  border-bottom: 1px solid var(--line);
}

.hero-content { max-width: 760px; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--heading);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.65rem, 5.4vw, 4.2rem);
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.55vw, 1.14rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 720;
}

.button.primary {
  color: #ffffff;
  border-color: #111827;
  background: #111827;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.button.primary:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.2);
}

.button.ghost {
  color: #344054;
  background: #ffffff;
}

.button.ghost:hover { background: #f8fafc; }

.hero-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
}

.hero-panel span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  color: var(--heading);
  font-size: 1.22rem;
  line-height: 1.24;
  letter-spacing: -0.03em;
}

.hero-panel p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-hero {
  margin: 62px 0 42px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.page-hero.compact h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 20px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
}

.section-head > a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 720;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 76px;
}

.post-list {
  display: grid;
  gap: 14px;
  margin-bottom: 84px;
}

.post-card {
  display: flex;
  min-height: 232px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
}

.post-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.post-card h2 {
  margin-top: 16px;
  font-size: clamp(1.35rem, 2.4vw, 1.62rem);
  letter-spacing: -0.038em;
}

.post-card p {
  margin: 13px 0 22px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted-2);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.4;
}

.post-meta span::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: #cbd5e1;
}

.card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  padding: 4px 9px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  color: var(--accent-ink);
  background: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 720;
  line-height: 1.4;
}

.read-more {
  flex: none;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
}

.read-more:hover { color: var(--accent); }

.article {
  width: min(var(--content-width), 100%);
  margin: 58px auto 92px;
}

.article.narrow { margin-top: 12px; }

.article-header {
  padding: 18px 0 30px;
  border-bottom: 1px solid var(--line);
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.article-header h1 {
  margin-top: 18px;
  font-size: clamp(2.25rem, 5vw, 3.85rem);
  letter-spacing: -0.05em;
}

.article-header p {
  margin: 18px 0 22px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.prose {
  margin-top: 34px;
  color: #263244;
  font-size: 1.045rem;
  line-height: 1.86;
}

.prose h2,
.prose h3,
.prose h4 {
  color: var(--heading);
  scroll-margin-top: 24px;
}

.prose h2 {
  margin-top: 2.45em;
  margin-bottom: 0.72em;
  padding-top: 0.2em;
  font-size: 1.68rem;
  letter-spacing: -0.035em;
}

.prose h3 {
  margin-top: 2.1em;
  margin-bottom: 0.62em;
  font-size: 1.28rem;
  letter-spacing: -0.025em;
}

.prose h4 {
  margin-top: 1.9em;
  margin-bottom: 0.55em;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

.prose p,
.prose ul,
.prose pre { margin: 1.05em 0; }

.prose ul {
  padding-left: 1.25em;
}

.prose li + li { margin-top: 0.42em; }

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 0.075em;
  text-underline-offset: 0.2em;
}

.prose strong { color: var(--heading); }

.prose code {
  padding: 0.13em 0.38em;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  background: var(--code-bg);
  color: #0f172a;
  font-size: 0.9em;
}

.prose pre {
  overflow-x: auto;
  padding: 18px 20px;
  border: 1px solid #1e293b;
  border-radius: var(--radius-sm);
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.92rem;
  line-height: 1.68;
}

.prose pre code {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.88rem;
}

.site-footer p { margin: 0; }

@media (max-width: 900px) {
  .site-header { padding-top: 24px; }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 50px;
  }
  .hero-panel { max-width: 440px; }
  .post-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { font-size: 15px; }
  .site-header,
  .site-footer,
  main { width: min(100% - 32px, var(--site-width)); }
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }
  .hero {
    margin: 42px 0 44px;
    padding-bottom: 42px;
  }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 3.35rem); }
  .page-hero { margin-top: 44px; }
  .post-card { min-height: auto; padding: 22px; }
  .card-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .article { margin-top: 42px; }
  .article-header h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .site-footer { flex-direction: column; }
}

@media (max-width: 440px) {
  .site-header,
  .site-footer,
  main { width: min(100% - 24px, var(--site-width)); }
  .hero-panel { padding: 20px; }
  .button { width: 100%; }
}

/* Rich HTML article components */
.prose .note-hero {
  margin: 1.2rem 0 2rem;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #ffffff, #f4f7fb);
  box-shadow: var(--shadow-sm);
}

.prose .note-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.prose .note-hero h2 {
  margin: 0 0 12px;
  padding: 0;
  font-size: clamp(1.7rem, 4vw, 2.25rem);
}

.prose .note-hero p:last-child { margin-bottom: 0; }

.prose .insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 1.6rem 0;
}

.prose .insight-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.prose .insight-card span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.prose .insight-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.prose .insight-card p { margin: 0; }

.prose .pull-quote {
  margin: 2rem 0;
  padding: 2px 0 2px 22px;
  border-left: 3px solid var(--accent);
  color: var(--heading);
  font-size: 1.2rem;
  font-weight: 680;
  line-height: 1.75;
}

.prose .pull-quote p { margin: 0; }

.prose .callout-panel {
  margin: 1.8rem 0;
  padding: 22px 24px;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
}

.prose .callout-panel h3 {
  margin-top: 0;
  font-size: 1.16rem;
}

.prose .callout-panel ul { margin-bottom: 0; }

@media (max-width: 680px) {
  .prose .note-hero { padding: 22px; }
  .prose .insight-grid { grid-template-columns: 1fr; }
}
