:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --surface: #fffdf8;
  --surface-2: #f0f7f4;
  --ink: #17201c;
  --muted: #596861;
  --line: #d7ddd4;
  --brand: #1f8a70;
  --brand-dark: #116452;
  --accent: #d95f43;
  --gold: #c88a28;
  --code: #25324a;
  --shadow: 0 18px 50px rgba(23, 32, 28, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(247, 244, 238, 1) 460px),
    var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

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

a:hover {
  color: var(--brand-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(215, 221, 212, 0.78);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 700;
}

.nav-cta,
.button-primary {
  background: var(--brand);
  color: #fff;
}

.nav-cta:hover,
.button-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 44px;
  align-items: center;
  padding: 72px 0 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 980px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.03;
  letter-spacing: 0;
}

.page-title h1 {
  font-size: clamp(34px, 5vw, 60px);
}

.lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.hero-visual {
  position: relative;
  min-height: 510px;
  margin: 0;
}

.hero-visual::before {
  position: absolute;
  inset: 48px 0 34px 34px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(45, 154, 126, 0.16), rgba(126, 92, 245, 0.12)),
    #f7faf6;
  box-shadow: 0 34px 90px rgba(31, 52, 45, 0.16);
  content: "";
}

.hero-screen {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(191, 203, 195, 0.78);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 58px rgba(29, 43, 38, 0.16);
}

.hero-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-screen-main {
  top: 16px;
  right: 0;
  width: min(100%, 610px);
  aspect-ratio: 16 / 10;
}

.hero-screen-orch {
  right: 32px;
  bottom: 0;
  width: min(72%, 430px);
  aspect-ratio: 16 / 9.4;
  z-index: 2;
}

.hero-screen-gateway {
  left: 0;
  bottom: 56px;
  width: min(54%, 330px);
  aspect-ratio: 16 / 10.1;
  z-index: 3;
}

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

.quick-card,
.card,
.prose-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

.quick-card strong,
.card h3 {
  display: block;
  margin: 0 0 8px;
  color: var(--ink);
}

.quick-card p,
.card p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 58px 0;
}

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

.section-title h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-title p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.page-title {
  padding: 64px 0 36px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
}

.prose {
  font-size: 18px;
}

.prose h2 {
  margin-top: 42px;
  font-size: 30px;
  line-height: 1.2;
}

.prose p {
  color: var(--muted);
}

.prose ul {
  padding-left: 22px;
}

.prose li {
  margin: 8px 0;
}

.aside {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 20px;
}

.aside h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.aside a {
  display: block;
  margin-top: 10px;
  color: var(--brand-dark);
  font-weight: 700;
}

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

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  background: #17201c;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    gap: 10px 14px;
    overflow: visible;
    padding-bottom: 4px;
  }

  .hero,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-visual {
    display: grid;
    min-height: 0;
    gap: 12px;
  }

  .hero-visual::before {
    display: none;
  }

  .hero-screen {
    position: static;
    width: 100%;
    aspect-ratio: 16 / 9.4;
  }

  .quick-grid,
  .card-grid,
  .listing {
    grid-template-columns: 1fr;
  }

  .section-title {
    align-items: start;
    flex-direction: column;
  }

  .aside {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}
