:root {
  color-scheme: light;
  --page: #ffffff;
  --ink: #1d1d1f;
  --secondary: #6e6e73;
  --tertiary: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --link: #06c;
  --link-hover: #004f9e;
  --surface: #f5f5f7;
  --content-width: 980px;
  --reading-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

a:focus-visible,
summary:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(0, 102, 204, 0.35);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 44px), var(--content-width));
  min-height: 52px;
  margin: 0 auto;
}

.brand {
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.19048;
  letter-spacing: 0.011em;
  white-space: nowrap;
}

.brand:hover {
  color: var(--ink);
  text-decoration: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  line-height: 1.33337;
  letter-spacing: -0.01em;
}

.desktop-nav a {
  color: var(--ink);
}

.desktop-nav a[aria-current="page"] {
  color: var(--link);
}

.mobile-nav {
  display: none;
}

.page-main {
  width: min(calc(100% - 44px), var(--content-width));
  margin: 0 auto;
  padding: 78px 0 112px;
}

.article {
  width: min(100%, var(--reading-width));
}

.page-title,
.hero-title {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.08349;
  letter-spacing: -0.003em;
}

.page-meta {
  margin: 18px 0 0;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.42859;
  letter-spacing: -0.016em;
}

.lead {
  max-width: 680px;
  margin: 30px 0 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 21px;
  line-height: 1.381;
  letter-spacing: 0.011em;
}

.article-sections {
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.article-section {
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line-soft);
}

.article-section:last-child {
  border-bottom: 0;
}

.article-section h2 {
  margin: 0 0 14px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.14286;
  letter-spacing: 0.007em;
}

.article-section h3 {
  margin: 26px 0 8px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.31579;
  letter-spacing: 0.012em;
}

.article-section p,
.article-section ul,
.article-section ol {
  margin-top: 0;
  margin-bottom: 16px;
}

.article-section p:last-child,
.article-section ul:last-child,
.article-section ol:last-child {
  margin-bottom: 0;
}

.article-section ul,
.article-section ol {
  padding-left: 1.25em;
}

.article-section li + li {
  margin-top: 8px;
}

.callout {
  margin: 30px 0 0;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--surface);
}

.callout p {
  margin: 0;
}

.support-list {
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
}

.support-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1.8fr);
  gap: 36px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-soft);
}

.support-row h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.19048;
}

.support-row p {
  margin: 0 0 10px;
}

.support-row p:last-child {
  margin-bottom: 0;
}

.hero {
  padding: 34px 0 6px;
}

.hero-title {
  max-width: 800px;
  font-size: 56px;
  line-height: 1.07143;
  letter-spacing: -0.005em;
}

.hero-copy {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--secondary);
  font-size: 24px;
  line-height: 1.33341;
  letter-spacing: 0.009em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  font-size: 17px;
}

.hero-actions a::after,
.text-link::after {
  content: " ›";
}

.feature-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-top: 76px;
  padding: 58px 0;
  border-top: 1px solid var(--line);
}

.feature-band + .feature-band {
  margin-top: 0;
}

.feature-band h2 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 32px;
  line-height: 1.125;
  letter-spacing: 0.004em;
}

.feature-band p {
  margin: 0;
  color: var(--secondary);
  font-size: 19px;
  line-height: 1.4211;
  letter-spacing: 0.012em;
}

.site-footer {
  color: var(--secondary);
  background: var(--surface);
  font-size: 12px;
  line-height: 1.33337;
  letter-spacing: -0.01em;
}

.footer-inner {
  width: min(calc(100% - 44px), var(--content-width));
  margin: 0 auto;
  padding: 24px 0 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.footer-links a {
  color: var(--secondary);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 16px;
}

.footer-meta p {
  margin: 0;
}

@media (max-width: 734px) {
  .header-inner,
  .page-main,
  .footer-inner {
    width: min(calc(100% - 38px), var(--content-width));
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    display: grid;
    width: 44px;
    height: 44px;
    cursor: pointer;
    list-style: none;
    place-content: center;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav summary::before,
  .mobile-nav summary::after {
    width: 18px;
    height: 1px;
    margin: 3px 0;
    background: var(--ink);
    content: "";
  }

  .mobile-nav-panel {
    position: fixed;
    top: 52px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px 19px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
  }

  .mobile-nav-panel a {
    min-height: 46px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
    color: var(--ink);
    font-size: 17px;
  }

  .mobile-nav-panel a:last-child {
    border-bottom: 0;
  }

  .page-main {
    padding: 52px 0 80px;
  }

  .page-title,
  .hero-title {
    font-size: 32px;
    line-height: 1.125;
    letter-spacing: 0.004em;
  }

  .page-meta {
    margin-top: 14px;
  }

  .lead {
    margin-top: 24px;
    font-size: 19px;
    line-height: 1.4211;
    letter-spacing: 0.012em;
  }

  .article-sections {
    margin-top: 38px;
  }

  .article-section {
    padding: 28px 0 30px;
  }

  .article-section h2 {
    font-size: 24px;
    line-height: 1.16667;
  }

  .callout {
    padding: 20px;
    border-radius: 16px;
  }

  .support-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 25px 0;
  }

  .hero {
    padding-top: 14px;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 21px;
    line-height: 1.381;
    letter-spacing: 0.011em;
  }

  .feature-band {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 54px;
    padding: 38px 0;
  }

  .feature-band + .feature-band {
    margin-top: 0;
  }

  .feature-band h2 {
    font-size: 28px;
    line-height: 1.14286;
  }

  .feature-band p {
    font-size: 17px;
    line-height: 1.47059;
  }

  .footer-meta {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
