:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.12);
  --paper: rgba(255, 255, 255, 0.72);
  --paper-solid: #ffffff;
  --blue: #0071e3;
  --blue-dark: #005bb5;
  --violet: #7b61ff;
  --cyan: #31c8ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #ffffff 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header,
.site-footer,
main {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #424245;
  font-size: 13px;
}

.nav a {
  border-radius: 999px;
  padding: 8px 13px;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 34px;
  min-height: calc(100vh - 58px);
  padding: 48px 0 76px;
}

.hero-copy {
  padding-top: 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 18px;
  font-size: clamp(64px, 11vw, 138px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.18;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 17px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}

.button.primary {
  background: var(--blue);
  color: #fff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--blue-dark);
}

.button.secondary {
  background: rgba(0, 113, 227, 0.1);
  color: var(--blue);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-visual {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #eef0f4);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
}

.section {
  padding: 92px 0;
}

.feature-section {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

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

.post-card {
  display: flex;
  flex-direction: column;
  min-height: 318px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 22px;
  background: var(--paper-solid);
  padding: 26px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.post-card:hover,
.post-card:focus-visible {
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13px;
}

.post-card h3 {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.12;
}

.post-card p {
  color: var(--muted);
  font-size: 16px;
}

.post-tag {
  margin-top: auto;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 58px;
  border-top: 1px solid var(--line);
}

.split-section p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.18;
}

.note-band {
  margin-bottom: 36px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(0, 113, 227, 0.94), rgba(123, 97, 255, 0.92)),
    #0071e3;
  color: #fff;
  padding: 64px;
}

.note-band .eyebrow,
.note-band p {
  color: rgba(255, 255, 255, 0.78);
}

.note-band h2 {
  max-width: 760px;
}

.note-band p:last-child {
  max-width: 700px;
  margin: 20px 0 0;
  font-size: 22px;
  font-weight: 600;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 32px 0 44px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer a {
  color: var(--blue);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    max-width: 560px;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: 64px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-lede {
    font-size: 22px;
  }

  .section {
    padding: 64px 0;
  }

  .note-band {
    border-radius: 24px;
    padding: 38px 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
