:root {
  color-scheme: light;
  --bg: #f5f4ef;
  --bg-strong: #e8eee9;
  --ink: #151515;
  --muted: #68645d;
  --soft: #8a857c;
  --line: rgba(22, 22, 22, 0.12);
  --panel: #ffffff;
  --panel-soft: #eef2ed;
  --accent: #0f6b45;
  --accent-soft: rgba(15, 107, 69, 0.1);
  --gold: #b97922;
  --shadow: 0 22px 70px rgba(31, 29, 22, 0.14);
  --font-sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC",
    "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-synthesis-weight: none;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: rgba(15, 107, 69, 0.18);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(245, 244, 239, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  min-height: clamp(680px, calc(100svh - 68px), 880px);
  padding: clamp(48px, 6vw, 76px) clamp(18px, 4vw, 56px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 107, 69, 0.08), transparent 34%),
    var(--bg-strong);
}

.hero-copy {
  max-width: 620px;
  animation: introRise 520ms ease-out both;
}

.eyebrow,
.section-kicker,
.platform {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(58px, 7.6vw, 112px);
  line-height: 0.92;
  letter-spacing: 0;
  font-weight: 800;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
}

.hero-title {
  max-width: 580px;
  margin-bottom: 20px;
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 800;
  line-height: 1.12;
}

.hero-text,
.section-heading p,
.problem-grid p,
.capability-layout p,
.target-strip,
.download-card p,
.step p,
.launch-step p,
.terminal-help p:not(.section-kicker),
.faq p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.hero-text {
  max-width: 560px;
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.74);
}

.button.full {
  width: 100%;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(31, 29, 22, 0.09);
}

.hero-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  animation: introRise 620ms ease-out 120ms both;
  transform: translateX(8px);
}

.hero-visual img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: left top;
  background: #fff;
}

.section,
.section-band {
  padding: clamp(60px, 7vw, 104px) clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.section-heading.compact {
  max-width: 740px;
}

.problem {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  background: #fff;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}

.problem-grid p {
  min-height: 150px;
  margin: 0;
  padding: 24px;
  background: #fff;
  color: #34332f;
  font-weight: 800;
}

.capabilities {
  background: var(--bg);
}

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

.capability-layout article {
  min-height: 330px;
  padding: 26px;
  background: #fff;
}

.capability-layout span,
.launch-step span,
.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.capability-layout span {
  width: 42px;
  height: 42px;
  margin-bottom: 78px;
  border-radius: 999px;
  background: var(--accent-soft);
}

.targets {
  background: #fff;
}

.target-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1120px;
}

.target {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font-weight: 700;
}

.target img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.target.text-only {
  color: var(--muted);
}

.preview {
  background: var(--panel-soft);
}

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

figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

figure img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: left top;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

figcaption {
  padding: 16px 18px;
  font-size: 20px;
  font-weight: 700;
}

.download {
  background: #fff;
}

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

.download-card {
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.download-card:hover,
.launch-step:hover,
.step:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 107, 69, 0.28);
  box-shadow: 0 14px 36px rgba(31, 29, 22, 0.08);
}

.download-card.featured {
  border-color: rgba(15, 107, 69, 0.35);
  background: #f8fbf7;
}

.download-card p {
  flex: 1;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  background: var(--bg-strong);
}

.sticky {
  position: sticky;
  top: 104px;
}

.workflow {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.step span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(185, 121, 34, 0.12);
  color: var(--gold);
}

.step h3,
.step p {
  margin-bottom: 0;
}

.step p {
  margin-top: 4px;
}

.macos-start {
  background: #fff;
}

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

.launch-step {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.launch-step span {
  margin-bottom: 30px;
}

.terminal-help {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: start;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #151515;
  color: #fff;
}

.terminal-help h3 {
  margin-bottom: 10px;
}

.terminal-help p:not(.section-kicker) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.terminal-help .section-kicker {
  color: #8fd8ad;
}

pre {
  margin: 0;
  overflow-x: auto;
  white-space: pre;
}

code {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.65;
}

.faq {
  background: var(--bg);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
}

details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}

details p {
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.site-footer span {
  color: var(--ink);
  font-weight: 800;
}

.site-footer a {
  color: var(--accent);
  font-weight: 700;
}

@keyframes introRise {
  from {
    transform: translateY(18px);
  }

  to {
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero,
  .problem,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .capability-layout,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-layout article {
    min-height: 260px;
  }

  .capability-layout span {
    margin-bottom: 42px;
  }

  .preview-lead,
  .macos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .terminal-help {
    grid-template-columns: 1fr;
  }

  .sticky {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  h1 {
    font-size: 62px;
  }

  .hero-title {
    font-size: 33px;
  }

  .hero-visual img {
    min-height: 260px;
  }

  .hero {
    padding-bottom: 54px;
  }

  .problem-grid,
  .capability-layout,
  .preview-lead,
  .download-grid,
  .macos-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid p {
    min-height: 0;
  }

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

  .step span {
    grid-row: auto;
    margin-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
