* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0a0a0a;
  --white: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-300: #d6d6d6;
  --gray-400: #9b9b9b;
  --gray-600: #5a5a5a;
  --gray-800: #222;
  --line: #e8e8e8;
  --mono: "JetBrains Mono", "DM Mono", "Consolas", monospace;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "DM Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

body.has-custom-cursor {
  cursor: none;
}

a,
button,
.menu-item,
[role="button"] {
  cursor: inherit;
}

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

.hidden {
  display: none !important;
}

.container {
  width: min(1120px, 100% - 4rem);
  margin: 0 auto;
}

/* cursor */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--black);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1200;
  transition: background 0.2s ease;
}

.cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--black);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1199;
  opacity: 0.5;
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.cursor-ring.interactive {
  width: 48px;
  height: 48px;
  opacity: 0.18;
}

.cursor.on-dark {
  background: var(--white);
}

.cursor-ring.on-dark {
  border-color: var(--white);
  opacity: 0.6;
}

/* nav */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 56px;
  border-bottom: 1px solid var(--line);
  background: rgb(250 250 250 / 92%);
  backdrop-filter: blur(12px);
}

.site-nav-inner {
  height: 100%;
  width: min(1240px, 100% - 2.5rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--black);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 500;
  white-space: nowrap;
}

.nav-logo-mark {
  width: 18px;
  height: 18px;
  background: var(--black);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--black);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.github-link {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--black);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.github-link:hover {
  border-color: var(--black);
  background: var(--gray-100);
}

.dropdown-wrapper {
  position: relative;
}

.nav-download-btn {
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-download-btn:hover,
.dropdown-wrapper.open .nav-download-btn {
  background: transparent;
  color: var(--black);
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 190px;
  background: var(--black);
  border: 1px solid #1e1e1e;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.dropdown-wrapper.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.menu-item {
  display: block;
  color: rgb(250 250 250 / 80%);
  text-decoration: none;
  font-size: 12px;
  padding: 11px 12px;
  border-bottom: 1px solid rgb(255 255 255 / 9%);
  transition: background 0.2s ease, color 0.2s ease;
}

.menu-item:last-child {
  border-bottom: 0;
}

.menu-item:hover {
  color: var(--white);
  background: rgb(255 255 255 / 9%);
}

/* generic sections */
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: 2.4rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section-headline {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.1;
  margin-bottom: 1.4rem;
}

.section-headline em {
  font-style: italic;
  color: var(--gray-600);
}

.section-text {
  font-size: 15px;
  color: var(--gray-600);
  font-weight: 300;
  line-height: 1.85;
  max-width: 680px;
}

/* home */
#home-view {
  padding-top: 56px;
}

.hero {
  min-height: calc(100vh - 56px);
  padding: 1rem 0 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.4;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1020px, 100% - 4rem);
  margin: 0 auto;
  text-align: center;
}

.hero-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-tag::before,
.hero-tag::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gray-400);
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(42px, 8vw, 104px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-headline .line {
  display: block;
}

.hero-headline .line:nth-child(3) {
  color: var(--gray-600);
  font-style: italic;
}

.hero-sub {
  margin: 2.2rem auto 0;
  max-width: 620px;
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-actions {
  margin-top: 2.6rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  font-family: var(--mono);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 12px 26px;
  text-transform: uppercase;
  display: inline-block;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-primary:hover {
  background: transparent;
  color: var(--black);
}

.btn-secondary {
  color: var(--gray-600);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.btn-secondary::after {
  content: "→";
  transition: transform 0.2s ease;
}

.btn-secondary:hover {
  color: var(--black);
}

.btn-secondary:hover::after {
  transform: translateX(4px);
}

.scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-hint span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--gray-300);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  animation: scroll-down 1.7s ease-in-out infinite;
}

@keyframes scroll-down {
  from {
    top: -100%;
  }

  to {
    top: 100%;
  }
}

.marquee-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 1.2rem 0;
}

.marquee-track {
  display: flex;
  gap: 3.5rem;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray-400);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.marquee-item::before {
  content: "◆";
  font-size: 6px;
  color: var(--gray-300);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.main-section {
  padding: 7rem 0;
}

.feature-grid {
  margin-top: 3.4rem;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 2.2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.feature-card:nth-child(3n) {
  border-right: 0;
}

.feature-card:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card:hover::before {
  transform: translateY(0);
}

.feature-card:hover .feat-icon,
.feature-card:hover .feat-num,
.feature-card:hover .feat-title,
.feature-card:hover .feat-desc {
  color: var(--white);
  border-color: rgb(255 255 255 / 24%);
}

.feat-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 1.2rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.feat-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gray-400);
  margin-bottom: 0.6rem;
  letter-spacing: 0.1em;
  transition: color 0.25s ease;
}

.feat-title {
  font-size: 18px;
  margin-bottom: 0.7rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.feat-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
  font-weight: 300;
  transition: color 0.25s ease;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: stretch;
}

.split-visual {
  border: 1px solid var(--line);
  background: var(--gray-100);
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.split-visual > * {
  flex: 1 1 auto;
  min-height: 100%;
}

.terminal {
  width: 100%;
  height: 100%;
  min-height: inherit;
  background: var(--black);
  color: var(--white);
  font-family: var(--mono);
  font-size: 12px;
  padding: 1.4rem;
}

.terminal-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 1.4rem;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot:nth-child(1) {
  background: #ff5f56;
}

.terminal-dot:nth-child(2) {
  background: #ffbd2e;
}

.terminal-dot:nth-child(3) {
  background: #27c93f;
}

.terminal-line {
  margin-bottom: 6px;
}

.terminal-line.output {
  color: rgb(255 255 255 / 74%);
  padding-left: 12px;
}

.terminal-line.success {
  color: #55d86f;
  padding-left: 12px;
}

.metrics-row {
  border: 1px solid var(--line);
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric {
  padding: 2.1rem 1.6rem;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric-num {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-family: var(--mono);
  color: var(--gray-400);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-section {
  background: var(--black);
  color: var(--white);
  padding: 7.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 64px 64px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-inner .section-label {
  justify-content: center;
  color: rgb(255 255 255 / 45%);
  margin-bottom: 1.4rem;
}

.cta-inner .section-label::after,
.cta-inner .section-label::before {
  max-width: 120px;
  background: rgb(255 255 255 / 14%);
}

.cta-headline {
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 74px);
  line-height: 1.08;
  margin-bottom: 1.2rem;
}

.cta-sub {
  color: rgb(255 255 255 / 60%);
  font-weight: 300;
  margin-bottom: 2.2rem;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.cta-section .btn-primary:hover {
  background: transparent;
  color: var(--white);
}

/* sub-page */
.subpage-view,
.page-shell {
  padding-top: 56px;
  min-height: calc(100vh - 56px);
}

.page-shell {
  padding-bottom: 2rem;
}

.content-page {
  padding: 4rem 0 5rem;
}

.page-intro {
  max-width: 760px;
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 2.6rem;
  font-weight: 300;
}

.changelog-meta {
  margin-top: -1.4rem;
  margin-bottom: 1.8rem;
  color: var(--gray-400);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.page-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.download-filter {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gray-600);
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
}

.download-catalog {
  display: grid;
  gap: 1rem;
}

.product-download-card {
  border: 1px solid var(--line);
  background: var(--gray-100);
  padding: 1.2rem;
}

.product-download-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.product-download-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.product-download-sub {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.8;
}

.product-scope {
  font-family: var(--mono);
  font-size: 11px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 5px 8px;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.product-platform-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.product-platform-row {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-platform-row.is-focus {
  border-color: var(--black);
}

.product-platform-main {
  min-width: 0;
}

.product-platform-name {
  font-size: 15px;
  color: var(--black);
  margin-bottom: 0.35rem;
}

.product-platform-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-platform-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
  min-width: 190px;
  justify-content: flex-end;
}

.platform-status {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  width: 76px;
  min-height: 24px;
  padding: 3px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.platform-status.ready {
  color: #0f7b3d;
  border-color: rgb(15 123 61 / 28%);
  background: rgb(15 123 61 / 8%);
}

.platform-status.pending {
  color: #8f6a00;
  border-color: rgb(143 106 0 / 26%);
  background: rgb(143 106 0 / 8%);
}

.download-action {
  font-size: 11px;
  min-width: 88px;
  min-height: 34px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.download-action.btn-secondary::after {
  display: none;
}

.not-found-wrap {
  border: 1px solid var(--line);
  background: var(--gray-100);
  padding: 2rem;
}

.not-found-code {
  font-family: var(--mono);
  color: var(--gray-400);
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 0.7rem;
}

.not-found-title {
  font-family: var(--serif);
  font-size: clamp(32px, 6vw, 60px);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.not-found-desc {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.8;
  max-width: 720px;
}

.content-card {
  border: 1px solid var(--line);
  background: var(--gray-100);
  padding: 1.5rem;
}

.content-tag {
  display: inline-block;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--gray-600);
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  padding: 5px 8px;
  margin-bottom: 0.9rem;
}

.content-card h3 {
  font-size: 24px;
  font-family: var(--serif);
  font-weight: 400;
  margin-bottom: 0.7rem;
}

.content-card p {
  color: var(--gray-600);
  line-height: 1.8;
  font-size: 14px;
}

.content-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--gray-600);
  line-height: 1.9;
  font-size: 14px;
}

.content-code {
  margin-top: 0.7rem;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gray-800);
  overflow-wrap: anywhere;
}

.resource-item {
  border: 1px solid var(--line);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 14px;
  color: var(--gray-800);
  background: var(--white);
}

.resource-item span {
  color: var(--gray-600);
  font-size: 12px;
}

.resource-links {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.65rem;
}

.resource-link {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--gray-800);
  text-decoration: none;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.resource-link span {
  color: var(--gray-600);
  font-size: 12px;
  white-space: nowrap;
}

.resource-link:hover {
  border-color: var(--black);
  background: var(--gray-100);
}

.mail-link {
  display: inline-block;
  margin-top: 0.6rem;
  border: 1px solid var(--black);
  color: var(--black);
  text-decoration: none;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 12px;
}

.mail-link:hover {
  background: var(--black);
  color: var(--white);
}

.timeline {
  border-left: 1px solid var(--line);
  padding-left: 1.2rem;
  display: grid;
  gap: 1.2rem;
}

.timeline[data-changelog-list] {
  max-height: min(68vh, 640px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-right: 0.45rem;
}

.timeline[data-changelog-list]::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--black);
  position: absolute;
  left: -1.62rem;
  top: 0.38rem;
}

.timeline-date {
  font-family: var(--mono);
  color: var(--gray-400);
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.timeline-item h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  color: var(--gray-600);
  line-height: 1.8;
  font-size: 14px;
}

[data-changelog-state] {
  margin-top: 1.2rem;
}

.page-fallback {
  border: 1px solid var(--line);
  background: var(--gray-100);
  padding: 1.4rem;
  color: var(--gray-600);
}

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
}

.site-footer-inner {
  width: min(1240px, 100% - 2.5rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-400);
  letter-spacing: 0.08em;
}

.footer-record {
  color: var(--gray-400);
  font-size: 12px;
  text-align: right;
  line-height: 1.6;
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

@media (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .feature-card:nth-child(2n) {
    border-right: 0;
  }

  .feature-card:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .feature-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .metrics-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric:nth-child(2n) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1120px, 100% - 2rem);
  }

  .site-nav {
    height: 64px;
  }

  .site-nav-inner {
    width: min(1240px, 100% - 1rem);
    gap: 0.7rem;
  }

  .nav-logo {
    font-size: 11px;
  }

  .nav-links {
    display: none;
  }

  #home-view,
  .subpage-view,
  .page-shell {
    padding-top: 64px;
  }

  .hero {
    min-height: calc(100vh - 64px);
  }

  .hero-inner {
    width: min(1020px, 100% - 2rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .feature-grid,
  .metrics-row {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .metric {
    border-right: 0;
  }

  .feature-card,
  .metric {
    border-bottom: 1px solid var(--line);
  }

  .feature-card:last-child,
  .metric:last-child {
    border-bottom: 0;
  }

  .content-page {
    padding: 2.8rem 0 3.5rem;
  }

  .product-download-head,
  .product-platform-row,
  .product-platform-right {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-scope {
    white-space: normal;
  }

  .download-action {
    width: 100%;
    text-align: center;
  }

  .timeline[data-changelog-list] {
    max-height: min(56vh, 520px);
  }

  .not-found-wrap {
    padding: 1.4rem;
  }

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

  .footer-record {
    text-align: left;
  }
}

@media (hover: none), (pointer: coarse) {
  body.has-custom-cursor {
    cursor: auto;
  }

  .cursor,
  .cursor-ring {
    display: none;
  }
}
