:root {
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: #17243b;
  background: #f7f8fb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: #f7f8fb;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(232, 236, 243, 0.92);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  width: min(100% - 40px, 1080px);
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #17243b;
  font-size: 18px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #6386ee;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 7px 18px rgba(99, 134, 238, 0.25);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: #59677e;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #6386ee;
}

main {
  margin: 0 auto;
}

.home-main {
  width: min(100% - 40px, 820px);
  padding: 82px 0 88px;
}

.intro {
  margin-bottom: 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #6386ee;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.intro h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 6vw, 46px);
  font-weight: 750;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.intro-copy {
  margin: 0;
  color: #69768c;
  font-size: 17px;
  line-height: 1.8;
}

.post-list {
  display: grid;
  gap: 20px;
}

.post-card,
.article-card {
  border: 1px solid #e8ecf3;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(53, 72, 112, 0.08);
}

.post-card {
  padding: 34px 38px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(53, 72, 112, 0.12);
}

.post-category {
  margin: 0 0 14px;
  color: #6386ee;
  font-size: 13px;
  font-weight: 700;
}

.post-card h2 {
  margin: 0 0 14px;
  font-size: clamp(23px, 4vw, 30px);
  font-weight: 750;
  line-height: 1.5;
}

.post-card h2 a {
  color: #17243b;
  text-decoration: none;
}

.post-card h2 a:hover,
.post-card h2 a:focus-visible {
  color: #5276df;
}

.post-description {
  margin: 0 0 22px;
  color: #59677e;
  font-size: 16px;
  line-height: 1.9;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5276df;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.read-more:hover,
.read-more:focus-visible {
  color: #3459c3;
}

.article-main {
  width: min(100% - 40px, 760px);
  padding: 72px 0 64px;
}

.article-card {
  padding: 52px 64px 56px;
}

.article-card h1 {
  margin: 0 0 36px;
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 750;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.article-card h2 {
  margin: 42px 0 18px;
  color: #17243b;
  font-size: clamp(21px, 4vw, 26px);
  font-weight: 750;
  line-height: 1.5;
}

.article-card h1 + h2 {
  margin-top: 0;
}

.article-card p:not(.post-category) {
  margin: 0 0 24px;
  color: #344158;
  font-size: 18px;
  line-height: 2;
}

.article-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid #e8ecf3;
  background: #fff;
}

.footer-inner {
  width: min(100% - 40px, 1080px);
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #8994a7;
  font-size: 12px;
  line-height: 1.7;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-links a {
  color: #8994a7;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #6386ee;
}

@media (max-width: 680px) {
  .header-inner {
    width: min(100% - 24px, 1080px);
    height: 64px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .site-nav a:last-child {
    display: none;
  }

  .home-main {
    width: min(100% - 24px, 820px);
    padding: 52px 0 56px;
  }

  .intro {
    margin-bottom: 30px;
  }

  .intro-copy {
    font-size: 15px;
  }

  .post-card {
    border-radius: 14px;
    padding: 26px 22px;
  }

  .post-description {
    font-size: 15px;
  }

  .article-main {
    width: min(100% - 24px, 760px);
    padding: 24px 0 40px;
  }

  .article-card {
    border-radius: 14px;
    padding: 32px 22px 36px;
  }

  .article-card h1 {
    margin-bottom: 28px;
  }

  .article-card p:not(.post-category) {
    font-size: 16px;
    line-height: 1.95;
  }

  .footer-inner {
    width: min(100% - 24px, 1080px);
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 112px;
    text-align: center;
  }
}
