:root {
  color-scheme: light;
  --paper: #fbfbfd;
  --ink: #1d1d1f;
  --body: #3f3f44;
  --muted: #67676b;
  --line: #dedee2;
  --accent: #0066cc;
  --soft: #f5f5f7;
  --blue-soft: #eaf3ff;
  --code: #202124;
  --code-ink: #f5f5f7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'PingFang SC', 'Microsoft YaHei', sans-serif; font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 3px; }
.page { width: min(100% - 56px, 1080px); margin: auto; }
.post-page { max-width: 760px; }
.site-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 15px; font-weight: 650; letter-spacing: -.04em; white-space: nowrap; }
.mark { color: var(--accent); }
nav { display: flex; gap: 30px; color: var(--body); font-size: 13px; }
nav a:hover, .section-tail a:hover, .about-links a:hover { color: var(--accent); }
.home .site-header { min-height: 52px; border: 0; background: #1d1d1f; color: #f5f5f7; }
.home .header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.home nav { color: #dedee0; }
.home nav a:hover { color: #fff; }
.intro { overflow: hidden; background: #000; color: #f5f5f7; text-align: center; }
.intro-inner { padding-top: 62px; }
.eyebrow { margin: 0; color: #b5b5bc; font-size: 13px; font-weight: 500; }
.intro h1 { margin: 17px 0 12px; font-size: clamp(42px, 5.5vw, 66px); line-height: 1.18; letter-spacing: -.055em; font-weight: 700; }
.lead { margin: 0; color: #e0e0e5; font-size: clamp(17px, 2vw, 22px); line-height: 1.5; }
.intro-actions { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 24px; }
.button-primary { display: inline-block; padding: 10px 19px; border-radius: 999px; background: #0071e3; color: #fff; font-size: 14px; line-height: 1.4; white-space: nowrap; }
.button-primary:hover { background: #1684f4; }
.button-primary:active { transform: translateY(1px); }
.text-link { color: #5ab3ff; font-size: 15px; white-space: nowrap; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link span { padding-left: 3px; font-size: 19px; }
.hero-product { display: block; width: min(100%, 960px); height: auto; margin: 33px auto 0; }
.page-content { padding-top: 100px; }
.content-section { scroll-margin-top: 30px; margin-bottom: 104px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
h2 { margin: 0; font-size: clamp(30px, 3.8vw, 42px); line-height: 1.2; letter-spacing: -.04em; font-weight: 700; }
.section-count { color: var(--muted); font-size: 13px; }
.entry { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 23px 0 25px; border-bottom: 1px solid var(--line); }
.entry-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.entry-title { font-size: 19px; font-weight: 600; letter-spacing: -.025em; line-height: 1.45; }
.entry-description { color: var(--muted); font-size: 14px; line-height: 1.6; }
.entry:hover .entry-title, .entry:hover .external { color: var(--accent); }
.entry time, .entry-type { flex: none; color: var(--muted); font-size: 12px; white-space: nowrap; }
.entry-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; min-height: 310px; padding: 38px; overflow: hidden; border: 0; border-radius: 18px; background: var(--soft); }
.entry-featured .entry-main { align-self: center; gap: 13px; }
.entry-kicker { color: var(--muted); font-size: 12px; }
.entry-featured .entry-title { max-width: 12em; font-size: clamp(25px, 2.8vw, 33px); line-height: 1.3; font-weight: 700; }
.entry-featured .entry-description { max-width: 22em; font-size: 15px; }
.entry-link { color: var(--accent); font-size: 14px; }
.entry-quote { display: block; padding-left: 26px; border-left: 2px solid var(--accent); color: var(--ink); font-size: clamp(23px, 2.8vw, 34px); font-weight: 600; line-height: 1.5; letter-spacing: -.04em; }
.writing-list { margin-top: 20px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.project-grid .entry { min-height: 177px; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 28px; border: 0; border-radius: 18px; background: var(--soft); }
.project-grid .entry:first-child { background: var(--blue-soft); }
.project-grid .entry:nth-child(4) { background: #252528; color: #f5f5f7; }
.project-grid .entry:nth-child(4) .entry-description, .project-grid .entry:nth-child(4) .entry-type { color: #d1d1d6; }
.project-grid .entry:nth-child(4) .external { color: #6dbaff; }
.project-grid .entry:last-child { grid-column: 1 / -1; min-height: 138px; }
.project-grid .entry-title { font-size: 23px; }
.project-grid .entry-description { font-size: 14px; }
.external { color: var(--accent); font-size: 15px; font-weight: 400; }
.section-tail { margin: 23px 0 0; font-size: 14px; }
.section-tail a, .about-links a { color: var(--accent); }
.about { padding-top: 45px; border-top: 1px solid var(--line); }
.about-content { display: flex; justify-content: space-between; gap: 50px; align-items: flex-end; }
.about p { max-width: 700px; margin: 20px 0 0; color: var(--body); font-size: 17px; line-height: 1.85; }
.about-links { display: flex; flex: none; gap: 25px; white-space: nowrap; }
.site-footer { padding: 23px 0 40px; background: var(--soft); color: var(--muted); font-size: 12px; }
.site-footer .page { display: flex; justify-content: space-between; gap: 20px; }
.post-page footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 42px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
@media (max-width: 700px) {
  .page { width: min(100% - 36px, 1080px); }
  .intro-inner { padding-top: 57px; }
  .intro h1 { font-size: clamp(37px, 8vw, 52px); }
  .hero-product { width: 116%; max-width: none; margin-left: -8%; }
  .page-content { padding-top: 68px; }
  .content-section { margin-bottom: 78px; }
  .entry-featured { grid-template-columns: 1fr; gap: 27px; padding: 26px; }
  .entry-quote { font-size: 23px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-grid .entry:last-child { grid-column: auto; min-height: 177px; }
  .about-content { display: block; }
}
@media (max-width: 420px) {
  .site-header { min-height: 64px; }
  .home .header-inner { min-height: 52px; }
  nav { gap: 16px; font-size: 12px; }
  .wordmark { font-size: 13px; }
  .intro h1 { margin-top: 14px; font-size: 36px; }
  .lead { font-size: 16px; }
  .intro-actions { gap: 18px; }
  .button-primary { font-size: 13px; }
  .text-link { font-size: 13px; }
  .entry { gap: 12px; }
  .entry time { display: none; }
  .entry-featured .entry-title { font-size: 28px; }
  .about p { font-size: 16px; }
  .post-page footer { font-size: 10px; }
}
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --paper: #111113; --ink: #f5f5f7; --body: #d1d1d6; --muted: #b7b7c0; --line: #39393d; --accent: #68b5ff; --soft: #1d1d20; --blue-soft: #15283b; --code: #09090b; --code-ink: #f5f5f7; }
  .project-grid .entry:nth-child(4) { background: #252528; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
