:root {
  --bg: #f5f0e8;
  --paper: #fffaf1;
  --paper-strong: #fffdf8;
  --ink: #191714;
  --muted: #64584d;
  --faint: rgba(25, 23, 20, 0.12);
  --brand: #a64f2f;
  --brand-2: #f06c17;
  --dark: #111411;
  --green: #3d6a4d;
  --blue: #4c91c1;
  --shadow: 0 28px 80px rgba(55, 28, 12, 0.28);
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(76, 145, 193, 0.16), transparent 26rem),
    radial-gradient(circle at 18% 24%, rgba(61, 106, 77, 0.14), transparent 22rem),
    var(--bg);
  color: var(--ink);
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  min-height: 62px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.78);
  box-shadow: 0 18px 50px rgba(68, 34, 18, 0.12);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 156px;
  font-size: 18px;
  font-weight: 750;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex: 1;
  font-size: 14px;
  font-weight: 650;
  color: rgba(25, 23, 20, 0.72);
}

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

.download-link,
.secondary-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 760;
  white-space: nowrap;
}

.download-link {
  color: #fffaf6;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  box-shadow: 0 16px 42px rgba(166, 79, 47, 0.3);
}

.header-download {
  min-height: 42px;
  padding: 0 22px;
  font-size: 14px;
}

.hero-section {
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(560px, 1.14fr);
  align-items: center;
  gap: 46px;
  padding: 116px max(34px, calc((100vw - 1240px) / 2)) 38px;
  overflow: hidden;
  background:
    linear-gradient(156deg, rgba(177, 73, 38, 0.96), rgba(236, 93, 14, 0.92) 45%, rgba(130, 57, 34, 0.94)),
    var(--brand);
  color: #fffaf6;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30vh;
  pointer-events: none;
  background:
    linear-gradient(172deg, transparent 0 48%, rgba(255, 250, 241, 0.16) 49%, transparent 50%),
    linear-gradient(to bottom, transparent, rgba(25, 23, 20, 0.1));
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.product-line {
  margin: 0 0 18px;
  color: rgba(255, 250, 246, 0.72);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(70px, 7.7vw, 116px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy h2 {
  margin: 18px 0 0;
  max-width: 740px;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 250, 246, 0.84);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.56;
}

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

.primary-download {
  min-width: 202px;
  padding: 0 30px;
  color: var(--brand);
  background: #fffaf6;
  box-shadow: 0 18px 48px rgba(44, 18, 8, 0.22);
}

.secondary-link {
  min-width: 168px;
  padding: 0 24px;
  border: 1px solid rgba(255, 250, 246, 0.62);
  color: #fffaf6;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 22px;
  color: rgba(255, 250, 246, 0.84);
  font-size: 14px;
  font-weight: 680;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
}

.hero-points span + span::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 11px;
  border-radius: 50%;
  background: rgba(255, 250, 246, 0.58);
}

.hero-visual {
  transform: perspective(1300px) rotateY(-8deg) rotateX(2deg);
  transform-origin: center left;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: min(850px, 64vw);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 76%;
  transform: scale(1.08);
}

.screenshot-section,
.workflow-section,
.capability-section,
.safety-section,
.download-section {
  padding-left: max(24px, calc((100vw - 1240px) / 2));
  padding-right: max(24px, calc((100vw - 1240px) / 2));
}

.screenshot-section {
  padding-top: 74px;
  padding-bottom: 90px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.58fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2,
.workflow-copy h2,
.capability-row h2,
.safety-copy h2,
.download-section h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p,
.workflow-copy p,
.capability-row p,
.safety-copy p,
.download-section p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.showcase {
  display: grid;
  gap: 18px;
}

.showcase-main {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(75, 42, 23, 0.18);
}

.showcase-main img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.showcase-main figcaption {
  padding: 16px 20px 20px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 680;
}

.shot-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.shot-thumb {
  appearance: none;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
}

.shot-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.82);
  opacity: 0.76;
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease;
}

.shot-thumb:hover img,
.shot-thumb.is-active img {
  filter: saturate(1);
  opacity: 1;
}

.shot-thumb:hover img {
  transform: scale(1.03);
}

.shot-thumb.is-active {
  border-color: var(--brand-2);
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
  padding-top: 86px;
  padding-bottom: 96px;
  background:
    linear-gradient(90deg, rgba(61, 106, 77, 0.1), transparent 34%),
    var(--paper-strong);
}

.workflow-copy p {
  margin-top: 24px;
  max-width: 520px;
}

.workflow-grid {
  display: grid;
  gap: 14px;
}

.workflow-grid article {
  min-height: 156px;
  padding: 24px 26px;
  border: 1px solid var(--faint);
  border-radius: 8px;
  background: rgba(245, 240, 232, 0.72);
}

.workflow-grid span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 820;
}

.workflow-grid h3 {
  margin: 16px 0 10px;
  font-size: 25px;
  letter-spacing: 0;
}

.workflow-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.capability-section {
  padding-top: 100px;
  padding-bottom: 68px;
}

.capability-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 0.82fr);
  align-items: center;
  gap: 52px;
  margin-bottom: 58px;
}

.capability-row.reverse {
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.48fr);
}

.capability-row.reverse div {
  order: 2;
}

.capability-row.reverse img {
  order: 1;
}

.capability-row p {
  margin-top: 20px;
}

.capability-row img {
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(75, 42, 23, 0.18);
}

.safety-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(290px, 0.55fr);
  gap: 50px;
  align-items: center;
  padding-top: 92px;
  padding-bottom: 104px;
  color: #f9f3ea;
  background:
    radial-gradient(circle at 90% 8%, rgba(76, 145, 193, 0.18), transparent 24rem),
    linear-gradient(145deg, #111411, #21372b 56%, #111411);
}

.safety-media img {
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.safety-copy p {
  margin-top: 22px;
  color: rgba(249, 243, 234, 0.76);
}

.safety-copy ul {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(249, 243, 234, 0.86);
  font-size: 16px;
  line-height: 1.6;
}

.safety-copy li {
  padding-left: 22px;
  position: relative;
}

.safety-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-2);
}

.download-section {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 98px;
  padding-bottom: 110px;
  background:
    radial-gradient(circle at 50% 24%, rgba(240, 108, 23, 0.18), transparent 24rem),
    var(--bg);
}

.download-section img {
  width: 82px;
  height: 82px;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 16px 44px rgba(44, 39, 32, 0.18);
}

.download-section p {
  max-width: 520px;
  margin-top: 18px;
}

.final-download {
  min-width: 230px;
  margin-top: 32px;
  padding: 0 36px;
}

@media (max-width: 980px) {
  .site-header {
    top: 10px;
    border-radius: 18px;
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    padding: 2px 4px 4px;
    overflow-x: auto;
  }

  .header-download {
    margin-left: auto;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: auto;
    padding-top: 152px;
    padding-bottom: 40px;
  }

  .hero-visual {
    transform: none;
  }

  .hero-visual img {
    width: 100%;
    transform: scale(1.03);
  }

  .section-heading,
  .workflow-section,
  .capability-row,
  .capability-row.reverse,
  .safety-section {
    grid-template-columns: 1fr;
  }

  .capability-row.reverse div,
  .capability-row.reverse img {
    order: initial;
  }

  .shot-strip {
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .shot-thumb {
    flex: 0 0 168px;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: calc(100% - 20px);
    min-height: 60px;
    padding: 8px 9px;
    gap: 10px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand span {
    font-size: 17px;
  }

  .nav-links {
    display: none;
  }

  .header-download {
    min-height: 40px;
    padding: 0 17px;
    font-size: 13px;
  }

  .hero-section {
    gap: 26px;
    padding: 116px 20px 34px;
  }

  .product-line {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .hero-copy h1 {
    font-size: clamp(58px, 17vw, 70px);
  }

  .hero-copy h2 {
    margin-top: 14px;
    font-size: 27px;
    line-height: 1.13;
  }

  .hero-lede {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.58;
  }

  .hero-actions {
    margin-top: 24px;
    gap: 12px;
  }

  .download-link,
  .secondary-link {
    min-height: 46px;
  }

  .hero-points {
    margin-top: 18px;
    gap: 8px;
    font-size: 13px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .secondary-link,
  .primary-download,
  .final-download {
    width: 100%;
  }

  .hero-visual img {
    max-height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
