:root {
  --white: #ffffff;
  --paper: #f2f4f8;
  --indigo: #3a4bd6;
  --indigo-dark: #2f3fbe;
  --orange: #ff7a3d;
  --ink: #16181d;
  --muted: #5b6070;
  --line: #e2e6ef;
  --line-strong: #ccd2e2;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --wrap: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--indigo);
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding-block: 12px;
}

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

.brand-logo {
  width: 64px;
  height: 48px;
}

.brand-name {
  display: block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.brand-domain {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  line-height: 1.5;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  list-style: none;
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding-block: 4px;
  color: #454a58;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

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

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
}

/* Buttons: no display on elements that can carry data-channel */
.btn {
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--indigo-dark);
  border-color: var(--indigo-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--white);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.nav-cta {
  flex: 0 0 auto;
}

/* Hero */
.hero {
  padding: 58px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.h1-accent {
  display: block;
  color: var(--indigo);
}

.hero-lead {
  margin-top: 20px;
  max-width: 34em;
  color: var(--muted);
  font-size: 17px;
}

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

.hero-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  max-width: 32em;
}

/* Picker */
.picker-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 rgba(22, 24, 29, 0.04);
}

.picker-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.picker-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.picker-sub {
  color: var(--muted);
  font-size: 12.5px;
}

.picker-form {
  margin: 18px 0 4px;
}

.picker-group {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.picker-group legend {
  margin-bottom: 9px;
  padding: 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.chip span {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: #454a58;
  font-size: 13.5px;
  line-height: 1.4;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.chip:hover span {
  border-color: var(--indigo);
  color: var(--indigo);
}

.chip input:checked + span {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--white);
  font-weight: 600;
}

.chip input:focus-visible + span {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.picker-result {
  margin-top: 8px;
  padding: 15px 17px 16px;
  background: #eef0fc;
  border: 1px solid #dde1f8;
  border-radius: 16px;
}

.result-label {
  color: var(--indigo);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.result-text {
  margin-top: 5px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.result-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  list-style: none;
}

.result-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid #cdd3f4;
  border-radius: 999px;
  background: var(--white);
  color: var(--indigo);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.result-links a::after {
  content: "↗";
  font-size: 11px;
}

.result-links a:hover {
  border-color: var(--indigo);
  background: #f7f8ff;
}

/* Sections */
.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--paper);
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.section-head h2,
.split-copy h2 {
  font-size: clamp(1.6rem, 2.9vw, 2.3rem);
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: -0.015em;
}

.section-lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
}

/* Capabilities */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cap-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.cap-index {
  display: block;
  color: var(--orange);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.cap-card h3 {
  margin-top: 12px;
  font-size: 19px;
  font-weight: 700;
}

.cap-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
}

/* Category */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cat-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.cat-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.cat-art {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 52px;
  margin-bottom: 16px;
}

.cat-art span {
  width: 34px;
  border-radius: 5px;
  background: #dfe3f8;
}

.cat-art span:nth-child(1) {
  height: 32px;
}

.cat-art span:nth-child(2) {
  height: 48px;
  background: var(--indigo);
}

.cat-art span:nth-child(3) {
  height: 40px;
  background: #ffd4bf;
}

.cat-art-series span:nth-child(1) {
  height: 44px;
}

.cat-art-series span:nth-child(2) {
  height: 30px;
  background: #cdd3f4;
}

.cat-art-series span:nth-child(3) {
  height: 46px;
  background: var(--orange);
}

.cat-art-variety span:nth-child(1) {
  height: 38px;
  background: var(--orange);
}

.cat-art-variety span:nth-child(2) {
  height: 46px;
  background: #ffd4bf;
}

.cat-art-variety span:nth-child(3) {
  height: 28px;
  background: #cdd3f4;
}

.cat-art-animation span:nth-child(1) {
  height: 30px;
  background: #cdd3f4;
}

.cat-art-animation span:nth-child(2) {
  height: 42px;
  background: var(--orange);
}

.cat-art-animation span:nth-child(3) {
  height: 50px;
  background: var(--indigo);
}

.cat-card h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.cat-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
  list-style: none;
}

.tag-list li {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: #4a4f5c;
  font-size: 12px;
}

.cat-scene {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  color: var(--muted);
  font-size: 12.5px;
}

/* Split layouts */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.split-reverse .split-visual {
  order: 2;
}

.split-copy {
  min-width: 0;
}

.split-visual {
  min-width: 0;
}

.phone-stage {
  display: flex;
  justify-content: center;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.split-reverse .phone-stage {
  background: var(--white);
}

.phone-shot {
  width: 100%;
  max-width: 300px;
  border-radius: 34px;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 26px;
  list-style: none;
}

.feature-list li {
  padding-left: 18px;
  border-left: 2px solid var(--line-strong);
}

.feature-list strong {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
}

.feature-list span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

/* Library */
.library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.library-card {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.library-card h3 {
  font-size: 16.5px;
  font-weight: 700;
}

.library-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13.5px;
}

.library-note {
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
  color: var(--indigo) !important;
  font-size: 12.5px !important;
  font-weight: 600;
}

/* Playback */
.playback-visual img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.playback-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.play-feature {
  padding-top: 14px;
  border-top: 2px solid var(--line-strong);
}

.play-feature h3 {
  font-size: 16px;
  font-weight: 700;
}

.play-feature p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13.5px;
}

/* Steps */
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 52px;
  align-items: center;
}

.step-list {
  list-style: none;
}

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

.step-list li:first-child {
  padding-top: 0;
}

.step-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.step-no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-strong);
  color: var(--indigo);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.step-list h3 {
  font-size: 16.5px;
  font-weight: 700;
}

.step-list p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.how-visual img {
  width: 100%;
}

/* FAQ */
.faq-wrap {
  max-width: 900px;
}

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

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 22px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--indigo);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14.5px;
}

/* Download */
.download {
  background: var(--ink);
  color: var(--white);
}

.download-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.download-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.download-lead {
  margin-top: 12px;
  color: #b9bfd0;
  font-size: 15.5px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.dl-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.dl-card:hover {
  transform: translateY(-3px);
  background: #fbfbfe;
}

.dl-card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
}

.dl-channel {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.dl-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.dl-desc {
  color: var(--muted);
  font-size: 13.5px;
}

.dl-arrow {
  margin-top: auto;
  padding-top: 18px;
  color: var(--indigo);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

/* Footer */
.site-footer {
  padding: 38px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-name {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
}

.footer-domain {
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 13.5px;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-copy {
  color: var(--muted);
  font-size: 12.5px;
}

/* 404 */
.error-page {
  min-height: 100vh;
  background: var(--paper);
}

.error-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 76px);
  padding: 48px 24px;
}

.error-card {
  width: 100%;
  max-width: 480px;
  padding: 42px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}

.error-logo {
  width: 76px;
  height: 57px;
  margin: 0 auto 20px;
}

.error-code {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.error-card h1 {
  margin-top: 10px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
}

.error-text {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
}

.error-actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.error-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    gap: 36px;
  }

  .split {
    gap: 40px;
  }

  .how-grid {
    gap: 40px;
  }
}

@media (max-width: 920px) {
  .site-nav {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-lead {
    max-width: 40em;
  }

  .picker {
    max-width: 640px;
  }

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

  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .split-reverse .split-visual {
    order: 0;
  }

  .phone-stage {
    padding: 20px;
  }

  .phone-shot {
    max-width: 260px;
  }

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

  .how-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .how-visual {
    max-width: 520px;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .header-inner {
    gap: 12px;
    min-height: 68px;
  }

  .brand-logo {
    width: 52px;
    height: 39px;
  }

  .brand-name {
    font-size: 15.5px;
  }

  .brand-domain {
    font-size: 10.5px;
  }

  .btn {
    padding: 10px 17px;
    font-size: 14px;
  }

  .nav-cta {
    padding: 9px 15px;
  }

  .hero {
    padding: 32px 0 24px;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 8.6vw, 2.6rem);
  }

  .hero-lead {
    font-size: 15.5px;
  }

  .picker-card {
    padding: 20px 18px;
  }

  .section {
    padding: 54px 0;
  }

  .section-head {
    margin-bottom: 26px;
  }

  .section-lead {
    font-size: 15px;
  }

  .cap-grid,
  .cat-grid,
  .library-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cap-card,
  .cat-card {
    padding: 20px;
  }

  .playback-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .faq-item summary {
    padding: 15px 17px;
    font-size: 14.5px;
  }

  .faq-item p {
    padding: 0 17px 17px;
    font-size: 13.5px;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .error-card {
    padding: 32px 22px;
  }

  .error-card h1 {
    font-size: 22px;
  }
}

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

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