:root {
  --page: #f6f6f3;
  --paper: #ffffff;
  --ink: #151517;
  --muted: #62666d;
  --line: rgba(18, 18, 18, 0.1);
  --dark: #111820;
  --dark-soft: #182330;
  --dark-text: #f8f8f6;
  --red: #ff2a1f;
  --gold: #f0b94e;
  --blue: #5f9df7;
  --green: #24a779;
  --content: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.home-v2 {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font);
}

a {
  color: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--content), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 34%, #fff7d7 0 16%, transparent 17%),
    linear-gradient(145deg, #ffcf45, #ff9f2f);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #222;
  font-size: 14px;
  font-weight: 650;
}

.topnav a {
  text-decoration: none;
}

.topnav a:hover {
  color: var(--red);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: 48px;
  width: min(var(--content), calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 38px 0 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.hero-copy h1,
.section-head h2,
.split-copy h2,
.download-copy h2 {
  margin: 0;
  font-size: 64px;
  line-height: 1.04;
}

.hero-lead,
.section-head p,
.split-copy p,
.download-copy p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 520;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: #090909;
}

.button.secondary {
  color: #111;
  background: #fff;
  border: 1px solid var(--line);
}

.hero-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f1f1ee;
}

.hero-visual img {
  display: block;
  width: 118%;
  max-width: none;
  margin-left: -16%;
}

.section {
  padding: 96px max(20px, calc((100% - var(--content)) / 2));
}

.band-light {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 920px;
}

.section-head h2,
.split-copy h2,
.download-copy h2 {
  font-size: 48px;
}

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

.engine-grid article,
.artifact-list article,
.scene-grid article,
.download-panel {
  min-height: 178px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.engine-grid span {
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.engine-grid h3,
.artifact-list h3,
.scene-grid h3 {
  margin: 14px 0 10px;
  font-size: 22px;
}

.engine-grid p,
.artifact-list p,
.scene-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: 56px;
}

.memory-visual {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.48)),
    #f0f3f5;
}

.temperature-card {
  position: absolute;
  width: 230px;
  min-height: 126px;
  padding: 22px;
  border-radius: 8px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.temperature-card strong {
  display: block;
  font-size: 30px;
}

.temperature-card span {
  display: block;
  margin-top: 12px;
  font-size: 15px;
}

.temperature-card.hot {
  top: 54px;
  left: 58px;
  background: #ee7d34;
}

.temperature-card.warm {
  top: 198px;
  left: 22px;
  background: #d9a13b;
}

.temperature-card.cool {
  right: 36px;
  bottom: 58px;
  background: #5f9df7;
}

.dark-section {
  color: var(--dark-text);
  background: var(--dark);
}

.dark-section .eyebrow {
  color: #ff7b70;
}

.dark-section .split-copy p {
  color: rgba(248, 248, 246, 0.72);
}

.care-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--dark-soft);
}

.care-visual img {
  display: block;
  width: 100%;
}

.system-section {
  background: #f9f4eb;
}

.forge-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.65fr);
  gap: 22px;
  margin-top: 44px;
}

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

.forge-core {
  display: grid;
  place-items: center;
  min-height: 270px;
  padding: 28px;
  color: #221509;
  background: #f1b84f;
  border-radius: 8px;
  border: 1px solid rgba(64, 37, 0, 0.14);
}

.forge-core strong {
  display: block;
  font-size: 52px;
}

.forge-core span {
  display: block;
  color: rgba(34, 21, 9, 0.62);
  font-weight: 750;
}

.nimbus-section {
  background: #eef3f7;
}

.nimbus-visual {
  display: grid;
  gap: 18px;
  padding: 28px;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cloud-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.cloud-track span {
  display: grid;
  place-items: center;
  min-height: 82px;
  color: #0d3159;
  font-weight: 800;
  border: 1px solid rgba(95, 157, 247, 0.34);
  border-radius: 8px;
  background: #edf5ff;
}

.cloud-body {
  display: grid;
  place-items: center;
  min-height: 180px;
  color: #fff;
  font-size: 44px;
  font-weight: 850;
  border-radius: 8px;
  background: #1d5aa7;
}

.scenes-section {
  background: #fff;
}

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

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.55fr);
  gap: 46px;
  align-items: start;
  color: var(--dark-text);
  background: #111820;
}

.download-copy p {
  color: rgba(248, 248, 246, 0.72);
}

.download-panel {
  color: var(--ink);
}

.download-panel dl {
  display: grid;
  gap: 18px;
  margin: 0 0 24px;
}

.download-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.download-panel dt {
  color: var(--muted);
  font-size: 14px;
}

.download-panel dd {
  margin: 0;
  font-weight: 750;
}

@media (max-width: 960px) {
  .hero-section,
  .split-section,
  .forge-layout,
  .download-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .section-head h2,
  .split-copy h2,
  .download-copy h2 {
    font-size: 38px;
  }

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

  .artifact-list,
  .scene-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .topnav {
    width: 100%;
    gap: 0;
    justify-content: space-between;
    font-size: 13px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-lead,
  .section-head p,
  .split-copy p,
  .download-copy p {
    font-size: 17px;
  }

  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

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

  .memory-visual {
    min-height: 500px;
  }

  .temperature-card {
    left: 20px;
    right: 20px;
    width: auto;
  }

  .temperature-card.hot {
    top: 32px;
  }

  .temperature-card.warm {
    top: 186px;
  }

  .temperature-card.cool {
    bottom: 32px;
  }

  .cloud-track {
    grid-template-columns: 1fr 1fr;
  }
}
