:root {
  --ink: #101317;
  --muted: #5e6773;
  --line: #dfe4eb;
  --surface: #ffffff;
  --soft: #f4f6f8;
  --blue: #1769ff;
  --green: #27c37b;
  --orange: #ff8a4c;
  --shadow: 0 18px 60px rgba(16, 19, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7f8fa;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(16, 19, 23, 0.68);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1160px, calc(100% - 36px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: #fff;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.nav-links a:hover {
  color: #fff;
}

.hero {
  min-height: 78svh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #101317 url("hero-macpad-workspace.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 19, 23, 0.90), rgba(16, 19, 23, 0.50) 46%, rgba(16, 19, 23, 0.08));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding-top: 68px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #c7d3e4;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: clamp(18px, 2vw, 24px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
}

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

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 86px 0;
}

.section.tight {
  padding: 58px 0;
}

.section.alt {
  background: var(--surface);
}

.container {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.6fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
}

.section h2,
.content h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-lede,
.content-lede {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.feature-card,
.review-card,
.support-card,
.download-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 0 rgba(16, 19, 23, 0.02);
}

.feature-card h3,
.review-card h3,
.support-card h3 {
  margin: 14px 0 8px;
  font-size: 20px;
}

.feature-card p,
.review-card p,
.support-card p,
.download-card p {
  margin: 0;
  color: var(--muted);
}

.download-card {
  display: grid;
  gap: 14px;
}

.download-card h3 {
  margin: 0;
  font-size: 24px;
}

.download-card code {
  display: block;
  padding: 10px 12px;
  overflow-wrap: anywhere;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.download-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(16, 19, 23, 0.14);
}

.icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
}

.icon.blue {
  background: var(--blue);
}

.icon.green {
  background: var(--green);
}

.icon.orange {
  background: var(--orange);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.workflow-step {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.workflow-step:last-child {
  border-right: 0;
}

.workflow-step span {
  color: var(--blue);
  font-weight: 850;
}

.workflow-step h3 {
  margin: 10px 0 8px;
  font-size: 20px;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.55fr);
  gap: 42px;
  align-items: start;
}

.spec-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.spec-list li {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list strong {
  font-size: 14px;
}

.spec-list span {
  color: var(--muted);
}

.callout {
  color: #fff;
  background: var(--ink);
}

.callout .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.callout h2 {
  color: #fff;
}

.callout p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  padding: 136px 0 64px;
  color: #fff;
  background: linear-gradient(135deg, #101317, #202832 58%, #1769ff);
}

.content {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
}

.content-block {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.content-block:last-child {
  border-bottom: 0;
}

.content-block h2 {
  margin: 0 0 14px;
  font-size: 30px;
}

.content-block p,
.content-block li {
  color: var(--muted);
}

.content-block a {
  color: var(--blue);
  font-weight: 700;
}

.review-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.site-footer {
  padding: 38px 0;
  color: rgba(255, 255, 255, 0.64);
  background: #101317;
}

.footer-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 860px) {
  .nav {
    height: 62px;
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 74svh;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(16, 19, 23, 0.88), rgba(16, 19, 23, 0.62));
  }

  .section {
    padding: 64px 0;
  }

  .section-head,
  .split,
  .callout .container {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .workflow,
  .review-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-step:last-child {
    border-bottom: 0;
  }

  .spec-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 560px) {
  .nav-links a:nth-child(2),
  .nav-links a:nth-child(3) {
    display: none;
  }

  .hero-inner,
  .container,
  .content,
  .footer-inner,
  .nav {
    width: min(100% - 28px, 1160px);
  }

  .button {
    width: 100%;
  }
}
