:root {
  --ink: #2f2e2c;
  --ink-soft: #4e4c49;
  --surface: #f8f7f5;
  --paper: #ffffff;
  --muted: #6d6d6a;
  --line: #d9d8d3;
  --accent: #ed008b;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

.container {
  width: min(calc(100% - 192px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
}

.header-content,
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 20px;
  line-height: 1;
  transition: opacity 180ms ease;
}

.brand:hover {
  opacity: 0.72;
}

.brand:focus-visible,
.navigation a:focus-visible,
.button:focus-visible,
.text-link:focus-visible,
.download-action:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.brand img {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
}

.brand strong {
  color: var(--accent);
  font-weight: 700;
}

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

.navigation a {
  transition: color 180ms ease;
}

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: 592px;
  color: var(--ink);
  background: var(--paper);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--line);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  padding-bottom: 96px;
}

.eyebrow,
.product-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.eyebrow-dark {
  color: #a50061;
}

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

h1,
h2,
h3 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 700;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: 64px;
  line-height: 1.15;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-copy {
  max-width: 520px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.button,
.download-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button-primary {
  padding: 0 24px;
  color: var(--paper);
  background: var(--accent);
}

.button-primary:hover {
  background: #c90074;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 16px;
  transition: border-color 180ms ease, color 180ms ease;
}

.text-link:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.text-link span,
.download-action span {
  margin-left: 12px;
  transition: transform 180ms ease;
}

.text-link:hover span,
.download-action:hover span {
  transform: translateX(4px);
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 64px;
  color: var(--muted);
  font-size: 14px;
}

.hero-status span {
  padding: 0 16px;
  border-left: 1px solid var(--line);
}

.hero-status span:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-index {
  position: absolute;
  right: max(48px, calc((100vw - var(--max-width)) / 2));
  bottom: -40px;
  color: #eeeae8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 176px;
  font-weight: 700;
  line-height: 1;
  user-select: none;
}

.section {
  padding: 128px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 16px;
}

h2 {
  margin-bottom: 0;
  font-size: 48px;
  line-height: 1.2;
}

.section-heading > p:last-child {
  max-width: 380px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

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

.product-card {
  display: grid;
  grid-template-rows: 248px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  transition: border-color 180ms ease;
}

.product-card:hover {
  border-color: var(--ink-soft);
}

.product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  border-bottom: 1px solid var(--line);
}

.product-visual-video {
  background: #f1edf0;
}

.product-visual-video img {
  width: 176px;
  height: 176px;
  object-fit: contain;
}

.product-visual-drama {
  padding: 32px 48px;
  background: #f5f5f2;
}

.product-visual-drama img {
  width: auto;
  max-width: 100%;
  height: 96px;
  max-height: 100%;
  object-fit: contain;
}

.product-content {
  display: flex;
  min-height: 368px;
  flex-direction: column;
  padding: 32px;
}

.product-kicker {
  margin-bottom: 20px;
}

h3 {
  margin-bottom: 16px;
  font-size: 32px;
  line-height: 1.25;
}

.product-content > p:not(.product-kicker) {
  margin-bottom: 32px;
  color: var(--muted);
}

.product-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 32px;
}

.product-details div {
  min-width: 0;
}

.product-details dt,
.product-details dd {
  margin: 0;
}

.product-details dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.product-details dd {
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 700;
}

.download-action {
  width: 100%;
  margin-top: auto;
  padding: 0 20px;
  border-color: var(--accent);
  color: #a50061;
  background: var(--paper);
}

.download-action:hover {
  background: var(--accent);
  color: var(--paper);
}

.install {
  border-top: 1px solid var(--line);
  background: #ecebe7;
}

.install-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 64px;
}

.install h2 {
  margin-top: 16px;
}

.install-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink-soft);
}

.install-steps li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.install-steps span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.install-steps p {
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
}

.brand-footer {
  color: var(--ink);
}

.footer-content p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 96px), var(--max-width));
  }

  .hero-index {
    right: 48px;
  }

  .product-content {
    padding: 24px;
  }

  .product-visual-drama {
    padding-right: 32px;
    padding-left: 32px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 48px), var(--max-width));
  }

  .header-content,
  .footer-content {
    min-height: 64px;
  }

  .navigation {
    gap: 20px;
    font-size: 13px;
  }

  .brand {
    gap: 8px;
    font-size: 16px;
  }

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

  .hero {
    min-height: 568px;
  }

  .hero-content {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  h1 {
    margin-bottom: 24px;
    font-size: 48px;
    line-height: 1.2;
  }

  .hero-copy {
    margin-bottom: 24px;
    font-size: 16px;
  }

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

  .button-primary {
    width: 100%;
  }

  .text-link {
    align-self: flex-start;
  }

  .hero-status {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 48px;
  }

  .hero-status span {
    padding: 0;
    border-left: 0;
  }

  .hero-index {
    right: 16px;
    bottom: -16px;
    font-size: 112px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading,
  .install-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  h2 {
    font-size: 32px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-card {
    grid-template-rows: 216px auto;
  }

  .product-visual-drama {
    padding: 24px;
  }

  .product-visual-drama img {
    height: 80px;
  }

  .product-content {
    min-height: 336px;
    padding: 24px;
  }

  h3 {
    font-size: 24px;
  }

  .product-content > p:not(.product-kicker) {
    margin-bottom: 24px;
  }

  .product-details {
    gap: 12px;
    margin-bottom: 24px;
  }

  .install-steps li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .footer-content p {
    font-size: 12px;
  }
}
